From 16e0492b724d0a91344189af4606ac99b4a5cbb1 Mon Sep 17 00:00:00 2001 From: yangbo_404 Date: Wed, 10 Sep 2025 19:35:22 +0800 Subject: [PATCH] =?UTF-8?q?api=E5=8A=A8=E9=9D=99=E6=80=81=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E8=BD=AC=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangbo_404 --- .../component/ets/ability_component.d.ts | 14 +- api/@internal/component/ets/action_sheet.d.ts | 112 +- api/@internal/component/ets/alert_dialog.d.ts | 154 +- .../component/ets/alphabet_indexer.d.ts | 86 +- api/@internal/component/ets/animator.d.ts | 106 +- api/@internal/component/ets/badge.d.ts | 52 +- api/@internal/component/ets/blank.d.ts | 12 +- api/@internal/component/ets/button.d.ts | 108 +- api/@internal/component/ets/calendar.d.ts | 196 +- .../component/ets/calendar_picker.d.ts | 84 +- api/@internal/component/ets/canvas.d.ts | 340 +- api/@internal/component/ets/checkbox.d.ts | 56 +- .../component/ets/checkboxgroup.d.ts | 54 +- api/@internal/component/ets/circle.d.ts | 18 +- api/@internal/component/ets/column.d.ts | 30 +- api/@internal/component/ets/column_split.d.ts | 20 +- api/@internal/component/ets/common.d.ts | 3394 +++++++------- .../component/ets/common_ts_ets_api.d.ts | 242 +- api/@internal/component/ets/component3d.d.ts | 72 +- .../component/ets/container_span.d.ts | 14 +- api/@internal/component/ets/content_slot.d.ts | 10 +- api/@internal/component/ets/context_menu.d.ts | 4 +- api/@internal/component/ets/counter.d.ts | 18 +- .../ets/custom_dialog_controller.d.ts | 96 +- api/@internal/component/ets/data_panel.d.ts | 56 +- api/@internal/component/ets/date_picker.d.ts | 142 +- api/@internal/component/ets/divider.d.ts | 18 +- .../component/ets/effect_component.d.ts | 26 +- api/@internal/component/ets/ellipse.d.ts | 18 +- .../component/ets/embedded_component.d.ts | 20 +- api/@internal/component/ets/enums.d.ts | 992 ++--- api/@internal/component/ets/flex.d.ts | 32 +- api/@internal/component/ets/flow_item.d.ts | 10 +- api/@internal/component/ets/focus.d.ts | 22 +- api/@internal/component/ets/folder_stack.d.ts | 44 +- api/@internal/component/ets/for_each.d.ts | 8 +- .../component/ets/form_component.d.ts | 205 +- api/@internal/component/ets/form_link.d.ts | 46 +- api/@internal/component/ets/gauge.d.ts | 54 +- api/@internal/component/ets/gesture.d.ts | 538 +-- api/@internal/component/ets/grid.d.ts | 124 +- api/@internal/component/ets/gridItem.d.ts | 36 +- api/@internal/component/ets/grid_col.d.ts | 38 +- .../component/ets/grid_container.d.ts | 32 +- api/@internal/component/ets/grid_row.d.ts | 76 +- api/@internal/component/ets/hyperlink.d.ts | 12 +- api/@internal/component/ets/image.d.ts | 180 +- .../component/ets/image_animator.d.ts | 52 +- api/@internal/component/ets/image_common.d.ts | 24 +- api/@internal/component/ets/image_span.d.ts | 44 +- .../component/ets/indicatorcomponent.d.ts | 32 +- api/@internal/component/ets/inspector.d.ts | 12 +- .../component/ets/isolated_component.d.ts | 22 +- .../component/ets/lazy_for_each.d.ts | 120 +- .../component/ets/lazy_grid_layout.d.ts | 18 +- api/@internal/component/ets/line.d.ts | 22 +- api/@internal/component/ets/list.d.ts | 208 +- api/@internal/component/ets/list_item.d.ts | 90 +- .../component/ets/list_item_group.d.ts | 34 +- .../component/ets/loading_progress.d.ts | 28 +- api/@internal/component/ets/marquee.d.ts | 40 +- api/@internal/component/ets/matrix2d.d.ts | 32 +- .../component/ets/media_cached_image.d.ts | 31 +- api/@internal/component/ets/menu.d.ts | 34 +- api/@internal/component/ets/menu_item.d.ts | 40 +- .../component/ets/menu_item_group.d.ts | 16 +- .../component/ets/nav_destination.d.ts | 166 +- api/@internal/component/ets/nav_router.d.ts | 30 +- api/@internal/component/ets/navigation.d.ts | 380 +- api/@internal/component/ets/navigator.d.ts | 28 +- .../component/ets/node_container.d.ts | 10 +- .../component/ets/page_transition.d.ts | 62 +- api/@internal/component/ets/panel.d.ts | 62 +- api/@internal/component/ets/particle.d.ts | 238 +- api/@internal/component/ets/paste_button.d.ts | 38 +- api/@internal/component/ets/path.d.ts | 22 +- api/@internal/component/ets/pattern_lock.d.ts | 60 +- .../component/ets/plugin_component.d.ts | 34 +- api/@internal/component/ets/polygon.d.ts | 20 +- api/@internal/component/ets/polyline.d.ts | 20 +- api/@internal/component/ets/progress.d.ts | 134 +- api/@internal/component/ets/qrcode.d.ts | 16 +- api/@internal/component/ets/radio.d.ts | 60 +- api/@internal/component/ets/rating.d.ts | 58 +- api/@internal/component/ets/rect.d.ts | 38 +- api/@internal/component/ets/refresh.d.ts | 50 +- .../component/ets/relative_container.d.ts | 66 +- .../component/ets/remote_window.d.ts | 62 +- api/@internal/component/ets/repeat.d.ts | 42 +- api/@internal/component/ets/rich_editor.d.ts | 548 ++- api/@internal/component/ets/rich_text.d.ts | 25 +- api/@internal/component/ets/root_scene.d.ts | 22 +- api/@internal/component/ets/row.d.ts | 28 +- api/@internal/component/ets/row_split.d.ts | 12 +- api/@internal/component/ets/save_button.d.ts | 84 +- api/@internal/component/ets/screen.d.ts | 18 +- api/@internal/component/ets/scroll.d.ts | 166 +- api/@internal/component/ets/scroll_bar.d.ts | 28 +- api/@internal/component/ets/search.d.ts | 188 +- .../component/ets/security_component.d.ts | 80 +- api/@internal/component/ets/select.d.ts | 160 +- api/@internal/component/ets/shape.d.ts | 50 +- api/@internal/component/ets/sidebar.d.ts | 82 +- api/@internal/component/ets/slider.d.ts | 164 +- api/@internal/component/ets/span.d.ts | 44 +- api/@internal/component/ets/stack.d.ts | 18 +- .../component/ets/state_management.d.ts | 28 +- api/@internal/component/ets/stepper.d.ts | 20 +- api/@internal/component/ets/stepper_item.d.ts | 26 +- .../component/ets/styled_string.d.ts | 350 +- api/@internal/component/ets/swiper.d.ts | 258 +- api/@internal/component/ets/symbol_span.d.ts | 22 +- api/@internal/component/ets/symbolglyph.d.ts | 122 +- api/@internal/component/ets/tab_content.d.ts | 130 +- api/@internal/component/ets/tabs.d.ts | 196 +- api/@internal/component/ets/text.d.ts | 180 +- api/@internal/component/ets/text_area.d.ts | 180 +- api/@internal/component/ets/text_clock.d.ts | 54 +- api/@internal/component/ets/text_common.d.ts | 384 +- api/@internal/component/ets/text_input.d.ts | 330 +- api/@internal/component/ets/text_picker.d.ts | 258 +- api/@internal/component/ets/text_timer.d.ts | 56 +- api/@internal/component/ets/time_picker.d.ts | 136 +- api/@internal/component/ets/toggle.d.ts | 52 +- api/@internal/component/ets/toolbar.d.ts | 20 +- .../component/ets/ui_extension_component.d.ts | 70 +- api/@internal/component/ets/units.d.ts | 322 +- api/@internal/component/ets/video.d.ts | 120 +- api/@internal/component/ets/water_flow.d.ts | 100 +- api/@internal/component/ets/web.d.ts | 2541 ++++++----- api/@internal/component/ets/window_scene.d.ts | 22 +- api/@internal/component/ets/with_theme.d.ts | 16 +- api/@internal/component/ets/xcomponent.d.ts | 92 +- api/@internal/ets/global.d.ts | 68 +- api/@internal/ets/lifecycle.d.ts | 96 +- api/@ohos.InputMethodExtensionAbility.d.ts | 8 +- api/@ohos.InputMethodExtensionContext.d.ts | 8 +- api/@ohos.InputMethodSubtype.d.ts | 44 +- api/@ohos.WallpaperExtensionAbility.d.ts | 8 +- api/@ohos.WorkSchedulerExtensionAbility.d.ts | 24 +- api/@ohos.ability.ability.d.ts | 16 +- api/@ohos.ability.errorCode.d.ts | 20 +- api/@ohos.ability.featureAbility.d.ts | 86 +- api/@ohos.ability.particleAbility.d.ts | 30 +- api/@ohos.ability.screenLockFileManager.d.ts | 80 +- api/@ohos.abilityAccessCtrl.d.ts | 199 +- api/@ohos.accessibility.GesturePath.d.ts | 8 +- api/@ohos.accessibility.GesturePoint.d.ts | 8 +- api/@ohos.ai.intelligentVoice.d.ts | 282 +- ...ohos.animation.windowAnimationManager.d.ts | 114 +- api/@ohos.animator.d.ts | 78 +- api/@ohos.animator.static.d.ets | 65 +- api/@ohos.app.ability.Ability.d.ts | 12 +- api/@ohos.app.ability.AbilityConstant.d.ts | 291 +- ....app.ability.AbilityLifecycleCallback.d.ts | 67 +- api/@ohos.app.ability.AbilityStage.d.ts | 45 +- ...os.app.ability.ActionExtensionAbility.d.ts | 4 +- ...pp.ability.AppServiceExtensionAbility.d.ts | 14 +- ...bility.ApplicationStateChangeCallback.d.ts | 19 +- ...ohos.app.ability.AtomicServiceOptions.d.ts | 15 +- ....app.ability.AutoFillExtensionAbility.d.ts | 45 +- api/@ohos.app.ability.ChildProcess.d.ts | 4 +- api/@ohos.app.ability.ChildProcessArgs.d.ts | 6 +- ...@ohos.app.ability.ChildProcessOptions.d.ts | 4 +- api/@ohos.app.ability.CompletionHandler.d.ts | 19 +- api/@ohos.app.ability.Configuration.d.ts | 51 +- ...hos.app.ability.ConfigurationConstant.d.ts | 68 +- ...os.app.ability.DriverExtensionAbility.d.ts | 35 +- ...@ohos.app.ability.EmbeddableUIAbility.d.ts | 4 +- ...pp.ability.EmbeddedUIExtensionAbility.d.ts | 2 +- ...@ohos.app.ability.EnvironmentCallback.d.ts | 19 +- api/@ohos.app.ability.ExtensionAbility.d.ts | 4 +- ...hos.app.ability.FenceExtensionAbility.d.ts | 8 +- ...hos.app.ability.FenceExtensionContext.d.ts | 4 +- ...ohos.app.ability.InsightIntentContext.d.ts | 12 +- ...os.app.ability.InsightIntentDecorator.d.ts | 92 +- ...pp.ability.InsightIntentEntryExecutor.d.ts | 12 +- ...hos.app.ability.InsightIntentExecutor.d.ts | 30 +- ...ility.InteropAbilityLifecycleCallback.d.ts | 35 +- ....ability.MediaControlExtensionAbility.d.ts | 4 +- api/@ohos.app.ability.OpenLinkOptions.d.ts | 15 +- ...p.ability.PhotoEditorExtensionAbility.d.ts | 29 +- ...hos.app.ability.PrintExtensionAbility.d.ts | 44 +- ...s.app.ability.ServiceExtensionAbility.d.ts | 39 +- ...hos.app.ability.ShareExtensionAbility.d.ts | 4 +- api/@ohos.app.ability.StartOptions.d.ts | 78 +- api/@ohos.app.ability.UIAbility.d.ts | 162 +- api/@ohos.app.ability.UIExtensionAbility.d.ts | 33 +- ...app.ability.UIExtensionContentSession.d.ts | 111 +- ...app.ability.UIServiceExtensionAbility.d.ts | 20 +- ....app.ability.UserAuthExtensionAbility.d.ts | 4 +- ...@ohos.app.ability.VpnExtensionAbility.d.ts | 8 +- api/@ohos.app.ability.Want.d.ts | 51 +- ....app.ability.abilityDelegatorRegistry.d.ts | 56 +- api/@ohos.app.ability.abilityManager.d.ts | 159 +- api/@ohos.app.ability.appManager.d.ts | 343 +- api/@ohos.app.ability.appRecovery.d.ts | 69 +- api/@ohos.app.ability.application.d.ts | 28 +- api/@ohos.app.ability.autoFillManager.d.ts | 98 +- api/@ohos.app.ability.autoStartupManager.d.ts | 40 +- ...@ohos.app.ability.childProcessManager.d.ts | 16 +- api/@ohos.app.ability.common.d.ts | 103 +- api/@ohos.app.ability.contextConstant.d.ts | 56 +- api/@ohos.app.ability.continueManager.d.ts | 18 +- api/@ohos.app.ability.dataUriUtils.d.ts | 20 +- api/@ohos.app.ability.dialogRequest.d.ts | 72 +- api/@ohos.app.ability.dialogSession.d.ts | 77 +- api/@ohos.app.ability.errorManager.d.ts | 54 +- api/@ohos.app.ability.insightIntent.d.ts | 57 +- ...@ohos.app.ability.insightIntentDriver.d.ts | 155 +- api/@ohos.app.ability.kioskManager.d.ts | 10 +- api/@ohos.app.ability.missionManager.d.ts | 124 +- api/@ohos.app.ability.quickFixManager.d.ts | 36 +- ...s.app.ability.sendableContextManager.d.ets | 16 +- api/@ohos.app.ability.wantAgent.d.ts | 189 +- api/@ohos.app.ability.wantConstant.d.ts | 169 +- api/@ohos.app.appstartup.StartupConfig.d.ts | 6 +- ...hos.app.appstartup.StartupConfigEntry.d.ts | 6 +- api/@ohos.app.appstartup.StartupListener.d.ts | 4 +- api/@ohos.app.appstartup.StartupTask.d.ets | 6 +- api/@ohos.app.appstartup.startupManager.d.ts | 14 +- api/@ohos.app.businessAbilityRouter.d.ts | 49 +- api/@ohos.app.form.FormExtensionAbility.d.ts | 71 +- api/@ohos.app.form.formBindingData.d.ts | 33 +- api/@ohos.app.form.formInfo.d.ts | 553 ++- api/@ohos.app.form.formProvider.d.ts | 60 +- ...os.application.BackupExtensionAbility.d.ts | 38 +- ...application.DataShareExtensionAbility.d.ts | 64 +- ...plication.DistributedExtensionAbility.d.ts | 10 +- ...plication.DistributedExtensionContext.d.ts | 2 +- ...tion.StaticSubscriberExtensionAbility.d.ts | 12 +- ...tion.StaticSubscriberExtensionContext.d.ts | 12 +- ...os.application.WindowExtensionAbility.d.ts | 12 +- api/@ohos.application.formError.d.ts | 100 +- api/@ohos.application.testRunner.d.ts | 18 +- ...ohos.application.uriPermissionManager.d.ts | 32 +- api/@ohos.arkui.ArcAlphabetIndexer.d.ts | 46 +- api/@ohos.arkui.ArcList.d.ts | 72 +- api/@ohos.arkui.ArcScrollBar.d.ts | 16 +- api/@ohos.arkui.ArcSwiper.d.ts | 96 +- api/@ohos.arkui.Prefetcher.d.ts | 20 +- api/@ohos.arkui.StateManagement.d.ts | 70 +- api/@ohos.arkui.UIContext.d.ts | 590 +-- api/@ohos.arkui.UIContext.static.d.ets | 593 ++- api/@ohos.arkui.advanced.ArcButton.d.ets | 100 +- api/@ohos.arkui.advanced.ArcSlider.d.ets | 108 +- api/@ohos.arkui.advanced.Chip.d.ets | 132 +- api/@ohos.arkui.advanced.ChipGroup.d.ets | 116 +- ...@ohos.arkui.advanced.ComposeListItem.d.ets | 96 +- ...rkui.advanced.ComposeListItem.static.d.ets | 99 +- ...@ohos.arkui.advanced.ComposeTitleBar.d.ets | 28 +- ...rkui.advanced.ComposeTitleBar.static.d.ets | 31 +- api/@ohos.arkui.advanced.Counter.d.ets | 82 +- api/@ohos.arkui.advanced.Dialog.d.ets | 142 +- api/@ohos.arkui.advanced.Dialog.static.d.ets | 157 +- api/@ohos.arkui.advanced.DialogV2.d.ets | 136 +- ...os.arkui.advanced.DownloadFileButton.d.ets | 62 +- ...ohos.arkui.advanced.EditableTitleBar.d.ets | 64 +- ...kui.advanced.EditableTitleBar.static.d.ets | 67 +- ...@ohos.arkui.advanced.ExceptionPrompt.d.ets | 32 +- ...rkui.advanced.ExceptionPrompt.static.d.ets | 33 +- api/@ohos.arkui.advanced.Filter.d.ets | 32 +- api/@ohos.arkui.advanced.Filter.static.d.ets | 37 +- ...os.arkui.advanced.FoldSplitContainer.d.ets | 66 +- api/@ohos.arkui.advanced.FormMenu.d.ets | 14 +- ...i.advanced.FullScreenLaunchComponent.d.ets | 14 +- ...ced.FullScreenLaunchComponent.static.d.ets | 22 +- ...kui.advanced.GridObjectSortComponent.d.ets | 46 +- ...anced.InnerFullScreenLaunchComponent.d.ets | 14 +- ...@ohos.arkui.advanced.MultiNavigation.d.ets | 84 +- ...rkui.advanced.MultiNavigation.static.d.ets | 85 +- api/@ohos.arkui.advanced.Popup.d.ets | 52 +- api/@ohos.arkui.advanced.ProgressButton.d.ets | 26 +- ...arkui.advanced.ProgressButton.static.d.ets | 29 +- ...ohos.arkui.advanced.ProgressButtonV2.d.ets | 40 +- api/@ohos.arkui.advanced.SegmentButton.d.ets | 218 +- ...@ohos.arkui.advanced.SegmentButtonV2.d.ets | 254 +- api/@ohos.arkui.advanced.SelectTitleBar.d.ets | 34 +- api/@ohos.arkui.advanced.SelectionMenu.d.ets | 36 +- api/@ohos.arkui.advanced.SplitLayout.d.ets | 12 +- ...os.arkui.advanced.SplitLayout.static.d.ets | 15 +- api/@ohos.arkui.advanced.SubHeader.d.ets | 76 +- ...ohos.arkui.advanced.SubHeader.static.d.ets | 79 +- api/@ohos.arkui.advanced.SubHeaderV2.d.ets | 112 +- api/@ohos.arkui.advanced.SwipeRefresher.d.ets | 6 +- ...arkui.advanced.SwipeRefresher.static.d.ets | 9 +- api/@ohos.arkui.advanced.TabTitleBar.d.ets | 34 +- ...os.arkui.advanced.TabTitleBar.static.d.ets | 37 +- api/@ohos.arkui.advanced.ToolBar.d.ets | 64 +- api/@ohos.arkui.advanced.ToolBar.static.d.ets | 67 +- api/@ohos.arkui.advanced.ToolBarV2.d.ets | 116 +- api/@ohos.arkui.advanced.TreeView.d.ets | 76 +- ...@ohos.arkui.advanced.TreeView.static.d.ets | 81 +- api/@ohos.arkui.componentSnapshot.d.ts | 42 +- ...@ohos.arkui.componentSnapshot.static.d.ets | 35 +- api/@ohos.arkui.componentUtils.d.ts | 70 +- api/@ohos.arkui.componentUtils.static.d.ets | 69 +- api/@ohos.arkui.dragController.d.ts | 110 +- api/@ohos.arkui.dragController.static.d.ets | 61 +- api/@ohos.arkui.drawableDescriptor.d.ts | 32 +- ...ohos.arkui.drawableDescriptor.static.d.ets | 33 +- api/@ohos.arkui.inspector.d.ts | 18 +- api/@ohos.arkui.inspector.static.d.ets | 33 +- api/@ohos.arkui.modifier.d.ts | 152 +- api/@ohos.arkui.modifier.static.d.ets | 111 +- api/@ohos.arkui.observer.d.ts | 188 +- api/@ohos.arkui.observer.static.d.ets | 187 +- api/@ohos.arkui.performanceMonitor.d.ts | 28 +- ...ohos.arkui.performanceMonitor.static.d.ets | 29 +- api/@ohos.arkui.shape.d.ts | 60 +- api/@ohos.arkui.shape.static.d.ets | 61 +- api/@ohos.arkui.stateManagement.static.d.ets | 1 - api/@ohos.arkui.theme.d.ts | 118 +- api/@ohos.arkui.theme.static.d.ets | 119 +- api/@ohos.arkui.uiExtension.d.ts | 94 +- ...tomicservice.AtomicServiceNavigation.d.ets | 102 +- ...os.atomicservice.AtomicServiceSearch.d.ets | 174 +- ...ohos.atomicservice.AtomicServiceTabs.d.ets | 38 +- ...@ohos.atomicservice.AtomicServiceWeb.d.ets | 94 +- ...micservice.HalfScreenLaunchComponent.d.ets | 14 +- ...omicservice.InterstitialDialogAction.d.ets | 52 +- ...ohos.atomicservice.NavPushPathHelper.d.ets | 26 +- api/@ohos.base.d.ts | 18 +- api/@ohos.base.static.d.ets | 20 +- api/@ohos.batteryInfo.d.ets | 105 +- api/@ohos.batteryInfo.d.ts | 104 +- api/@ohos.batteryStatistics.d.ts | 89 +- api/@ohos.bluetooth.a2dp.d.ts | 254 +- api/@ohos.bluetooth.access.d.ts | 112 +- api/@ohos.bluetooth.baseProfile.d.ts | 104 +- api/@ohos.bluetooth.ble.d.ts | 853 ++-- api/@ohos.bluetooth.connection.d.ts | 650 +-- api/@ohos.bluetooth.constant.d.ts | 500 +-- api/@ohos.bluetooth.d.ts | 678 +-- api/@ohos.bluetooth.hfp.d.ts | 24 +- api/@ohos.bluetooth.hid.d.ts | 24 +- api/@ohos.bluetooth.map.d.ts | 16 +- api/@ohos.bluetooth.opp.d.ts | 86 +- api/@ohos.bluetooth.pan.d.ts | 14 +- api/@ohos.bluetooth.pbap.d.ts | 36 +- api/@ohos.bluetooth.socket.d.ts | 36 +- api/@ohos.bluetooth.wearDetection.d.ts | 18 +- api/@ohos.bluetoothManager.d.ts | 720 +-- api/@ohos.brightness.d.ts | 10 +- api/@ohos.buffer.d.ts | 389 +- api/@ohos.bundle.appControl.d.ts | 171 +- api/@ohos.bundle.bundleManager.d.ts | 1030 ++--- api/@ohos.bundle.bundleMonitor.d.ts | 32 +- api/@ohos.bundle.bundleResourceManager.d.ts | 78 +- api/@ohos.bundle.d.ts | 202 +- api/@ohos.bundle.defaultAppManager.d.ts | 104 +- ...@ohos.bundle.distributedBundleManager.d.ts | 40 +- api/@ohos.bundle.freeInstall.d.ts | 135 +- api/@ohos.bundle.innerBundleManager.d.ts | 24 +- api/@ohos.bundle.installer.d.ts | 247 +- api/@ohos.bundle.launcherBundleManager.d.ts | 65 +- api/@ohos.bundle.overlay.d.ts | 69 +- api/@ohos.bundle.shortcutManager.d.ts | 30 +- api/@ohos.bundleState.d.ts | 78 +- api/@ohos.bytrace.d.ts | 8 +- api/@ohos.charger.d.ts | 37 +- api/@ohos.commonEventManager.d.ts | 913 ++-- api/@ohos.configPolicy.d.ts | 70 +- api/@ohos.connectedTag.d.ts | 36 +- ...ohos.continuation.continuationManager.d.ts | 78 +- api/@ohos.convertxml.d.ts | 50 +- api/@ohos.cooperate.d.ts | 116 +- api/@ohos.curves.d.ts | 58 +- api/@ohos.curves.static.d.ets | 51 +- api/@ohos.customization.customConfig.d.ts | 7 +- api/@ohos.data.DataShareResultSet.d.ts | 68 +- api/@ohos.data.UdmfComponents.d.ets | 20 +- api/@ohos.data.ValuesBucket.d.ts | 6 +- api/@ohos.data.cloudData.d.ts | 211 +- api/@ohos.data.cloudExtension.d.ts | 230 +- api/@ohos.data.commonType.d.ts | 38 +- api/@ohos.data.dataAbility.d.ts | 64 +- api/@ohos.data.dataShare.d.ts | 345 +- api/@ohos.data.dataSharePredicates.d.ts | 105 +- api/@ohos.data.distributedData.d.ts | 412 +- api/@ohos.data.distributedDataObject.d.ts | 88 +- api/@ohos.data.distributedKVStore.d.ts | 486 +-- api/@ohos.data.intelligence.d.ts | 46 +- api/@ohos.data.preferences.d.ts | 216 +- api/@ohos.data.rdb.d.ts | 148 +- api/@ohos.data.relationalStore.d.ts | 1083 +++-- api/@ohos.data.sendablePreferences.d.ets | 64 +- api/@ohos.data.sendableRelationalStore.d.ets | 42 +- api/@ohos.data.storage.d.ts | 74 +- api/@ohos.data.unifiedDataChannel.d.ts | 558 ++- api/@ohos.data.uniformDataStruct.d.ts | 103 +- api/@ohos.data.uniformTypeDescriptor.d.ts | 751 ++-- api/@ohos.deviceAttest.d.ts | 18 +- api/@ohos.deviceInfo.d.ets | 123 +- api/@ohos.deviceInfo.d.ts | 108 +- api/@ohos.deviceStatus.dragInteraction.d.ts | 48 +- api/@ohos.display.d.ts | 520 ++- api/@ohos.distributedBundle.d.ts | 10 +- api/@ohos.distributedDeviceManager.d.ts | 326 +- ...hos.distributedHardware.deviceManager.d.ts | 200 +- ...s.distributedHardware.hardwareManager.d.ts | 36 +- ...s.distributedHardware.mechanicManager.d.ts | 175 +- api/@ohos.distributedMissionManager.d.ts | 56 +- ...ributedsched.abilityConnectionManager.d.ts | 200 +- api/@ohos.distributedsched.linkEnhance.d.ts | 54 +- ....distributedsched.proxyChannelManager.d.ts | 50 +- api/@ohos.driver.deviceManager.d.ts | 164 +- api/@ohos.effectKit.d.ts | 130 +- api/@ohos.enterprise.adminManager.d.ts | 28 +- api/@ohos.enterprise.securityManager.d.ts | 24 +- api/@ohos.events.emitter.d.ts | 165 +- api/@ohos.fastbuffer.d.ts | 162 +- api/@ohos.faultLogger.d.ts | 38 +- api/@ohos.file.AlbumPickerComponent.d.ets | 22 +- api/@ohos.file.BackupExtensionContext.d.ts | 4 +- api/@ohos.file.PhotoPickerComponent.d.ets | 218 +- api/@ohos.file.RecentPhotoComponent.d.ets | 44 +- api/@ohos.file.backup.d.ts | 128 +- api/@ohos.file.cloudSync.d.ts | 502 +-- api/@ohos.file.cloudSyncManager.d.ts | 172 +- api/@ohos.file.environment.d.ts | 40 +- api/@ohos.file.fileAccess.d.ts | 188 +- api/@ohos.file.fileExtensionInfo.d.ts | 34 +- api/@ohos.file.fileuri.d.ts | 24 +- api/@ohos.file.fs.d.ets | 565 ++- api/@ohos.file.fs.d.ts | 562 +-- api/@ohos.file.hash.d.ts | 21 +- api/@ohos.file.keyManager.d.ts | 8 +- api/@ohos.file.photoAccessHelper.d.ts | 2618 ++++++----- api/@ohos.file.picker.d.ts | 152 +- api/@ohos.file.recent.d.ts | 24 +- api/@ohos.file.securityLabel.d.ts | 32 +- ...@ohos.file.sendablePhotoAccessHelper.d.ets | 266 +- api/@ohos.file.statvfs.d.ts | 21 +- api/@ohos.file.storageStatistics.d.ts | 98 +- api/@ohos.file.trash.d.ts | 24 +- api/@ohos.file.volumeManager.d.ts | 68 +- api/@ohos.filemanagement.userFileManager.d.ts | 382 +- api/@ohos.fileshare.d.ts | 108 +- api/@ohos.font.d.ts | 78 +- api/@ohos.font.static.d.ets | 73 +- api/@ohos.fontManager.d.ts | 12 +- api/@ohos.geoLocationManager.d.ts | 1025 +++-- api/@ohos.geolocation.d.ts | 268 +- api/@ohos.graphics.colorSpaceManager.d.ts | 148 +- api/@ohos.graphics.common2D.d.ts | 60 +- api/@ohos.graphics.displaySync.d.ts | 36 +- api/@ohos.graphics.drawing.d.ts | 1379 +++--- api/@ohos.graphics.hdrCapability.d.ts | 31 +- api/@ohos.graphics.scene.d.ts | 25 +- ...s.graphics.sendableColorSpaceManager.d.ets | 16 +- api/@ohos.graphics.text.d.ts | 1180 +++-- api/@ohos.graphics.uiEffect.d.ts | 220 +- api/@ohos.hiAppEvent.d.ts | 40 +- api/@ohos.hiSysEvent.d.ts | 185 +- api/@ohos.hiTraceChain.d.ts | 144 +- api/@ohos.hiTraceMeter.d.ts | 48 +- api/@ohos.hichecker.d.ts | 46 +- api/@ohos.hidebug.d.ts | 374 +- api/@ohos.hilog.d.ts | 52 +- api/@ohos.hiviewdfx.hiAppEvent.d.ts | 386 +- api/@ohos.hiviewdfx.jsLeakWatcher.d.ts | 10 +- api/@ohos.i18n.d.ts | 842 ++-- api/@ohos.inputMethod.Panel.d.ts | 40 +- api/@ohos.inputMethod.d.ts | 686 +-- api/@ohos.inputMethodEngine.d.ts | 564 +-- api/@ohos.inputMethodList.d.ets | 20 +- api/@ohos.intl.d.ts | 376 +- api/@ohos.logLibrary.d.ts | 44 +- api/@ohos.matrix4.d.ts | 92 +- api/@ohos.matrix4.static.d.ets | 79 +- api/@ohos.measure.d.ts | 38 +- api/@ohos.measure.static.d.ets | 39 +- api/@ohos.mediaquery.d.ts | 16 +- api/@ohos.mediaquery.static.d.ets | 17 +- api/@ohos.multimedia.audio.d.ts | 3324 +++++++------- api/@ohos.multimedia.audioHaptic.d.ts | 126 +- api/@ohos.multimedia.avCastPickerParam.d.ts | 40 +- api/@ohos.multimedia.avsession.d.ts | 2085 +++++---- api/@ohos.multimedia.camera.d.ts | 3885 ++++++++--------- api/@ohos.multimedia.cameraPicker.d.ts | 52 +- api/@ohos.multimedia.drm.d.ts | 449 +- api/@ohos.multimedia.image.d.ts | 2238 +++++----- api/@ohos.multimedia.media.d.ts | 2471 ++++++----- api/@ohos.multimedia.movingphotoview.d.ts | 82 +- api/@ohos.multimedia.sendableImage.d.ets | 148 +- api/@ohos.multimedia.systemSoundManager.d.ts | 358 +- ...ohos.multimedia.videoProcessingEngine.d.ts | 28 +- api/@ohos.multimodalAwareness.motion.d.ts | 18 +- api/@ohos.multimodalAwareness.userStatus.d.ts | 6 +- api/@ohos.multimodalInput.gestureEvent.d.ts | 144 +- ...@ohos.multimodalInput.infraredEmitter.d.ts | 12 +- api/@ohos.multimodalInput.inputConsumer.d.ts | 94 +- api/@ohos.multimodalInput.inputDevice.d.ts | 214 +- ....multimodalInput.inputDeviceCooperate.d.ts | 34 +- api/@ohos.multimodalInput.inputEvent.d.ts | 24 +- ...ohos.multimodalInput.inputEventClient.d.ts | 38 +- api/@ohos.multimodalInput.inputMonitor.d.ts | 66 +- api/@ohos.multimodalInput.intentionCode.d.ts | 60 +- api/@ohos.multimodalInput.keyCode.d.ts | 1396 +++--- api/@ohos.multimodalInput.keyEvent.d.ts | 84 +- api/@ohos.multimodalInput.mouseEvent.d.ts | 208 +- api/@ohos.multimodalInput.pointer.d.ts | 401 +- api/@ohos.multimodalInput.shortKey.d.ts | 46 +- api/@ohos.multimodalInput.touchEvent.d.ts | 194 +- api/@ohos.net.connection.d.ts | 513 ++- api/@ohos.net.ethernet.d.ts | 88 +- api/@ohos.net.http.d.ts | 699 ++- api/@ohos.net.mdns.d.ts | 74 +- api/@ohos.net.netFirewall.d.ts | 172 +- api/@ohos.net.networkSecurity.d.ts | 44 +- api/@ohos.net.policy.d.ts | 196 +- api/@ohos.net.sharing.d.ts | 160 +- api/@ohos.net.socket.d.ts | 552 +-- api/@ohos.net.statistics.d.ts | 208 +- api/@ohos.net.vpn.d.ts | 188 +- api/@ohos.net.vpnExtension.d.ts | 52 +- api/@ohos.net.webSocket.d.ts | 207 +- api/@ohos.nfc.cardEmulation.d.ts | 72 +- api/@ohos.nfc.controller.d.ts | 54 +- api/@ohos.nfc.tag.d.ts | 362 +- api/@ohos.notificationManager.d.ts | 875 ++-- api/@ohos.notificationSubscribe.d.ts | 146 +- api/@ohos.pasteboard.d.ts | 466 +- api/@ohos.pluginComponent.d.ts | 88 +- api/@ohos.pluginComponent.static.d.ets | 89 +- api/@ohos.power.d.ts | 74 +- api/@ohos.print.d.ts | 1176 +++-- api/@ohos.privacyManager.d.ts | 300 +- api/@ohos.process.d.ts | 100 +- api/@ohos.prompt.d.ets | 48 +- api/@ohos.prompt.d.ts | 48 +- api/@ohos.promptAction.d.ts | 296 +- api/@ohos.promptAction.static.d.ets | 265 +- api/@ohos.reminderAgent.d.ts | 120 +- api/@ohos.reminderAgentManager.d.ts | 376 +- api/@ohos.request.cacheDownload.d.ts | 71 +- api/@ohos.request.d.ts | 1106 +++-- api/@ohos.resourceManager.d.ts | 590 ++- ...urceschedule.backgroundProcessManager.d.ts | 40 +- ...esourceschedule.backgroundTaskManager.d.ts | 338 +- api/@ohos.resourceschedule.deviceStandby.d.ts | 92 +- api/@ohos.resourceschedule.systemload.d.ts | 52 +- ...ohos.resourceschedule.usageStatistics.d.ts | 392 +- api/@ohos.resourceschedule.workScheduler.d.ts | 192 +- api/@ohos.router.d.ts | 98 +- api/@ohos.router.static.d.ets | 39 +- api/@ohos.rpc.d.ts | 821 ++-- api/@ohos.runningLock.d.ts | 56 +- api/@ohos.screen.d.ts | 320 +- api/@ohos.screenLock.d.ts | 144 +- api/@ohos.screenshot.d.ts | 102 +- api/@ohos.secureElement.d.ts | 80 +- api/@ohos.security.cert.d.ts | 1231 +++--- api/@ohos.security.certManager.d.ts | 449 +- api/@ohos.security.certManagerDialog.d.ts | 99 +- api/@ohos.security.cryptoFramework.d.ts | 1375 +++--- ...ectionInput.SelectionExtensionAbility.d.ts | 8 +- api/@ohos.selectionInput.SelectionPanel.d.ts | 18 +- ...@ohos.selectionInput.selectionManager.d.ts | 66 +- api/@ohos.sendableResourceManager.d.ets | 10 +- api/@ohos.settings.d.ts | 436 +- api/@ohos.systemCapability.d.ts | 10 +- api/@ohos.systemDateTime.d.ts | 78 +- api/@ohos.systemParameterEnhance.d.ts | 25 +- api/@ohos.systemTime.d.ts | 40 +- api/@ohos.systemTimer.d.ts | 78 +- api/@ohos.systemparameter.d.ts | 16 +- api/@ohos.taskpool.d.ts | 164 +- api/@ohos.telephony.call.d.ts | 1783 ++++---- api/@ohos.telephony.data.d.ts | 199 +- api/@ohos.telephony.esim.d.ts | 366 +- api/@ohos.telephony.observer.d.ts | 237 +- api/@ohos.telephony.radio.d.ts | 1028 ++--- api/@ohos.telephony.sim.d.ts | 807 ++-- api/@ohos.telephony.sms.d.ts | 1046 ++--- api/@ohos.telephony.vcard.d.ts | 28 +- api/@ohos.test.PerfTest.d.ts | 56 +- api/@ohos.thermal.d.ts | 58 +- api/@ohos.transfer.d.ets | 7 +- api/@ohos.uiAppearance.d.ts | 22 +- api/@ohos.uiAppearance.static.d.ets | 23 +- api/@ohos.uiExtensionHost.d.ts | 28 +- api/@ohos.update.d.ts | 757 ++-- api/@ohos.uri.d.ts | 201 +- api/@ohos.url.d.ts | 215 +- api/@ohos.usb.d.ts | 230 +- api/@ohos.usbManager.serial.d.ts | 268 +- api/@ohos.userIAM.faceAuth.d.ts | 17 +- api/@ohos.userIAM.userAccessCtrl.d.ts | 65 +- api/@ohos.userIAM.userAuth.d.ts | 478 +- api/@ohos.util.ArrayList.d.ts | 108 +- api/@ohos.util.Deque.d.ts | 61 +- api/@ohos.util.HashMap.d.ts | 76 +- api/@ohos.util.HashSet.d.ts | 54 +- api/@ohos.util.LightWeightMap.d.ts | 110 +- api/@ohos.util.LightWeightSet.d.ts | 90 +- api/@ohos.util.LinkedList.d.ts | 109 +- api/@ohos.util.List.d.ts | 116 +- api/@ohos.util.PlainArray.d.ts | 89 +- api/@ohos.util.Queue.d.ts | 40 +- api/@ohos.util.Stack.d.ts | 48 +- api/@ohos.util.TreeMap.d.ts | 100 +- api/@ohos.util.TreeSet.d.ts | 88 +- api/@ohos.util.Vector.d.ts | 64 +- api/@ohos.util.d.ts | 408 +- api/@ohos.util.json.d.ts | 26 +- api/@ohos.util.static.d.ets | 380 +- api/@ohos.util.stream.d.ts | 268 +- api/@ohos.vibrator.d.ts | 348 +- api/@ohos.wallpaper.d.ts | 128 +- api/@ohos.web.netErrorList.d.ts | 964 ++-- api/@ohos.web.webview.d.ts | 2362 +++++----- api/@ohos.wifi.d.ts | 430 +- api/@ohos.wifiManager.d.ts | 1525 ++++--- api/@ohos.wifiManagerExt.d.ts | 24 +- api/@ohos.wifiext.d.ts | 24 +- api/@ohos.window.d.ts | 2265 +++++----- api/@ohos.worker.d.ts | 202 +- api/@ohos.xml.d.ts | 221 +- api/@system.battery.d.ts | 18 +- api/@system.brightness.d.ts | 66 +- api/@system.cipher.d.ts | 48 +- api/@system.mediaquery.d.ts | 20 +- api/@system.mediaquery.static.d.ets | 21 +- api/@system.notification.d.ts | 20 +- api/@system.package.d.ts | 18 +- api/@system.prompt.d.ets | 52 +- api/@system.prompt.d.ts | 52 +- api/@system.request.d.ts | 84 +- api/@system.router.d.ts | 60 +- api/@system.sensor.d.ts | 170 +- api/@system.storage.d.ts | 52 +- api/@system.vibrator.d.ts | 14 +- api/ability/abilityResult.d.ts | 12 +- api/ability/connectOptions.d.ts | 22 +- api/ability/dataAbilityHelper.d.ts | 77 +- api/ability/dataAbilityOperation.d.ts | 18 +- api/ability/dataAbilityResult.d.ts | 6 +- api/ability/startAbilityParameter.d.ts | 8 +- api/ability/want.d.ts | 20 +- api/app/appVersionInfo.d.ts | 8 +- api/app/context.d.ts | 112 +- api/app/processInfo.d.ts | 6 +- api/application/AbilityDelegator.d.ts | 152 +- .../AbilityFirstFrameStateData.d.ts | 24 +- .../AbilityFirstFrameStateObserver.d.ts | 12 +- .../AbilityForegroundStateObserver.d.ts | 15 +- api/application/AbilityMonitor.d.ts | 42 +- api/application/AbilityRunningInfo.d.ts | 28 +- api/application/AbilityStageContext.d.ts | 12 +- api/application/AbilityStageMonitor.d.ts | 14 +- api/application/AbilityStartCallback.d.ts | 27 +- api/application/AbilityStateData.d.ts | 40 +- .../AppForegroundStateObserver.d.ts | 19 +- .../AppServiceExtensionContext.d.ts | 10 +- api/application/AppStateData.d.ts | 24 +- api/application/ApplicationContext.d.ts | 115 +- api/application/ApplicationStateObserver.d.ts | 48 +- api/application/AutoFillExtensionContext.d.ts | 12 +- api/application/AutoFillPopupConfig.d.ts | 80 +- api/application/AutoFillRect.d.ts | 20 +- api/application/AutoFillRequest.d.ts | 80 +- api/application/AutoFillType.d.ts | 140 +- api/application/AutoStartupCallback.d.ts | 16 +- api/application/AutoStartupInfo.d.ts | 33 +- api/application/BaseContext.d.ts | 8 +- api/application/BusinessAbilityInfo.d.ts | 36 +- api/application/Context.d.ts | 96 +- api/application/ContinuableInfo.d.ts | 10 +- api/application/ContinueCallback.d.ts | 4 +- api/application/ContinueDeviceInfo.d.ts | 10 +- api/application/ContinueMissionInfo.d.ts | 14 +- api/application/CustomData.d.ts | 11 +- api/application/DriverExtensionContext.d.ts | 12 +- .../EmbeddableUIAbilityContext.d.ts | 2 +- api/application/ErrorObserver.d.ts | 6 +- api/application/EventHub.d.ts | 17 +- api/application/ExtensionContext.d.ts | 16 +- api/application/ExtensionRunningInfo.d.ts | 32 +- api/application/FormExtensionContext.d.ts | 24 +- api/application/KioskStatus.d.ts | 8 +- api/application/LoopObserver.d.ts | 4 +- .../MediaControlExtensionContext.d.ts | 4 +- api/application/MissionCallbacks.d.ts | 8 +- api/application/MissionDeviceInfo.d.ts | 4 +- api/application/MissionInfo.d.ts | 44 +- api/application/MissionListener.d.ts | 32 +- api/application/MissionParameter.d.ts | 8 +- api/application/MissionSnapshot.d.ts | 12 +- api/application/MultiAppMode.d.ts | 16 +- api/application/PageNodeInfo.d.ts | 52 +- .../PhotoEditorExtensionContext.d.ts | 12 +- api/application/ProcessData.d.ts | 28 +- api/application/ProcessInformation.d.ts | 36 +- api/application/ProcessRunningInfo.d.ts | 10 +- api/application/RunningAppClone.d.ts | 16 +- api/application/RunningMultiAppInfo.d.ts | 20 +- api/application/RunningMultiInstanceInfo.d.ts | 16 +- api/application/SendableContext.d.ets | 2 +- api/application/ServiceExtensionContext.d.ts | 100 +- api/application/UIAbilityContext.d.ts | 278 +- api/application/UIExtensionContext.d.ts | 98 +- .../UIServiceExtensionConnectCallback.d.ts | 6 +- .../UIServiceExtensionContext.d.ts | 12 +- api/application/UIServiceHostProxy.d.ts | 4 +- api/application/UIServiceProxy.d.ts | 4 +- api/application/ViewData.d.ts | 40 +- api/application/VpnExtensionContext.d.ts | 2 +- api/application/WindowExtensionContext.d.ts | 6 +- .../WorkSchedulerExtensionContext.d.ts | 16 +- api/application/abilityDelegatorArgs.d.ts | 22 +- api/application/shellCmdResult.d.ts | 14 +- api/arkui/AlphabetIndexerModifier.d.ts | 4 +- .../AlphabetIndexerModifier.static.d.ets | 3 +- api/arkui/AttributeUpdater.d.ts | 14 +- api/arkui/AttributeUpdater.static.d.ets | 13 +- api/arkui/BlankModifier.d.ts | 4 +- api/arkui/BlankModifier.static.d.ets | 3 +- api/arkui/BuilderNode.d.ts | 51 +- api/arkui/BuilderNode.static.d.ets | 51 +- api/arkui/ButtonModifier.d.ts | 4 +- api/arkui/CalendarPickerModifier.d.ts | 4 +- api/arkui/CalendarPickerModifier.static.d.ets | 3 +- api/arkui/CheckboxGroupModifier.d.ts | 4 +- api/arkui/CheckboxModifier.d.ts | 4 +- api/arkui/CheckboxModifier.static.d.ets | 3 +- api/arkui/ColumnModifier.d.ts | 4 +- api/arkui/ColumnModifier.static.d.ets | 3 +- api/arkui/ColumnSplitModifier.d.ts | 4 +- api/arkui/ColumnSplitModifier.static.d.ets | 3 +- api/arkui/CommonModifier.d.ts | 4 +- api/arkui/CommonModifier.static.d.ets | 3 +- api/arkui/ComponentContent.d.ts | 23 +- api/arkui/ComponentContent.static.d.ets | 21 +- api/arkui/ContainerSpanModifier.d.ts | 4 +- api/arkui/ContainerSpanModifier.static.d.ets | 3 +- api/arkui/Content.d.ts | 2 +- api/arkui/Content.static.d.ets | 3 +- api/arkui/CounterModifier.d.ts | 4 +- api/arkui/CounterModifier.static.d.ets | 3 +- api/arkui/DataPanelModifier.d.ts | 4 +- api/arkui/DataPanelModifier.static.d.ets | 3 +- api/arkui/DatePickerModifier.d.ts | 4 +- api/arkui/DatePickerModifier.static.d.ets | 3 +- api/arkui/DividerModifier.d.ts | 4 +- api/arkui/DividerModifier.static.d.ets | 3 +- api/arkui/FlexModifier.static.d.ets | 3 +- api/arkui/FolderStackModifier.static.d.ets | 3 +- api/arkui/FormComponentModifier.d.ts | 4 +- api/arkui/FrameNode.d.ts | 462 +- api/arkui/FrameNode.static.d.ets | 525 ++- api/arkui/GaugeModifier.d.ts | 4 +- api/arkui/GaugeModifier.static.d.ets | 3 +- api/arkui/Graphics.d.ts | 212 +- api/arkui/Graphics.static.d.ets | 235 +- api/arkui/GridColModifier.d.ts | 4 +- api/arkui/GridColModifier.static.d.ets | 3 +- api/arkui/GridItemModifier.d.ts | 4 +- api/arkui/GridItemModifier.static.d.ets | 3 +- api/arkui/GridModifier.d.ts | 4 +- api/arkui/GridModifier.static.d.ets | 3 +- api/arkui/GridRowModifier.d.ts | 4 +- api/arkui/GridRowModifier.static.d.ets | 3 +- api/arkui/HyperlinkModifier.d.ts | 4 +- api/arkui/HyperlinkModifier.static.d.ets | 3 +- api/arkui/ImageAnimatorModifier.d.ts | 4 +- api/arkui/ImageAnimatorModifier.static.d.ets | 3 +- api/arkui/ImageModifier.d.ts | 4 +- api/arkui/ImageModifier.static.d.ets | 3 +- api/arkui/ImageSpanModifier.d.ts | 4 +- api/arkui/ImageSpanModifier.static.d.ets | 3 +- api/arkui/LineModifier.d.ts | 4 +- api/arkui/LineModifier.static.d.ets | 3 +- api/arkui/ListItemGroupModifier.d.ts | 4 +- api/arkui/ListItemGroupModifier.static.d.ets | 3 +- api/arkui/ListItemModifier.d.ts | 4 +- api/arkui/ListItemModifier.static.d.ets | 3 +- api/arkui/ListModifier.d.ts | 4 +- api/arkui/ListModifier.static.d.ets | 3 +- api/arkui/LoadingProgressModifier.d.ts | 4 +- .../LoadingProgressModifier.static.d.ets | 3 +- api/arkui/MarqueeModifier.d.ts | 4 +- api/arkui/MarqueeModifier.static.d.ets | 3 +- api/arkui/MenuItemModifier.d.ts | 4 +- api/arkui/MenuItemModifier.static.d.ets | 3 +- api/arkui/MenuModifier.d.ts | 4 +- api/arkui/MenuModifier.static.d.ets | 3 +- api/arkui/NavDestinationModifier.d.ts | 4 +- api/arkui/NavDestinationModifier.static.d.ets | 5 +- api/arkui/NavRouterModifier.d.ts | 4 +- api/arkui/NavigationModifier.d.ts | 4 +- api/arkui/NavigationModifier.static.d.ets | 5 +- api/arkui/NavigatorModifier.d.ts | 4 +- api/arkui/NodeContent.d.ts | 8 +- api/arkui/NodeContent.static.d.ets | 8 +- api/arkui/NodeController.d.ts | 26 +- api/arkui/NodeController.static.d.ets | 27 +- api/arkui/PanelModifier.d.ts | 4 +- api/arkui/ParticleModifier.d.ts | 4 +- api/arkui/ParticleModifier.static.d.ets | 3 +- api/arkui/PathModifier.d.ts | 4 +- api/arkui/PathModifier.static.d.ets | 3 +- api/arkui/PatternLockModifier.d.ts | 4 +- api/arkui/PatternLockModifier.static.d.ets | 3 +- api/arkui/PolygonModifier.d.ts | 4 +- api/arkui/PolygonModifier.static.d.ets | 3 +- api/arkui/PolylineModifier.d.ts | 4 +- api/arkui/PolylineModifier.static.d.ets | 3 +- api/arkui/ProgressModifier.d.ts | 4 +- api/arkui/ProgressModifier.static.d.ets | 3 +- api/arkui/QRCodeModifier.d.ts | 4 +- api/arkui/QRCodeModifier.static.d.ets | 3 +- api/arkui/RadioModifier.d.ts | 4 +- api/arkui/RatingModifier.d.ts | 4 +- api/arkui/RectModifier.d.ts | 4 +- api/arkui/RectModifier.static.d.ets | 3 +- api/arkui/RefreshModifier.d.ts | 4 +- api/arkui/RefreshModifier.static.d.ets | 3 +- .../RelativeContainerModifier.static.d.ets | 3 +- api/arkui/RenderNode.d.ts | 128 +- api/arkui/RenderNode.static.d.ets | 127 +- api/arkui/RichEditorModifier.d.ts | 4 +- api/arkui/RichEditorModifier.static.d.ets | 3 +- api/arkui/RowModifier.d.ts | 4 +- api/arkui/RowModifier.static.d.ets | 3 +- api/arkui/RowSplitModifier.d.ts | 4 +- api/arkui/RowSplitModifier.static.d.ets | 3 +- api/arkui/ScrollModifier.d.ts | 4 +- api/arkui/ScrollModifier.static.d.ets | 3 +- api/arkui/SearchModifier.d.ts | 4 +- api/arkui/SearchModifier.static.d.ets | 3 +- api/arkui/SelectModifier.d.ts | 4 +- api/arkui/SelectModifier.static.d.ets | 3 +- api/arkui/ShapeModifier.d.ts | 4 +- api/arkui/ShapeModifier.static.d.ets | 3 +- api/arkui/SideBarContainerModifier.d.ts | 4 +- .../SideBarContainerModifier.static.d.ets | 5 +- api/arkui/SliderModifier.d.ts | 4 +- api/arkui/SpanModifier.d.ts | 4 +- api/arkui/SpanModifier.static.d.ets | 3 +- api/arkui/StackModifier.d.ts | 4 +- api/arkui/StackModifier.static.d.ets | 3 +- api/arkui/StepperItemModifier.d.ts | 4 +- api/arkui/StepperItemModifier.static.d.ets | 5 +- api/arkui/StepperModifier.d.ts | 4 +- api/arkui/StepperModifier.static.d.ets | 5 +- api/arkui/SwiperModifier.d.ts | 4 +- api/arkui/SwiperModifier.static.d.ets | 5 +- api/arkui/SymbolGlyphModifier.d.ts | 6 +- api/arkui/SymbolGlyphModifier.static.d.ets | 5 +- api/arkui/SymbolSpanModifier.d.ts | 6 +- api/arkui/SymbolSpanModifier.static.d.ets | 5 +- api/arkui/TabsModifier.d.ts | 4 +- api/arkui/TabsModifier.static.d.ets | 3 +- api/arkui/TextAreaModifier.d.ts | 4 +- api/arkui/TextAreaModifier.static.d.ets | 3 +- api/arkui/TextClockModifier.d.ts | 4 +- api/arkui/TextClockModifier.static.d.ets | 3 +- api/arkui/TextInputModifier.d.ts | 4 +- api/arkui/TextInputModifier.static.d.ets | 3 +- api/arkui/TextModifier.d.ts | 4 +- api/arkui/TextModifier.static.d.ets | 3 +- api/arkui/TextPickerModifier.d.ts | 4 +- api/arkui/TextPickerModifier.static.d.ets | 3 +- api/arkui/TextTimerModifier.d.ts | 4 +- api/arkui/TextTimerModifier.static.d.ets | 3 +- api/arkui/TimePickerModifier.d.ts | 4 +- api/arkui/TimePickerModifier.static.d.ets | 3 +- api/arkui/ToggleModifier.d.ts | 4 +- api/arkui/VideoModifier.d.ts | 4 +- api/arkui/VideoModifier.static.d.ets | 3 +- api/arkui/WaterFlowModifier.d.ts | 4 +- api/arkui/WaterFlowModifier.static.d.ets | 3 +- api/arkui/XComponentNode.d.ts | 10 +- api/arkui/component/actionSheet.static.d.ets | 105 +- api/arkui/component/alertDialog.static.d.ets | 143 +- .../component/alphabetIndexer.static.d.ets | 81 +- api/arkui/component/badge.static.d.ets | 47 +- api/arkui/component/blank.static.d.ets | 9 +- api/arkui/component/builder.static.d.ets | 23 +- api/arkui/component/button.static.d.ets | 99 +- .../component/calendarPicker.static.d.ets | 75 +- api/arkui/component/canvas.static.d.ets | 353 +- api/arkui/component/checkbox.static.d.ets | 39 +- .../component/checkboxgroup.static.d.ets | 39 +- api/arkui/component/circle.static.d.ets | 13 +- api/arkui/component/column.static.d.ets | 25 +- api/arkui/component/columnSplit.static.d.ets | 17 +- api/arkui/component/common.static.d.ets | 2883 ++++++------ .../component/containerSpan.static.d.ets | 9 +- api/arkui/component/contentSlot.static.d.ets | 5 +- api/arkui/component/counter.static.d.ets | 15 +- .../component/customComponent.static.d.ets | 63 +- .../customDialogController.static.d.ets | 93 +- api/arkui/component/dataPanel.static.d.ets | 53 +- api/arkui/component/datePicker.static.d.ets | 117 +- api/arkui/component/divider.static.d.ets | 15 +- .../component/effectComponent.static.d.ets | 9 +- api/arkui/component/ellipse.static.d.ets | 13 +- .../component/embeddedComponent.static.d.ets | 11 +- api/arkui/component/enums.static.d.ets | 967 ++-- .../extendableComponent.static.d.ets | 27 +- api/arkui/component/flex.static.d.ets | 29 +- api/arkui/component/flowItem.static.d.ets | 7 +- api/arkui/component/focus.static.d.ets | 23 +- api/arkui/component/folderStack.static.d.ets | 41 +- api/arkui/component/forEach.static.d.ets | 9 +- api/arkui/component/gauge.static.d.ets | 51 +- api/arkui/component/gesture.static.d.ets | 457 +- api/arkui/component/grid.static.d.ets | 101 +- api/arkui/component/gridCol.static.d.ets | 35 +- api/arkui/component/gridItem.static.d.ets | 31 +- api/arkui/component/gridRow.static.d.ets | 73 +- api/arkui/component/hyperlink.static.d.ets | 9 +- api/arkui/component/image.static.d.ets | 167 +- .../component/imageAnimator.static.d.ets | 47 +- api/arkui/component/imageCommon.static.d.ets | 25 +- api/arkui/component/imageSpan.static.d.ets | 41 +- .../component/indicatorcomponent.static.d.ets | 27 +- api/arkui/component/inspector.static.d.ets | 9 +- api/arkui/component/interop.static.d.ets | 23 +- api/arkui/component/lazyForEach.static.d.ets | 113 +- .../component/lazyGridLayout.static.d.ets | 15 +- api/arkui/component/line.static.d.ets | 19 +- api/arkui/component/list.static.d.ets | 169 +- api/arkui/component/listItem.static.d.ets | 65 +- .../component/listItemGroup.static.d.ets | 31 +- .../component/loadingProgress.static.d.ets | 25 +- api/arkui/component/marquee.static.d.ets | 37 +- api/arkui/component/matrix2d.static.d.ets | 41 +- api/arkui/component/menu.static.d.ets | 27 +- api/arkui/component/menuItem.static.d.ets | 37 +- .../component/menuItemGroup.static.d.ets | 13 +- .../component/navDestination.static.d.ets | 163 +- api/arkui/component/navigation.static.d.ets | 363 +- .../component/nodeContainer.static.d.ets | 7 +- .../component/pageTransition.static.d.ets | 57 +- api/arkui/component/particle.static.d.ets | 215 +- api/arkui/component/path.static.d.ets | 17 +- api/arkui/component/patternLock.static.d.ets | 57 +- .../component/pluginComponent.static.d.ets | 33 +- api/arkui/component/polygon.static.d.ets | 15 +- api/arkui/component/polyline.static.d.ets | 15 +- api/arkui/component/progress.static.d.ets | 119 +- api/arkui/component/qrcode.static.d.ets | 13 +- api/arkui/component/radio.static.d.ets | 51 +- api/arkui/component/rating.static.d.ets | 45 +- api/arkui/component/rect.static.d.ets | 33 +- api/arkui/component/refresh.static.d.ets | 41 +- .../component/relativeContainer.static.d.ets | 63 +- api/arkui/component/repeat.static.d.ets | 49 +- api/arkui/component/resources.static.d.ets | 5 +- api/arkui/component/richEditor.static.d.ets | 509 ++- api/arkui/component/row.static.d.ets | 23 +- api/arkui/component/rowSplit.static.d.ets | 9 +- api/arkui/component/scroll.static.d.ets | 147 +- api/arkui/component/scrollBar.static.d.ets | 23 +- api/arkui/component/search.static.d.ets | 173 +- api/arkui/component/select.static.d.ets | 113 +- api/arkui/component/shape.static.d.ets | 43 +- api/arkui/component/sidebar.static.d.ets | 67 +- api/arkui/component/slider.static.d.ets | 127 +- api/arkui/component/span.static.d.ets | 41 +- api/arkui/component/stack.static.d.ets | 15 +- api/arkui/component/stepper.static.d.ets | 21 +- api/arkui/component/stepperItem.static.d.ets | 23 +- api/arkui/component/styledString.static.d.ets | 321 +- api/arkui/component/swiper.static.d.ets | 221 +- api/arkui/component/symbolSpan.static.d.ets | 19 +- api/arkui/component/symbolglyph.static.d.ets | 101 +- api/arkui/component/tabContent.static.d.ets | 123 +- api/arkui/component/tabs.static.d.ets | 171 +- api/arkui/component/text.static.d.ets | 159 +- api/arkui/component/textArea.static.d.ets | 161 +- api/arkui/component/textClock.static.d.ets | 53 +- api/arkui/component/textCommon.static.d.ets | 227 +- api/arkui/component/textInput.static.d.ets | 311 +- api/arkui/component/textPicker.static.d.ets | 151 +- api/arkui/component/textTimer.static.d.ets | 55 +- api/arkui/component/timePicker.static.d.ets | 113 +- api/arkui/component/toggle.static.d.ets | 49 +- api/arkui/component/toolbar.static.d.ets | 15 +- .../uiExtensionComponent.static.d.ets | 63 +- api/arkui/component/units.static.d.ets | 327 +- api/arkui/component/video.static.d.ets | 117 +- api/arkui/component/waterFlow.static.d.ets | 79 +- api/arkui/component/withTheme.static.d.ets | 11 +- api/arkui/component/xcomponent.static.d.ets | 85 +- .../stateManagement/decorator.static.d.ets | 259 +- .../memorize/state.static.d.ets | 5 +- .../stateManagement/remember.static.d.ets | 5 +- .../stateManagement/runtime.static.d.ets | 3 +- .../storage/appStorage.static.d.ets | 3 +- .../storage/environment.static.d.ets | 15 +- .../storage/localStorage.static.d.ets | 29 +- .../storage/persistentStorage.static.d.ets | 25 +- .../storage/storageProperty.static.d.ets | 31 +- api/arkui/stateManagement/utils.static.d.ets | 27 +- api/bundle/PermissionDef.d.ts | 10 +- api/bundle/abilityInfo.d.ts | 56 +- api/bundle/applicationInfo.d.ts | 44 +- api/bundle/bundleInfo.d.ts | 62 +- api/bundle/bundleInstaller.d.ts | 22 +- api/bundle/bundleStatusCallback.d.ts | 8 +- api/bundle/customizeData.d.ts | 8 +- api/bundle/elementName.d.ts | 12 +- api/bundle/hapModuleInfo.d.ts | 32 +- api/bundle/launcherAbilityInfo.d.ts | 14 +- api/bundle/moduleInfo.d.ts | 6 +- api/bundle/remoteAbilityInfo.d.ts | 8 +- api/bundle/shortcutInfo.d.ts | 32 +- api/bundleManager/AbilityInfo.d.ts | 122 +- api/bundleManager/AppProvisionInfo.d.ts | 64 +- api/bundleManager/ApplicationInfo.d.ts | 154 +- api/bundleManager/BundleInfo.d.ts | 141 +- api/bundleManager/BundlePackInfo.d.ts | 200 +- api/bundleManager/BundleResourceInfo.d.ts | 25 +- api/bundleManager/DispatchInfo.d.ts | 12 +- api/bundleManager/ElementName.d.ts | 28 +- api/bundleManager/ExtensionAbilityInfo.d.ts | 73 +- api/bundleManager/HapModuleInfo.d.ts | 144 +- api/bundleManager/LauncherAbilityInfo.d.ts | 28 +- .../LauncherAbilityResourceInfo.d.ts | 33 +- api/bundleManager/Metadata.d.ts | 20 +- api/bundleManager/OverlayModuleInfo.d.ts | 24 +- api/bundleManager/PermissionDef.d.ts | 20 +- api/bundleManager/PluginBundleInfo.d.ts | 52 +- .../RecoverableApplicationInfo.d.ts | 32 +- api/bundleManager/RemoteAbilityInfo.d.ts | 16 +- api/bundleManager/SharedBundleInfo.d.ts | 40 +- api/bundleManager/ShortcutInfo.d.ts | 63 +- api/bundleManager/Skill.d.ts | 64 +- api/common/full/canvaspattern.d.ts | 32 +- api/common/full/console.d.ts | 12 +- api/common/full/dom.d.ts | 4 +- api/common/full/featureability.d.ts | 112 +- api/common/full/global.d.ts | 64 +- api/common/full/viewmodel.d.ts | 702 +-- api/common/lite/console.d.ts | 12 +- api/common/lite/featureability.d.ts | 40 +- api/common/lite/global.d.ts | 20 +- api/common/lite/viewmodel.d.ts | 66 +- api/commonEvent/commonEventData.d.ts | 25 +- api/commonEvent/commonEventPublishData.d.ts | 33 +- api/commonEvent/commonEventSubscribeInfo.d.ts | 28 +- api/commonEvent/commonEventSubscriber.d.ts | 144 +- api/continuation/continuationExtraParams.d.ts | 14 +- api/continuation/continuationResult.d.ts | 8 +- api/data/rdb/resultSet.d.ts | 48 +- api/global/rawFileDescriptor.d.ts | 16 +- api/global/resource.d.ts | 25 +- api/global/sendableResource.d.ets | 12 +- api/graphics3d/SceneNodes.d.ts | 148 +- api/graphics3d/ScenePostProcessSettings.d.ts | 48 +- api/graphics3d/SceneTypes.d.ts | 178 +- api/multimedia/ringtonePlayer.d.ts | 76 +- api/multimedia/soundPool.d.ts | 168 +- api/multimedia/systemTonePlayer.d.ts | 72 +- api/notification/NotificationCommonDef.d.ts | 12 +- .../notificationActionButton.d.ts | 25 +- api/notification/notificationContent.d.ts | 305 +- api/notification/notificationFlags.d.ts | 32 +- api/notification/notificationRequest.d.ts | 285 +- api/notification/notificationSlot.d.ts | 67 +- api/notification/notificationSorting.d.ts | 16 +- api/notification/notificationSortingMap.d.ts | 12 +- .../notificationSubscribeInfo.d.ts | 24 +- api/notification/notificationSubscriber.d.ts | 123 +- api/notification/notificationTemplate.d.ts | 12 +- api/notification/notificationUserInput.d.ts | 8 +- api/permissions.d.ts | 4 +- api/security/PermissionRequestResult.d.ts | 20 +- api/tag/nfctech.d.ts | 264 +- api/tag/tagSession.d.ts | 54 +- api/wantAgent/triggerInfo.d.ts | 32 +- api/wantAgent/wantAgentInfo.d.ts | 46 +- arkts/@arkts.collections.d.ets | 962 ++-- arkts/@arkts.lang.d.ets | 4 +- arkts/@arkts.math.Decimal.d.ets | 657 ++- arkts/@arkts.utils.d.ets | 146 +- kits/@kit.AVSessionKit.d.ts | 4 +- kits/@kit.AbilityKit.d.ts | 2 +- kits/@kit.AccessibilityKit.d.ts | 8 +- kits/@kit.ArkData.d.ts | 2 +- kits/@kit.ArkGraphics2D.d.ts | 2 +- kits/@kit.ArkGraphics3D.d.ts | 4 +- kits/@kit.ArkTS.d.ts | 4 +- kits/@kit.ArkWeb.d.ts | 2 +- kits/@kit.AudioKit.d.ts | 4 +- kits/@kit.BackgroundTasksKit.d.ts | 4 +- kits/@kit.BasicServicesKit.d.ts | 2 +- kits/@kit.CameraKit.d.ts | 2 +- kits/@kit.ConnectivityKit.d.ts | 2 +- kits/@kit.CoreFileKit.d.ts | 4 +- kits/@kit.CryptoArchitectureKit.d.ts | 4 +- kits/@kit.DeviceCertificateKit.d.ts | 2 +- kits/@kit.DrmKit.d.ts | 2 +- kits/@kit.FormKit.d.ts | 4 +- kits/@kit.ImageKit.d.ts | 4 +- kits/@kit.LocalizationKit.d.ts | 4 +- kits/@kit.LocationKit.d.ts | 4 +- kits/@kit.MDMKit.d.ts | 2 +- kits/@kit.MediaKit.d.ts | 2 +- kits/@kit.MediaLibraryKit.d.ts | 4 +- kits/@kit.NetworkKit.d.ts | 4 +- kits/@kit.NotificationKit.d.ts | 2 +- kits/@kit.PerformanceAnalysisKit.d.ts | 4 +- kits/@kit.SensorServiceKit.d.ts | 4 +- kits/@kit.TelephonyKit.d.ts | 4 +- kits/@kit.TestKit.d.ts | 4 +- kits/@kit.UniversalKeystoreKit.d.ts | 2 +- kits/@kit.UserAuthenticationKit.d.ts | 4 +- 1113 files changed, 70144 insertions(+), 72059 deletions(-) diff --git a/api/@internal/component/ets/ability_component.d.ts b/api/@internal/component/ets/ability_component.d.ts index 5258b0c6d2..26d69a68aa 100644 --- a/api/@internal/component/ets/ability_component.d.ts +++ b/api/@internal/component/ets/ability_component.d.ts @@ -24,7 +24,7 @@ * @interface AbilityComponentInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead UIExtensionComponentInterface * @noninterop @@ -38,7 +38,7 @@ interface AbilityComponentInterface { * @returns { AbilityComponentAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead UIExtensionComponentInterface */ @@ -51,7 +51,7 @@ interface AbilityComponentInterface { * @extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead UIExtensionComponentAttribute * @noninterop @@ -64,7 +64,7 @@ declare class AbilityComponentAttribute extends CommonMethod; @@ -161,7 +161,7 @@ declare interface DismissDialogAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ reason: DismissReason; } @@ -173,7 +173,7 @@ declare interface DismissDialogAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface ActionSheetButtonOptions { /** @@ -203,7 +203,7 @@ interface ActionSheetButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ enabled?: boolean; @@ -234,7 +234,7 @@ interface ActionSheetButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ defaultFocus?: boolean; @@ -264,7 +264,7 @@ interface ActionSheetButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ style?: DialogButtonStyle; @@ -300,7 +300,7 @@ interface ActionSheetButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ value: string | Resource; @@ -336,7 +336,7 @@ interface ActionSheetButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ action: VoidCallback; } @@ -348,7 +348,7 @@ interface ActionSheetButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface ActionSheetOffset { /** @@ -359,7 +359,7 @@ interface ActionSheetOffset { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ dx: number | string | Resource; /** @@ -370,7 +370,7 @@ interface ActionSheetOffset { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ dy: number | string | Resource; } @@ -382,7 +382,7 @@ interface ActionSheetOffset { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare type LevelMode = import('../api/@ohos.promptAction').LevelMode; @@ -393,7 +393,7 @@ declare type LevelMode = import('../api/@ohos.promptAction').LevelMode; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare type ImmersiveMode = import('../api/@ohos.promptAction').ImmersiveMode; @@ -419,7 +419,7 @@ declare type ImmersiveMode = import('../api/@ohos.promptAction').ImmersiveMode; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ActionSheetOptions { @@ -445,7 +445,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ title: string | Resource; @@ -462,7 +462,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ subtitle?: ResourceStr; @@ -488,7 +488,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ message: string | Resource; @@ -525,7 +525,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ confirm?: ActionSheetButtonOptions; @@ -561,7 +561,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ cancel?: VoidCallback; @@ -587,7 +587,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ sheets: Array; @@ -615,7 +615,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ autoCancel?: boolean; @@ -646,7 +646,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ alignment?: DialogAlignment; @@ -683,7 +683,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ offset?: ActionSheetOffset; @@ -707,7 +707,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maskRect?: Rectangle; @@ -732,7 +732,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ showInSubWindow?: boolean; @@ -751,7 +751,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isModal?: boolean; @@ -776,7 +776,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: ResourceColor; @@ -802,7 +802,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -813,7 +813,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -824,7 +824,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundEffect?: BackgroundEffectOptions; @@ -842,7 +842,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillDismiss?: Callback; @@ -860,7 +860,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ transition?: TransitionEffect; @@ -875,7 +875,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ cornerRadius?: Dimension | BorderRadiuses | LocalizedBorderRadiuses; @@ -889,7 +889,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ width?: Dimension; @@ -903,7 +903,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ height?: Dimension; @@ -918,7 +918,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderWidth?: Dimension | EdgeWidths | LocalizedEdgeWidths; @@ -934,7 +934,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderColor?: ResourceColor | EdgeColors | LocalizedEdgeColors; @@ -946,7 +946,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderStyle?: BorderStyle | EdgeStyles; @@ -959,7 +959,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ shadow?: ShadowOptions | ShadowStyle; @@ -971,7 +971,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ enableHoverMode?: boolean; @@ -983,7 +983,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ hoverModeArea?: HoverModeAreaType; @@ -994,7 +994,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onDidAppear?: Callback; @@ -1005,7 +1005,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onDidDisappear?: Callback; @@ -1016,7 +1016,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onWillAppear?: Callback; @@ -1027,7 +1027,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onWillDisappear?: Callback; @@ -1039,7 +1039,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ levelMode?: LevelMode; @@ -1053,7 +1053,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ levelUniqueId?: number; @@ -1065,7 +1065,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ immersiveMode?: ImmersiveMode; @@ -1077,7 +1077,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ levelOrder?: LevelOrder; } @@ -1101,7 +1101,7 @@ interface ActionSheetOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class ActionSheet { /** @@ -1126,7 +1126,7 @@ declare class ActionSheet { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#showActionSheet */ diff --git a/api/@internal/component/ets/alert_dialog.d.ts b/api/@internal/component/ets/alert_dialog.d.ts index 8bf3cfe0bd..74d4cd25b0 100644 --- a/api/@internal/component/ets/alert_dialog.d.ts +++ b/api/@internal/component/ets/alert_dialog.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum DialogAlignment { /** @@ -62,7 +62,7 @@ declare enum DialogAlignment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Top, @@ -85,7 +85,7 @@ declare enum DialogAlignment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Center, @@ -108,7 +108,7 @@ declare enum DialogAlignment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Bottom, @@ -131,7 +131,7 @@ declare enum DialogAlignment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Default, @@ -154,7 +154,7 @@ declare enum DialogAlignment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ TopStart, @@ -177,7 +177,7 @@ declare enum DialogAlignment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ TopEnd, @@ -200,7 +200,7 @@ declare enum DialogAlignment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ CenterStart, @@ -223,7 +223,7 @@ declare enum DialogAlignment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ CenterEnd, @@ -246,7 +246,7 @@ declare enum DialogAlignment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ BottomStart, @@ -269,7 +269,7 @@ declare enum DialogAlignment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ BottomEnd, } @@ -289,7 +289,7 @@ declare enum DialogAlignment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice -* @since 11 +* @since 11 dynamic */ declare enum DialogButtonDirection { /** @@ -305,7 +305,7 @@ declare enum DialogButtonDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ AUTO = 0, @@ -322,7 +322,7 @@ declare enum DialogButtonDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ HORIZONTAL = 1, @@ -339,7 +339,7 @@ declare enum DialogButtonDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ VERTICAL = 2, } @@ -351,7 +351,7 @@ declare enum DialogButtonDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface AlertDialogButtonBaseOptions { /** @@ -382,7 +382,7 @@ declare interface AlertDialogButtonBaseOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ enabled?: boolean; @@ -414,7 +414,7 @@ declare interface AlertDialogButtonBaseOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ defaultFocus?: boolean; @@ -446,7 +446,7 @@ declare interface AlertDialogButtonBaseOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ style?: DialogButtonStyle; @@ -475,7 +475,7 @@ declare interface AlertDialogButtonBaseOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ value: ResourceStr; @@ -504,7 +504,7 @@ declare interface AlertDialogButtonBaseOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontColor?: ResourceColor; @@ -533,7 +533,7 @@ declare interface AlertDialogButtonBaseOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundColor?: ResourceColor; @@ -562,7 +562,7 @@ declare interface AlertDialogButtonBaseOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ action: VoidCallback; } @@ -594,7 +594,7 @@ declare interface AlertDialogButtonBaseOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface AlertDialogButtonOptions extends AlertDialogButtonBaseOptions { /** @@ -614,7 +614,7 @@ declare interface AlertDialogButtonOptions extends AlertDialogButtonBaseOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ primary?: boolean; } @@ -626,7 +626,7 @@ declare interface AlertDialogButtonOptions extends AlertDialogButtonBaseOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TextStyle { /** @@ -636,7 +636,7 @@ declare interface TextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ wordBreak?: WordBreak; } @@ -648,7 +648,7 @@ declare interface TextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type LevelOrder = import('../api/@ohos.promptAction').LevelOrder; @@ -674,7 +674,7 @@ declare type LevelOrder = import('../api/@ohos.promptAction').LevelOrder; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface AlertDialogParam { /** @@ -699,7 +699,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ title?: ResourceStr; @@ -716,7 +716,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ subtitle?: ResourceStr; @@ -742,7 +742,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ message: ResourceStr; @@ -768,7 +768,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ autoCancel?: boolean; @@ -804,7 +804,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ cancel?: VoidCallback; @@ -830,7 +830,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ alignment?: DialogAlignment; @@ -856,7 +856,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offset?: Offset; @@ -882,7 +882,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ gridCount?: number; @@ -901,7 +901,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maskRect?: Rectangle; @@ -922,7 +922,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ showInSubWindow?: boolean; @@ -941,7 +941,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isModal?: boolean; @@ -962,7 +962,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: ResourceColor; @@ -983,7 +983,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -994,7 +994,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -1005,7 +1005,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundEffect?: BackgroundEffectOptions; @@ -1016,7 +1016,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillDismiss?: Callback; @@ -1027,7 +1027,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ transition?: TransitionEffect; @@ -1038,7 +1038,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ cornerRadius?: Dimension | BorderRadiuses | LocalizedBorderRadiuses; @@ -1049,7 +1049,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ width?: Dimension; @@ -1060,7 +1060,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ height?: Dimension; @@ -1071,7 +1071,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderWidth?: Dimension | EdgeWidths | LocalizedEdgeWidths; @@ -1082,7 +1082,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderColor?: ResourceColor | EdgeColors | LocalizedEdgeColors; @@ -1093,7 +1093,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderStyle?: BorderStyle | EdgeStyles; @@ -1104,7 +1104,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ shadow?: ShadowOptions | ShadowStyle; @@ -1115,7 +1115,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textStyle?: TextStyle; @@ -1127,7 +1127,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ enableHoverMode?: boolean; @@ -1139,7 +1139,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ hoverModeArea?: HoverModeAreaType; @@ -1150,7 +1150,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onDidAppear?: Callback; @@ -1161,7 +1161,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onDidDisappear?: Callback; @@ -1172,7 +1172,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onWillAppear?: Callback; @@ -1183,7 +1183,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onWillDisappear?: Callback; @@ -1195,7 +1195,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ levelMode?: LevelMode; @@ -1206,7 +1206,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ levelUniqueId?: number; @@ -1218,7 +1218,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ immersiveMode?: ImmersiveMode; @@ -1230,7 +1230,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ levelOrder?: LevelOrder; } @@ -1260,7 +1260,7 @@ declare interface AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface AlertDialogParamWithConfirm extends AlertDialogParam { /** @@ -1295,7 +1295,7 @@ declare interface AlertDialogParamWithConfirm extends AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ confirm?: AlertDialogButtonBaseOptions; } @@ -1307,7 +1307,7 @@ declare interface AlertDialogParamWithConfirm extends AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare interface DismissDialogAction { @@ -1318,7 +1318,7 @@ declare interface DismissDialogAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dismiss: Callback; @@ -1329,7 +1329,7 @@ declare interface DismissDialogAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ reason: DismissReason; } @@ -1359,7 +1359,7 @@ declare interface DismissDialogAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface AlertDialogParamWithButtons extends AlertDialogParam { /** @@ -1394,7 +1394,7 @@ declare interface AlertDialogParamWithButtons extends AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ primaryButton: AlertDialogButtonBaseOptions; @@ -1430,7 +1430,7 @@ declare interface AlertDialogParamWithButtons extends AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ secondaryButton: AlertDialogButtonBaseOptions; } @@ -1452,7 +1452,7 @@ declare interface AlertDialogParamWithButtons extends AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface AlertDialogParamWithOptions extends AlertDialogParam { /** @@ -1468,7 +1468,7 @@ declare interface AlertDialogParamWithOptions extends AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ buttons: Array; @@ -1487,7 +1487,7 @@ declare interface AlertDialogParamWithOptions extends AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ buttonDirection?: DialogButtonDirection; } @@ -1511,7 +1511,7 @@ declare interface AlertDialogParamWithOptions extends AlertDialogParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class AlertDialog { /** @@ -1536,7 +1536,7 @@ declare class AlertDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#showAlertDialog */ diff --git a/api/@internal/component/ets/alphabet_indexer.d.ts b/api/@internal/component/ets/alphabet_indexer.d.ts index f937ef5afb..6beeb51b7c 100644 --- a/api/@internal/component/ets/alphabet_indexer.d.ts +++ b/api/@internal/component/ets/alphabet_indexer.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum IndexerAlign { /** @@ -62,7 +62,7 @@ declare enum IndexerAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Left, @@ -85,7 +85,7 @@ declare enum IndexerAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Right, @@ -95,7 +95,7 @@ declare enum IndexerAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ START, @@ -105,7 +105,7 @@ declare enum IndexerAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ END, } @@ -117,7 +117,7 @@ declare enum IndexerAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface AlphabetIndexerOptions { /** @@ -152,7 +152,7 @@ interface AlphabetIndexerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ arrayValue: Array; /** @@ -187,7 +187,7 @@ interface AlphabetIndexerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selected: number; } @@ -214,7 +214,7 @@ interface AlphabetIndexerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface AlphabetIndexerInterface { @@ -258,7 +258,7 @@ interface AlphabetIndexerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ (options: AlphabetIndexerOptions): AlphabetIndexerAttribute; } @@ -271,7 +271,7 @@ interface AlphabetIndexerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnAlphabetIndexerSelectCallback = (index: number) => void; @@ -283,7 +283,7 @@ declare type OnAlphabetIndexerSelectCallback = (index: number) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnAlphabetIndexerPopupSelectCallback = (index: number) => void; /** @@ -295,7 +295,7 @@ declare type OnAlphabetIndexerPopupSelectCallback = (index: number) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnAlphabetIndexerRequestPopupDataCallback = (index: number) => Array; @@ -321,7 +321,7 @@ declare type OnAlphabetIndexerRequestPopupDataCallback = (index: number) => Arra * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class AlphabetIndexerAttribute extends CommonMethod { /** @@ -330,7 +330,7 @@ declare class AlphabetIndexerAttribute extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static * @noninterop */ declare class AnimatorAttribute extends CommonMethod { @@ -158,8 +158,8 @@ declare class AnimatorAttribute extends CommonMethod { * @returns { AnimatorAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ state(value: AnimationStatus): AnimatorAttribute; @@ -170,8 +170,8 @@ declare class AnimatorAttribute extends CommonMethod { * @returns { AnimatorAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ duration(value: number): AnimatorAttribute; @@ -182,8 +182,8 @@ declare class AnimatorAttribute extends CommonMethod { * @returns { AnimatorAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ curve(value: Curve): AnimatorAttribute; @@ -194,8 +194,8 @@ declare class AnimatorAttribute extends CommonMethod { * @returns { AnimatorAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ delay(value: number): AnimatorAttribute; @@ -206,8 +206,8 @@ declare class AnimatorAttribute extends CommonMethod { * @returns { AnimatorAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ fillMode(value: FillMode): AnimatorAttribute; @@ -218,8 +218,8 @@ declare class AnimatorAttribute extends CommonMethod { * @returns { AnimatorAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ iterations(value: number): AnimatorAttribute; @@ -230,8 +230,8 @@ declare class AnimatorAttribute extends CommonMethod { * @returns { AnimatorAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ playMode(value: PlayMode): AnimatorAttribute; @@ -242,8 +242,8 @@ declare class AnimatorAttribute extends CommonMethod { * @returns { AnimatorAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ motion(value: SpringMotion | FrictionMotion | ScrollMotion): AnimatorAttribute; @@ -254,8 +254,8 @@ declare class AnimatorAttribute extends CommonMethod { * @returns { AnimatorAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ onStart(event: () => void): AnimatorAttribute; @@ -266,8 +266,8 @@ declare class AnimatorAttribute extends CommonMethod { * @returns { AnimatorAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ onPause(event: () => void): AnimatorAttribute; @@ -278,8 +278,8 @@ declare class AnimatorAttribute extends CommonMethod { * @returns { AnimatorAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ onRepeat(event: () => void): AnimatorAttribute; @@ -290,8 +290,8 @@ declare class AnimatorAttribute extends CommonMethod { * @returns { AnimatorAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ onCancel(event: () => void): AnimatorAttribute; @@ -302,8 +302,8 @@ declare class AnimatorAttribute extends CommonMethod { * @returns { AnimatorAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ onFinish(event: () => void): AnimatorAttribute; @@ -314,8 +314,8 @@ declare class AnimatorAttribute extends CommonMethod { * @returns { AnimatorAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ onFrame(event: (value: number) => void): AnimatorAttribute; } @@ -325,7 +325,7 @@ declare class AnimatorAttribute extends CommonMethod { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic * @noninterop */ declare const Animator: AnimatorInterface; @@ -335,7 +335,7 @@ declare const Animator: AnimatorInterface; * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic * @noninterop */ declare const AnimatorInstance: AnimatorAttribute; diff --git a/api/@internal/component/ets/badge.d.ts b/api/@internal/component/ets/badge.d.ts index 56f4fa2b79..8de99e19d9 100644 --- a/api/@internal/component/ets/badge.d.ts +++ b/api/@internal/component/ets/badge.d.ts @@ -50,7 +50,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum BadgePosition { /** @@ -81,7 +81,7 @@ declare enum BadgePosition { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ RightTop, @@ -113,7 +113,7 @@ declare enum BadgePosition { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Right, @@ -145,7 +145,7 @@ declare enum BadgePosition { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Left, } @@ -182,7 +182,7 @@ declare enum BadgePosition { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface BadgeStyle { /** @@ -218,7 +218,7 @@ declare interface BadgeStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ color?: ResourceColor; @@ -272,7 +272,7 @@ declare interface BadgeStyle { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ fontSize?: number | ResourceStr; @@ -327,7 +327,7 @@ declare interface BadgeStyle { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ badgeSize?: number | ResourceStr; @@ -364,7 +364,7 @@ declare interface BadgeStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ badgeColor?: ResourceColor; @@ -384,7 +384,7 @@ declare interface BadgeStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ borderColor?: ResourceColor; @@ -406,7 +406,7 @@ declare interface BadgeStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ borderWidth?: Length; @@ -441,7 +441,7 @@ declare interface BadgeStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ fontWeight?: number | FontWeight | ResourceStr; } @@ -478,7 +478,7 @@ declare interface BadgeStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface BadgeParam { /** @@ -521,7 +521,7 @@ declare interface BadgeParam { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ position?: BadgePosition | Position; @@ -557,7 +557,7 @@ declare interface BadgeParam { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ style: BadgeStyle; } @@ -598,7 +598,7 @@ declare interface BadgeParam { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface BadgeParamWithNumber extends BadgeParam { /** @@ -641,7 +641,7 @@ declare interface BadgeParamWithNumber extends BadgeParam { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ count: number; @@ -685,7 +685,7 @@ declare interface BadgeParamWithNumber extends BadgeParam { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ maxCount?: number; } @@ -726,7 +726,7 @@ declare interface BadgeParamWithNumber extends BadgeParam { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface BadgeParamWithString extends BadgeParam { /** @@ -771,7 +771,7 @@ declare interface BadgeParamWithString extends BadgeParam { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ value: ResourceStr; } @@ -808,7 +808,7 @@ declare interface BadgeParamWithString extends BadgeParam { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface BadgeInterface { @@ -860,7 +860,7 @@ interface BadgeInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (value: BadgeParamWithNumber): BadgeAttribute; @@ -912,7 +912,7 @@ interface BadgeInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (value: BadgeParamWithString): BadgeAttribute; } @@ -949,7 +949,7 @@ interface BadgeInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class BadgeAttribute extends CommonMethod {} @@ -982,7 +982,7 @@ declare class BadgeAttribute extends CommonMethod {} * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Badge: BadgeInterface; @@ -1015,7 +1015,7 @@ declare const Badge: BadgeInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const BadgeInstance: BadgeAttribute; diff --git a/api/@internal/component/ets/blank.d.ts b/api/@internal/component/ets/blank.d.ts index 76c16298f7..fa1e372fbe 100644 --- a/api/@internal/component/ets/blank.d.ts +++ b/api/@internal/component/ets/blank.d.ts @@ -50,7 +50,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface BlankInterface { @@ -91,7 +91,7 @@ interface BlankInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (min?: number | string): BlankAttribute; } @@ -128,7 +128,7 @@ interface BlankInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class BlankAttribute extends CommonMethod { @@ -169,7 +169,7 @@ declare class BlankAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ color(value: ResourceColor): BlankAttribute; } @@ -202,7 +202,7 @@ declare class BlankAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Blank: BlankInterface; @@ -235,7 +235,7 @@ declare const Blank: BlankInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const BlankInstance: BlankAttribute; diff --git a/api/@internal/component/ets/button.d.ts b/api/@internal/component/ets/button.d.ts index d8e2627106..f946a89251 100644 --- a/api/@internal/component/ets/button.d.ts +++ b/api/@internal/component/ets/button.d.ts @@ -48,7 +48,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ButtonType { /** @@ -79,7 +79,7 @@ declare enum ButtonType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Capsule, /** @@ -110,7 +110,7 @@ declare enum ButtonType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Circle, /** @@ -141,7 +141,7 @@ declare enum ButtonType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Normal, /** @@ -151,7 +151,7 @@ declare enum ButtonType { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ ROUNDED_RECTANGLE = 3 } @@ -172,7 +172,7 @@ declare enum ButtonType { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum ButtonStyleMode { /** @@ -190,7 +190,7 @@ declare enum ButtonStyleMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ NORMAL = 0, /** @@ -208,7 +208,7 @@ declare enum ButtonStyleMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ EMPHASIZED = 1, /** @@ -226,7 +226,7 @@ declare enum ButtonStyleMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ TEXTUAL = 2 } @@ -238,7 +238,7 @@ declare enum ButtonStyleMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum ButtonRole { /** @@ -248,7 +248,7 @@ declare enum ButtonRole { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ NORMAL = 0, /** @@ -258,7 +258,7 @@ declare enum ButtonRole { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ ERROR = 1 } @@ -271,7 +271,7 @@ declare enum ButtonRole { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type ButtonTriggerClickCallback = (xPos: number, yPos: number) => void; /** @@ -282,7 +282,7 @@ declare type ButtonTriggerClickCallback = (xPos: number, yPos: number) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface ButtonConfiguration extends CommonConfiguration { /** @@ -292,7 +292,7 @@ declare interface ButtonConfiguration extends CommonConfiguration { @@ -889,7 +889,7 @@ declare class ButtonAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ type(value: ButtonType): ButtonAttribute; @@ -929,7 +929,7 @@ declare class ButtonAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ stateEffect(value: boolean): ButtonAttribute; @@ -952,7 +952,7 @@ declare class ButtonAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ buttonStyle(value: ButtonStyleMode): ButtonAttribute; @@ -975,7 +975,7 @@ declare class ButtonAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ controlSize(value: ControlSize): ButtonAttribute; @@ -988,7 +988,7 @@ declare class ButtonAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ role(value: ButtonRole): ButtonAttribute; @@ -1028,7 +1028,7 @@ declare class ButtonAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor(value: ResourceColor): ButtonAttribute; @@ -1068,7 +1068,7 @@ declare class ButtonAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontSize(value: Length): ButtonAttribute; @@ -1108,7 +1108,7 @@ declare class ButtonAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontWeight(value: number | FontWeight | string): ButtonAttribute; @@ -1148,7 +1148,7 @@ declare class ButtonAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontStyle(value: FontStyle): ButtonAttribute; @@ -1188,7 +1188,7 @@ declare class ButtonAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontFamily(value: string | Resource): ButtonAttribute; @@ -1200,7 +1200,7 @@ declare class ButtonAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentModifier(modifier: ContentModifier): ButtonAttribute; @@ -1221,7 +1221,7 @@ declare class ButtonAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ labelStyle(value: LabelStyle): ButtonAttribute; @@ -1242,7 +1242,7 @@ declare class ButtonAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ minFontScale(scale: number | Resource): ButtonAttribute; @@ -1263,7 +1263,7 @@ declare class ButtonAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ maxFontScale(scale: number | Resource): ButtonAttribute; } @@ -1296,7 +1296,7 @@ declare class ButtonAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Button: ButtonInterface; @@ -1328,7 +1328,7 @@ declare const Button: ButtonInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ButtonInstance: ButtonAttribute; diff --git a/api/@internal/component/ets/calendar.d.ts b/api/@internal/component/ets/calendar.d.ts index 6a6c2c8401..a8647d47e4 100644 --- a/api/@internal/component/ets/calendar.d.ts +++ b/api/@internal/component/ets/calendar.d.ts @@ -33,7 +33,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ interface CalendarDay { @@ -54,7 +54,7 @@ interface CalendarDay { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ index: number; @@ -76,7 +76,7 @@ interface CalendarDay { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ lunarMonth: string; @@ -96,7 +96,7 @@ interface CalendarDay { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ lunarDay: string; @@ -116,7 +116,7 @@ interface CalendarDay { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ dayMark: string; @@ -136,7 +136,7 @@ interface CalendarDay { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ dayMarkValue: string; @@ -156,7 +156,7 @@ interface CalendarDay { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ year: number; @@ -176,7 +176,7 @@ interface CalendarDay { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ month: number; @@ -196,7 +196,7 @@ interface CalendarDay { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ day: number; @@ -216,7 +216,7 @@ interface CalendarDay { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ isFirstOfLunar: boolean; @@ -238,7 +238,7 @@ interface CalendarDay { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ hasSchedule: boolean; @@ -258,7 +258,7 @@ interface CalendarDay { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ markLunarDay: boolean; @@ -279,7 +279,7 @@ interface CalendarDay { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ interface MonthData { @@ -298,7 +298,7 @@ interface MonthData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ year: number; @@ -318,7 +318,7 @@ interface MonthData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ month: number; @@ -338,7 +338,7 @@ interface MonthData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ data: CalendarDay[]; @@ -359,7 +359,7 @@ interface MonthData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ interface CurrentDayStyle { @@ -378,7 +378,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ dayColor?: ResourceColor; @@ -398,7 +398,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ lunarColor?: ResourceColor; @@ -418,7 +418,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ markLunarColor?: ResourceColor; @@ -438,7 +438,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ dayFontSize?: number; @@ -458,7 +458,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ lunarDayFontSize?: number; @@ -478,7 +478,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ dayHeight?: number; @@ -498,7 +498,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ dayWidth?: number; @@ -518,7 +518,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ gregorianCalendarHeight?: number; @@ -538,7 +538,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ dayYAxisOffset?: number; @@ -558,7 +558,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ lunarDayYAxisOffset?: number; @@ -578,7 +578,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ underscoreXAxisOffset?: number; @@ -598,7 +598,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ underscoreYAxisOffset?: number; @@ -618,7 +618,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ scheduleMarkerXAxisOffset?: number; @@ -638,7 +638,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ scheduleMarkerYAxisOffset?: number; @@ -658,7 +658,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ colSpace?: number; @@ -678,7 +678,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ dailyFiveRowSpace?: number; @@ -698,7 +698,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ dailySixRowSpace?: number; @@ -718,7 +718,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ lunarHeight?: number; @@ -738,7 +738,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ underscoreWidth?: number; @@ -758,7 +758,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ underscoreLength?: number; @@ -778,7 +778,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ scheduleMarkerRadius?: number; @@ -798,7 +798,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ boundaryRowOffset?: number; @@ -818,7 +818,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ boundaryColOffset?: number; @@ -839,7 +839,7 @@ interface CurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ interface NonCurrentDayStyle { @@ -858,7 +858,7 @@ interface NonCurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ nonCurrentMonthDayColor?: ResourceColor; @@ -878,7 +878,7 @@ interface NonCurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ nonCurrentMonthLunarColor?: ResourceColor; @@ -898,7 +898,7 @@ interface NonCurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ nonCurrentMonthWorkDayMarkColor?: ResourceColor; @@ -918,7 +918,7 @@ interface NonCurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ nonCurrentMonthOffDayMarkColor?: ResourceColor; @@ -939,7 +939,7 @@ interface NonCurrentDayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ interface TodayStyle { @@ -958,7 +958,7 @@ interface TodayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ focusedDayColor?: ResourceColor; @@ -978,7 +978,7 @@ interface TodayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ focusedLunarColor?: ResourceColor; @@ -998,7 +998,7 @@ interface TodayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ focusedAreaBackgroundColor?: ResourceColor; @@ -1018,7 +1018,7 @@ interface TodayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ focusedAreaRadius?: number; @@ -1039,7 +1039,7 @@ interface TodayStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ interface WeekStyle { @@ -1058,7 +1058,7 @@ interface WeekStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ weekColor?: ResourceColor; @@ -1078,7 +1078,7 @@ interface WeekStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ weekendDayColor?: ResourceColor; @@ -1098,7 +1098,7 @@ interface WeekStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ weekendLunarColor?: ResourceColor; @@ -1118,7 +1118,7 @@ interface WeekStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ weekFontSize?: number; @@ -1138,7 +1138,7 @@ interface WeekStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ weekHeight?: number; @@ -1158,7 +1158,7 @@ interface WeekStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ weekWidth?: number; @@ -1178,7 +1178,7 @@ interface WeekStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ weekAndDayRowSpace?: number; @@ -1199,7 +1199,7 @@ interface WeekStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ interface WorkStateStyle { @@ -1218,7 +1218,7 @@ interface WorkStateStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ workDayMarkColor?: ResourceColor; @@ -1238,7 +1238,7 @@ interface WorkStateStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ offDayMarkColor?: ResourceColor; @@ -1258,7 +1258,7 @@ interface WorkStateStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ workDayMarkSize?: number; @@ -1278,7 +1278,7 @@ interface WorkStateStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ offDayMarkSize?: number; @@ -1298,7 +1298,7 @@ interface WorkStateStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ workStateWidth?: number; @@ -1318,7 +1318,7 @@ interface WorkStateStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ workStateHorizontalMovingDistance?: number; @@ -1338,7 +1338,7 @@ interface WorkStateStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ workStateVerticalMovingDistance?: number; @@ -1359,7 +1359,7 @@ interface WorkStateStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ declare interface CalendarSelectedDate { @@ -1378,7 +1378,7 @@ declare interface CalendarSelectedDate { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ year: number; @@ -1398,7 +1398,7 @@ declare interface CalendarSelectedDate { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ month: number; @@ -1418,7 +1418,7 @@ declare interface CalendarSelectedDate { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ day: number; @@ -1439,7 +1439,7 @@ declare interface CalendarSelectedDate { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ declare interface CalendarRequestedData { @@ -1458,7 +1458,7 @@ declare interface CalendarRequestedData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ year: number; @@ -1478,7 +1478,7 @@ declare interface CalendarRequestedData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ month: number; @@ -1498,7 +1498,7 @@ declare interface CalendarRequestedData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ currentYear: number; @@ -1518,7 +1518,7 @@ declare interface CalendarRequestedData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ currentMonth: number; @@ -1538,7 +1538,7 @@ declare interface CalendarRequestedData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ monthState: number; @@ -1557,7 +1557,7 @@ declare interface CalendarRequestedData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ declare class CalendarController { @@ -1574,7 +1574,7 @@ declare class CalendarController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ constructor(); @@ -1592,7 +1592,7 @@ declare class CalendarController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ backToToday(); @@ -1612,7 +1612,7 @@ declare class CalendarController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ goTo(value: { year: number; month: number; day: number }); @@ -1633,7 +1633,7 @@ declare class CalendarController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 * @noninterop */ @@ -1655,7 +1655,7 @@ interface CalendarInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ (value: { @@ -1676,7 +1676,7 @@ interface CalendarInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 * @noninterop */ @@ -1698,7 +1698,7 @@ declare class CalendarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ showLunar(value: boolean): CalendarAttribute; @@ -1720,7 +1720,7 @@ declare class CalendarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ showHoliday(value: boolean): CalendarAttribute; @@ -1742,7 +1742,7 @@ declare class CalendarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ needSlide(value: boolean): CalendarAttribute; @@ -1764,7 +1764,7 @@ declare class CalendarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ startOfWeek(value: number): CalendarAttribute; @@ -1786,7 +1786,7 @@ declare class CalendarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ offDays(value: number): CalendarAttribute; @@ -1808,7 +1808,7 @@ declare class CalendarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ direction(value: Axis): CalendarAttribute; @@ -1830,7 +1830,7 @@ declare class CalendarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ currentDayStyle(value: CurrentDayStyle): CalendarAttribute; @@ -1852,7 +1852,7 @@ declare class CalendarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ nonCurrentDayStyle(value: NonCurrentDayStyle): CalendarAttribute; @@ -1874,7 +1874,7 @@ declare class CalendarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ todayStyle(value: TodayStyle): CalendarAttribute; @@ -1896,7 +1896,7 @@ declare class CalendarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ weekStyle(value: WeekStyle): CalendarAttribute; @@ -1918,7 +1918,7 @@ declare class CalendarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ workStateStyle(value: WorkStateStyle): CalendarAttribute; @@ -1940,7 +1940,7 @@ declare class CalendarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ onSelectChange(event: (event: CalendarSelectedDate) => void): CalendarAttribute; @@ -1962,7 +1962,7 @@ declare class CalendarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 */ onRequestData( @@ -1983,7 +1983,7 @@ declare class CalendarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 * @noninterop */ @@ -2002,7 +2002,7 @@ declare const Calendar: CalendarInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 10 + * @since 10 dynamic * @deprecated since 20 * @noninterop */ diff --git a/api/@internal/component/ets/calendar_picker.d.ts b/api/@internal/component/ets/calendar_picker.d.ts index 2c402a3d16..49645d0dd1 100644 --- a/api/@internal/component/ets/calendar_picker.d.ts +++ b/api/@internal/component/ets/calendar_picker.d.ts @@ -31,7 +31,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum CalendarAlign { /** @@ -45,7 +45,7 @@ declare enum CalendarAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ START = 0, /** @@ -59,7 +59,7 @@ declare enum CalendarAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ CENTER = 1, /** @@ -73,7 +73,7 @@ declare enum CalendarAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ END = 2 } @@ -91,7 +91,7 @@ declare enum CalendarAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface CalendarOptions { /** @@ -107,7 +107,7 @@ declare interface CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ hintRadius?: number | Resource; @@ -124,7 +124,7 @@ declare interface CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selected?: Date; @@ -135,7 +135,7 @@ declare interface CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ start?: Date; @@ -146,7 +146,7 @@ declare interface CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ end?: Date; @@ -157,7 +157,7 @@ declare interface CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ disabledDateRange?: DateRange[]; } @@ -175,7 +175,7 @@ declare interface CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface CalendarPickerInterface { @@ -194,7 +194,7 @@ interface CalendarPickerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (options?: CalendarOptions): CalendarPickerAttribute; } @@ -212,7 +212,7 @@ interface CalendarPickerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class CalendarPickerAttribute extends CommonMethod { @@ -233,7 +233,7 @@ declare class CalendarPickerAttribute extends CommonMethod, offset?: Offset): CalendarPickerAttribute; @@ -264,7 +264,7 @@ declare class CalendarPickerAttribute extends CommonMethod): CalendarPickerAttribute; @@ -304,7 +304,7 @@ declare class CalendarPickerAttribute extends CommonMethod): CalendarPickerAttribute; @@ -315,7 +315,7 @@ declare class CalendarPickerAttribute extends CommonMethod>): CalendarPickerAttribute; @@ -327,7 +327,7 @@ declare class CalendarPickerAttribute extends CommonMethod; @@ -398,7 +398,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onCancel?: VoidCallback; @@ -424,7 +424,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onChange?: Callback; @@ -445,7 +445,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: ResourceColor; @@ -466,7 +466,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -477,7 +477,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -488,7 +488,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundEffect?: BackgroundEffectOptions; @@ -499,7 +499,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ acceptButtonStyle?: PickerDialogButtonStyle; @@ -510,7 +510,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ cancelButtonStyle?: PickerDialogButtonStyle; @@ -531,7 +531,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onDidAppear?: VoidCallback; @@ -552,7 +552,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onDidDisappear?: VoidCallback; @@ -573,7 +573,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onWillAppear?: VoidCallback; @@ -594,7 +594,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onWillDisappear?: VoidCallback; @@ -605,7 +605,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ shadow?: ShadowOptions | ShadowStyle; @@ -617,7 +617,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ enableHoverMode?: boolean; @@ -629,7 +629,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ hoverModeArea?: HoverModeAreaType; @@ -641,7 +641,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ markToday?: boolean; } @@ -657,7 +657,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class CalendarPickerDialog { /** @@ -673,7 +673,7 @@ declare class CalendarPickerDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static show(options?: CalendarDialogOptions): void; } @@ -689,7 +689,7 @@ declare class CalendarPickerDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const CalendarPicker: CalendarPickerInterface; @@ -705,7 +705,7 @@ declare const CalendarPicker: CalendarPickerInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const CalendarPickerInstance: CalendarPickerAttribute; diff --git a/api/@internal/component/ets/canvas.d.ts b/api/@internal/component/ets/canvas.d.ts index e1306925fa..c72290c7e9 100644 --- a/api/@internal/component/ets/canvas.d.ts +++ b/api/@internal/component/ets/canvas.d.ts @@ -25,7 +25,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type DrawingCanvas = import('../api/@ohos.graphics.drawing').default.Canvas; @@ -73,7 +73,7 @@ declare type DrawingCanvas = import('../api/@ohos.graphics.drawing').default.Can * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type CanvasFillRule = "evenodd" | "nonzero"; @@ -125,7 +125,7 @@ declare type CanvasFillRule = "evenodd" | "nonzero"; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type CanvasLineCap = "butt" | "round" | "square"; @@ -189,7 +189,7 @@ declare type CanvasLineCap = "butt" | "round" | "square"; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type CanvasLineJoin = "bevel" | "miter" | "round"; @@ -237,7 +237,7 @@ declare type CanvasLineJoin = "bevel" | "miter" | "round"; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type CanvasDirection = "inherit" | "ltr" | "rtl"; @@ -301,7 +301,7 @@ declare type CanvasDirection = "inherit" | "ltr" | "rtl"; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type CanvasTextAlign = "center" | "end" | "left" | "right" | "start"; @@ -369,7 +369,7 @@ declare type CanvasTextAlign = "center" | "end" | "left" | "right" | "start"; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type CanvasTextBaseline = "alphabetic" | "bottom" | "hanging" | "ideographic" | "middle" | "top"; @@ -417,7 +417,7 @@ declare type CanvasTextBaseline = "alphabetic" | "bottom" | "hanging" | "ideogra * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type ImageSmoothingQuality = "high" | "low" | "medium"; @@ -428,7 +428,7 @@ declare type ImageSmoothingQuality = "high" | "low" | "medium"; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ declare type FrameNode = import('../api/arkui/FrameNode').FrameNode; @@ -460,7 +460,7 @@ declare type FrameNode = import('../api/arkui/FrameNode').FrameNode; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class CanvasGradient { /** @@ -503,7 +503,7 @@ declare class CanvasGradient { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ addColorStop(offset: number, color: string): void; @@ -517,7 +517,7 @@ declare class CanvasGradient { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ addColorStop(offset: number, color: string | ColorMetrics): void; } @@ -550,7 +550,7 @@ declare class CanvasGradient { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class CanvasPath { /** @@ -609,7 +609,7 @@ declare class CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void; @@ -661,7 +661,7 @@ declare class CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void; @@ -717,7 +717,7 @@ declare class CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void; @@ -749,7 +749,7 @@ declare class CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ closePath(): void; @@ -821,7 +821,7 @@ declare class CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ ellipse( x: number, @@ -870,7 +870,7 @@ declare class CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ lineTo(x: number, y: number): void; @@ -910,7 +910,7 @@ declare class CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ moveTo(x: number, y: number): void; @@ -958,7 +958,7 @@ declare class CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void; @@ -1006,7 +1006,7 @@ declare class CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ rect(x: number, y: number, w: number, h: number): void; @@ -1025,7 +1025,7 @@ declare class CanvasPath { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ roundRect(x: number, y: number, w: number, h: number, radii?: number | Array): void; } @@ -1062,7 +1062,7 @@ declare class CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class Path2D extends CanvasPath { /** @@ -1101,7 +1101,7 @@ declare class Path2D extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ addPath(path: Path2D, transform?: Matrix2D): void; @@ -1133,7 +1133,7 @@ declare class Path2D extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -1145,7 +1145,7 @@ declare class Path2D extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(unit: LengthMetricsUnit); @@ -1181,7 +1181,7 @@ declare class Path2D extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(path: Path2D); @@ -1194,7 +1194,7 @@ declare class Path2D extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(path: Path2D, unit: LengthMetricsUnit); @@ -1230,7 +1230,7 @@ declare class Path2D extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(d: string); @@ -1243,7 +1243,7 @@ declare class Path2D extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(description: string, unit: LengthMetricsUnit); } @@ -1280,7 +1280,7 @@ declare class Path2D extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface CanvasPattern { /** @@ -1315,7 +1315,7 @@ declare interface CanvasPattern { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ setTransform(transform?: Matrix2D): void; } @@ -1352,7 +1352,7 @@ declare interface CanvasPattern { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface TextMetrics { /** @@ -1395,7 +1395,7 @@ declare interface TextMetrics { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly actualBoundingBoxAscent: number; @@ -1439,7 +1439,7 @@ declare interface TextMetrics { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly actualBoundingBoxDescent: number; @@ -1483,7 +1483,7 @@ declare interface TextMetrics { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly actualBoundingBoxLeft: number; @@ -1527,7 +1527,7 @@ declare interface TextMetrics { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly actualBoundingBoxRight: number; @@ -1571,7 +1571,7 @@ declare interface TextMetrics { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly alphabeticBaseline: number; @@ -1615,7 +1615,7 @@ declare interface TextMetrics { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly emHeightAscent: number; @@ -1659,7 +1659,7 @@ declare interface TextMetrics { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly emHeightDescent: number; @@ -1703,7 +1703,7 @@ declare interface TextMetrics { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly fontBoundingBoxAscent: number; @@ -1747,7 +1747,7 @@ declare interface TextMetrics { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly fontBoundingBoxDescent: number; @@ -1791,7 +1791,7 @@ declare interface TextMetrics { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly hangingBaseline: number; @@ -1835,7 +1835,7 @@ declare interface TextMetrics { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly ideographicBaseline: number; @@ -1875,7 +1875,7 @@ declare interface TextMetrics { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly width: number; @@ -1915,7 +1915,7 @@ declare interface TextMetrics { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly height: number; } @@ -1948,7 +1948,7 @@ declare interface TextMetrics { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class ImageBitmap { /** @@ -1987,7 +1987,7 @@ declare class ImageBitmap { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly height: number; @@ -2027,7 +2027,7 @@ declare class ImageBitmap { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly width: number; @@ -2059,7 +2059,7 @@ declare class ImageBitmap { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ close(): void; @@ -2095,7 +2095,7 @@ declare class ImageBitmap { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(src: string); @@ -2108,7 +2108,7 @@ declare class ImageBitmap { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(src: string, unit: LengthMetricsUnit); @@ -2134,7 +2134,7 @@ declare class ImageBitmap { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(data: PixelMap); @@ -2146,7 +2146,7 @@ declare class ImageBitmap { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(data: PixelMap, unit: LengthMetricsUnit); } @@ -2179,7 +2179,7 @@ declare class ImageBitmap { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class ImageData { /** @@ -2218,7 +2218,7 @@ declare class ImageData { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly data: Uint8ClampedArray; @@ -2258,7 +2258,7 @@ declare class ImageData { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly height: number; @@ -2298,7 +2298,7 @@ declare class ImageData { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly width: number; @@ -2342,7 +2342,7 @@ declare class ImageData { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(width: number, height: number, data?: Uint8ClampedArray); @@ -2357,7 +2357,7 @@ declare class ImageData { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(width: number, height: number, data?: Uint8ClampedArray, unit?: LengthMetricsUnit); } @@ -2390,7 +2390,7 @@ declare class ImageData { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class RenderingContextSettings { /** @@ -2425,7 +2425,7 @@ declare class RenderingContextSettings { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ antialias?: boolean; @@ -2461,7 +2461,7 @@ declare class RenderingContextSettings { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(antialias?: boolean); } @@ -2498,7 +2498,7 @@ declare class RenderingContextSettings { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class CanvasRenderer extends CanvasPath { /** @@ -2509,7 +2509,7 @@ declare class CanvasRenderer extends CanvasPath { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ letterSpacing: LengthMetrics | string; @@ -2553,7 +2553,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ globalAlpha: number; @@ -2649,7 +2649,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ globalCompositeOperation: string; @@ -2693,7 +2693,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ drawImage(image: ImageBitmap | PixelMap, dx: number, dy: number): void; @@ -2745,7 +2745,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ drawImage(image: ImageBitmap | PixelMap, dx: number, dy: number, dw: number, dh: number): void; @@ -2813,7 +2813,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ drawImage( image: ImageBitmap | PixelMap, @@ -2855,7 +2855,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ beginPath(): void; @@ -2891,7 +2891,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ clip(fillRule?: CanvasFillRule): void; @@ -2931,7 +2931,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ clip(path: Path2D, fillRule?: CanvasFillRule): void; @@ -2967,7 +2967,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fill(fillRule?: CanvasFillRule): void; @@ -3007,7 +3007,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fill(path: Path2D, fillRule?: CanvasFillRule): void; @@ -3039,7 +3039,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ stroke(): void; @@ -3075,7 +3075,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ stroke(path: Path2D): void; @@ -3129,7 +3129,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fillStyle: string | number | CanvasGradient | CanvasPattern; @@ -3183,7 +3183,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeStyle: string | number | CanvasGradient | CanvasPattern; @@ -3235,7 +3235,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient; @@ -3299,7 +3299,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ createPattern(image: ImageBitmap, repetition: string | null): CanvasPattern | null; @@ -3359,7 +3359,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient; @@ -3386,7 +3386,7 @@ declare class CanvasRenderer extends CanvasPath { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ createConicGradient( startAngle: number, @@ -3494,7 +3494,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ filter: string; @@ -3538,7 +3538,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ createImageData(sw: number, sh: number): ImageData; @@ -3582,7 +3582,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ createImageData(imageData: ImageData): ImageData; @@ -3634,7 +3634,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ getImageData(sx: number, sy: number, sw: number, sh: number): ImageData; @@ -3672,7 +3672,7 @@ declare class CanvasRenderer extends CanvasPath { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getPixelMap(sx: number, sy: number, sw: number, sh: number): PixelMap; @@ -3716,7 +3716,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ putImageData(imageData: ImageData, dx: number | string, dy: number | string): void; @@ -3792,7 +3792,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ putImageData( imageData: ImageData, @@ -3844,7 +3844,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ imageSmoothingEnabled: boolean; @@ -3884,7 +3884,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ imageSmoothingQuality: ImageSmoothingQuality; @@ -3924,7 +3924,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ lineCap: CanvasLineCap; @@ -3964,7 +3964,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ lineDashOffset: number; @@ -4004,7 +4004,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ lineJoin: CanvasLineJoin; @@ -4044,7 +4044,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ lineWidth: number; @@ -4084,7 +4084,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ miterLimit: number; @@ -4120,7 +4120,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ getLineDash(): number[]; @@ -4160,7 +4160,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ setLineDash(segments: number[]): void; @@ -4208,7 +4208,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ clearRect(x: number, y: number, w: number, h: number): void; @@ -4256,7 +4256,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fillRect(x: number, y: number, w: number, h: number): void; @@ -4304,7 +4304,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeRect(x: number, y: number, w: number, h: number): void; @@ -4344,7 +4344,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ shadowBlur: number; @@ -4384,7 +4384,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ shadowColor: string; @@ -4424,7 +4424,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ shadowOffsetX: number; @@ -4464,7 +4464,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ shadowOffsetY: number; @@ -4496,7 +4496,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ restore(): void; @@ -4528,7 +4528,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ save(): void; @@ -4576,7 +4576,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fillText(text: string, x: number, y: number, maxWidth?: number): void; @@ -4616,7 +4616,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ measureText(text: string): TextMetrics; @@ -4664,7 +4664,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeText(text: string, x: number, y: number, maxWidth?: number): void; @@ -4704,7 +4704,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ direction: CanvasDirection; @@ -4744,7 +4744,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ font: string; @@ -4784,7 +4784,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ textAlign: CanvasTextAlign; @@ -4824,7 +4824,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ textBaseline: CanvasTextBaseline; @@ -4860,7 +4860,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ getTransform(): Matrix2D; @@ -4892,7 +4892,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ resetTransform(): void; @@ -4932,7 +4932,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ rotate(angle: number): void; @@ -4972,7 +4972,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ scale(x: number, y: number): void; @@ -5032,7 +5032,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void; @@ -5072,7 +5072,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ setTransform(transform?: Matrix2D): void; @@ -5132,7 +5132,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ transform(a: number, b: number, c: number, d: number, e: number, f: number): void; @@ -5172,7 +5172,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ translate(x: number, y: number): void; @@ -5198,7 +5198,7 @@ declare class CanvasRenderer extends CanvasPath { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ setPixelMap(value?: PixelMap): void; @@ -5234,7 +5234,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ transferFromImageBitmap(bitmap: ImageBitmap): void; @@ -5244,7 +5244,7 @@ declare class CanvasRenderer extends CanvasPath { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ saveLayer(): void; @@ -5254,7 +5254,7 @@ declare class CanvasRenderer extends CanvasPath { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ restoreLayer(): void; @@ -5264,7 +5264,7 @@ declare class CanvasRenderer extends CanvasPath { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ reset(): void; } @@ -5301,7 +5301,7 @@ declare class CanvasRenderer extends CanvasPath { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class CanvasRenderingContext2D extends CanvasRenderer { /** @@ -5340,7 +5340,7 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly height: number; @@ -5380,7 +5380,7 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly width: number; @@ -5392,7 +5392,7 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ readonly canvas: FrameNode; @@ -5440,7 +5440,7 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ toDataURL(type?: string, quality?: any): string; @@ -5454,7 +5454,7 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { * @throws { BusinessError } 110003 - Image analysis is stopped. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ startImageAnalyzer(config: ImageAnalyzerConfig): Promise; @@ -5462,7 +5462,7 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { * Stop image analyzer. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ stopImageAnalyzer(): void; @@ -5498,7 +5498,7 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(settings?: RenderingContextSettings); @@ -5511,7 +5511,7 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(settings?: RenderingContextSettings, unit?: LengthMetricsUnit); @@ -5527,7 +5527,7 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ on(type: 'onAttach', callback: Callback): void; @@ -5543,7 +5543,7 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ off(type: 'onAttach', callback?: Callback): void; @@ -5559,7 +5559,7 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ on(type: 'onDetach', callback: Callback): void; @@ -5575,7 +5575,7 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ off(type: 'onDetach', callback?: Callback): void; } @@ -5612,7 +5612,7 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class OffscreenCanvasRenderingContext2D extends CanvasRenderer { /** @@ -5659,7 +5659,7 @@ declare class OffscreenCanvasRenderingContext2D extends CanvasRenderer { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ toDataURL(type?: string, quality?: any): string; @@ -5695,7 +5695,7 @@ declare class OffscreenCanvasRenderingContext2D extends CanvasRenderer { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ transferToImageBitmap(): ImageBitmap; @@ -5739,7 +5739,7 @@ declare class OffscreenCanvasRenderingContext2D extends CanvasRenderer { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(width: number, height: number, settings?: RenderingContextSettings); @@ -5754,7 +5754,7 @@ declare class OffscreenCanvasRenderingContext2D extends CanvasRenderer { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(width: number, height: number, settings?: RenderingContextSettings, unit?: LengthMetricsUnit); } @@ -5790,7 +5790,7 @@ declare class OffscreenCanvasRenderingContext2D extends CanvasRenderer { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class OffscreenCanvas { /** @@ -5825,7 +5825,7 @@ declare class OffscreenCanvas { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ height: number; @@ -5861,7 +5861,7 @@ declare class OffscreenCanvas { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ width: number; @@ -5897,7 +5897,7 @@ declare class OffscreenCanvas { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ transferToImageBitmap(): ImageBitmap; @@ -5922,7 +5922,7 @@ declare class OffscreenCanvas { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getContext(contextType: "2d", options?: RenderingContextSettings): OffscreenCanvasRenderingContext2D; @@ -5962,7 +5962,7 @@ declare class OffscreenCanvas { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(width: number, height: number); @@ -5976,7 +5976,7 @@ declare class OffscreenCanvas { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(width: number, height: number, unit: LengthMetricsUnit); } @@ -5988,7 +5988,7 @@ declare class OffscreenCanvas { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface Size { /** @@ -5998,7 +5998,7 @@ declare interface Size { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ width: number; @@ -6009,7 +6009,7 @@ declare interface Size { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ height: number; } @@ -6020,7 +6020,7 @@ declare interface Size { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class DrawingRenderingContext { @@ -6031,7 +6031,7 @@ declare class DrawingRenderingContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ get size(): Size; @@ -6042,7 +6042,7 @@ declare class DrawingRenderingContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ get canvas(): DrawingCanvas; @@ -6052,7 +6052,7 @@ declare class DrawingRenderingContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ invalidate(): void; @@ -6063,7 +6063,7 @@ declare class DrawingRenderingContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(unit?: LengthMetricsUnit); } @@ -6100,7 +6100,7 @@ declare class DrawingRenderingContext { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface CanvasInterface { @@ -6151,7 +6151,7 @@ interface CanvasInterface { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ (context?: CanvasRenderingContext2D | DrawingRenderingContext): CanvasAttribute; @@ -6163,7 +6163,7 @@ interface CanvasInterface { * @returns { CanvasAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ (context: CanvasRenderingContext2D | DrawingRenderingContext, imageAIOptions: ImageAIOptions): CanvasAttribute; } @@ -6200,7 +6200,7 @@ interface CanvasInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class CanvasAttribute extends CommonMethod { @@ -6251,7 +6251,7 @@ declare class CanvasAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onReady(event: VoidCallback): CanvasAttribute; @@ -6262,7 +6262,7 @@ declare class CanvasAttribute extends CommonMethod { * @returns { CanvasAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ enableAnalyzer(enable: boolean): CanvasAttribute; } @@ -6295,7 +6295,7 @@ declare class CanvasAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Canvas: CanvasInterface; @@ -6328,7 +6328,7 @@ declare const Canvas: CanvasInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const CanvasInstance: CanvasAttribute; diff --git a/api/@internal/component/ets/checkbox.d.ts b/api/@internal/component/ets/checkbox.d.ts index dc25af7a59..30e5e5a731 100644 --- a/api/@internal/component/ets/checkbox.d.ts +++ b/api/@internal/component/ets/checkbox.d.ts @@ -50,7 +50,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface CheckboxOptions { /** @@ -85,7 +85,7 @@ declare interface CheckboxOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ name?: string; @@ -121,7 +121,7 @@ declare interface CheckboxOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ group?: string; @@ -132,7 +132,7 @@ declare interface CheckboxOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ indicatorBuilder?: CustomBuilder; } @@ -145,7 +145,7 @@ declare interface CheckboxOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface CheckBoxConfiguration extends CommonConfiguration { /** @@ -155,7 +155,7 @@ declare interface CheckBoxConfiguration extends CommonConfiguration; } @@ -214,7 +214,7 @@ declare interface CheckBoxConfiguration extends CommonConfiguration void; @@ -309,7 +309,7 @@ declare type OnCheckboxChangeCallback = (value: boolean) => void; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class CheckboxAttribute extends CommonMethod { @@ -349,7 +349,7 @@ declare class CheckboxAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ select(value: boolean): CheckboxAttribute; @@ -362,7 +362,7 @@ declare class CheckboxAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ select(isSelected: Optional): CheckboxAttribute; @@ -402,7 +402,7 @@ declare class CheckboxAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedColor(value: ResourceColor): CheckboxAttribute; @@ -415,7 +415,7 @@ declare class CheckboxAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedColor(resColor: Optional): CheckboxAttribute; @@ -438,7 +438,7 @@ declare class CheckboxAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ shape(value: CheckBoxShape): CheckboxAttribute; @@ -451,7 +451,7 @@ declare class CheckboxAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ shape(shape: Optional): CheckboxAttribute; @@ -472,7 +472,7 @@ declare class CheckboxAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ unselectedColor(value: ResourceColor): CheckboxAttribute; @@ -484,7 +484,7 @@ declare class CheckboxAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ unselectedColor(resColor: Optional): CheckboxAttribute; @@ -505,7 +505,7 @@ declare class CheckboxAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ mark(value: MarkStyle): CheckboxAttribute; @@ -517,7 +517,7 @@ declare class CheckboxAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ mark(style: Optional): CheckboxAttribute; @@ -569,7 +569,7 @@ declare class CheckboxAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onChange(callback: OnCheckboxChangeCallback): CheckboxAttribute; @@ -582,7 +582,7 @@ declare class CheckboxAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onChange(callback: Optional): CheckboxAttribute; @@ -594,7 +594,7 @@ declare class CheckboxAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentModifier(modifier: ContentModifier): CheckboxAttribute; @@ -606,7 +606,7 @@ declare class CheckboxAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ contentModifier(modifier: Optional>): CheckboxAttribute; } @@ -639,7 +639,7 @@ declare class CheckboxAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Checkbox: CheckboxInterface; @@ -672,7 +672,7 @@ declare const Checkbox: CheckboxInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const CheckboxInstance: CheckboxAttribute; diff --git a/api/@internal/component/ets/checkboxgroup.d.ts b/api/@internal/component/ets/checkboxgroup.d.ts index 8464364250..ee6b8abf1d 100644 --- a/api/@internal/component/ets/checkboxgroup.d.ts +++ b/api/@internal/component/ets/checkboxgroup.d.ts @@ -50,7 +50,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum SelectStatus { /** @@ -81,7 +81,7 @@ declare enum SelectStatus { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ All, /** @@ -112,7 +112,7 @@ declare enum SelectStatus { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Part, /** @@ -143,7 +143,7 @@ declare enum SelectStatus { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ None, } @@ -180,7 +180,7 @@ declare enum SelectStatus { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface CheckboxGroupOptions { /** @@ -215,7 +215,7 @@ declare interface CheckboxGroupOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ group?: string; } @@ -252,7 +252,7 @@ declare interface CheckboxGroupOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface CheckboxGroupResult { /** @@ -287,7 +287,7 @@ declare interface CheckboxGroupResult { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ name: Array; /** @@ -322,7 +322,7 @@ declare interface CheckboxGroupResult { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ status: SelectStatus; } @@ -359,7 +359,7 @@ declare interface CheckboxGroupResult { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface CheckboxGroupInterface { @@ -399,7 +399,7 @@ interface CheckboxGroupInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (options?: CheckboxGroupOptions): CheckboxGroupAttribute; } @@ -414,7 +414,7 @@ interface CheckboxGroupInterface { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnCheckboxGroupChangeCallback = (value: CheckboxGroupResult) => void; @@ -450,7 +450,7 @@ declare type OnCheckboxGroupChangeCallback = (value: CheckboxGroupResult) => voi * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class CheckboxGroupAttribute extends CommonMethod { @@ -490,7 +490,7 @@ declare class CheckboxGroupAttribute extends CommonMethod): CheckboxGroupAttribute; @@ -543,7 +543,7 @@ declare class CheckboxGroupAttribute extends CommonMethod): CheckboxGroupAttribute; @@ -577,7 +577,7 @@ declare class CheckboxGroupAttribute extends CommonMethod): CheckboxGroupAttribute; @@ -610,7 +610,7 @@ declare class CheckboxGroupAttribute extends CommonMethod): CheckboxGroupAttribute; @@ -674,7 +674,7 @@ declare class CheckboxGroupAttribute extends CommonMethod): CheckboxGroupAttribute; @@ -700,7 +700,7 @@ declare class CheckboxGroupAttribute extends CommonMethod): CheckboxGroupAttribute; } @@ -746,7 +746,7 @@ declare class CheckboxGroupAttribute extends CommonMethod {} @@ -328,7 +328,7 @@ declare class CircleAttribute extends CommonShapeMethod {} * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Circle: CircleInterface; @@ -361,7 +361,7 @@ declare const Circle: CircleInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const CircleInstance: CircleAttribute; diff --git a/api/@internal/component/ets/column.d.ts b/api/@internal/component/ets/column.d.ts index 8adfd1e27e..0cb4c3550a 100644 --- a/api/@internal/component/ets/column.d.ts +++ b/api/@internal/component/ets/column.d.ts @@ -26,7 +26,7 @@ * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type SpaceType = string | number | Resource; @@ -38,7 +38,7 @@ declare type SpaceType = string | number | Resource; * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ interface ColumnOptions { /** @@ -83,7 +83,7 @@ interface ColumnOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ space?: string | number; } @@ -96,7 +96,7 @@ interface ColumnOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ interface ColumnOptionsV2 { /** @@ -107,7 +107,7 @@ interface ColumnOptionsV2 { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ space?: SpaceType; } @@ -144,7 +144,7 @@ interface ColumnOptionsV2 { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface ColumnInterface { @@ -203,7 +203,7 @@ interface ColumnInterface { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ (options?: ColumnOptions): ColumnAttribute; /** @@ -215,7 +215,7 @@ interface ColumnInterface { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ (options?: ColumnOptions | ColumnOptionsV2): ColumnAttribute; } @@ -252,7 +252,7 @@ interface ColumnInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class ColumnAttribute extends CommonMethod { @@ -292,7 +292,7 @@ declare class ColumnAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ alignItems(value: HorizontalAlign): ColumnAttribute; @@ -332,7 +332,7 @@ declare class ColumnAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ justifyContent(value: FlexAlign): ColumnAttribute; /** @@ -342,7 +342,7 @@ declare class ColumnAttribute extends CommonMethod { * @returns { ColumnAttribute } The attribute of the column. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ pointLight(value: PointLightStyle): ColumnAttribute; /** @@ -354,7 +354,7 @@ declare class ColumnAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ reverse(isReversed: Optional): ColumnAttribute; } @@ -387,7 +387,7 @@ declare class ColumnAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Column: ColumnInterface; @@ -420,7 +420,7 @@ declare const Column: ColumnInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ColumnInstance: ColumnAttribute; diff --git a/api/@internal/component/ets/column_split.d.ts b/api/@internal/component/ets/column_split.d.ts index 77a83becbf..aae4f8e542 100644 --- a/api/@internal/component/ets/column_split.d.ts +++ b/api/@internal/component/ets/column_split.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface ColumnSplitInterface { @@ -66,7 +66,7 @@ interface ColumnSplitInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (): ColumnSplitAttribute; } @@ -86,7 +86,7 @@ interface ColumnSplitInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ColumnSplitDividerStyle { /** @@ -106,7 +106,7 @@ interface ColumnSplitDividerStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ startMargin?: Dimension; @@ -127,7 +127,7 @@ interface ColumnSplitDividerStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ endMargin?: Dimension; } @@ -154,7 +154,7 @@ interface ColumnSplitDividerStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class ColumnSplitAttribute extends CommonMethod { @@ -183,7 +183,7 @@ declare class ColumnSplitAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ resizeable(value: boolean): ColumnSplitAttribute; @@ -204,7 +204,7 @@ declare class ColumnSplitAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ divider(value: ColumnSplitDividerStyle | null): ColumnSplitAttribute; } @@ -228,7 +228,7 @@ declare class ColumnSplitAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ColumnSplitInstance: ColumnSplitAttribute; @@ -252,7 +252,7 @@ declare const ColumnSplitInstance: ColumnSplitAttribute; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ColumnSplit: ColumnSplitInterface; diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 7f36c1a48f..2b38cf06c6 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -35,7 +35,7 @@ * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface ComponentOptions { /** @@ -57,7 +57,7 @@ declare interface ComponentOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ freezeWhenInactive : boolean, } @@ -77,7 +77,7 @@ declare interface ComponentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface InputCounterOptions { /** @@ -95,7 +95,7 @@ declare interface InputCounterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ thresholdPercentage?: number; @@ -116,7 +116,7 @@ declare interface InputCounterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ highlightBorder?: boolean; } @@ -128,7 +128,7 @@ declare interface InputCounterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TextDecorationOptions { /** @@ -138,7 +138,7 @@ declare interface TextDecorationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type: TextDecorationType; @@ -149,7 +149,7 @@ declare interface TextDecorationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ color?: ResourceColor; @@ -160,7 +160,7 @@ declare interface TextDecorationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ style?: TextDecorationStyle; } @@ -194,7 +194,7 @@ declare interface TextDecorationOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Component: ClassDecorator & ((options: ComponentOptions) => ClassDecorator); @@ -206,7 +206,7 @@ declare const Component: ClassDecorator & ((options: ComponentOptions) => ClassD * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const ComponentV2: ClassDecorator & ((options: ComponentOptions) => ClassDecorator); @@ -226,7 +226,7 @@ declare const ComponentV2: ClassDecorator & ((options: ComponentOptions) => Clas * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface EntryOptions { /** @@ -244,7 +244,7 @@ declare interface EntryOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ routeName? : string, @@ -263,7 +263,7 @@ declare interface EntryOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ storage? : LocalStorage, @@ -275,7 +275,7 @@ declare interface EntryOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ useSharedStorage? : boolean, } @@ -311,7 +311,7 @@ declare interface EntryOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Entry: ClassDecorator & ((options?: LocalStorage | EntryOptions) => ClassDecorator); @@ -344,7 +344,7 @@ declare const Entry: ClassDecorator & ((options?: LocalStorage | EntryOptions) = * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Observed: ClassDecorator; @@ -356,7 +356,7 @@ declare const Observed: ClassDecorator; * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const ObservedV2: ClassDecorator; @@ -389,7 +389,7 @@ declare const ObservedV2: ClassDecorator; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Preview: ClassDecorator & ((value: PreviewParams) => ClassDecorator); @@ -401,7 +401,7 @@ declare const Preview: ClassDecorator & ((value: PreviewParams) => ClassDecorato * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Require: PropertyDecorator; @@ -434,7 +434,7 @@ declare const Require: PropertyDecorator; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const BuilderParam: PropertyDecorator; @@ -445,7 +445,7 @@ declare const BuilderParam: PropertyDecorator; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const Local: PropertyDecorator; @@ -456,7 +456,7 @@ declare const Local: PropertyDecorator; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const Param: PropertyDecorator; @@ -467,7 +467,7 @@ declare const Param: PropertyDecorator; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const Once: PropertyDecorator; @@ -478,7 +478,7 @@ declare const Once: PropertyDecorator; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const Event: PropertyDecorator; @@ -511,7 +511,7 @@ declare const Event: PropertyDecorator; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const State: PropertyDecorator; @@ -531,7 +531,7 @@ declare const State: PropertyDecorator; * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const Track: PropertyDecorator; @@ -543,7 +543,7 @@ declare const Track: PropertyDecorator; * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const Trace: PropertyDecorator; @@ -576,7 +576,7 @@ declare const Trace: PropertyDecorator; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Prop: PropertyDecorator; @@ -609,7 +609,7 @@ declare const Prop: PropertyDecorator; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Link: PropertyDecorator; @@ -642,7 +642,7 @@ declare const Link: PropertyDecorator; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ObjectLink: PropertyDecorator; @@ -655,7 +655,7 @@ declare const ObjectLink: PropertyDecorator; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ProvideOptions { /** @@ -667,7 +667,7 @@ declare interface ProvideOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ allowOverride?: string, } @@ -700,7 +700,7 @@ declare interface ProvideOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Provide: PropertyDecorator & ((value: string | ProvideOptions) => PropertyDecorator); @@ -710,7 +710,7 @@ declare const Provide: PropertyDecorator & ((value: string | ProvideOptions) => * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const Provider: (aliasName?: string) => PropertyDecorator; @@ -743,7 +743,7 @@ declare const Provider: (aliasName?: string) => PropertyDecorator; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Consume: PropertyDecorator & ((value: string) => PropertyDecorator); @@ -754,7 +754,7 @@ declare const Consume: PropertyDecorator & ((value: string) => PropertyDecorator * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const Consumer: (aliasName?: string) => PropertyDecorator; @@ -765,7 +765,7 @@ declare const Consumer: (aliasName?: string) => PropertyDecorator; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const Computed: MethodDecorator; @@ -789,7 +789,7 @@ declare const Computed: MethodDecorator; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const StorageProp: (value: string) => PropertyDecorator; @@ -813,7 +813,7 @@ declare const StorageProp: (value: string) => PropertyDecorator; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const StorageLink: (value: string) => PropertyDecorator; @@ -846,7 +846,7 @@ declare const StorageLink: (value: string) => PropertyDecorator; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Watch: (value: string) => PropertyDecorator; @@ -879,7 +879,7 @@ declare const Watch: (value: string) => PropertyDecorator; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Builder: MethodDecorator; @@ -891,7 +891,7 @@ declare const Builder: MethodDecorator; * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const LocalBuilder: MethodDecorator; @@ -924,7 +924,7 @@ declare const LocalBuilder: MethodDecorator; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Styles: MethodDecorator; @@ -957,7 +957,7 @@ declare const Styles: MethodDecorator; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Extend: MethodDecorator & ((value: any) => MethodDecorator); @@ -975,7 +975,7 @@ declare const Extend: MethodDecorator & ((value: any) => MethodDecorator); * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const AnimatableExtend: MethodDecorator & ((value: Object) => MethodDecorator); @@ -986,7 +986,7 @@ declare const AnimatableExtend: MethodDecorator & ((value: Object) => MethodDeco * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const Monitor: MonitorDecorator; @@ -1001,7 +1001,7 @@ declare const Monitor: MonitorDecorator; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare type MonitorDecorator = (value: string, ...args: string[]) => MethodDecorator; @@ -1013,7 +1013,7 @@ declare type MonitorDecorator = (value: string, ...args: string[]) => MethodDeco * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface IMonitor { /** @@ -1023,7 +1023,7 @@ declare interface IMonitor { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dirty: Array; @@ -1036,7 +1036,7 @@ declare interface IMonitor { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ value(path?: string): IMonitorValue | undefined; } @@ -1048,7 +1048,7 @@ declare interface IMonitor { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface IMonitorValue { /** @@ -1058,7 +1058,7 @@ declare interface IMonitorValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ before: T; @@ -1069,7 +1069,7 @@ declare interface IMonitorValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ now: T; @@ -1080,7 +1080,7 @@ declare interface IMonitorValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ path: string; } @@ -1100,7 +1100,7 @@ declare interface IMonitorValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface AnimatableArithmetic { /** @@ -1120,7 +1120,7 @@ declare interface AnimatableArithmetic { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ plus(rhs: AnimatableArithmetic): AnimatableArithmetic; @@ -1141,7 +1141,7 @@ declare interface AnimatableArithmetic { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ subtract(rhs: AnimatableArithmetic): AnimatableArithmetic; @@ -1162,7 +1162,7 @@ declare interface AnimatableArithmetic { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ multiply(scale: number): AnimatableArithmetic; @@ -1183,7 +1183,7 @@ declare interface AnimatableArithmetic { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ equals(rhs: AnimatableArithmetic): boolean; } @@ -1207,7 +1207,7 @@ declare interface AnimatableArithmetic { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Concurrent: MethodDecorator; @@ -1223,7 +1223,7 @@ declare const Concurrent: MethodDecorator; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Sendable: ClassDecorator; @@ -1247,7 +1247,7 @@ declare const Sendable: ClassDecorator; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const CustomDialog: ClassDecorator; @@ -1271,7 +1271,7 @@ declare const CustomDialog: ClassDecorator; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const LocalStorageLink: (value: string) => PropertyDecorator; @@ -1298,7 +1298,7 @@ declare const LocalStorageLink: (value: string) => PropertyDecorator; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const LocalStorageProp: (value: string) => PropertyDecorator; @@ -1331,7 +1331,7 @@ declare const LocalStorageProp: (value: string) => PropertyDecorator; * @StageModelOnly * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#getHostContext */ @@ -1350,7 +1350,7 @@ declare function getContext(component?: Object): Context; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Reusable: ClassDecorator; @@ -1361,7 +1361,7 @@ declare const Reusable: ClassDecorator; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare const ReusableV2: ClassDecorator; @@ -1374,7 +1374,7 @@ declare const ReusableV2: ClassDecorator; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type ReuseIdCallback = () => string; @@ -1385,7 +1385,7 @@ declare type ReuseIdCallback = () => string; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface ReuseOptions { /** @@ -1395,7 +1395,7 @@ declare interface ReuseOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ reuseId? : ReuseIdCallback; } @@ -1424,7 +1424,7 @@ declare interface ReuseOptions { * @StageModelOnly * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type Context = import('../api/application/Context').default; @@ -1459,7 +1459,7 @@ declare type Context = import('../api/application/Context').default; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function postCardAction(component: Object, action: Object): void; @@ -1495,7 +1495,7 @@ declare function postCardAction(component: Object, action: Object): void; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface Configuration { /** @@ -1534,7 +1534,7 @@ declare interface Configuration { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly colorMode: string; @@ -1574,7 +1574,7 @@ declare interface Configuration { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly fontScale: number; } @@ -1611,7 +1611,7 @@ declare interface Configuration { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface Rectangle { /** @@ -1646,7 +1646,7 @@ declare interface Rectangle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ x?: Length; @@ -1682,7 +1682,7 @@ declare interface Rectangle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ y?: Length; @@ -1718,7 +1718,7 @@ declare interface Rectangle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ width?: Length; @@ -1754,7 +1754,7 @@ declare interface Rectangle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ height?: Length; } @@ -1781,7 +1781,7 @@ declare interface Rectangle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare interface ExpectedFrameRateRange { /** @@ -1806,7 +1806,7 @@ declare interface ExpectedFrameRateRange { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ min: number, /** @@ -1831,7 +1831,7 @@ declare interface ExpectedFrameRateRange { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ max: number, /** @@ -1862,7 +1862,7 @@ declare interface ExpectedFrameRateRange { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ expected: number, } @@ -1907,7 +1907,7 @@ declare interface ExpectedFrameRateRange { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function $r(value: string, ...params: any[]): Resource; @@ -1947,7 +1947,7 @@ declare function $r(value: string, ...params: any[]): Resource; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function $rawfile(value: string): Resource; /** @@ -1957,7 +1957,7 @@ declare function $rawfile(value: string): Resource; * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare enum AccessibilitySamePageMode { /** @@ -1967,7 +1967,7 @@ declare enum AccessibilitySamePageMode { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SEMI_SILENT = 0, /** @@ -1976,7 +1976,7 @@ declare enum AccessibilitySamePageMode { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ FULL_SILENT = 1 } @@ -1987,7 +1987,7 @@ declare enum AccessibilitySamePageMode { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare enum AccessibilityRoleType { /** @@ -1996,7 +1996,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ ACTION_SHEET = 0, /** @@ -2005,7 +2005,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ ALERT_DIALOG = 1, /** @@ -2014,7 +2014,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ INDEXER_COMPONENT = 2, /** @@ -2023,7 +2023,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ BADGE_COMPONENT = 3, /** @@ -2032,7 +2032,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ BLANK = 4, /** @@ -2041,7 +2041,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ BUTTON = 5, /** @@ -2050,7 +2050,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ BACK_BUTTON = 6, /** @@ -2059,7 +2059,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SHEET_DRAG_BAR = 7, /** @@ -2068,7 +2068,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ CALENDAR_PICKER = 8, /** @@ -2077,7 +2077,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ CALENDAR = 9, /** @@ -2086,7 +2086,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ CANVAS = 10, /** @@ -2095,7 +2095,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ CANVAS_GRADIENT = 11, /** @@ -2104,7 +2104,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ CANVAS_PATTERN = 12, /** @@ -2113,7 +2113,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ CHECKBOX = 13, /** @@ -2122,7 +2122,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ CHECKBOX_GROUP = 14, /** @@ -2131,7 +2131,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ CIRCLE = 15, /** @@ -2140,7 +2140,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ COLUMN_SPLIT = 16, /** @@ -2149,7 +2149,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ COLUMN = 17, /** @@ -2158,7 +2158,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ CANVAS_RENDERING_CONTEXT_2D = 18, /** @@ -2167,7 +2167,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ CHART = 19, /** @@ -2176,7 +2176,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ COUNTER = 20, /** @@ -2185,7 +2185,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ CONTAINER_MODAL = 21, /** @@ -2194,7 +2194,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ DATA_PANEL = 22, /** @@ -2203,7 +2203,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ DATE_PICKER = 23, /** @@ -2212,7 +2212,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ DIALOG = 24, /** @@ -2221,7 +2221,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ DIVIDER = 25, /** @@ -2230,7 +2230,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ DRAG_BAR = 26, /** @@ -2239,7 +2239,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ EFFECT_COMPONENT = 27, /** @@ -2248,7 +2248,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ ELLIPSE = 28, /** @@ -2257,7 +2257,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ FLEX = 29, /** @@ -2266,7 +2266,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ FLOW_ITEM = 30, /** @@ -2275,7 +2275,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ FORM_COMPONENT = 31, /** @@ -2284,7 +2284,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ FORM_LINK = 32, /** @@ -2293,7 +2293,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ GAUGE = 33, /** @@ -2302,7 +2302,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ GRID = 34, /** @@ -2311,7 +2311,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ GRID_COL = 35, /** @@ -2320,7 +2320,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ GRID_CONTAINER = 36, /** @@ -2329,7 +2329,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ GRID_ITEM = 37, /** @@ -2338,7 +2338,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ GRID_ROW = 38, /** @@ -2347,7 +2347,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ HYPERLINK = 39, /** @@ -2356,7 +2356,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ IMAGE = 40, /** @@ -2365,7 +2365,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ IMAGE_ANIMATOR = 41, /** @@ -2374,7 +2374,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ IMAGE_BITMAP = 42, /** @@ -2383,7 +2383,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ IMAGE_DATA = 43, /** @@ -2392,7 +2392,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ IMAGE_SPAN = 44, /** @@ -2401,7 +2401,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ LABEL = 45, /** @@ -2410,7 +2410,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ LINE = 46, /** @@ -2419,7 +2419,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ LIST = 47, /** @@ -2428,7 +2428,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ LIST_ITEM = 48, /** @@ -2437,7 +2437,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ LIST_ITEM_GROUP = 49, /** @@ -2446,7 +2446,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ LOADING_PROGRESS = 50, /** @@ -2455,7 +2455,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ MARQUEE = 51, /** @@ -2464,7 +2464,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ MATRIX2D = 52, /** @@ -2473,7 +2473,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ MENU = 53, /** @@ -2482,7 +2482,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ MENU_ITEM = 54, /** @@ -2491,7 +2491,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ MENU_ITEM_GROUP = 55, /** @@ -2500,7 +2500,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ NAV_DESTINATION = 56, /** @@ -2509,7 +2509,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ NAV_ROUTER = 57, /** @@ -2518,7 +2518,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ NAVIGATION = 58, /** @@ -2527,7 +2527,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ NAVIGATION_BAR = 59, /** @@ -2536,7 +2536,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ NAVIGATION_MENU = 60, /** @@ -2545,7 +2545,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ NAVIGATOR = 61, /** @@ -2554,7 +2554,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ OFFSCREEN_CANVAS = 62, /** @@ -2563,7 +2563,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ OFFSCREEN_CANVAS_RENDERING_CONTEXT2D = 63, /** @@ -2572,7 +2572,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ OPTION = 64, /** @@ -2581,7 +2581,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ PANEL = 65, /** @@ -2590,7 +2590,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ PAPER_PAGE = 66, /** @@ -2599,7 +2599,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ PATH = 67, /** @@ -2608,7 +2608,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ PATH2D = 68, /** @@ -2617,7 +2617,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ PATTERN_LOCK = 69, /** @@ -2626,7 +2626,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ PICKER = 70, /** @@ -2635,7 +2635,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ PICKER_VIEW = 71, /** @@ -2644,7 +2644,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ PLUGIN_COMPONENT = 72, /** @@ -2653,7 +2653,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ POLYGON = 73, /** @@ -2662,7 +2662,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ POLYLINE = 74, /** @@ -2671,7 +2671,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ POPUP = 75, /** @@ -2680,7 +2680,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ PROGRESS = 76, /** @@ -2689,7 +2689,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ QRCODE = 77, /** @@ -2698,7 +2698,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ RADIO = 78, /** @@ -2707,7 +2707,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ RATING = 79, /** @@ -2716,7 +2716,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ RECT = 80, /** @@ -2725,7 +2725,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ REFRESH = 81, /** @@ -2734,7 +2734,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ RELATIVE_CONTAINER = 82, /** @@ -2743,7 +2743,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ REMOTE_WINDOW = 83, /** @@ -2752,7 +2752,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ RICH_EDITOR = 84, /** @@ -2761,7 +2761,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ RICH_TEXT = 85, /** @@ -2770,7 +2770,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ ROLE_PAGER = 86, /** @@ -2779,7 +2779,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ ROW = 87, /** @@ -2788,7 +2788,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ ROW_SPLIT = 88, /** @@ -2797,7 +2797,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SCROLL = 89, /** @@ -2806,7 +2806,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SCROLL_BAR = 90, /** @@ -2815,7 +2815,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SEARCH = 91, /** @@ -2824,7 +2824,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SEARCH_FIELD = 92, /** @@ -2833,7 +2833,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SELECT = 93, /** @@ -2842,7 +2842,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SHAPE = 94, /** @@ -2851,7 +2851,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SIDEBAR_CONTAINER = 95, /** @@ -2860,7 +2860,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SLIDER = 96, /** @@ -2869,7 +2869,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SPAN = 97, /** @@ -2878,7 +2878,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ STACK = 98, /** @@ -2887,7 +2887,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ STEPPER = 99, /** @@ -2896,7 +2896,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ STEPPER_ITEM = 100, /** @@ -2905,7 +2905,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SWIPER = 101, /** @@ -2914,7 +2914,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SWIPER_INDICATOR = 102, /** @@ -2923,7 +2923,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SWITCH = 103, /** @@ -2932,7 +2932,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ SYMBOL_GLYPH = 104, /** @@ -2941,7 +2941,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ TAB_CONTENT = 105, /** @@ -2950,7 +2950,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ TAB_BAR = 106, /** @@ -2959,7 +2959,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ TABS = 107, /** @@ -2968,7 +2968,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ TEXT = 108, /** @@ -2977,7 +2977,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ TEXT_CLOCK = 109, /** @@ -2986,7 +2986,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ TEXT_ENTRY = 110, /** @@ -2995,7 +2995,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ TEXT_INPUT = 111, /** @@ -3004,7 +3004,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ TEXT_PICKER = 112, /** @@ -3013,7 +3013,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ TEXT_TIMER = 113, /** @@ -3022,7 +3022,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ TEXT_AREA = 114, /** @@ -3031,7 +3031,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ TEXT_FIELD = 115, /** @@ -3040,7 +3040,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ TIME_PICKER = 116, /** @@ -3049,7 +3049,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ TITLE_BAR = 117, /** @@ -3058,7 +3058,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ TOGGLER = 118, /** @@ -3067,7 +3067,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ UI_EXTENSION_COMPONENT = 119, /** @@ -3076,7 +3076,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ VIDEO = 120, /** @@ -3085,7 +3085,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ WATER_FLOW = 121, /** @@ -3094,7 +3094,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ WEB = 122, /** @@ -3103,7 +3103,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ XCOMPONENT = 123, /** @@ -3112,7 +3112,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ ROLE_NONE = 124 } @@ -3125,7 +3125,7 @@ declare enum AccessibilityRoleType { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type AccessibilityFocusCallback = (isFocus: boolean) => void; @@ -3146,7 +3146,7 @@ declare type AccessibilityFocusCallback = (isFocus: boolean) => void; * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum FinishCallbackType { /** @@ -3164,7 +3164,7 @@ declare enum FinishCallbackType { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ REMOVED = 0, /** @@ -3182,7 +3182,7 @@ declare enum FinishCallbackType { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ LOGICALLY = 1 } @@ -3204,7 +3204,7 @@ declare enum FinishCallbackType { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum TouchTestStrategy { /** @@ -3222,7 +3222,7 @@ declare enum TouchTestStrategy { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ DEFAULT = 0, @@ -3241,7 +3241,7 @@ declare enum TouchTestStrategy { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ FORWARD_COMPETITION = 1, @@ -3260,7 +3260,7 @@ declare enum TouchTestStrategy { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ FORWARD = 2 } @@ -3297,7 +3297,7 @@ declare enum TouchTestStrategy { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface AnimateParam { /** @@ -3336,7 +3336,7 @@ declare interface AnimateParam { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ duration?: number; /** @@ -3367,7 +3367,7 @@ declare interface AnimateParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ tempo?: number; /** @@ -3406,7 +3406,7 @@ declare interface AnimateParam { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ curve?: Curve | string | ICurve; @@ -3435,7 +3435,7 @@ declare interface AnimateParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ delay?: number; @@ -3464,7 +3464,7 @@ declare interface AnimateParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ iterations?: number; @@ -3504,7 +3504,7 @@ declare interface AnimateParam { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ playMode?: PlayMode; @@ -3540,7 +3540,7 @@ declare interface AnimateParam { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onFinish?: () => void; @@ -3561,7 +3561,7 @@ declare interface AnimateParam { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ finishCallbackType?: FinishCallbackType; @@ -3578,7 +3578,7 @@ declare interface AnimateParam { * @type { ?ExpectedFrameRateRange } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ expectedFrameRateRange?: ExpectedFrameRateRange; } @@ -3608,7 +3608,7 @@ declare interface AnimateParam { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ICurve { /** @@ -3642,7 +3642,7 @@ interface ICurve { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ interpolate(fraction : number) : number; } @@ -3669,7 +3669,7 @@ interface ICurve { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface MotionPathOptions { /** @@ -3694,7 +3694,7 @@ declare interface MotionPathOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ path: string; @@ -3723,7 +3723,7 @@ declare interface MotionPathOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ from?: number; @@ -3752,7 +3752,7 @@ declare interface MotionPathOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ to?: number; @@ -3781,7 +3781,7 @@ declare interface MotionPathOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ rotatable?: boolean; } @@ -3808,7 +3808,7 @@ declare interface MotionPathOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface sharedTransitionOptions { /** @@ -3836,7 +3836,7 @@ declare interface sharedTransitionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ duration?: number; @@ -3865,7 +3865,7 @@ declare interface sharedTransitionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ curve?: Curve | string | ICurve; @@ -3894,7 +3894,7 @@ declare interface sharedTransitionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ delay?: number; @@ -3920,7 +3920,7 @@ declare interface sharedTransitionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ motionPath?: MotionPathOptions; @@ -3946,7 +3946,7 @@ declare interface sharedTransitionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ zIndex?: number; @@ -3975,7 +3975,7 @@ declare interface sharedTransitionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ type?: SharedTransitionEffectType; } @@ -3995,7 +3995,7 @@ declare interface sharedTransitionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface GeometryTransitionOptions { /** @@ -4015,7 +4015,7 @@ declare interface GeometryTransitionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ follow?: boolean; /** @@ -4035,7 +4035,7 @@ declare interface GeometryTransitionOptions { * @default TransitionHierarchyStrategy.ADAPTIVE * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 13 + * @since 13 dynamic */ hierarchyStrategy?: TransitionHierarchyStrategy; } @@ -4048,7 +4048,7 @@ declare interface GeometryTransitionOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface LinearGradientOptions { /** @@ -4105,7 +4105,7 @@ declare interface LinearGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ angle?: number | string; @@ -4163,7 +4163,7 @@ declare interface LinearGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ direction?: GradientDirection; @@ -4220,7 +4220,7 @@ declare interface LinearGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ colors: Array<[ResourceColor, number]>; @@ -4278,7 +4278,7 @@ declare interface LinearGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ repeating?: boolean; } @@ -4291,7 +4291,7 @@ declare interface LinearGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface SweepGradientOptions { /** @@ -4347,7 +4347,7 @@ declare interface SweepGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ center: [Length, Length]; @@ -4406,7 +4406,7 @@ declare interface SweepGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ start?: number | string; @@ -4463,7 +4463,7 @@ declare interface SweepGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ end?: number | string; @@ -4521,7 +4521,7 @@ declare interface SweepGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ rotation?: number | string; @@ -4578,7 +4578,7 @@ declare interface SweepGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ colors: Array<[ResourceColor, number]>; @@ -4636,7 +4636,7 @@ declare interface SweepGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ repeating?: boolean; @@ -4648,7 +4648,7 @@ declare interface SweepGradientOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ metricsColors?: Array<[ColorMetrics, number]>; } @@ -4661,7 +4661,7 @@ declare interface SweepGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface RadialGradientOptions { /** @@ -4717,7 +4717,7 @@ declare interface RadialGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ center: [Length, Length]; @@ -4774,7 +4774,7 @@ declare interface RadialGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ radius: Length; @@ -4831,7 +4831,7 @@ declare interface RadialGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ colors: Array<[ResourceColor, number]>; @@ -4889,7 +4889,7 @@ declare interface RadialGradientOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ repeating?: boolean; } @@ -4915,7 +4915,7 @@ declare interface RadialGradientOptions { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 13 + * @since 13 dynamic */ declare enum TransitionHierarchyStrategy { /** @@ -4933,7 +4933,7 @@ declare enum TransitionHierarchyStrategy { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 13 + * @since 13 dynamic */ NONE = 0, @@ -4954,7 +4954,7 @@ declare enum TransitionHierarchyStrategy { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 13 + * @since 13 dynamic */ ADAPTIVE = 1 } @@ -4991,7 +4991,7 @@ declare enum TransitionHierarchyStrategy { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface TranslateOptions { /** @@ -5026,7 +5026,7 @@ declare interface TranslateOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ x?: number | string; @@ -5062,7 +5062,7 @@ declare interface TranslateOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ y?: number | string; @@ -5098,7 +5098,7 @@ declare interface TranslateOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ z?: number | string; } @@ -5135,7 +5135,7 @@ declare interface TranslateOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ScaleOptions { /** @@ -5170,7 +5170,7 @@ declare interface ScaleOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ x?: number; @@ -5206,7 +5206,7 @@ declare interface ScaleOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ y?: number; @@ -5242,7 +5242,7 @@ declare interface ScaleOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ z?: number; @@ -5278,7 +5278,7 @@ declare interface ScaleOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ centerX?: number | string; @@ -5314,7 +5314,7 @@ declare interface ScaleOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ centerY?: number | string; } @@ -5343,7 +5343,7 @@ declare interface ScaleOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface AlignRuleOption { /** @@ -5371,7 +5371,7 @@ declare interface AlignRuleOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ left?: { anchor: string, align: HorizontalAlign }; @@ -5400,7 +5400,7 @@ declare interface AlignRuleOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ right?: { anchor: string, align: HorizontalAlign }; @@ -5429,7 +5429,7 @@ declare interface AlignRuleOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ middle?: { anchor: string, align: HorizontalAlign }; @@ -5458,7 +5458,7 @@ declare interface AlignRuleOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ top?: { anchor: string, align: VerticalAlign }; @@ -5485,7 +5485,7 @@ declare interface AlignRuleOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ bottom?: { anchor: string, align: VerticalAlign }; @@ -5514,7 +5514,7 @@ declare interface AlignRuleOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ center?: { anchor: string, align: VerticalAlign }; @@ -5537,7 +5537,7 @@ declare interface AlignRuleOption { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ bias?: Bias; } @@ -5549,7 +5549,7 @@ declare interface AlignRuleOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface LocalizedHorizontalAlignParam { /** @@ -5559,7 +5559,7 @@ declare interface LocalizedHorizontalAlignParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ anchor: string; @@ -5570,7 +5570,7 @@ declare interface LocalizedHorizontalAlignParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ align: HorizontalAlign; } @@ -5582,7 +5582,7 @@ declare interface LocalizedHorizontalAlignParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface LocalizedVerticalAlignParam { /** @@ -5592,7 +5592,7 @@ declare interface LocalizedVerticalAlignParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ anchor: string; @@ -5603,7 +5603,7 @@ declare interface LocalizedVerticalAlignParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ align: VerticalAlign; } @@ -5615,7 +5615,7 @@ declare interface LocalizedVerticalAlignParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface LocalizedAlignRuleOptions { /** @@ -5625,7 +5625,7 @@ declare interface LocalizedAlignRuleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ start?: LocalizedHorizontalAlignParam; @@ -5636,7 +5636,7 @@ declare interface LocalizedAlignRuleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ end?: LocalizedHorizontalAlignParam; @@ -5647,7 +5647,7 @@ declare interface LocalizedAlignRuleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ middle?: LocalizedHorizontalAlignParam; @@ -5658,7 +5658,7 @@ declare interface LocalizedAlignRuleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ top?: LocalizedVerticalAlignParam; @@ -5669,7 +5669,7 @@ declare interface LocalizedAlignRuleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ bottom?: LocalizedVerticalAlignParam; @@ -5680,7 +5680,7 @@ declare interface LocalizedAlignRuleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ center?: LocalizedVerticalAlignParam; @@ -5692,7 +5692,7 @@ declare interface LocalizedAlignRuleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ bias?: Bias; } @@ -5704,7 +5704,7 @@ declare interface LocalizedAlignRuleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum ChainStyle { /** @@ -5713,7 +5713,7 @@ declare enum ChainStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SPREAD = 0, @@ -5723,7 +5723,7 @@ declare enum ChainStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SPREAD_INSIDE = 1, @@ -5733,7 +5733,7 @@ declare enum ChainStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PACKED = 2 } @@ -5770,7 +5770,7 @@ declare enum ChainStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RotateOptions { /** @@ -5805,7 +5805,7 @@ declare interface RotateOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ x?: number; @@ -5841,7 +5841,7 @@ declare interface RotateOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ y?: number; @@ -5877,7 +5877,7 @@ declare interface RotateOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ z?: number; @@ -5913,7 +5913,7 @@ declare interface RotateOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ centerX?: number | string; @@ -5948,7 +5948,7 @@ declare interface RotateOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ centerY?: number | string; @@ -5971,7 +5971,7 @@ declare interface RotateOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ centerZ?: number; @@ -5992,7 +5992,7 @@ declare interface RotateOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ perspective?: number; @@ -6028,7 +6028,7 @@ declare interface RotateOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ angle: number | string; } @@ -6041,7 +6041,7 @@ declare interface RotateOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface RotateAngleOptions { /** @@ -6053,7 +6053,7 @@ declare interface RotateAngleOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ angleX?: number | string; @@ -6066,7 +6066,7 @@ declare interface RotateAngleOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ angleY?: number | string; @@ -6079,7 +6079,7 @@ declare interface RotateAngleOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ angleZ?: number | string; @@ -6092,7 +6092,7 @@ declare interface RotateAngleOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ centerX?: number | string; @@ -6105,7 +6105,7 @@ declare interface RotateAngleOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ centerY?: number | string; @@ -6118,7 +6118,7 @@ declare interface RotateAngleOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ centerZ?: number; @@ -6130,7 +6130,7 @@ declare interface RotateAngleOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ perspective?: number; } @@ -6140,7 +6140,7 @@ declare interface RotateAngleOptions { * * @interface TransitionOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead TransitionEffect */ @@ -6150,7 +6150,7 @@ declare interface TransitionOptions { * * @type { ?TransitionType } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 10 */ type?: TransitionType; @@ -6159,7 +6159,7 @@ declare interface TransitionOptions { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 10 */ opacity?: number; @@ -6168,7 +6168,7 @@ declare interface TransitionOptions { * * @type { ?TranslateOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 10 */ translate?: TranslateOptions; @@ -6177,7 +6177,7 @@ declare interface TransitionOptions { * * @type { ?ScaleOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 10 */ scale?: ScaleOptions; @@ -6186,7 +6186,7 @@ declare interface TransitionOptions { * * @type { ?RotateOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 10 */ rotate?: RotateOptions; @@ -6209,7 +6209,7 @@ declare interface TransitionOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum TransitionEdge { /** @@ -6227,7 +6227,7 @@ declare enum TransitionEdge { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ TOP = 0, @@ -6246,7 +6246,7 @@ declare enum TransitionEdge { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ BOTTOM = 1, @@ -6265,7 +6265,7 @@ declare enum TransitionEdge { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ START = 2, @@ -6284,7 +6284,7 @@ declare enum TransitionEdge { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ END = 3 } @@ -6306,7 +6306,7 @@ declare enum TransitionEdge { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type TransitionEffects = { identity: undefined; @@ -6328,7 +6328,7 @@ declare type TransitionEffects = { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class DrawModifier { /** @@ -6338,7 +6338,7 @@ declare class DrawModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ drawBehind?(drawContext: DrawContext): void; @@ -6350,7 +6350,7 @@ declare class DrawModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ drawContent?(drawContext: DrawContext): void; @@ -6361,7 +6361,7 @@ declare class DrawModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ drawFront?(drawContext: DrawContext): void; @@ -6371,7 +6371,7 @@ declare class DrawModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ drawForeground?(drawContext: DrawContext): void; @@ -6381,7 +6381,7 @@ declare class DrawModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ invalidate(): void; } @@ -6401,7 +6401,7 @@ declare class DrawModifier { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class TransitionEffect< Type extends keyof TransitionEffects = keyof TransitionEffects, @@ -6428,7 +6428,7 @@ declare class TransitionEffect< * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static readonly IDENTITY: TransitionEffect<"identity">; @@ -6453,7 +6453,7 @@ declare class TransitionEffect< * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static readonly OPACITY: TransitionEffect<"opacity">; @@ -6486,7 +6486,7 @@ declare class TransitionEffect< * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static readonly SLIDE: TransitionEffect< "asymmetric", @@ -6523,7 +6523,7 @@ declare class TransitionEffect< * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static readonly SLIDE_SWITCH: TransitionEffect<"slideSwitch">; @@ -6546,7 +6546,7 @@ declare class TransitionEffect< * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static translate(options: TranslateOptions): TransitionEffect<"translate">; @@ -6589,7 +6589,7 @@ declare class TransitionEffect< * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static rotate(options: RotateOptions): TransitionEffect<"rotate">; @@ -6612,7 +6612,7 @@ declare class TransitionEffect< * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static scale(options: ScaleOptions): TransitionEffect<"scale">; @@ -6647,7 +6647,7 @@ declare class TransitionEffect< * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ static opacity(alpha: number): TransitionEffect<"opacity">; @@ -6670,7 +6670,7 @@ declare class TransitionEffect< * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static move(edge: TransitionEdge): TransitionEffect<"move">; @@ -6695,7 +6695,7 @@ declare class TransitionEffect< * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static asymmetric( appear: TransitionEffect, @@ -6721,7 +6721,7 @@ declare class TransitionEffect< * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(type: Type, effect: Effect); @@ -6744,7 +6744,7 @@ declare class TransitionEffect< * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ animation(value: AnimateParam): TransitionEffect; @@ -6767,7 +6767,7 @@ declare class TransitionEffect< * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ combine(transitionEffect: TransitionEffect): TransitionEffect; } @@ -6788,7 +6788,7 @@ declare class TransitionEffect< * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ interface PreviewParams { /** @@ -6807,7 +6807,7 @@ interface PreviewParams { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ title?: string; @@ -6827,7 +6827,7 @@ interface PreviewParams { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ width?: number; @@ -6847,7 +6847,7 @@ interface PreviewParams { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ height?: number; @@ -6866,7 +6866,7 @@ interface PreviewParams { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ locale?: string; @@ -6886,7 +6886,7 @@ interface PreviewParams { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ colorMode?: string; @@ -6905,7 +6905,7 @@ interface PreviewParams { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ deviceType?: string; @@ -6924,7 +6924,7 @@ interface PreviewParams { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ dpi?: number; @@ -6943,7 +6943,7 @@ interface PreviewParams { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ orientation?: string; @@ -6962,7 +6962,7 @@ interface PreviewParams { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ roundScreen?: boolean; } @@ -6989,7 +6989,7 @@ interface PreviewParams { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ItemDragInfo { /** @@ -7014,7 +7014,7 @@ declare interface ItemDragInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ x: number; @@ -7040,7 +7040,7 @@ declare interface ItemDragInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ y: number; } @@ -7051,7 +7051,7 @@ declare interface ItemDragInfo { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ declare enum EffectType { /** @@ -7059,7 +7059,7 @@ declare enum EffectType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ DEFAULT = 0, /** @@ -7067,7 +7067,7 @@ declare enum EffectType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ WINDOW_EFFECT = 1 } @@ -7078,7 +7078,7 @@ declare enum EffectType { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum PreDragStatus { /** @@ -7086,7 +7086,7 @@ declare enum PreDragStatus { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ ACTION_DETECTING_STATUS = 0, @@ -7095,7 +7095,7 @@ declare enum PreDragStatus { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ READY_TO_TRIGGER_DRAG_ACTION = 1, @@ -7104,7 +7104,7 @@ declare enum PreDragStatus { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ PREVIEW_LIFT_STARTED = 2, @@ -7113,7 +7113,7 @@ declare enum PreDragStatus { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ PREVIEW_LIFT_FINISHED = 3, @@ -7122,7 +7122,7 @@ declare enum PreDragStatus { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ PREVIEW_LANDING_STARTED = 4, @@ -7131,7 +7131,7 @@ declare enum PreDragStatus { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ PREVIEW_LANDING_FINISHED = 5, @@ -7140,7 +7140,7 @@ declare enum PreDragStatus { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ ACTION_CANCELED_BEFORE_DRAG = 6, @@ -7149,7 +7149,7 @@ declare enum PreDragStatus { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ PREPARING_FOR_DRAG_DETECTION = 7 } @@ -7176,7 +7176,7 @@ declare enum PreDragStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare interface DragItemInfo { /** @@ -7201,7 +7201,7 @@ declare interface DragItemInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ pixelMap?: PixelMap; @@ -7227,7 +7227,7 @@ declare interface DragItemInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ builder?: CustomBuilder; @@ -7253,7 +7253,7 @@ declare interface DragItemInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ extraInfo?: string; } @@ -7294,7 +7294,7 @@ declare interface DragItemInfo { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#animateTo */ @@ -7308,7 +7308,7 @@ declare function animateTo(value: AnimateParam, event: () => void): void; * and the system will automatically insert transition animations for state changes caused by the closure function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare function animateToImmediately(value: AnimateParam, event: () => void): void; @@ -7348,7 +7348,7 @@ declare function animateToImmediately(value: AnimateParam, event: () => void): v * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#vp2px */ @@ -7390,7 +7390,7 @@ declare function vp2px(value: number): number; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#px2vp */ @@ -7432,7 +7432,7 @@ declare function px2vp(value: number): number; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#fp2px */ @@ -7474,7 +7474,7 @@ declare function fp2px(value: number): number; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#px2fp */ @@ -7516,7 +7516,7 @@ declare function px2fp(value: number): number; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#lpx2px */ @@ -7558,7 +7558,7 @@ declare function lpx2px(value: number): number; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#px2lpx */ @@ -7581,7 +7581,7 @@ declare function px2lpx(value: number): number; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare namespace focusControl { /** @@ -7609,7 +7609,7 @@ declare namespace focusControl { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function requestFocus(value: string): boolean; } @@ -7627,7 +7627,7 @@ declare namespace focusControl { * @typedef { import('../api/@ohos.multimodalInput.pointer').default.PointerStyle } PointerStyle * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type PointerStyle = import('../api/@ohos.multimodalInput.pointer').default.PointerStyle; @@ -7644,7 +7644,7 @@ declare type PointerStyle = import('../api/@ohos.multimodalInput.pointer').defau * @namespace cursorControl * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare namespace cursorControl { @@ -7663,7 +7663,7 @@ declare namespace cursorControl { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function setCursor(value: PointerStyle): void; @@ -7680,7 +7680,7 @@ declare namespace cursorControl { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function restoreDefault(): void; } @@ -7717,7 +7717,7 @@ declare namespace cursorControl { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface EventTarget { /** @@ -7752,7 +7752,7 @@ declare interface EventTarget { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ area: Area; @@ -7764,7 +7764,7 @@ declare interface EventTarget { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ id?: string; } @@ -7791,7 +7791,7 @@ declare interface EventTarget { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum SourceType { /** @@ -7813,7 +7813,7 @@ declare enum SourceType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Unknown, @@ -7836,7 +7836,7 @@ declare enum SourceType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Mouse, @@ -7859,7 +7859,7 @@ declare enum SourceType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ TouchScreen, } @@ -7886,7 +7886,7 @@ declare enum SourceType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum SourceTool { /** @@ -7908,7 +7908,7 @@ declare enum SourceTool { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Unknown, @@ -7931,7 +7931,7 @@ declare enum SourceTool { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Finger, @@ -7954,7 +7954,7 @@ declare enum SourceTool { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Pen, @@ -7964,7 +7964,7 @@ declare enum SourceTool { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ MOUSE = 3, @@ -7974,7 +7974,7 @@ declare enum SourceTool { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ TOUCHPAD = 4, @@ -7984,7 +7984,7 @@ declare enum SourceTool { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ JOYSTICK = 5 } @@ -8014,7 +8014,7 @@ declare enum SourceTool { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum RepeatMode { /** @@ -8039,7 +8039,7 @@ declare enum RepeatMode { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Repeat, @@ -8065,7 +8065,7 @@ declare enum RepeatMode { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Stretch, @@ -8091,7 +8091,7 @@ declare enum RepeatMode { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Round, @@ -8117,7 +8117,7 @@ declare enum RepeatMode { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Space, } @@ -8147,7 +8147,7 @@ declare enum RepeatMode { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum BlurStyle { /** @@ -8172,7 +8172,7 @@ declare enum BlurStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Thin, @@ -8198,7 +8198,7 @@ declare enum BlurStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Regular, @@ -8224,7 +8224,7 @@ declare enum BlurStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Thick, @@ -8242,7 +8242,7 @@ declare enum BlurStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ BACKGROUND_THIN = 3, @@ -8260,7 +8260,7 @@ declare enum BlurStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ BACKGROUND_REGULAR = 4, @@ -8278,7 +8278,7 @@ declare enum BlurStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ BACKGROUND_THICK = 5, @@ -8296,7 +8296,7 @@ declare enum BlurStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ BACKGROUND_ULTRA_THICK = 6, @@ -8315,7 +8315,7 @@ declare enum BlurStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ NONE = 7, @@ -8334,7 +8334,7 @@ declare enum BlurStyle { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ COMPONENT_ULTRA_THIN = 8, @@ -8353,7 +8353,7 @@ declare enum BlurStyle { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ COMPONENT_THIN = 9, @@ -8372,7 +8372,7 @@ declare enum BlurStyle { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ COMPONENT_REGULAR = 10, @@ -8391,7 +8391,7 @@ declare enum BlurStyle { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ COMPONENT_THICK = 11, @@ -8410,7 +8410,7 @@ declare enum BlurStyle { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ COMPONENT_ULTRA_THICK = 12 } @@ -8422,7 +8422,7 @@ declare enum BlurStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare enum BlurStyleActivePolicy { /** @@ -8431,7 +8431,7 @@ declare enum BlurStyleActivePolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ FOLLOWS_WINDOW_ACTIVE_STATE = 0, @@ -8441,7 +8441,7 @@ declare enum BlurStyleActivePolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ ALWAYS_ACTIVE = 1, @@ -8451,7 +8451,7 @@ declare enum BlurStyleActivePolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ ALWAYS_INACTIVE = 2 } @@ -8471,7 +8471,7 @@ declare enum BlurStyleActivePolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ThemeColorMode { /** @@ -8487,7 +8487,7 @@ declare enum ThemeColorMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ SYSTEM = 0, @@ -8504,7 +8504,7 @@ declare enum ThemeColorMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ LIGHT = 1, @@ -8521,7 +8521,7 @@ declare enum ThemeColorMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ DARK = 2 } @@ -8541,7 +8541,7 @@ declare enum ThemeColorMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum AdaptiveColor { /** @@ -8557,7 +8557,7 @@ declare enum AdaptiveColor { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ DEFAULT = 0, @@ -8574,7 +8574,7 @@ declare enum AdaptiveColor { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ AVERAGE = 1 } @@ -8594,7 +8594,7 @@ declare enum AdaptiveColor { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ModalTransition { /** @@ -8610,7 +8610,7 @@ declare enum ModalTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ DEFAULT = 0, @@ -8627,7 +8627,7 @@ declare enum ModalTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ NONE = 1, @@ -8644,7 +8644,7 @@ declare enum ModalTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ ALPHA = 2 } @@ -8666,7 +8666,7 @@ declare enum ModalTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface BackgroundBlurStyleOptions extends BlurStyleOptions { /** @@ -8677,7 +8677,7 @@ declare interface BackgroundBlurStyleOptions extends BlurStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ policy?: BlurStyleActivePolicy; @@ -8689,7 +8689,7 @@ declare interface BackgroundBlurStyleOptions extends BlurStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ inactiveColor?: ResourceColor; } @@ -8711,7 +8711,7 @@ declare interface BackgroundBlurStyleOptions extends BlurStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ForegroundBlurStyleOptions extends BlurStyleOptions {} @@ -8731,7 +8731,7 @@ declare interface ForegroundBlurStyleOptions extends BlurStyleOptions {} * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface BlurOptions { /** @@ -8747,7 +8747,7 @@ declare interface BlurOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ grayscale: [number, number]; } @@ -8760,7 +8760,7 @@ declare interface BlurOptions { * @crossplatform * @form * @atomicservice - * @since 19 + * @since 19 dynamic */ declare interface SystemAdaptiveOptions { /** @@ -8771,7 +8771,7 @@ declare interface SystemAdaptiveOptions { * @crossplatform * @form * @atomicservice - * @since 19 + * @since 19 dynamic */ disableSystemAdaptation?: boolean; } @@ -8791,7 +8791,7 @@ declare interface SystemAdaptiveOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface BlurStyleOptions { /** @@ -8810,7 +8810,7 @@ declare interface BlurStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ colorMode?: ThemeColorMode; @@ -8830,7 +8830,7 @@ declare interface BlurStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ adaptiveColor?: AdaptiveColor; @@ -8843,7 +8843,7 @@ declare interface BlurStyleOptions { * @default 1.0 * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ scale?: number; @@ -8864,7 +8864,7 @@ declare interface BlurStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ blurOptions?: BlurOptions; } @@ -8884,7 +8884,7 @@ declare interface BlurStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface BackgroundEffectOptions { @@ -8903,7 +8903,7 @@ declare interface BackgroundEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ radius: number; @@ -8924,7 +8924,7 @@ declare interface BackgroundEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ saturation?: number; @@ -8945,7 +8945,7 @@ declare interface BackgroundEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ brightness?: number; @@ -8966,7 +8966,7 @@ declare interface BackgroundEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ color?: ResourceColor; @@ -8987,7 +8987,7 @@ declare interface BackgroundEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ adaptiveColor?: AdaptiveColor; @@ -9008,7 +9008,7 @@ declare interface BackgroundEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ blurOptions?: BlurOptions; @@ -9020,7 +9020,7 @@ declare interface BackgroundEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ policy?: BlurStyleActivePolicy; @@ -9032,7 +9032,7 @@ declare interface BackgroundEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ inactiveColor?: ResourceColor; } @@ -9044,7 +9044,7 @@ declare interface BackgroundEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface ForegroundEffectOptions { @@ -9055,7 +9055,7 @@ declare interface ForegroundEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ radius: number; } @@ -9075,7 +9075,7 @@ declare interface ForegroundEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface PickerTextStyle { /** @@ -9093,7 +9093,7 @@ declare interface PickerTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ color?: ResourceColor; @@ -9114,7 +9114,7 @@ declare interface PickerTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ font?: Font; } @@ -9126,7 +9126,7 @@ declare interface PickerTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface PickerDialogButtonStyle { /** @@ -9136,7 +9136,7 @@ declare interface PickerDialogButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type?: ButtonType; @@ -9147,7 +9147,7 @@ declare interface PickerDialogButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ style?: ButtonStyleMode; @@ -9158,7 +9158,7 @@ declare interface PickerDialogButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ role?: ButtonRole; @@ -9169,7 +9169,7 @@ declare interface PickerDialogButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontSize?: Length; @@ -9180,7 +9180,7 @@ declare interface PickerDialogButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontColor?: ResourceColor; @@ -9191,7 +9191,7 @@ declare interface PickerDialogButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontWeight?: FontWeight | number | string; @@ -9202,7 +9202,7 @@ declare interface PickerDialogButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontStyle?: FontStyle; @@ -9213,7 +9213,7 @@ declare interface PickerDialogButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontFamily?: Resource | string; @@ -9224,7 +9224,7 @@ declare interface PickerDialogButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: ResourceColor; @@ -9235,7 +9235,7 @@ declare interface PickerDialogButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderRadius?: Length | BorderRadiuses; @@ -9246,7 +9246,7 @@ declare interface PickerDialogButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ primary?: boolean; } @@ -9266,7 +9266,7 @@ declare interface PickerDialogButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ShadowType { /** @@ -9282,7 +9282,7 @@ declare enum ShadowType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ COLOR = 0, @@ -9299,7 +9299,7 @@ declare enum ShadowType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ BLUR = 1 } @@ -9336,7 +9336,7 @@ declare enum ShadowType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ShadowOptions { /** @@ -9371,7 +9371,7 @@ declare interface ShadowOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ radius: number | Resource; @@ -9392,7 +9392,7 @@ declare interface ShadowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ type?: ShadowType; @@ -9428,7 +9428,7 @@ declare interface ShadowOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ color?: Color | string | Resource | ColoringStrategy; @@ -9464,7 +9464,7 @@ declare interface ShadowOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ offsetX?: number | Resource; @@ -9500,7 +9500,7 @@ declare interface ShadowOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ offsetY?: number | Resource; @@ -9521,7 +9521,7 @@ declare interface ShadowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fill?: boolean; } @@ -9541,7 +9541,7 @@ declare interface ShadowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ShadowStyle { /** @@ -9557,7 +9557,7 @@ declare enum ShadowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ OUTER_DEFAULT_XS = 0, @@ -9574,7 +9574,7 @@ declare enum ShadowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ OUTER_DEFAULT_SM = 1, @@ -9591,7 +9591,7 @@ declare enum ShadowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ OUTER_DEFAULT_MD = 2, @@ -9608,7 +9608,7 @@ declare enum ShadowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ OUTER_DEFAULT_LG = 3, @@ -9625,7 +9625,7 @@ declare enum ShadowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ OUTER_FLOATING_SM = 4, @@ -9642,7 +9642,7 @@ declare enum ShadowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ OUTER_FLOATING_MD = 5 } @@ -9662,7 +9662,7 @@ declare enum ShadowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface MultiShadowOptions { /** @@ -9682,7 +9682,7 @@ declare interface MultiShadowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ radius?: number | Resource; @@ -9703,7 +9703,7 @@ declare interface MultiShadowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offsetX?: number | Resource; @@ -9724,7 +9724,7 @@ declare interface MultiShadowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offsetY?: number | Resource; } @@ -9743,7 +9743,7 @@ declare interface MultiShadowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum SafeAreaType { /** @@ -9758,7 +9758,7 @@ declare enum SafeAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ SYSTEM = 0, @@ -9774,7 +9774,7 @@ declare enum SafeAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ CUTOUT = 1, @@ -9790,7 +9790,7 @@ declare enum SafeAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ KEYBOARD = 2 } @@ -9809,7 +9809,7 @@ declare enum SafeAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum SafeAreaEdge { /** @@ -9824,7 +9824,7 @@ declare enum SafeAreaEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ TOP = 0, @@ -9840,7 +9840,7 @@ declare enum SafeAreaEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ BOTTOM = 1, @@ -9856,7 +9856,7 @@ declare enum SafeAreaEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ START = 2, @@ -9872,7 +9872,7 @@ declare enum SafeAreaEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ END = 3 } @@ -9884,7 +9884,7 @@ declare enum SafeAreaEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum LayoutSafeAreaType { /** @@ -9893,7 +9893,7 @@ declare enum LayoutSafeAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SYSTEM = 0, } @@ -9905,7 +9905,7 @@ declare enum LayoutSafeAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum LayoutSafeAreaEdge { /** @@ -9914,7 +9914,7 @@ declare enum LayoutSafeAreaEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ TOP = 0, @@ -9924,7 +9924,7 @@ declare enum LayoutSafeAreaEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ BOTTOM = 1, @@ -9934,7 +9934,7 @@ declare enum LayoutSafeAreaEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ START = 2, @@ -9944,7 +9944,7 @@ declare enum LayoutSafeAreaEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ END = 3, @@ -9954,7 +9954,7 @@ declare enum LayoutSafeAreaEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ VERTICAL = 4, @@ -9964,7 +9964,7 @@ declare enum LayoutSafeAreaEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ HORIZONTAL = 5, @@ -9974,7 +9974,7 @@ declare enum LayoutSafeAreaEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ ALL = 6, } @@ -9994,7 +9994,7 @@ declare enum LayoutSafeAreaEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum SheetSize { /** @@ -10010,7 +10010,7 @@ declare enum SheetSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ MEDIUM = 0, @@ -10027,7 +10027,7 @@ declare enum SheetSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ LARGE = 1, @@ -10044,7 +10044,7 @@ declare enum SheetSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FIT_CONTENT = 2 } @@ -10081,7 +10081,7 @@ declare enum SheetSize { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface BaseEvent { /** @@ -10116,7 +10116,7 @@ declare interface BaseEvent { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ target: EventTarget; @@ -10152,7 +10152,7 @@ declare interface BaseEvent { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ timestamp: number; @@ -10188,7 +10188,7 @@ declare interface BaseEvent { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ source: SourceType; @@ -10200,7 +10200,7 @@ declare interface BaseEvent { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ axisHorizontal ?: number; @@ -10212,7 +10212,7 @@ declare interface BaseEvent { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ axisVertical ?: number; @@ -10241,7 +10241,7 @@ declare interface BaseEvent { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ pressure: number; @@ -10270,7 +10270,7 @@ declare interface BaseEvent { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ tiltX: number; @@ -10299,7 +10299,7 @@ declare interface BaseEvent { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ tiltY: number; @@ -10311,7 +10311,7 @@ declare interface BaseEvent { * @crossplatform * @form * @atomicservice - * @since 17 + * @since 17 dynamic */ rollAngle?: number; @@ -10340,7 +10340,7 @@ declare interface BaseEvent { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ sourceTool: SourceTool; @@ -10353,7 +10353,7 @@ declare interface BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getModifierKeyState?(keys: Array): boolean; @@ -10364,7 +10364,7 @@ declare interface BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ deviceId?: number; @@ -10375,7 +10375,7 @@ declare interface BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ targetDisplayId?: number; } @@ -10405,7 +10405,7 @@ declare interface BaseEvent { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface BorderImageOption { /** @@ -10443,7 +10443,7 @@ declare interface BorderImageOption { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ slice?: Length | EdgeWidths | LocalizedEdgeWidths, @@ -10472,7 +10472,7 @@ declare interface BorderImageOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ repeat?: RepeatMode, @@ -10501,7 +10501,7 @@ declare interface BorderImageOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ source?: string | Resource | LinearGradient, @@ -10540,7 +10540,7 @@ declare interface BorderImageOption { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ width?: Length | EdgeWidths | LocalizedEdgeWidths, @@ -10579,7 +10579,7 @@ declare interface BorderImageOption { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ outset?: Length | EdgeWidths | LocalizedEdgeWidths, @@ -10608,7 +10608,7 @@ declare interface BorderImageOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fill?: boolean; } @@ -10620,7 +10620,7 @@ declare interface BorderImageOption { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ declare class LayoutPolicy { /** @@ -10633,7 +10633,7 @@ declare class LayoutPolicy { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ static readonly matchParent: LayoutPolicy; @@ -10647,7 +10647,7 @@ declare class LayoutPolicy { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ static readonly wrapContent: LayoutPolicy; @@ -10661,7 +10661,7 @@ declare class LayoutPolicy { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ static readonly fixAtIdealSize: LayoutPolicy; } @@ -10702,7 +10702,7 @@ declare class LayoutPolicy { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ClickEvent extends BaseEvent { /** @@ -10712,7 +10712,7 @@ declare interface ClickEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ globalDisplayX?: number; @@ -10723,7 +10723,7 @@ declare interface ClickEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ globalDisplayY?: number; @@ -10742,7 +10742,7 @@ declare interface ClickEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ displayX: number; @@ -10761,7 +10761,7 @@ declare interface ClickEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ displayY: number; @@ -10780,7 +10780,7 @@ declare interface ClickEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ windowX: number; @@ -10799,7 +10799,7 @@ declare interface ClickEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ windowY: number; @@ -10808,7 +10808,7 @@ declare interface ClickEvent extends BaseEvent { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead ClickEvent#windowX */ @@ -10819,7 +10819,7 @@ declare interface ClickEvent extends BaseEvent { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead ClickEvent#windowY */ @@ -10857,7 +10857,7 @@ declare interface ClickEvent extends BaseEvent { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ x: number; @@ -10893,7 +10893,7 @@ declare interface ClickEvent extends BaseEvent { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ y: number; @@ -10904,7 +10904,7 @@ declare interface ClickEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ hand?: InteractionHand; @@ -10916,7 +10916,7 @@ declare interface ClickEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ preventDefault: () => void; } @@ -10936,7 +10936,7 @@ declare interface ClickEvent extends BaseEvent { * @interface HoverEvent * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface HoverEvent extends BaseEvent { /** @@ -10945,7 +10945,7 @@ declare interface HoverEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ x?: number; @@ -10955,7 +10955,7 @@ declare interface HoverEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ y?: number; @@ -10965,7 +10965,7 @@ declare interface HoverEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ windowX?: number; @@ -10975,7 +10975,7 @@ declare interface HoverEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ windowY?: number; @@ -10985,7 +10985,7 @@ declare interface HoverEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ displayX?: number; @@ -10995,7 +10995,7 @@ declare interface HoverEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ displayY?: number; @@ -11005,7 +11005,7 @@ declare interface HoverEvent extends BaseEvent { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ globalDisplayX?: number; @@ -11015,7 +11015,7 @@ declare interface HoverEvent extends BaseEvent { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ globalDisplayY?: number; @@ -11032,7 +11032,7 @@ declare interface HoverEvent extends BaseEvent { * @type { function } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ stopPropagation: () => void; } @@ -11052,7 +11052,7 @@ declare interface HoverEvent extends BaseEvent { * @interface MouseEvent * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface MouseEvent extends BaseEvent { /** @@ -11068,7 +11068,7 @@ declare interface MouseEvent extends BaseEvent { * @type { MouseButton } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ button: MouseButton; @@ -11085,7 +11085,7 @@ declare interface MouseEvent extends BaseEvent { * @type { MouseAction } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ action: MouseAction; @@ -11095,7 +11095,7 @@ declare interface MouseEvent extends BaseEvent { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ globalDisplayX?: number; @@ -11105,7 +11105,7 @@ declare interface MouseEvent extends BaseEvent { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ globalDisplayY?: number; @@ -11122,7 +11122,7 @@ declare interface MouseEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ displayX: number; @@ -11139,7 +11139,7 @@ declare interface MouseEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ displayY: number; @@ -11156,7 +11156,7 @@ declare interface MouseEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ windowX: number; @@ -11173,7 +11173,7 @@ declare interface MouseEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ windowY: number; @@ -11182,7 +11182,7 @@ declare interface MouseEvent extends BaseEvent { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamiconly * @deprecated since 10 * @useinstead MouseEvent#windowX */ @@ -11193,7 +11193,7 @@ declare interface MouseEvent extends BaseEvent { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamiconly * @deprecated since 10 * @useinstead MouseEvent#windowY */ @@ -11212,7 +11212,7 @@ declare interface MouseEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ x: number; @@ -11229,7 +11229,7 @@ declare interface MouseEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ y: number; @@ -11246,7 +11246,7 @@ declare interface MouseEvent extends BaseEvent { * @type { function } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ stopPropagation: () => void; @@ -11257,7 +11257,7 @@ declare interface MouseEvent extends BaseEvent { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ rawDeltaX?: number; @@ -11268,7 +11268,7 @@ declare interface MouseEvent extends BaseEvent { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ rawDeltaY?: number; @@ -11278,7 +11278,7 @@ declare interface MouseEvent extends BaseEvent { * @type { ?MouseButton[] } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ pressedButtons?: MouseButton[]; } @@ -11290,7 +11290,7 @@ declare interface MouseEvent extends BaseEvent { * @typedef AccessibilityHoverEvent * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface AccessibilityHoverEvent extends BaseEvent { /** @@ -11299,7 +11299,7 @@ declare interface AccessibilityHoverEvent extends BaseEvent { * @type { AccessibilityHoverType } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ type: AccessibilityHoverType; @@ -11309,7 +11309,7 @@ declare interface AccessibilityHoverEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ x: number; @@ -11319,7 +11319,7 @@ declare interface AccessibilityHoverEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ y: number; @@ -11329,7 +11329,7 @@ declare interface AccessibilityHoverEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ displayX: number; @@ -11339,7 +11339,7 @@ declare interface AccessibilityHoverEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ displayY: number; @@ -11349,7 +11349,7 @@ declare interface AccessibilityHoverEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ windowX: number; @@ -11359,7 +11359,7 @@ declare interface AccessibilityHoverEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ windowY: number; @@ -11369,7 +11369,7 @@ declare interface AccessibilityHoverEvent extends BaseEvent { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ globalDisplayX?: number; @@ -11379,7 +11379,7 @@ declare interface AccessibilityHoverEvent extends BaseEvent { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ globalDisplayY?: number; } @@ -11406,7 +11406,7 @@ declare interface AccessibilityHoverEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface TouchObject { /** @@ -11431,7 +11431,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ type: TouchType; @@ -11457,7 +11457,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ id: number; @@ -11468,7 +11468,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ globalDisplayX?: number; @@ -11479,7 +11479,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ globalDisplayY?: number; @@ -11498,7 +11498,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ displayX: number; @@ -11517,7 +11517,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ displayY: number; @@ -11536,7 +11536,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ windowX: number; @@ -11555,7 +11555,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ windowY: number; @@ -11564,7 +11564,7 @@ declare interface TouchObject { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead TouchObject#windowX */ @@ -11575,7 +11575,7 @@ declare interface TouchObject { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead TouchObject#windowY */ @@ -11603,7 +11603,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ x: number; @@ -11629,7 +11629,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ y: number; @@ -11640,7 +11640,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ hand?: InteractionHand; @@ -11651,7 +11651,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ pressedTime?: number; /** @@ -11661,7 +11661,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ pressure?: number; @@ -11672,7 +11672,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ width?: number; @@ -11683,7 +11683,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ height?: number; } @@ -11703,7 +11703,7 @@ declare interface TouchObject { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface HistoricalPoint { /** @@ -11721,7 +11721,7 @@ declare interface HistoricalPoint { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ touchObject: TouchObject; @@ -11740,7 +11740,7 @@ declare interface HistoricalPoint { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ size: number; @@ -11759,7 +11759,7 @@ declare interface HistoricalPoint { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ force: number; @@ -11778,7 +11778,7 @@ declare interface HistoricalPoint { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ timestamp: number; } @@ -11808,7 +11808,7 @@ declare interface HistoricalPoint { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface TouchEvent extends BaseEvent { /** @@ -11833,7 +11833,7 @@ declare interface TouchEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ type: TouchType; @@ -11859,7 +11859,7 @@ declare interface TouchEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ touches: TouchObject[]; @@ -11885,7 +11885,7 @@ declare interface TouchEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ changedTouches: TouchObject[]; @@ -11911,7 +11911,7 @@ declare interface TouchEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ stopPropagation: () => void; @@ -11930,7 +11930,7 @@ declare interface TouchEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getHistoricalPoints(): Array; @@ -11942,7 +11942,7 @@ declare interface TouchEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ preventDefault: () => void; } @@ -11954,7 +11954,7 @@ declare interface TouchEvent extends BaseEvent { * @interface AxisEvent * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ declare interface AxisEvent extends BaseEvent { /** @@ -11963,7 +11963,7 @@ declare interface AxisEvent extends BaseEvent { * @type { AxisAction } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ action: AxisAction; @@ -11973,7 +11973,7 @@ declare interface AxisEvent extends BaseEvent { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ globalDisplayX?: number; @@ -11983,7 +11983,7 @@ declare interface AxisEvent extends BaseEvent { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ globalDisplayY?: number; @@ -11993,7 +11993,7 @@ declare interface AxisEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ displayX: number; @@ -12003,7 +12003,7 @@ declare interface AxisEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ displayY: number; @@ -12013,7 +12013,7 @@ declare interface AxisEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ windowX: number; @@ -12023,7 +12023,7 @@ declare interface AxisEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ windowY: number; @@ -12033,7 +12033,7 @@ declare interface AxisEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ x: number; @@ -12043,7 +12043,7 @@ declare interface AxisEvent extends BaseEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ y: number; @@ -12053,7 +12053,7 @@ declare interface AxisEvent extends BaseEvent { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ scrollStep?: number; @@ -12063,7 +12063,7 @@ declare interface AxisEvent extends BaseEvent { * @type { Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ propagation: Callback; @@ -12073,7 +12073,7 @@ declare interface AxisEvent extends BaseEvent { * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ getHorizontalAxisValue(): number; @@ -12083,7 +12083,7 @@ declare interface AxisEvent extends BaseEvent { * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ getVerticalAxisValue(): number; } @@ -12098,7 +12098,7 @@ declare interface AxisEvent extends BaseEvent { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type SizeChangeCallback = (oldValue: SizeOptions, newValue: SizeOptions) => void; @@ -12127,7 +12127,7 @@ declare type SizeChangeCallback = (oldValue: SizeOptions, newValue: SizeOptions) * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare type GestureRecognizerJudgeBeginCallback = (event: BaseGestureEvent, current: GestureRecognizer, recognizers: Array, touchRecognizers?: Array) => GestureJudgeResult; @@ -12141,7 +12141,7 @@ declare type GestureRecognizerJudgeBeginCallback = (event: BaseGestureEvent, cur * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type ShouldBuiltInRecognizerParallelWithCallback = (current: GestureRecognizer, others: Array) => GestureRecognizer; @@ -12154,7 +12154,7 @@ declare type ShouldBuiltInRecognizerParallelWithCallback = (current: GestureReco * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type TransitionFinishCallback = (transitionIn: boolean) => void; @@ -12170,7 +12170,7 @@ declare type TransitionFinishCallback = (transitionIn: boolean) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare type TouchTestDoneCallback = (event: BaseGestureEvent, recognizers: Array) => void; @@ -12194,7 +12194,7 @@ declare type TouchTestDoneCallback = (event: BaseGestureEvent, recognizers: Arra * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type PixelMap = import('../api/@ohos.multimedia.image').default.PixelMap; @@ -12204,7 +12204,7 @@ declare type PixelMap = import('../api/@ohos.multimedia.image').default.PixelMap * @interface PixelMapMock * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ declare interface PixelMapMock { /** @@ -12212,7 +12212,7 @@ declare interface PixelMapMock { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ release(): void; } @@ -12239,7 +12239,7 @@ declare interface PixelMapMock { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare enum DragBehavior { /** @@ -12261,7 +12261,7 @@ declare enum DragBehavior { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ COPY = 0, /** @@ -12283,7 +12283,7 @@ declare enum DragBehavior { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ MOVE = 1 } @@ -12303,7 +12303,7 @@ declare enum DragBehavior { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type UnifiedData = import('../api/@ohos.data.unifiedDataChannel').default.UnifiedData; @@ -12320,7 +12320,7 @@ declare type UnifiedData = import('../api/@ohos.data.unifiedDataChannel').defaul * @typedef { import('../api/@ohos.data.unifiedDataChannel').default.Summary } Summary * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type Summary = import('../api/@ohos.data.unifiedDataChannel').default.Summary; @@ -12337,7 +12337,7 @@ declare type Summary = import('../api/@ohos.data.unifiedDataChannel').default.Su * @typedef { import('../api/@ohos.data.uniformTypeDescriptor').default.UniformDataType } UniformDataType * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type UniformDataType = import('../api/@ohos.data.uniformTypeDescriptor').default.UniformDataType; @@ -12348,7 +12348,7 @@ declare type UniformDataType = import('../api/@ohos.data.uniformTypeDescriptor') * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare type DataSyncOptions = import('../api/@ohos.data.unifiedDataChannel').default.GetDataParams; @@ -12360,7 +12360,7 @@ declare type DataSyncOptions = import('../api/@ohos.data.unifiedDataChannel').de * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare type SpringLoadingContext = import('../api/@ohos.arkui.dragController').default.SpringLoadingContext; @@ -12370,7 +12370,7 @@ declare type SpringLoadingContext = import('../api/@ohos.arkui.dragController'). * @typedef {import('../api/@ohos.arkui.dragController').default.DragSpringLoadingConfiguration} DragSpringLoadingConfiguration * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ declare type DragSpringLoadingConfiguration = import('../api/@ohos.arkui.dragController').default.DragSpringLoadingConfiguration; @@ -12381,7 +12381,7 @@ declare type DragSpringLoadingConfiguration = import('../api/@ohos.arkui.dragCon * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare type DataLoadParams = import('../api/@ohos.data.unifiedDataChannel').default.DataLoadParams; @@ -12407,7 +12407,7 @@ declare type DataLoadParams = import('../api/@ohos.data.unifiedDataChannel').def * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare enum DragResult { /** @@ -12429,7 +12429,7 @@ declare enum DragResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ DRAG_SUCCESSFUL = 0, /** @@ -12451,7 +12451,7 @@ declare enum DragResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ DRAG_FAILED = 1, /** @@ -12465,7 +12465,7 @@ declare enum DragResult { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ DRAG_CANCELED = 2, /** @@ -12479,7 +12479,7 @@ declare enum DragResult { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ DROP_ENABLED = 3, /** @@ -12493,7 +12493,7 @@ declare enum DragResult { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ DROP_DISABLED = 4 } @@ -12521,7 +12521,7 @@ declare enum DragResult { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum BlendMode { /** @@ -12539,7 +12539,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ NONE = 0, /** @@ -12557,7 +12557,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ CLEAR = 1, /** @@ -12575,7 +12575,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ SRC = 2, /** @@ -12593,7 +12593,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ DST = 3, /** @@ -12611,7 +12611,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ SRC_OVER = 4, /** @@ -12629,7 +12629,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ DST_OVER = 5, /** @@ -12647,7 +12647,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ SRC_IN = 6, /** @@ -12665,7 +12665,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ DST_IN = 7, /** @@ -12683,7 +12683,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ SRC_OUT = 8, /** @@ -12701,7 +12701,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ DST_OUT = 9, /** @@ -12719,7 +12719,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ SRC_ATOP = 10, /** @@ -12737,7 +12737,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ DST_ATOP = 11, /** @@ -12755,7 +12755,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ XOR = 12, /** @@ -12773,7 +12773,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ PLUS = 13, /** @@ -12791,7 +12791,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ MODULATE = 14, /** @@ -12809,7 +12809,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ SCREEN = 15, /** @@ -12827,7 +12827,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ OVERLAY = 16, /** @@ -12845,7 +12845,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ DARKEN = 17, /** @@ -12863,7 +12863,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ LIGHTEN = 18, /** @@ -12881,7 +12881,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ COLOR_DODGE = 19, /** @@ -12899,7 +12899,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ COLOR_BURN = 20, /** @@ -12917,7 +12917,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ HARD_LIGHT = 21, /** @@ -12935,7 +12935,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ SOFT_LIGHT = 22, /** @@ -12953,7 +12953,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ DIFFERENCE = 23, /** @@ -12971,7 +12971,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ EXCLUSION = 24, /** @@ -12989,7 +12989,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ MULTIPLY = 25, /** @@ -13007,7 +13007,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ HUE = 26, /** @@ -13025,7 +13025,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ SATURATION = 27, /** @@ -13043,7 +13043,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ COLOR = 28, /** @@ -13061,7 +13061,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ LUMINOSITY = 29 } @@ -13087,7 +13087,7 @@ declare enum BlendMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum BlendApplyType { /** @@ -13105,7 +13105,7 @@ declare enum BlendApplyType { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ FAST = 0, @@ -13126,7 +13126,7 @@ declare enum BlendApplyType { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ OFFSCREEN = 1 } @@ -13153,7 +13153,7 @@ declare enum BlendApplyType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare interface DragEvent { /** @@ -13162,7 +13162,7 @@ declare interface DragEvent { * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ getGlobalDisplayX(): number; @@ -13172,7 +13172,7 @@ declare interface DragEvent { * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ getGlobalDisplayY(): number; @@ -13198,7 +13198,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getDisplayX(): number; @@ -13224,7 +13224,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getDisplayY(): number; @@ -13250,7 +13250,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getWindowX(): number; @@ -13276,7 +13276,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getWindowY(): number; @@ -13285,7 +13285,7 @@ declare interface DragEvent { * * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead DragEvent#getWindowX */ @@ -13296,7 +13296,7 @@ declare interface DragEvent { * * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead DragEvent#getWindowY */ @@ -13324,7 +13324,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ dragBehavior: DragBehavior; @@ -13341,7 +13341,7 @@ declare interface DragEvent { * @type { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ useCustomDropAnimation: boolean; @@ -13360,7 +13360,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ setData(unifiedData: UnifiedData): void; @@ -13383,7 +13383,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getData(): UnifiedData; @@ -13402,7 +13402,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getSummary(): Summary; @@ -13428,7 +13428,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ setResult(dragResult: DragResult): void; @@ -13454,7 +13454,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getResult(): DragResult; @@ -13480,7 +13480,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getPreviewRect(): Rectangle; @@ -13499,7 +13499,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getVelocityX(): number; @@ -13518,7 +13518,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getVelocityY(): number; @@ -13537,7 +13537,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getVelocity(): number; @@ -13560,7 +13560,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ getModifierKeyState?(keys: Array): boolean; @@ -13576,7 +13576,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ executeDropAnimation(customDropAnimation: Callback): void; @@ -13590,7 +13590,7 @@ declare interface DragEvent { * @throws { BusinessError } 190003 - Operation not allowed for current phase. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ startDataLoading(options: DataSyncOptions): string; @@ -13600,7 +13600,7 @@ declare interface DragEvent { * @returns { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ getDragSource(): string; @@ -13610,7 +13610,7 @@ declare interface DragEvent { * @returns { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ isRemote(): boolean; @@ -13621,7 +13621,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ getDisplayId(): number; @@ -13635,7 +13635,7 @@ declare interface DragEvent { * @param { DataLoadParams } dataLoadParams The data backend representation. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ setDataLoadParams(dataLoadParams: DataLoadParams): void; @@ -13653,7 +13653,7 @@ declare interface DragEvent { * @throws { BusinessError } 190003 - Operation not allowed for current phase. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ enableInternalDropAnimation(configuration: string): void; } @@ -13666,7 +13666,7 @@ declare interface DragEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare type OnDragEventCallback = (event: DragEvent, extraParams?: string) => void; @@ -13677,7 +13677,7 @@ declare type OnDragEventCallback = (event: DragEvent, extraParams?: string) => v * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare interface DropOptions { @@ -13695,7 +13695,7 @@ declare interface DropOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ disableDataPrefetch?: boolean; } @@ -13713,7 +13713,7 @@ declare interface DropOptions { * @typedef { import('../api/@ohos.multimodalInput.intentionCode').IntentionCode } IntentionCode * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type IntentionCode = import('../api/@ohos.multimodalInput.intentionCode').IntentionCode; @@ -13739,7 +13739,7 @@ declare type IntentionCode = import('../api/@ohos.multimodalInput.intentionCode' * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface KeyEvent { /** @@ -13764,7 +13764,7 @@ declare interface KeyEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ type: KeyType; @@ -13790,7 +13790,7 @@ declare interface KeyEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ keyCode: number; @@ -13816,7 +13816,7 @@ declare interface KeyEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ keyText: string; @@ -13842,7 +13842,7 @@ declare interface KeyEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ keySource: KeySource; @@ -13868,7 +13868,7 @@ declare interface KeyEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ deviceId: number; @@ -13897,7 +13897,7 @@ declare interface KeyEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ metaKey: number; @@ -13923,7 +13923,7 @@ declare interface KeyEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ timestamp: number; @@ -13949,7 +13949,7 @@ declare interface KeyEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ stopPropagation: () => void; @@ -13968,7 +13968,7 @@ declare interface KeyEvent { * @default IntentionCode.INTENTION_UNKNOWN * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ intentionCode: IntentionCode; @@ -13991,7 +13991,7 @@ declare interface KeyEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ getModifierKeyState?(keys: Array): boolean; @@ -14001,7 +14001,7 @@ declare interface KeyEvent { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ unicode?: number; @@ -14011,7 +14011,7 @@ declare interface KeyEvent { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 19 + * @since 19 dynamic */ isNumLockOn?: boolean; @@ -14021,7 +14021,7 @@ declare interface KeyEvent { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 19 + * @since 19 dynamic */ isCapsLockOn?: boolean; @@ -14031,7 +14031,7 @@ declare interface KeyEvent { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 19 + * @since 19 dynamic */ isScrollLockOn?: boolean; } @@ -14043,7 +14043,7 @@ declare interface KeyEvent { * @interface FocusAxisEvent * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ declare interface FocusAxisEvent extends BaseEvent { /** @@ -14052,7 +14052,7 @@ declare interface FocusAxisEvent extends BaseEvent { * @type { Map } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ axisMap: Map; @@ -14062,7 +14062,7 @@ declare interface FocusAxisEvent extends BaseEvent { * @type { Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ stopPropagation: Callback; } @@ -14073,7 +14073,7 @@ declare interface FocusAxisEvent extends BaseEvent { * @interface CrownEvent * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface CrownEvent { /** @@ -14082,7 +14082,7 @@ declare interface CrownEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ timestamp: number; @@ -14092,7 +14092,7 @@ declare interface CrownEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ angularVelocity: number; @@ -14102,7 +14102,7 @@ declare interface CrownEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ degree: number; @@ -14112,7 +14112,7 @@ declare interface CrownEvent { * @type { CrownAction } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ action: CrownAction; @@ -14122,7 +14122,7 @@ declare interface CrownEvent { * @type { Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ stopPropagation: Callback; } @@ -14142,7 +14142,7 @@ declare interface CrownEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface BindOptions { /** @@ -14160,7 +14160,7 @@ declare interface BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ backgroundColor?: ResourceColor; @@ -14179,7 +14179,7 @@ declare interface BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onAppear?: () => void; @@ -14198,7 +14198,7 @@ declare interface BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onDisappear?: () => void; @@ -14209,7 +14209,7 @@ declare interface BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillAppear?: () => void; @@ -14220,7 +14220,7 @@ declare interface BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillDisappear?: () => void; } @@ -14232,7 +14232,7 @@ declare interface BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface DismissContentCoverAction { /** @@ -14242,7 +14242,7 @@ declare interface DismissContentCoverAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dismiss: Callback; @@ -14253,7 +14253,7 @@ declare interface DismissContentCoverAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ reason: DismissReason; } @@ -14275,7 +14275,7 @@ declare interface DismissContentCoverAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ContentCoverOptions extends BindOptions { /** @@ -14295,7 +14295,7 @@ declare interface ContentCoverOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ modalTransition?: ModalTransition; @@ -14306,7 +14306,7 @@ declare interface ContentCoverOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillDismiss?: Callback; @@ -14317,7 +14317,7 @@ declare interface ContentCoverOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ transition?: TransitionEffect; @@ -14329,7 +14329,7 @@ declare interface ContentCoverOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ enableSafeArea?: boolean; } @@ -14349,7 +14349,7 @@ declare interface ContentCoverOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface SheetTitleOptions { /** @@ -14367,7 +14367,7 @@ declare interface SheetTitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ title: ResourceStr; @@ -14386,7 +14386,7 @@ declare interface SheetTitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ subtitle?: ResourceStr; } @@ -14406,7 +14406,7 @@ declare interface SheetTitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum SheetType { /** @@ -14422,7 +14422,7 @@ declare enum SheetType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ BOTTOM = 0, @@ -14439,7 +14439,7 @@ declare enum SheetType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ CENTER = 1, @@ -14456,7 +14456,7 @@ declare enum SheetType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ POPUP = 2, @@ -14466,7 +14466,7 @@ declare enum SheetType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ SIDE = 3, } @@ -14478,7 +14478,7 @@ declare enum SheetType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum SheetMode { /** @@ -14487,7 +14487,7 @@ declare enum SheetMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ OVERLAY = 0, @@ -14497,7 +14497,7 @@ declare enum SheetMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ EMBEDDED = 1 } @@ -14509,7 +14509,7 @@ declare enum SheetMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum ScrollSizeMode { /** @@ -14518,7 +14518,7 @@ declare enum ScrollSizeMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FOLLOW_DETENT = 0, @@ -14528,7 +14528,7 @@ declare enum ScrollSizeMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ CONTINUOUS = 1 } @@ -14540,7 +14540,7 @@ declare enum ScrollSizeMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ declare enum SheetKeyboardAvoidMode { /** @@ -14549,7 +14549,7 @@ declare enum SheetKeyboardAvoidMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ NONE = 0, @@ -14560,7 +14560,7 @@ declare enum SheetKeyboardAvoidMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ TRANSLATE_AND_RESIZE = 1, @@ -14570,7 +14570,7 @@ declare enum SheetKeyboardAvoidMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ RESIZE_ONLY = 2, @@ -14581,7 +14581,7 @@ declare enum SheetKeyboardAvoidMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ TRANSLATE_AND_SCROLL = 3, @@ -14591,7 +14591,7 @@ declare enum SheetKeyboardAvoidMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ POPUP_SHEET = 4 } @@ -14611,7 +14611,7 @@ declare enum SheetKeyboardAvoidMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface SheetDismiss { /** @@ -14629,7 +14629,7 @@ declare interface SheetDismiss { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dismiss: () => void; } @@ -14641,7 +14641,7 @@ declare interface SheetDismiss { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface DismissSheetAction { @@ -14652,7 +14652,7 @@ declare interface DismissSheetAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dismiss: Callback; @@ -14663,7 +14663,7 @@ declare interface DismissSheetAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ reason: DismissReason; } @@ -14675,7 +14675,7 @@ declare interface DismissSheetAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface SpringBackAction { /** @@ -14685,7 +14685,7 @@ declare interface SpringBackAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ springBack: Callback; } @@ -14707,7 +14707,7 @@ declare interface SpringBackAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface SheetOptions extends BindOptions { /** @@ -14727,7 +14727,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ height?: SheetSize | Length; @@ -14748,7 +14748,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ dragBar?: boolean; @@ -14760,7 +14760,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ enableFloatingDragBar?: boolean; @@ -14779,7 +14779,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maskColor?: ResourceColor; @@ -14798,7 +14798,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ detents?: [(SheetSize | Length), (SheetSize | Length)?, (SheetSize | Length)?]; @@ -14819,7 +14819,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ blurStyle?: BlurStyle; @@ -14840,7 +14840,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ showClose?: boolean | Resource; @@ -14859,7 +14859,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ preferType?: SheetType; @@ -14878,7 +14878,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ title?: SheetTitleOptions | CustomBuilder; @@ -14897,7 +14897,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ shouldDismiss?: (sheetDismiss: SheetDismiss) => void; @@ -14908,7 +14908,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillDismiss?: Callback; @@ -14919,7 +14919,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillSpringBackWhenDismiss?: Callback; @@ -14940,7 +14940,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enableOutsideInteractive?: boolean; @@ -14951,7 +14951,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ width?: Dimension; @@ -14962,7 +14962,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderWidth?: Dimension | EdgeWidths | LocalizedEdgeWidths; @@ -14973,7 +14973,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderColor?: ResourceColor | EdgeColors | LocalizedEdgeColors; @@ -14984,7 +14984,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderStyle?: BorderStyle | EdgeStyles; @@ -14995,7 +14995,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ shadow?: ShadowOptions | ShadowStyle; @@ -15006,7 +15006,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onHeightDidChange?: Callback; @@ -15018,7 +15018,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ mode?: SheetMode; @@ -15030,7 +15030,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ scrollSizeMode?: ScrollSizeMode; @@ -15041,7 +15041,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDetentsDidChange?: Callback; @@ -15052,7 +15052,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWidthDidChange?: Callback; @@ -15063,7 +15063,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onTypeDidChange?: Callback; @@ -15074,7 +15074,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ uiContext?: UIContext; @@ -15086,7 +15086,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ keyboardAvoidMode?: SheetKeyboardAvoidMode; @@ -15098,7 +15098,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ enableHoverMode?: boolean; @@ -15110,7 +15110,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ hoverModeArea?: HoverModeAreaType; @@ -15120,7 +15120,7 @@ declare interface SheetOptions extends BindOptions { * @type { ?Position } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 14 + * @since 14 dynamic */ offset?: Position; @@ -15132,7 +15132,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ effectEdge?: number; @@ -15143,7 +15143,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ radius?: LengthMetrics | BorderRadiuses | LocalizedBorderRadiuses; @@ -15155,7 +15155,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ detentSelection?: SheetSize | Length; @@ -15167,7 +15167,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ showInSubWindow?: boolean; @@ -15180,7 +15180,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ placement?: Placement; @@ -15192,7 +15192,7 @@ declare interface SheetOptions extends BindOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ placementOnTarget?: boolean; } @@ -15229,7 +15229,7 @@ declare interface SheetOptions extends BindOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface StateStyles { /** @@ -15264,7 +15264,7 @@ declare interface StateStyles { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ normal?: any; @@ -15300,7 +15300,7 @@ declare interface StateStyles { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ pressed?: any; @@ -15336,7 +15336,7 @@ declare interface StateStyles { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ disabled?: any; @@ -15372,7 +15372,7 @@ declare interface StateStyles { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ focused?: any; @@ -15408,7 +15408,7 @@ declare interface StateStyles { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ clicked?: any; @@ -15429,7 +15429,7 @@ declare interface StateStyles { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ selected?: object; } @@ -15449,7 +15449,7 @@ declare interface StateStyles { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface PopupMessageOptions { /** @@ -15467,7 +15467,7 @@ declare interface PopupMessageOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textColor?: ResourceColor; @@ -15486,7 +15486,7 @@ declare interface PopupMessageOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ font?: Font; } @@ -15498,7 +15498,7 @@ declare interface PopupMessageOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum DismissReason { /** @@ -15507,7 +15507,7 @@ declare enum DismissReason { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PRESS_BACK = 0, @@ -15517,7 +15517,7 @@ declare enum DismissReason { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ TOUCH_OUTSIDE = 1, @@ -15527,7 +15527,7 @@ declare enum DismissReason { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ CLOSE_BUTTON = 2, @@ -15537,7 +15537,7 @@ declare enum DismissReason { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SLIDE_DOWN = 3, @@ -15549,7 +15549,7 @@ declare enum DismissReason { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ SLIDE = 4 } @@ -15561,7 +15561,7 @@ declare enum DismissReason { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface DismissPopupAction { /** @@ -15571,7 +15571,7 @@ declare interface DismissPopupAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dismiss: Callback; @@ -15582,7 +15582,7 @@ declare interface DismissPopupAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ reason: DismissReason; } @@ -15594,7 +15594,7 @@ declare interface DismissPopupAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface PopupStateChangeParam { /** @@ -15605,7 +15605,7 @@ declare interface PopupStateChangeParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ isVisible: boolean; } @@ -15618,7 +15618,7 @@ declare interface PopupStateChangeParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type PopupStateChangeCallback = (event: PopupStateChangeParam) => void; @@ -15629,7 +15629,7 @@ declare type PopupStateChangeCallback = (event: PopupStateChangeParam) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface PopupMaskType { /** @@ -15640,7 +15640,7 @@ declare interface PopupMaskType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ color: ResourceColor; } @@ -15652,7 +15652,7 @@ declare interface PopupMaskType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface PopupBorderLinearGradient { /** @@ -15662,7 +15662,7 @@ declare interface PopupBorderLinearGradient { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ direction?: GradientDirection; @@ -15674,7 +15674,7 @@ declare interface PopupBorderLinearGradient { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ colors: Array<[ResourceColor, number]>; } @@ -15686,7 +15686,7 @@ declare interface PopupBorderLinearGradient { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface PopupCommonOptions { /** @@ -15697,7 +15697,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ placement?: Placement; @@ -15708,7 +15708,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ popupColor?: ResourceColor; @@ -15720,7 +15720,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ enableArrow?: boolean; @@ -15732,7 +15732,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ autoCancel?: boolean; @@ -15743,7 +15743,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onStateChange?: PopupStateChangeCallback; @@ -15754,7 +15754,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ arrowOffset?: Length; @@ -15765,7 +15765,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ showInSubWindow?: boolean; @@ -15778,7 +15778,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ mask?: boolean | PopupMaskType; @@ -15789,7 +15789,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ targetSpace?: Length; @@ -15800,7 +15800,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ offset?: Position; @@ -15811,7 +15811,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ width?: Dimension; @@ -15822,7 +15822,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ arrowPointPosition?: ArrowPointPosition; @@ -15834,7 +15834,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ arrowWidth?: Dimension; @@ -15846,7 +15846,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ arrowHeight?: Dimension; @@ -15858,7 +15858,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ radius?: Dimension; @@ -15870,7 +15870,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ shadow?: ShadowOptions | ShadowStyle; @@ -15882,7 +15882,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -15894,7 +15894,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ focusable?: boolean; @@ -15905,7 +15905,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ transition?: TransitionEffect; @@ -15917,7 +15917,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onWillDismiss?: boolean | Callback; @@ -15929,7 +15929,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ enableHoverMode?: boolean; @@ -15941,7 +15941,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ followTransformOfTarget?: boolean; @@ -15953,7 +15953,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ avoidTarget?: AvoidanceMode; @@ -15964,7 +15964,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ outlineWidth?: Dimension; @@ -15975,7 +15975,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ borderWidth?: Dimension; @@ -15986,7 +15986,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ outlineLinearGradient?: PopupBorderLinearGradient; @@ -15997,7 +15997,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ borderLinearGradient?: PopupBorderLinearGradient; } @@ -16009,7 +16009,7 @@ declare interface PopupCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare interface TipsOptions { @@ -16020,7 +16020,7 @@ declare interface TipsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ appearingTime?: number; @@ -16031,7 +16031,7 @@ declare interface TipsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ disappearingTime?: number; @@ -16042,7 +16042,7 @@ declare interface TipsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ appearingTimeWithContinuousOperation?: number; @@ -16053,7 +16053,7 @@ declare interface TipsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ disappearingTimeWithContinuousOperation?: number; @@ -16065,7 +16065,7 @@ declare interface TipsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ enableArrow?: boolean; @@ -16076,7 +16076,7 @@ declare interface TipsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ arrowPointPosition?: ArrowPointPosition; @@ -16088,7 +16088,7 @@ declare interface TipsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ arrowWidth?: Dimension; @@ -16100,7 +16100,7 @@ declare interface TipsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ arrowHeight?: Dimension; @@ -16111,7 +16111,7 @@ declare interface TipsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ showAtAnchor?: TipsAnchorType; } @@ -16138,7 +16138,7 @@ declare interface TipsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface PopupOptions { /** @@ -16163,7 +16163,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ message: string; @@ -16172,7 +16172,7 @@ declare interface PopupOptions { * * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead PopupOptions#placement */ @@ -16197,7 +16197,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ placement?: Placement; @@ -16223,7 +16223,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ primaryButton?: { /** @@ -16248,7 +16248,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ value: string; @@ -16274,7 +16274,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ action: () => void; }; @@ -16301,7 +16301,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ secondaryButton?: { /** @@ -16326,7 +16326,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ value: string; @@ -16352,7 +16352,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ action: () => void; }; @@ -16379,7 +16379,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onStateChange?: (event: { /** @@ -16397,7 +16397,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ isVisible: boolean }) => void; @@ -16424,7 +16424,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ arrowOffset?: Length; @@ -16450,7 +16450,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showInSubWindow?: boolean; @@ -16473,7 +16473,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ mask?: boolean | { color: ResourceColor }; @@ -16492,7 +16492,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ messageOptions?: PopupMessageOptions; @@ -16511,7 +16511,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ targetSpace?: Length; @@ -16531,7 +16531,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enableArrow?: boolean; /** @@ -16549,7 +16549,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offset?: Position; @@ -16568,7 +16568,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ popupColor?: Color | string | Resource | number; @@ -16589,7 +16589,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ autoCancel?: boolean; @@ -16608,7 +16608,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ width?: Dimension; @@ -16627,7 +16627,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ arrowPointPosition?: ArrowPointPosition; @@ -16648,7 +16648,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ arrowWidth?: Dimension; @@ -16669,7 +16669,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ arrowHeight?: Dimension; @@ -16690,7 +16690,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ radius?: Dimension; @@ -16711,7 +16711,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ shadow?: ShadowOptions | ShadowStyle; @@ -16732,7 +16732,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -16743,7 +16743,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ transition?: TransitionEffect; @@ -16754,7 +16754,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillDismiss?: boolean | Callback; @@ -16766,7 +16766,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ enableHoverMode?: boolean; @@ -16778,7 +16778,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ followTransformOfTarget?: boolean; @@ -16790,7 +16790,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ keyboardAvoidMode?: KeyboardAvoidMode; @@ -16802,7 +16802,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ avoidTarget?: AvoidanceMode; @@ -16813,7 +16813,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ outlineWidth?: Dimension; @@ -16824,7 +16824,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ borderWidth?: Dimension; @@ -16835,7 +16835,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ outlineLinearGradient?: PopupBorderLinearGradient; @@ -16846,7 +16846,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ borderLinearGradient?: PopupBorderLinearGradient; } @@ -16873,7 +16873,7 @@ declare interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface CustomPopupOptions { /** @@ -16898,7 +16898,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ builder: CustomBuilder; @@ -16924,7 +16924,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ placement?: Placement; @@ -16933,7 +16933,7 @@ declare interface CustomPopupOptions { * * @type { ?(Color | string | Resource | number) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamiconly * @deprecated since 10 * @useinstead CustomPopupOptions#mask */ @@ -16961,7 +16961,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ popupColor?: Color | string | Resource | number; @@ -16987,7 +16987,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enableArrow?: boolean; @@ -17013,7 +17013,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ autoCancel?: boolean; @@ -17039,7 +17039,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onStateChange?: (event: { /** @@ -17057,7 +17057,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ isVisible: boolean }) => void; @@ -17084,7 +17084,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ arrowOffset?: Length; @@ -17110,7 +17110,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showInSubWindow?: boolean; @@ -17133,7 +17133,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ mask?: boolean | { color: ResourceColor }; @@ -17152,7 +17152,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ targetSpace?: Length; @@ -17171,7 +17171,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offset?: Position; @@ -17190,7 +17190,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ width?: Dimension; @@ -17209,7 +17209,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ arrowPointPosition?: ArrowPointPosition; @@ -17230,7 +17230,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ arrowWidth?: Dimension; @@ -17251,7 +17251,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ arrowHeight?: Dimension; @@ -17272,7 +17272,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ radius?: Dimension; @@ -17293,7 +17293,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ shadow?: ShadowOptions | ShadowStyle; @@ -17314,7 +17314,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -17335,7 +17335,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ focusable?: boolean; @@ -17346,7 +17346,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ transition?: TransitionEffect; @@ -17357,7 +17357,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillDismiss?: boolean | Callback; @@ -17369,7 +17369,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ enableHoverMode?: boolean; @@ -17381,7 +17381,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ followTransformOfTarget?: boolean; @@ -17393,7 +17393,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ keyboardAvoidMode?: KeyboardAvoidMode; @@ -17405,7 +17405,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ avoidTarget?: AvoidanceMode; @@ -17416,7 +17416,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ outlineWidth?: Dimension; @@ -17427,7 +17427,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ borderWidth?: Dimension; @@ -17438,7 +17438,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ outlineLinearGradient?: PopupBorderLinearGradient; @@ -17449,7 +17449,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ borderLinearGradient?: PopupBorderLinearGradient; } @@ -17469,7 +17469,7 @@ declare interface CustomPopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum MenuPreviewMode { /** @@ -17485,7 +17485,7 @@ declare enum MenuPreviewMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NONE = 0, /** @@ -17501,7 +17501,7 @@ declare enum MenuPreviewMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ IMAGE = 1 } @@ -17521,7 +17521,7 @@ declare enum MenuPreviewMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type AnimationRange = [from: T, to: T]; @@ -17540,7 +17540,7 @@ declare type AnimationRange = [from: T, to: T]; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface ContextMenuAnimationOptions { /** @@ -17560,7 +17560,7 @@ interface ContextMenuAnimationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ scale?: AnimationRange; @@ -17571,7 +17571,7 @@ interface ContextMenuAnimationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ transition?: TransitionEffect; @@ -17582,7 +17582,7 @@ interface ContextMenuAnimationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ hoverScale?: AnimationRange; @@ -17593,7 +17593,7 @@ interface ContextMenuAnimationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ hoverScaleInterruption?: boolean; } @@ -17605,7 +17605,7 @@ interface ContextMenuAnimationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ type BorderRadiusType = Length | BorderRadiuses | LocalizedBorderRadiuses; @@ -17616,7 +17616,7 @@ type BorderRadiusType = Length | BorderRadiuses | LocalizedBorderRadiuses; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare enum HapticFeedbackMode { /** @@ -17625,7 +17625,7 @@ declare enum HapticFeedbackMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ DISABLED = 0, /** @@ -17634,7 +17634,7 @@ declare enum HapticFeedbackMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ ENABLED = 1, /** @@ -17643,7 +17643,7 @@ declare enum HapticFeedbackMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ AUTO = 2 } @@ -17655,7 +17655,7 @@ declare enum HapticFeedbackMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum ModalMode { /** @@ -17664,7 +17664,7 @@ declare enum ModalMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ AUTO = 0, /** @@ -17673,7 +17673,7 @@ declare enum ModalMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ NONE = 1, /** @@ -17682,7 +17682,7 @@ declare enum ModalMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ TARGET_WINDOW = 2 } @@ -17694,7 +17694,7 @@ declare enum ModalMode { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum AccessibilityAction { /** @@ -17703,7 +17703,7 @@ declare enum AccessibilityAction { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ UNDEFINED_ACTION = 0, /** @@ -17712,7 +17712,7 @@ declare enum AccessibilityAction { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ ACCESSIBILITY_CLICK = 1, } @@ -17724,7 +17724,7 @@ declare enum AccessibilityAction { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum AccessibilityActionInterceptResult { /** @@ -17733,7 +17733,7 @@ declare enum AccessibilityActionInterceptResult { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ ACTION_INTERCEPT = 0, /** @@ -17742,7 +17742,7 @@ declare enum AccessibilityActionInterceptResult { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ ACTION_CONTINUE = 1, /** @@ -17751,7 +17751,7 @@ declare enum AccessibilityActionInterceptResult { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ ACTION_RISE = 2, } @@ -17766,7 +17766,7 @@ declare enum AccessibilityActionInterceptResult { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare type AccessibilityActionInterceptCallback = (action: AccessibilityAction) => AccessibilityActionInterceptResult; @@ -17777,7 +17777,7 @@ declare type AccessibilityActionInterceptCallback = (action: AccessibilityAction * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface MenuMaskType { /** @@ -17787,7 +17787,7 @@ declare interface MenuMaskType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ color?: ResourceColor; @@ -17799,7 +17799,7 @@ declare interface MenuMaskType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ backgroundBlurStyle?: BlurStyle; } @@ -17811,7 +17811,7 @@ declare interface MenuMaskType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum PreviewScaleMode { /** @@ -17820,7 +17820,7 @@ declare enum PreviewScaleMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ AUTO = 0, @@ -17830,7 +17830,7 @@ declare enum PreviewScaleMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ CONSTANT = 1, @@ -17840,7 +17840,7 @@ declare enum PreviewScaleMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ MAINTAIN = 2, } @@ -17852,7 +17852,7 @@ declare enum PreviewScaleMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum AvailableLayoutArea { /** @@ -17861,7 +17861,7 @@ declare enum AvailableLayoutArea { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ SAFE_AREA = 0, } @@ -17881,7 +17881,7 @@ declare enum AvailableLayoutArea { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ContextMenuOptions { /** @@ -17901,7 +17901,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offset?: Position; @@ -17922,7 +17922,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ placement?: Placement; @@ -17942,7 +17942,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enableArrow?: boolean; @@ -17962,7 +17962,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ arrowOffset?: Length; @@ -17983,7 +17983,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ preview?: MenuPreviewMode | CustomBuilder; @@ -17994,7 +17994,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ previewBorderRadius?: BorderRadiusType; @@ -18005,7 +18005,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderRadius?: Length | BorderRadiuses | LocalizedBorderRadiuses; @@ -18024,7 +18024,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onAppear?: () => void; @@ -18043,7 +18043,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onDisappear?: () => void; @@ -18062,7 +18062,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ aboutToAppear?: () => void; @@ -18081,7 +18081,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ aboutToDisappear?: () => void; @@ -18092,7 +18092,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ layoutRegionMargin?: Margin; @@ -18111,7 +18111,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ previewAnimationOptions?: ContextMenuAnimationOptions; @@ -18132,7 +18132,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: ResourceColor; @@ -18153,7 +18153,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -18164,7 +18164,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -18175,7 +18175,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundEffect?: BackgroundEffectOptions; @@ -18186,7 +18186,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ transition?: TransitionEffect; @@ -18198,7 +18198,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ enableHoverMode?: boolean; @@ -18209,7 +18209,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ outlineColor?: ResourceColor | EdgeColors; @@ -18220,7 +18220,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ outlineWidth?: Dimension | EdgeOutlineWidths; @@ -18232,7 +18232,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ hapticFeedbackMode?: HapticFeedbackMode; @@ -18243,7 +18243,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ mask?: boolean | MenuMaskType; @@ -18255,7 +18255,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ modalMode?: ModalMode; @@ -18266,7 +18266,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ anchorPosition?: Position; @@ -18277,7 +18277,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onDidAppear?: Callback; @@ -18288,7 +18288,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onDidDisappear?: Callback; @@ -18299,7 +18299,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onWillAppear?: Callback; @@ -18310,7 +18310,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onWillDisappear?: Callback; @@ -18322,7 +18322,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ previewScaleMode?: PreviewScaleMode; @@ -18333,7 +18333,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ availableLayoutArea?: AvailableLayoutArea; } @@ -18355,7 +18355,7 @@ declare interface ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface MenuOptions extends ContextMenuOptions { /** @@ -18373,7 +18373,7 @@ declare interface MenuOptions extends ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ title?: ResourceStr; @@ -18392,7 +18392,7 @@ declare interface MenuOptions extends ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ showInSubWindow?: boolean; } @@ -18410,7 +18410,7 @@ declare interface MenuOptions extends ContextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class ProgressMask { /** @@ -18432,7 +18432,7 @@ declare class ProgressMask { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(value: number, total: number, color: ResourceColor); @@ -18451,7 +18451,7 @@ declare class ProgressMask { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ updateProgress(value: number): void; @@ -18470,7 +18470,7 @@ declare class ProgressMask { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ updateColor(value: ResourceColor): void; @@ -18481,7 +18481,7 @@ declare class ProgressMask { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enableBreathingAnimation(value: boolean): void; } @@ -18499,7 +18499,7 @@ declare class ProgressMask { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class TouchTestInfo { /** @@ -18517,7 +18517,7 @@ declare class TouchTestInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ windowX: number; @@ -18536,7 +18536,7 @@ declare class TouchTestInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ windowY: number; @@ -18555,7 +18555,7 @@ declare class TouchTestInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ parentX: number; @@ -18574,7 +18574,7 @@ declare class TouchTestInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ parentY: number; @@ -18593,7 +18593,7 @@ declare class TouchTestInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ x: number; @@ -18612,7 +18612,7 @@ declare class TouchTestInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ y: number; @@ -18631,7 +18631,7 @@ declare class TouchTestInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ rect: RectResult; @@ -18650,7 +18650,7 @@ declare class TouchTestInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ id: string; } @@ -18668,7 +18668,7 @@ declare class TouchTestInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class TouchResult { /** @@ -18686,7 +18686,7 @@ declare class TouchResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ strategy: TouchTestStrategy; @@ -18705,7 +18705,7 @@ declare class TouchResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ id?: string; } @@ -18727,7 +18727,7 @@ declare class TouchResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface PixelStretchEffectOptions { /** @@ -18749,7 +18749,7 @@ declare interface PixelStretchEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ top?: Length; @@ -18772,7 +18772,7 @@ declare interface PixelStretchEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ bottom?: Length; @@ -18795,7 +18795,7 @@ declare interface PixelStretchEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ left?: Length; @@ -18818,7 +18818,7 @@ declare interface PixelStretchEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ right?: Length; } @@ -18838,7 +18838,7 @@ declare interface PixelStretchEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ClickEffect { /** @@ -18856,7 +18856,7 @@ declare interface ClickEffect { * @default ClickEffectLevel.Light * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ level: ClickEffectLevel; @@ -18875,7 +18875,7 @@ declare interface ClickEffect { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ scale?: number; } @@ -18887,7 +18887,7 @@ declare interface ClickEffect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare interface FadingEdgeOptions { /** @@ -18898,7 +18898,7 @@ declare interface FadingEdgeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ fadingEdgeLength?: LengthMetrics; } @@ -18916,7 +18916,7 @@ declare interface FadingEdgeOptions { * @interface NestedScrollOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface NestedScrollOptions { /** @@ -18933,7 +18933,7 @@ declare interface NestedScrollOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollForward: NestedScrollMode; @@ -18951,7 +18951,7 @@ declare interface NestedScrollOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollBackward: NestedScrollMode; } @@ -18978,7 +18978,7 @@ declare interface NestedScrollOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare interface MenuElement { @@ -19004,7 +19004,7 @@ declare interface MenuElement { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ value: ResourceStr; @@ -19023,7 +19023,7 @@ declare interface MenuElement { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ icon?: ResourceStr; @@ -19042,7 +19042,7 @@ declare interface MenuElement { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolIcon?: SymbolGlyphModifier; @@ -19065,7 +19065,7 @@ declare interface MenuElement { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enabled?: boolean; @@ -19091,7 +19091,7 @@ declare interface MenuElement { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ action: () => void; } @@ -19111,7 +19111,7 @@ declare interface MenuElement { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface AttributeModifier { @@ -19130,7 +19130,7 @@ declare interface AttributeModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ applyNormalAttribute?(instance: T) : void; @@ -19149,7 +19149,7 @@ declare interface AttributeModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ applyPressedAttribute?(instance: T) : void; @@ -19168,7 +19168,7 @@ declare interface AttributeModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ applyFocusedAttribute?(instance: T) : void; @@ -19187,7 +19187,7 @@ declare interface AttributeModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ applyDisabledAttribute?(instance: T) : void; @@ -19206,7 +19206,7 @@ declare interface AttributeModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ applySelectedAttribute?(instance: T) : void; } @@ -19218,7 +19218,7 @@ declare interface AttributeModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface ContentModifier { @@ -19229,7 +19229,7 @@ declare interface ContentModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ applyContent(): WrappedBuilder<[T]>; } @@ -19241,7 +19241,7 @@ declare interface ContentModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface CommonConfiguration { @@ -19253,7 +19253,7 @@ declare interface CommonConfiguration { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enabled: boolean, @@ -19264,7 +19264,7 @@ declare interface CommonConfiguration { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentModifier: ContentModifier; } @@ -19286,7 +19286,7 @@ declare interface CommonConfiguration { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum OutlineStyle { /** @@ -19304,7 +19304,7 @@ declare enum OutlineStyle { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ SOLID = 0, @@ -19323,7 +19323,7 @@ declare enum OutlineStyle { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ DASHED = 1, @@ -19342,7 +19342,7 @@ declare enum OutlineStyle { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ DOTTED = 2 } @@ -19369,7 +19369,7 @@ declare enum OutlineStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare enum DragPreviewMode { /** @@ -19391,7 +19391,7 @@ declare enum DragPreviewMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ AUTO = 1, /** @@ -19413,7 +19413,7 @@ declare enum DragPreviewMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ DISABLE_SCALE = 2, /** @@ -19429,7 +19429,7 @@ declare enum DragPreviewMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ ENABLE_DEFAULT_SHADOW = 3, /** @@ -19445,7 +19445,7 @@ declare enum DragPreviewMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ ENABLE_DEFAULT_RADIUS = 4, /** @@ -19453,7 +19453,7 @@ declare enum DragPreviewMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ ENABLE_DRAG_ITEM_GRAY_EFFECT = 5, /** @@ -19461,7 +19461,7 @@ declare enum DragPreviewMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ ENABLE_MULTI_TILE_EFFECT = 6, @@ -19470,7 +19470,7 @@ declare enum DragPreviewMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 19 + * @since 19 dynamic */ ENABLE_TOUCH_POINT_CALCULATION_BASED_ON_FINAL_PREVIEW = 7, } @@ -19481,7 +19481,7 @@ declare enum DragPreviewMode { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 19 + * @since 19 dynamic */ declare enum DraggingSizeChangeEffect { /** @@ -19489,7 +19489,7 @@ declare enum DraggingSizeChangeEffect { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 19 + * @since 19 dynamic */ DEFAULT = 0, @@ -19498,7 +19498,7 @@ declare enum DraggingSizeChangeEffect { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 19 + * @since 19 dynamic */ SIZE_TRANSITION = 1, @@ -19507,7 +19507,7 @@ declare enum DraggingSizeChangeEffect { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 19 + * @since 19 dynamic */ SIZE_CONTENT_TRANSITION = 2, } @@ -19519,7 +19519,7 @@ declare enum DraggingSizeChangeEffect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum MenuPolicy { /** @@ -19528,7 +19528,7 @@ declare enum MenuPolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DEFAULT = 0, @@ -19538,7 +19538,7 @@ declare enum MenuPolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ HIDE = 1, @@ -19548,7 +19548,7 @@ declare enum MenuPolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SHOW = 2 } @@ -19560,7 +19560,7 @@ declare enum MenuPolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare type ImageModifier = import('../api/arkui/ImageModifier').ImageModifier; @@ -19580,7 +19580,7 @@ declare type ImageModifier = import('../api/arkui/ImageModifier').ImageModifier; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare type SymbolGlyphModifier = import('../api/arkui/SymbolGlyphModifier').SymbolGlyphModifier; @@ -19607,7 +19607,7 @@ declare type SymbolGlyphModifier = import('../api/arkui/SymbolGlyphModifier').Sy * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface DragPreviewOptions { /** @@ -19632,7 +19632,7 @@ declare interface DragPreviewOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ mode?: DragPreviewMode | Array; @@ -19651,7 +19651,7 @@ declare interface DragPreviewOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ modifier?: ImageModifier; @@ -19671,7 +19671,7 @@ declare interface DragPreviewOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ numberBadge?: boolean | number; @@ -19681,7 +19681,7 @@ declare interface DragPreviewOptions { * @type { ?DraggingSizeChangeEffect } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 19 + * @since 19 dynamic */ sizeChangeEffect?: DraggingSizeChangeEffect; } @@ -19692,7 +19692,7 @@ declare interface DragPreviewOptions { * @interface DragInteractionOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface DragInteractionOptions { /** @@ -19701,7 +19701,7 @@ declare interface DragInteractionOptions { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ isMultiSelectionEnabled?: boolean; @@ -19711,7 +19711,7 @@ declare interface DragInteractionOptions { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ defaultAnimationBeforeLifting?: boolean; @@ -19721,7 +19721,7 @@ declare interface DragInteractionOptions { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ enableEdgeAutoScroll?: boolean; @@ -19731,7 +19731,7 @@ declare interface DragInteractionOptions { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ enableHapticFeedback?: boolean; @@ -19742,7 +19742,7 @@ declare interface DragInteractionOptions { * @default false * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ isLiftingDisabled?: boolean; } @@ -19753,7 +19753,7 @@ declare interface DragInteractionOptions { * @interface PreviewConfiguration * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ declare interface PreviewConfiguration { /** @@ -19763,7 +19763,7 @@ declare interface PreviewConfiguration { * @default false * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ onlyForLifting?: boolean; @@ -19774,7 +19774,7 @@ declare interface PreviewConfiguration { * @default false * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ delayCreating?: boolean; } @@ -19792,7 +19792,7 @@ declare interface PreviewConfiguration { * @interface InvertOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface InvertOptions { @@ -19811,7 +19811,7 @@ declare interface InvertOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ low: number; @@ -19830,7 +19830,7 @@ declare interface InvertOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ high: number; @@ -19849,7 +19849,7 @@ declare interface InvertOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ threshold: number; @@ -19868,7 +19868,7 @@ declare interface InvertOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ thresholdRange: number; } @@ -19881,7 +19881,7 @@ declare interface InvertOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type CircleShape = import('../api/@ohos.arkui.shape').CircleShape; @@ -19893,7 +19893,7 @@ declare type CircleShape = import('../api/@ohos.arkui.shape').CircleShape; * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type EllipseShape = import('../api/@ohos.arkui.shape').EllipseShape; @@ -19905,7 +19905,7 @@ declare type EllipseShape = import('../api/@ohos.arkui.shape').EllipseShape; * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type PathShape = import('../api/@ohos.arkui.shape').PathShape; @@ -19917,7 +19917,7 @@ declare type PathShape = import('../api/@ohos.arkui.shape').PathShape; * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type RectShape = import('../api/@ohos.arkui.shape').RectShape; @@ -19929,7 +19929,7 @@ declare type RectShape = import('../api/@ohos.arkui.shape').RectShape; * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type Optional = T | undefined; @@ -19940,7 +19940,7 @@ declare type Optional = T | undefined; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare type TipsMessageType = ResourceStr | StyledString; @@ -19951,7 +19951,7 @@ declare type TipsMessageType = ResourceStr | StyledString; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare type Matrix4Transit = import('../api/@ohos.matrix4').default.Matrix4Transit; @@ -19963,7 +19963,7 @@ declare type Matrix4Transit = import('../api/@ohos.matrix4').default.Matrix4Tran * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ interface BackgroundImageOptions { /** @@ -19976,7 +19976,7 @@ interface BackgroundImageOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ syncLoad?: boolean; /** @@ -19988,7 +19988,7 @@ interface BackgroundImageOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ repeat?: ImageRepeat; } @@ -20000,7 +20000,7 @@ interface BackgroundImageOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface BackgroundOptions { /** @@ -20029,7 +20029,7 @@ declare interface BackgroundOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ align?: Alignment; @@ -20040,7 +20040,7 @@ declare interface BackgroundOptions { * @default The default value is LayoutSafeAreaEdge.ALL when background is ResourceColor, otherwise it is an empty array []. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ ignoresLayoutSafeAreaEdges?: Array; } @@ -20073,7 +20073,7 @@ declare interface BackgroundOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class CommonMethod { @@ -20090,7 +20090,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 9 + * @since 9 dynamic */ constructor(); @@ -20130,7 +20130,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ width(value: Length): T; /** @@ -20142,7 +20142,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ width(widthValue: Length | LayoutPolicy): T; @@ -20182,7 +20182,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ height(value: Length): T; /** @@ -20194,7 +20194,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ height(heightValue: Length | LayoutPolicy): T; @@ -20206,7 +20206,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ drawModifier(modifier: DrawModifier | undefined): T; @@ -20219,7 +20219,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ customProperty(name: string, value: Optional): T; @@ -20242,7 +20242,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ expandSafeArea(types?: Array, edges?: Array): T; @@ -20255,7 +20255,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ ignoreLayoutSafeArea(types?: Array, edges?: Array): T; @@ -20295,7 +20295,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ responseRegion(value: Array | Rectangle): T; @@ -20316,7 +20316,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ mouseResponseRegion(value: Array | Rectangle): T; @@ -20356,7 +20356,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ size(value: SizeOptions): T; @@ -20400,7 +20400,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constraintSize(value: ConstraintSizeOptions): T; @@ -20410,7 +20410,7 @@ declare class CommonMethod { * @param { boolean } value * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead hitTestBehavior */ @@ -20441,7 +20441,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ hitTestBehavior(value: HitTestMode): T; @@ -20462,7 +20462,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onChildTouchTest(event: (value: Array) => TouchResult): T; @@ -20502,7 +20502,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ layoutWeight(value: number | string): T; @@ -20514,7 +20514,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ chainWeight(chainWeight: ChainWeightOptions): T; @@ -20565,7 +20565,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ padding(value: Padding | Length | LocalizedPadding): T; @@ -20578,7 +20578,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 14 + * @since 14 dynamic */ safeAreaPadding(paddingValue: Padding | LengthMetrics | LocalizedPadding): T; @@ -20629,7 +20629,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ margin(value: Margin | Length | LocalizedMargin): T; @@ -20656,7 +20656,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ background(builder: CustomBuilder, options?: { align?: Alignment }): T; @@ -20670,7 +20670,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ background(content: CustomBuilder | ResourceColor, options?: BackgroundOptions): T; @@ -20710,7 +20710,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ backgroundColor(value: ResourceColor): T; @@ -20723,7 +20723,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundColor(color: Optional): T; @@ -20736,7 +20736,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ backgroundColor(color: Optional): T; @@ -20749,7 +20749,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ pixelRound(value: PixelRoundPolicy): T; @@ -20810,7 +20810,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat): T; @@ -20824,7 +20824,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundImage(src: ResourceStr | PixelMap, options?: BackgroundImageOptions): T; @@ -20864,7 +20864,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ backgroundImageSize(value: SizeOptions | ImageSize): T; @@ -20908,7 +20908,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ backgroundImagePosition(value: Position | Alignment): T; @@ -20946,7 +20946,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ backgroundBlurStyle(value: BlurStyle, options?: BackgroundBlurStyleOptions): T; @@ -20961,7 +20961,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundBlurStyle(style: Optional, options?: BackgroundBlurStyleOptions): T; @@ -20978,7 +20978,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundBlurStyle(style: Optional, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): T; @@ -20999,7 +20999,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundEffect(options: BackgroundEffectOptions): T; @@ -21017,7 +21017,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundEffect(options: Optional): T; @@ -21031,7 +21031,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundEffect(options: Optional, sysOptions?: SystemAdaptiveOptions): T; @@ -21044,7 +21044,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundImageResizable(value: ResizableOptions): T; @@ -21056,7 +21056,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ foregroundEffect(options: ForegroundEffectOptions): T; @@ -21069,7 +21069,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ visualEffect(effect: VisualEffect): T; @@ -21081,7 +21081,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundFilter(filter: Filter): T; @@ -21093,7 +21093,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ foregroundFilter(filter: Filter): T; @@ -21105,7 +21105,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compositingFilter(filter: Filter): T; @@ -21130,7 +21130,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ foregroundBlurStyle(value: BlurStyle, options?: ForegroundBlurStyleOptions): T; @@ -21144,7 +21144,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ foregroundBlurStyle(style: Optional, options?: ForegroundBlurStyleOptions): T; @@ -21160,7 +21160,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ foregroundBlurStyle(style: Optional, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): T; @@ -21200,7 +21200,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ opacity(value: number | Resource): T; @@ -21213,7 +21213,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ opacity(opacity: Optional): T; @@ -21257,7 +21257,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ border(value: BorderOptions): T; @@ -21297,7 +21297,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ borderStyle(value: BorderStyle | EdgeStyles): T; @@ -21348,7 +21348,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ borderWidth(value: Length | EdgeWidths | LocalizedEdgeWidths): T; @@ -21399,7 +21399,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ borderColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors): T; @@ -21450,7 +21450,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ borderRadius(value: Length | BorderRadiuses | LocalizedBorderRadiuses): T; @@ -21482,7 +21482,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ borderImage(value: BorderImageOption): T; @@ -21507,7 +21507,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ outline(value: OutlineOptions): T; @@ -21521,7 +21521,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ outline(options: Optional): T; @@ -21545,7 +21545,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ outlineStyle(value: OutlineStyle | EdgeOutlineStyles): T; @@ -21558,7 +21558,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ outlineStyle(style: Optional): T; @@ -21582,7 +21582,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ outlineWidth(value: Dimension | EdgeOutlineWidths): T; @@ -21595,7 +21595,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ outlineWidth(width: Optional): T; @@ -21619,7 +21619,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors): T; @@ -21632,7 +21632,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ outlineColor(color: Optional): T; @@ -21656,7 +21656,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ outlineRadius(value: Dimension | OutlineRadiuses): T; @@ -21669,7 +21669,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ outlineRadius(radius: Optional): T; @@ -21692,7 +21692,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ foregroundColor(value: ResourceColor | ColoringStrategy): T; @@ -21705,7 +21705,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ foregroundColor(color: Optional): T; @@ -21745,7 +21745,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onClick(event: (event: ClickEvent) => void): T; @@ -21759,7 +21759,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ onClick(event: Callback, distanceThreshold: number): T; @@ -21779,7 +21779,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onHover(event: (isHover: boolean, event: HoverEvent) => void): T; @@ -21791,7 +21791,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ onHoverMove(event: Callback): T; @@ -21803,7 +21803,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onAccessibilityHover(callback: AccessibilityCallback): T; @@ -21816,7 +21816,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onAccessibilityHoverTransparent(callback: AccessibilityTransparentCallback): T; @@ -21845,7 +21845,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ hoverEffect(value: HoverEffect): T; @@ -21864,7 +21864,7 @@ declare class CommonMethod { * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ onMouse(event: (event: MouseEvent) => void): T; @@ -21893,7 +21893,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onTouch(event: (event: TouchEvent) => void): T; @@ -21922,7 +21922,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onKeyEvent(event: (event: KeyEvent) => void): T; @@ -21934,7 +21934,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ onKeyEvent(event: Callback): T; @@ -21945,7 +21945,7 @@ declare class CommonMethod { * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onDigitalCrown(handler: Optional>): T; @@ -21957,7 +21957,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onKeyPreIme(event: Callback): T; @@ -21969,7 +21969,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ onKeyEventDispatch(event: Callback): T; @@ -21980,7 +21980,7 @@ declare class CommonMethod { * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ onFocusAxisEvent(event: Callback): T; @@ -21991,7 +21991,7 @@ declare class CommonMethod { * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ onAxisEvent(event: Callback): T; @@ -22020,7 +22020,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ focusable(value: boolean): T; @@ -22032,7 +22032,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ nextFocus(nextStep: Optional): T; @@ -22044,7 +22044,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ tabStop(isTabStop: boolean): T; @@ -22073,7 +22073,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onFocus(event: () => void): T; @@ -22102,7 +22102,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onBlur(event: () => void): T; @@ -22131,7 +22131,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ tabIndex(index: number): T; @@ -22160,7 +22160,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ defaultFocus(value: boolean): T; @@ -22189,7 +22189,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ groupDefaultFocus(value: boolean): T; @@ -22218,7 +22218,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ focusOnTouch(value: boolean): T; @@ -22230,7 +22230,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ focusBox(style: FocusBoxStyle): T; @@ -22243,7 +22243,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ focusScopeId(id: string, isGroup?: boolean): T; /** @@ -22257,7 +22257,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ focusScopeId(id: string, isGroup?: boolean, arrowStepOut?: boolean): T; @@ -22270,7 +22270,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ focusScopePriority(scopeId: string, priority?: FocusPriority): T; @@ -22310,7 +22310,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ animation(value: AnimateParam): T; @@ -22350,7 +22350,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ transition(value: TransitionOptions | TransitionEffect): T; @@ -22364,7 +22364,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ transition(effect: TransitionEffect, onFinish: Optional): T; @@ -22399,7 +22399,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ gesture(gesture: GestureType, mask?: GestureMask): T; @@ -22434,7 +22434,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ priorityGesture(gesture: GestureType, mask?: GestureMask): T; @@ -22469,7 +22469,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ parallelGesture(gesture: GestureType, mask?: GestureMask): T; @@ -22518,7 +22518,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ blur(value: number, options?: BlurOptions): T; @@ -22534,7 +22534,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ blur(blurRadius: Optional, options?: BlurOptions): T; @@ -22551,7 +22551,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 19 + * @since 19 dynamic */ blur(blurRadius: Optional, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): T; @@ -22564,7 +22564,7 @@ declare class CommonMethod { * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ linearGradientBlur(value: number, options: LinearGradientBlurOptions): T; @@ -22577,7 +22577,7 @@ declare class CommonMethod { * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ linearGradientBlur(blurRadius: Optional, options: Optional): T; @@ -22589,7 +22589,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ motionBlur(value: MotionBlurOptions):T; @@ -22601,7 +22601,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ motionBlur(motionBlur: Optional):T; @@ -22649,7 +22649,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ brightness(value: number): T; @@ -22664,7 +22664,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ brightness(brightness: Optional): T; @@ -22708,7 +22708,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ contrast(value: number): T; @@ -22722,7 +22722,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ contrast(contrast: Optional): T; @@ -22770,7 +22770,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ grayscale(value: number): T; @@ -22785,7 +22785,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ grayscale(grayscale: Optional): T; @@ -22825,7 +22825,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ colorBlend(value: Color | string | Resource): T; @@ -22838,7 +22838,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ colorBlend(color: Optional): T; @@ -22890,7 +22890,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ saturate(value: number): T; @@ -22906,7 +22906,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ saturate(saturate: Optional): T; @@ -22950,7 +22950,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ sepia(value: number): T; @@ -22964,7 +22964,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ sepia(sepia: Optional): T; @@ -23008,7 +23008,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ invert(value: number | InvertOptions): T; @@ -23022,7 +23022,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ invert(options: Optional): T; @@ -23032,7 +23032,7 @@ declare class CommonMethod { * @returns { T } return the component attribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ systemBarEffect(): T; @@ -23080,7 +23080,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ hueRotate(value: number | string): T; @@ -23095,7 +23095,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ hueRotate(rotation: Optional): T; @@ -23118,7 +23118,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ useShadowBatching(value: boolean): T; @@ -23131,7 +23131,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ useShadowBatching(use: Optional): T; @@ -23145,7 +23145,7 @@ declare class CommonMethod { * @returns { T } return the component attribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ useEffect(useEffect: boolean, effectType: EffectType): T; @@ -23159,7 +23159,7 @@ declare class CommonMethod { * @returns { T } return the component attribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ useEffect(useEffect: Optional, effectType?: EffectType): T; @@ -23172,7 +23172,7 @@ declare class CommonMethod { * @returns { T } return the component attribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ useEffect(value: boolean): T; @@ -23217,7 +23217,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ backdropBlur(value: number, options?: BlurOptions): T; @@ -23232,7 +23232,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ backdropBlur(radius: Optional, options?: BlurOptions): T; @@ -23248,7 +23248,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 19 + * @since 19 dynamic */ backdropBlur(radius: Optional, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): T; @@ -23280,7 +23280,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ renderGroup(value: boolean): T; @@ -23293,7 +23293,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ renderGroup(isGroup: Optional): T; @@ -23305,7 +23305,7 @@ declare class CommonMethod { * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ freeze(value: boolean): T; @@ -23317,7 +23317,7 @@ declare class CommonMethod { * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ freeze(freeze: Optional): T; @@ -23363,7 +23363,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ translate(value: TranslateOptions): T; @@ -23376,7 +23376,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ translate(translate: Optional): T; @@ -23416,7 +23416,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ scale(value: ScaleOptions): T; @@ -23429,7 +23429,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ scale(options: Optional): T; @@ -23458,7 +23458,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 14 * @useinstead grid_col/GridColInterface and grid_row/GridRowInterface */ @@ -23492,7 +23492,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 14 * @useinstead grid_col/GridColInterface and grid_row/GridRowInterface */ @@ -23537,7 +23537,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ rotate(value: RotateOptions): T; @@ -23550,7 +23550,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ rotate(options: Optional): T; @@ -23563,7 +23563,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ rotate(options: Optional): T; @@ -23593,7 +23593,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ transform(value: object): T; @@ -23605,7 +23605,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ transform(transform: Optional): T; @@ -23618,7 +23618,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ transform3D(transform: Optional): T; @@ -23658,7 +23658,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onAppear(event: () => void): T; @@ -23698,7 +23698,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onDisAppear(event: () => void): T; @@ -23710,7 +23710,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onAttach(callback: Callback): T; @@ -23722,7 +23722,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDetach(callback: Callback): T; @@ -23751,7 +23751,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onAreaChange(event: (oldValue: Area, newValue: Area) => void): T; @@ -23791,7 +23791,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ visibility(value: Visibility): T; @@ -23831,7 +23831,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ flexGrow(value: number): T; @@ -23871,7 +23871,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ flexShrink(value: number): T; @@ -23911,7 +23911,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ flexBasis(value: number | string): T; @@ -23951,7 +23951,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ alignSelf(value: ItemAlign): T; @@ -23964,7 +23964,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ layoutGravity(alignment: LocalizedAlignment): T; @@ -24004,7 +24004,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ displayPriority(value: number): T; @@ -24044,7 +24044,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ zIndex(value: number): T; @@ -24076,7 +24076,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ sharedTransition(id: string, options?: sharedTransitionOptions): T; @@ -24116,7 +24116,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ direction(value: Direction): T; @@ -24156,7 +24156,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ align(value: Alignment): T; @@ -24169,7 +24169,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ align(alignment: Alignment | LocalizedAlignment): T; @@ -24182,7 +24182,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ layoutGravity(alignment: LocalizedAlignment): T; @@ -24233,7 +24233,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ position(value: Position | Edges | LocalizedEdges): T; @@ -24284,7 +24284,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ markAnchor(value: Position | LocalizedPosition): T; @@ -24340,7 +24340,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ offset(value: Position | Edges | LocalizedEdges): T; @@ -24384,7 +24384,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ enabled(value: boolean): T; @@ -24394,7 +24394,7 @@ declare class CommonMethod { * @param { object } value * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead grid_col/GridColColumnOption and grid_row/GridRowColumnOption */ @@ -24433,7 +24433,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ alignRules(value: AlignRuleOption): T; @@ -24446,7 +24446,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ alignRules(alignRule: LocalizedAlignRuleOptions): T; @@ -24459,7 +24459,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ chainMode(direction: Axis, style: ChainStyle): T; @@ -24499,7 +24499,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ aspectRatio(value: number): T; @@ -24520,7 +24520,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ clickEffect(value: ClickEffect | null): T; @@ -24532,7 +24532,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ clickEffect(effect: Optional): T; @@ -24564,7 +24564,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ onDragStart(event: (event: DragEvent, extraParams?: string) => CustomBuilder | DragItemInfo): T; @@ -24593,7 +24593,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ onDragEnter(event: (event: DragEvent, extraParams?: string) => void): T; @@ -24622,7 +24622,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ onDragMove(event: (event: DragEvent, extraParams?: string) => void): T; @@ -24651,7 +24651,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ onDragLeave(event: (event: DragEvent, extraParams?: string) => void): T; @@ -24683,7 +24683,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ onDrop(event: (event: DragEvent, extraParams?: string) => void): T; @@ -24697,7 +24697,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ onDrop(eventCallback: OnDragEventCallback, dropOptions?: DropOptions): T; @@ -24726,7 +24726,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ onDragEnd(event: (event: DragEvent, extraParams?: string) => void): T; @@ -24756,7 +24756,7 @@ declare class CommonMethod { * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ onDragSpringLoading(callback: Callback | null, configuration?: DragSpringLoadingConfiguration): T; @@ -24787,7 +24787,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ allowDrop(value: Array | null): T; @@ -24807,7 +24807,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ draggable(value: boolean): T; @@ -24826,7 +24826,7 @@ declare class CommonMethod { * @returns { T } property value of type T. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ dragPreview(value: CustomBuilder | DragItemInfo | string): T; @@ -24838,7 +24838,7 @@ declare class CommonMethod { * @returns { T } property value of type T. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ dragPreview(preview: CustomBuilder | DragItemInfo | string, config?: PreviewConfiguration): T; @@ -24858,7 +24858,7 @@ declare class CommonMethod { * @returns { T } property value of type T. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ dragPreviewOptions(value: DragPreviewOptions, options?: DragInteractionOptions): T; @@ -24869,7 +24869,7 @@ declare class CommonMethod { * @returns { T } property value of type T. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onPreDrag(callback: Callback): T; @@ -24925,7 +24925,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ overlay(value: string | CustomBuilder | ComponentContent, options?: OverlayOptions): T; @@ -24936,7 +24936,7 @@ declare class CommonMethod { * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 dynamic */ toolbar(value: CustomBuilder): T; @@ -25020,7 +25020,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ linearGradient(value: LinearGradientOptions): T; @@ -25037,7 +25037,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ linearGradient(options: Optional): T; @@ -25141,7 +25141,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ sweepGradient(value: SweepGradientOptions): T; @@ -25160,7 +25160,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ sweepGradient(options: Optional): T; @@ -25247,7 +25247,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ radialGradient(value: RadialGradientOptions): T; @@ -25264,7 +25264,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ radialGradient(options: Optional): T; @@ -25305,7 +25305,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ motionPath(value: MotionPathOptions): T; @@ -25345,7 +25345,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ shadow(value: ShadowOptions | ShadowStyle): T; @@ -25358,7 +25358,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ shadow(options: Optional): T; @@ -25383,7 +25383,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ blendMode(value: BlendMode, type?: BlendApplyType): T; @@ -25397,7 +25397,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ blendMode(mode: Optional, type?: BlendApplyType): T; @@ -25411,7 +25411,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 13 + * @since 13 dynamic */ advancedBlendMode(effect: BlendMode | Blender, type?: BlendApplyType): T; @@ -25424,7 +25424,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ clip(value: boolean): T; @@ -25437,7 +25437,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ clip(clip: Optional): T; @@ -25481,7 +25481,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead CommonMethod#clipShape */ @@ -25496,7 +25496,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ clipShape(value: CircleShape | EllipseShape | PathShape | RectShape): T; @@ -25509,7 +25509,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ clipShape(shape: Optional): T; @@ -25521,7 +25521,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ mask(value: ProgressMask): T; @@ -25533,7 +25533,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ mask(mask: Optional): T; @@ -25573,7 +25573,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead CommonMethod#maskShape */ @@ -25588,7 +25588,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ maskShape(value: CircleShape | EllipseShape | PathShape | RectShape): T; @@ -25601,7 +25601,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ maskShape(shape: Optional): T; @@ -25612,7 +25612,7 @@ declare class CommonMethod { * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @test */ key(value: string): T; @@ -25653,7 +25653,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ id(value: string): T; @@ -25682,7 +25682,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ geometryTransition(id: string): T; /** @@ -25704,7 +25704,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ geometryTransition(id: string, options?: GeometryTransitionOptions): T; @@ -25717,7 +25717,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ bindTips(message: TipsMessageType, options?: TipsOptions): T; @@ -25748,7 +25748,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ bindPopup(show: boolean, popup: PopupOptions | CustomPopupOptions): T; @@ -25782,7 +25782,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ bindMenu(content: Array | CustomBuilder, options?: MenuOptions): T; @@ -25807,7 +25807,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ bindMenu(isShow: boolean, content: Array | CustomBuilder, options?: MenuOptions): T; @@ -25842,7 +25842,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ bindContextMenu(content: CustomBuilder, responseType: ResponseType, options?: ContextMenuOptions): T; @@ -25856,7 +25856,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ bindContextMenu(isShown: boolean, content: CustomBuilder, options?: ContextMenuOptions): T; @@ -25881,7 +25881,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ bindContentCover(isShow: boolean, builder: CustomBuilder, type?: ModalTransition): T; @@ -25906,7 +25906,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ bindContentCover(isShow: boolean, builder: CustomBuilder, options?: ContentCoverOptions): T; @@ -25931,7 +25931,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ bindSheet(isShow: boolean, builder: CustomBuilder, options?: SheetOptions): T; @@ -25971,7 +25971,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ stateStyles(value: StateStyles): T; @@ -25991,7 +25991,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ restoreId(value: number): T; @@ -26034,7 +26034,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ onVisibleAreaChange(ratios: Array, event: VisibleAreaChangeCallback): T; @@ -26048,7 +26048,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 17 + * @since 17 dynamic */ onVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void; @@ -26061,7 +26061,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ sphericalEffect(value: number): T; @@ -26074,7 +26074,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ sphericalEffect(effect: Optional): T; @@ -26087,7 +26087,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lightUpEffect(value: number): T; @@ -26100,7 +26100,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ lightUpEffect(degree: Optional): T; @@ -26112,7 +26112,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pixelStretchEffect(options: PixelStretchEffectOptions): T; @@ -26124,7 +26124,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ pixelStretchEffect(options: Optional): T; @@ -26149,7 +26149,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ keyboardShortcut(value: string | FunctionKey, keys: Array, action?: () => void): T; @@ -26186,7 +26186,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ accessibilityGroup(value: boolean): T; @@ -26211,7 +26211,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityGroup(isGroup: boolean, accessibilityOptions: AccessibilityOptions): T; @@ -26245,7 +26245,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ accessibilityText(value: string): T; @@ -26257,7 +26257,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityNextFocusId(nextId: string): T; @@ -26269,7 +26269,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityDefaultFocus(focus: boolean): T; @@ -26281,7 +26281,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityUseSamePage(pageMode: AccessibilitySamePageMode): T; @@ -26293,7 +26293,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityScrollTriggerable(isTriggerable: boolean): T; @@ -26311,7 +26311,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ accessibilityText(text: Resource): T; @@ -26323,7 +26323,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityRole(role: AccessibilityRoleType): T; @@ -26335,7 +26335,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onAccessibilityFocus(callback: AccessibilityFocusCallback): T; @@ -26348,7 +26348,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ onAccessibilityActionIntercept(callback: AccessibilityActionInterceptCallback): T; @@ -26361,7 +26361,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ accessibilityTextHint(value: string): T; @@ -26393,7 +26393,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ accessibilityDescription(value: string): T; @@ -26415,7 +26415,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ accessibilityDescription(description: Resource): T; @@ -26463,7 +26463,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ accessibilityLevel(value: string): T; @@ -26486,7 +26486,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ accessibilityVirtualNode(builder: CustomBuilder): T; @@ -26499,7 +26499,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 13 + * @since 13 dynamic */ accessibilityChecked(isCheck: boolean): T; @@ -26512,7 +26512,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 13 + * @since 13 dynamic */ accessibilitySelected(isSelect: boolean): T; @@ -26533,7 +26533,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ obscured(reasons: Array): T; @@ -26554,7 +26554,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ reuseId(id: string): T; @@ -26566,7 +26566,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ reuse(options: ReuseOptions): T; @@ -26598,7 +26598,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ renderFit(fitMode: RenderFit): T; @@ -26611,7 +26611,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ renderFit(fitMode: Optional): T; @@ -26632,7 +26632,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ attributeModifier(modifier: AttributeModifier): T; @@ -26644,7 +26644,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ gestureModifier(modifier: GestureModifier): T; @@ -26655,7 +26655,7 @@ declare class CommonMethod { * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundBrightness(params: BackgroundBrightnessOptions): T; @@ -26666,7 +26666,7 @@ declare class CommonMethod { * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundBrightness(options: Optional): T; @@ -26687,7 +26687,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onGestureJudgeBegin(callback: (gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult): T; @@ -26699,7 +26699,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onGestureRecognizerJudgeBegin(callback: GestureRecognizerJudgeBeginCallback): T; @@ -26713,7 +26713,7 @@ declare class CommonMethod { * @crossplatform * @atomicservice * - * @since 13 + * @since 13 dynamic */ onGestureRecognizerJudgeBegin(callback: GestureRecognizerJudgeBeginCallback, exposeInnerGesture: boolean): T; @@ -26725,7 +26725,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ shouldBuiltInRecognizerParallelWith(callback: ShouldBuiltInRecognizerParallelWithCallback): T; @@ -26746,7 +26746,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ monopolizeEvents(monopolize: boolean): T; @@ -26758,7 +26758,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onTouchIntercept(callback: Callback): T; @@ -26772,7 +26772,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ onSizeChange(event: SizeChangeCallback): T; @@ -26785,7 +26785,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 19 + * @since 19 dynamic */ accessibilityFocusDrawLevel(drawLevel: FocusDrawLevel): T; @@ -26800,7 +26800,7 @@ declare class CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onTouchTestDone(callback: TouchTestDoneCallback): T; } @@ -26837,7 +26837,7 @@ declare class CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class CommonAttribute extends CommonMethod {} @@ -26874,7 +26874,7 @@ declare class CommonAttribute extends CommonMethod {} * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface CommonInterface { @@ -26910,7 +26910,7 @@ interface CommonInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (): CommonAttribute; } @@ -26943,7 +26943,7 @@ interface CommonInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const CommonInstance: CommonAttribute; @@ -26976,7 +26976,7 @@ declare const CommonInstance: CommonAttribute; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Common: CommonInterface; @@ -27013,7 +27013,7 @@ declare const Common: CommonInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type CustomBuilder = (() => any) | void; @@ -27025,7 +27025,7 @@ declare type CustomBuilder = (() => any) | void; * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface OverlayOptions { /** @@ -27060,7 +27060,7 @@ declare interface OverlayOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ align?: Alignment; @@ -27096,7 +27096,7 @@ declare interface OverlayOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ offset?: OverlayOffset; } @@ -27109,7 +27109,7 @@ declare interface OverlayOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface OverlayOffset { /** @@ -27144,7 +27144,7 @@ declare interface OverlayOffset { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ x?: number; /** @@ -27179,7 +27179,7 @@ declare interface OverlayOffset { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ y?: number; } @@ -27194,7 +27194,7 @@ declare interface OverlayOffset { * @typedef { [ number, number ] } FractionStop * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type FractionStop = [ number, number ]; @@ -27230,7 +27230,7 @@ declare type FractionStop = [ number, number ]; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class CommonShapeMethod extends CommonMethod { @@ -27247,7 +27247,7 @@ declare class CommonShapeMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 9 + * @since 9 dynamic */ constructor(); @@ -27287,7 +27287,7 @@ declare class CommonShapeMethod extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ stroke(value: ResourceColor): T; @@ -27327,7 +27327,7 @@ declare class CommonShapeMethod extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fill(value: ResourceColor): T; @@ -27367,7 +27367,7 @@ declare class CommonShapeMethod extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeDashOffset(value: number | string): T; @@ -27407,7 +27407,7 @@ declare class CommonShapeMethod extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeLineCap(value: LineCapStyle): T; @@ -27447,7 +27447,7 @@ declare class CommonShapeMethod extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeLineJoin(value: LineJoinStyle): T; @@ -27487,7 +27487,7 @@ declare class CommonShapeMethod extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeMiterLimit(value: number | string): T; @@ -27527,7 +27527,7 @@ declare class CommonShapeMethod extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeOpacity(value: number | string | Resource): T; @@ -27567,7 +27567,7 @@ declare class CommonShapeMethod extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fillOpacity(value: number | string | Resource): T; @@ -27607,7 +27607,7 @@ declare class CommonShapeMethod extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeWidth(value: Length): T; @@ -27647,7 +27647,7 @@ declare class CommonShapeMethod extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ antiAlias(value: boolean): T; @@ -27687,7 +27687,7 @@ declare class CommonShapeMethod extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeDashArray(value: Array): T; } @@ -27714,7 +27714,7 @@ declare class CommonShapeMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface LinearGradient { /** @@ -27739,7 +27739,7 @@ declare interface LinearGradient { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ angle?: number | string; /** @@ -27764,7 +27764,7 @@ declare interface LinearGradient { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ direction?: GradientDirection; /** @@ -27798,7 +27798,7 @@ declare interface LinearGradient { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ colors: Array<[ResourceColor, number]>; /** @@ -27823,7 +27823,7 @@ declare interface LinearGradient { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ repeating?: boolean; } @@ -27836,7 +27836,7 @@ declare interface LinearGradient { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface PixelRoundPolicy { /** @@ -27848,7 +27848,7 @@ declare interface PixelRoundPolicy { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ start?: PixelRoundCalcPolicy; @@ -27861,7 +27861,7 @@ declare interface PixelRoundPolicy { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ top?: PixelRoundCalcPolicy; @@ -27874,7 +27874,7 @@ declare interface PixelRoundPolicy { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ end?: PixelRoundCalcPolicy; @@ -27887,7 +27887,7 @@ declare interface PixelRoundPolicy { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ bottom?: PixelRoundCalcPolicy; } @@ -27898,7 +27898,7 @@ declare interface PixelRoundPolicy { * @interface LinearGradientBlurOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface LinearGradientBlurOptions { /** @@ -27907,7 +27907,7 @@ declare interface LinearGradientBlurOptions { * @type { FractionStop[] } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ fractionStops: FractionStop[]; /** @@ -27916,7 +27916,7 @@ declare interface LinearGradientBlurOptions { * @type { GradientDirection } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ direction: GradientDirection; } @@ -27928,7 +27928,7 @@ declare interface LinearGradientBlurOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface MotionBlurAnchor { /** @@ -27937,7 +27937,7 @@ declare interface MotionBlurAnchor { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ x: number; /** @@ -27946,7 +27946,7 @@ declare interface MotionBlurAnchor { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ y: number; } @@ -27958,7 +27958,7 @@ declare interface MotionBlurAnchor { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface MotionBlurOptions { /** @@ -27967,7 +27967,7 @@ declare interface MotionBlurOptions { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ radius: number; /** @@ -27976,7 +27976,7 @@ declare interface MotionBlurOptions { * @type { MotionBlurAnchor } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ anchor: MotionBlurAnchor; } @@ -27987,7 +27987,7 @@ declare interface MotionBlurOptions { * @interface LayoutBorderInfo * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ declare interface LayoutBorderInfo { @@ -27997,7 +27997,7 @@ declare interface LayoutBorderInfo { * @type { EdgeWidths } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ borderWidth: EdgeWidths; @@ -28008,7 +28008,7 @@ declare interface LayoutBorderInfo { * @type { Margin } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ margin: Margin, @@ -28019,7 +28019,7 @@ declare interface LayoutBorderInfo { * @type { Padding } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ padding: Padding, @@ -28031,7 +28031,7 @@ declare interface LayoutBorderInfo { * @interface LayoutInfo * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ declare interface LayoutInfo { @@ -28041,7 +28041,7 @@ declare interface LayoutInfo { * @type { Position } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ position: Position, @@ -28052,7 +28052,7 @@ declare interface LayoutInfo { * @type { ConstraintSizeOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ constraint: ConstraintSizeOptions, @@ -28064,7 +28064,7 @@ declare interface LayoutInfo { * @interface LayoutChild * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ declare interface LayoutChild { @@ -28074,7 +28074,7 @@ declare interface LayoutChild { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ name: string, @@ -28085,7 +28085,7 @@ declare interface LayoutChild { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ id: string, @@ -28096,7 +28096,7 @@ declare interface LayoutChild { * @type { ConstraintSizeOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ constraint: ConstraintSizeOptions, @@ -28107,7 +28107,7 @@ declare interface LayoutChild { * @type { LayoutBorderInfo } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ borderInfo: LayoutBorderInfo, @@ -28118,7 +28118,7 @@ declare interface LayoutChild { * @type { Position } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ position: Position, @@ -28129,7 +28129,7 @@ declare interface LayoutChild { * @param { ConstraintSizeOptions } childConstraint * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ measure(childConstraint: ConstraintSizeOptions); @@ -28140,7 +28140,7 @@ declare interface LayoutChild { * @param { LayoutInfo } childLayoutInfo * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ layout(childLayoutInfo: LayoutInfo); @@ -28163,7 +28163,7 @@ declare interface LayoutChild { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface GeometryInfo extends SizeResult { /** @@ -28181,7 +28181,7 @@ declare interface GeometryInfo extends SizeResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ borderWidth: EdgeWidth; @@ -28200,7 +28200,7 @@ declare interface GeometryInfo extends SizeResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ margin: Margin, @@ -28219,7 +28219,7 @@ declare interface GeometryInfo extends SizeResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ padding: Padding, } @@ -28239,7 +28239,7 @@ declare interface GeometryInfo extends SizeResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface Layoutable { /** @@ -28257,7 +28257,7 @@ declare interface Layoutable { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ measureResult: MeasureResult, @@ -28268,7 +28268,7 @@ declare interface Layoutable { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ uniqueId?: number; @@ -28287,7 +28287,7 @@ declare interface Layoutable { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ layout(position: Position): void; @@ -28298,7 +28298,7 @@ declare interface Layoutable { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getMargin() : DirectionalEdgesT; @@ -28309,7 +28309,7 @@ declare interface Layoutable { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getPadding() : DirectionalEdgesT; @@ -28320,7 +28320,7 @@ declare interface Layoutable { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getBorderWidth() : DirectionalEdgesT; } @@ -28340,7 +28340,7 @@ declare interface Layoutable { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface Measurable { /** @@ -28350,7 +28350,7 @@ declare interface Measurable { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ uniqueId?: number; @@ -28371,7 +28371,7 @@ declare interface Measurable { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ measure(constraint: ConstraintSizeOptions) : MeasureResult; @@ -28382,7 +28382,7 @@ declare interface Measurable { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getMargin() : DirectionalEdgesT; @@ -28393,7 +28393,7 @@ declare interface Measurable { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getPadding() : DirectionalEdgesT; @@ -28404,7 +28404,7 @@ declare interface Measurable { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getBorderWidth() : DirectionalEdgesT; } @@ -28424,7 +28424,7 @@ declare interface Measurable { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface SizeResult { /** @@ -28442,7 +28442,7 @@ declare interface SizeResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ width: number, @@ -28461,7 +28461,7 @@ declare interface SizeResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ height: number, } @@ -28483,7 +28483,7 @@ declare interface SizeResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface MeasureResult extends SizeResult { @@ -28503,7 +28503,7 @@ declare interface MeasureResult extends SizeResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type NavDestinationInfo = import('../api/@ohos.arkui.observer').default.NavDestinationInfo; @@ -28514,7 +28514,7 @@ declare type NavDestinationInfo = import('../api/@ohos.arkui.observer').default. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type NavigationInfo = import('../api/@ohos.arkui.observer').default.NavigationInfo; @@ -28525,7 +28525,7 @@ declare type NavigationInfo = import('../api/@ohos.arkui.observer').default.Navi * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type RouterPageInfo = import('../api/@ohos.arkui.observer').default.RouterPageInfo; @@ -28543,7 +28543,7 @@ declare type RouterPageInfo = import('../api/@ohos.arkui.observer').default.Rout * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type UIContext = import('../api/@ohos.arkui.UIContext').UIContext; @@ -28554,7 +28554,7 @@ declare type UIContext = import('../api/@ohos.arkui.UIContext').UIContext; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type DrawContext = import('../api/arkui/Graphics').DrawContext; @@ -28565,7 +28565,7 @@ declare type DrawContext = import('../api/arkui/Graphics').DrawContext; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type VisualEffect = import('../api/@ohos.graphics.uiEffect').default.VisualEffect; @@ -28576,7 +28576,7 @@ declare type VisualEffect = import('../api/@ohos.graphics.uiEffect').default.Vis * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type Filter = import('../api/@ohos.graphics.uiEffect').default.Filter; @@ -28588,7 +28588,7 @@ declare type Filter = import('../api/@ohos.graphics.uiEffect').default.Filter; * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 13 + * @since 13 dynamic */ declare type Blender = import('../api/@ohos.graphics.uiEffect').default.Blender; @@ -28599,7 +28599,7 @@ declare type Blender = import('../api/@ohos.graphics.uiEffect').default.Blender; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type ComponentContent = import('../api/arkui/ComponentContent').ComponentContent; @@ -28610,7 +28610,7 @@ declare type ComponentContent = import('../api/arkui/ComponentConten * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type Theme = import('../api/@ohos.arkui.theme').Theme; @@ -28620,7 +28620,7 @@ declare type Theme = import('../api/@ohos.arkui.theme').Theme; * @typedef { import('../api/@ohos.promptAction').promptAction.DialogController } PromptActionDialogController * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type PromptActionDialogController = import('../api/@ohos.promptAction').promptAction.DialogController; @@ -28666,7 +28666,7 @@ declare type PromptActionDialogController = import('../api/@ohos.promptAction'). * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare class CustomComponent extends BaseCustomComponent { @@ -28694,7 +28694,7 @@ declare class CustomComponent extends BaseCustomComponent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ aboutToReuse?(params: Record): void; @@ -28705,7 +28705,7 @@ declare class CustomComponent extends BaseCustomComponent { * @param { ConstraintSizeOptions } constraint * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead CustomComponent#onPlaceChildren */ @@ -28718,7 +28718,7 @@ declare class CustomComponent extends BaseCustomComponent { * @param { ConstraintSizeOptions } constraint * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead CustomComponent#onMeasureSize */ @@ -28733,7 +28733,7 @@ declare class CustomComponent extends BaseCustomComponent { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare class CustomComponentV2 extends BaseCustomComponent { @@ -28744,7 +28744,7 @@ declare class CustomComponentV2 extends BaseCustomComponent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ aboutToReuse?(): void; } @@ -28757,7 +28757,7 @@ declare class CustomComponentV2 extends BaseCustomComponent { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare class BaseCustomComponent extends CommonAttribute { @@ -28798,7 +28798,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ build(): void; @@ -28849,7 +28849,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ aboutToAppear?(): void; @@ -28900,7 +28900,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ aboutToDisappear?(): void; @@ -28925,7 +28925,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ aboutToRecycle?(): void; @@ -28945,7 +28945,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onWillApplyTheme?(theme: Theme): void; @@ -28979,7 +28979,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onPlaceChildren?(selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions): void; @@ -29013,7 +29013,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onMeasureSize?(selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions): SizeResult; @@ -29052,7 +29052,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onPageShow?(): void; @@ -29091,7 +29091,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onPageHide?(): void; @@ -29128,7 +29128,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onFormRecycle?(): string; @@ -29159,7 +29159,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onFormRecover?(statusData: string): void; @@ -29208,7 +29208,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onBackPress?(): void | boolean; @@ -29243,7 +29243,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ pageTransition?(): void; @@ -29271,7 +29271,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getUIContext(): UIContext; @@ -29291,7 +29291,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getUniqueId(): number; @@ -29319,7 +29319,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ queryNavDestinationInfo(): NavDestinationInfo | undefined; @@ -29332,7 +29332,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ queryNavDestinationInfo(isInner: Optional): NavDestinationInfo | undefined; @@ -29352,7 +29352,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ queryNavigationInfo(): NavigationInfo | undefined; @@ -29372,7 +29372,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ queryRouterPageInfo(): RouterPageInfo | undefined; @@ -29394,7 +29394,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onDidBuild?(): void; @@ -29405,7 +29405,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getDialogController(): PromptActionDialogController | undefined; @@ -29416,7 +29416,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onNewParam?(param: ESObject): void; } @@ -29433,7 +29433,7 @@ declare class BaseCustomComponent extends CommonAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 9 + * @since 9 dynamic */ declare class View { /** @@ -29453,7 +29453,7 @@ declare class View { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @form - * @since 9 + * @since 9 dynamic */ create(value: any): any; } @@ -29473,7 +29473,7 @@ declare class View { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RectResult { /** @@ -29490,7 +29490,7 @@ declare interface RectResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ x: number; @@ -29508,7 +29508,7 @@ declare interface RectResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ y: number; @@ -29526,7 +29526,7 @@ declare interface RectResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ width: number; @@ -29544,7 +29544,7 @@ declare interface RectResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ height: number; } @@ -29564,7 +29564,7 @@ declare interface RectResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface CaretOffset { /** @@ -29580,7 +29580,7 @@ declare interface CaretOffset { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ index: number; @@ -29597,7 +29597,7 @@ declare interface CaretOffset { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ x: number; @@ -29614,7 +29614,7 @@ declare interface CaretOffset { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ y: number; } @@ -29626,7 +29626,7 @@ declare interface CaretOffset { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare interface TextContentControllerOptions { /** @@ -29636,7 +29636,7 @@ declare interface TextContentControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ offset?: number; } @@ -29654,7 +29654,7 @@ declare interface TextContentControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare abstract class TextContentControllerBase { /** @@ -29672,7 +29672,7 @@ declare abstract class TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getCaretOffset() : CaretOffset; @@ -29691,7 +29691,7 @@ declare abstract class TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getTextContentRect() : RectResult; @@ -29710,7 +29710,7 @@ declare abstract class TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getTextContentLineCount() : number; @@ -29723,7 +29723,7 @@ declare abstract class TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ addText(text: string, textOperationOptions?: TextContentControllerOptions): number; @@ -29734,7 +29734,7 @@ declare abstract class TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ deleteText(range?: TextRange): void; @@ -29745,7 +29745,7 @@ declare abstract class TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ getSelection(): TextRange; @@ -29754,7 +29754,7 @@ declare abstract class TextContentControllerBase { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ clearPreviewText(): void; @@ -29766,7 +29766,7 @@ declare abstract class TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @atomicservice - * @since 19 + * @since 19 dynamic */ getText(range?: TextRange): string; } @@ -29778,7 +29778,7 @@ declare abstract class TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare enum ContentClipMode { /** @@ -29787,7 +29787,7 @@ declare enum ContentClipMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ CONTENT_ONLY = 0, @@ -29797,7 +29797,7 @@ declare enum ContentClipMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ BOUNDARY = 1, @@ -29807,7 +29807,7 @@ declare enum ContentClipMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ SAFE_AREA = 2 } @@ -29829,7 +29829,7 @@ declare enum ContentClipMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class ScrollableCommonMethod extends CommonMethod { @@ -29841,7 +29841,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollBar(barState: BarState): T; @@ -29853,7 +29853,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollBarColor(color: Color | number | string): T; @@ -29868,7 +29868,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollBarWidth(value: number | string): T; @@ -29880,7 +29880,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ scrollBarMargin(margin: ScrollBarMargin): T; @@ -29893,7 +29893,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ edgeEffect(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): T; @@ -29906,7 +29906,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ fadingEdge(enabled: Optional, options?: FadingEdgeOptions): T; @@ -29918,7 +29918,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ nestedScroll(value: NestedScrollOptions): T; @@ -29930,7 +29930,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enableScrollInteraction(value: boolean): T; @@ -29942,7 +29942,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ friction(value: number | Resource): T; @@ -29955,7 +29955,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ScrollableCommonMethod#onDidScroll */ @@ -29969,7 +29969,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillScroll(handler: Optional): T; @@ -29983,7 +29983,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidScroll(handler: OnScrollCallback): T; @@ -29996,7 +29996,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ onWillStopDragging(handler: OnWillStopDraggingCallback): T; @@ -30008,7 +30008,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onReachStart(event: () => void): T; @@ -30020,7 +30020,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onReachEnd(event: () => void): T; @@ -30032,7 +30032,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onScrollStart(event: () => void): T; @@ -30044,7 +30044,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onScrollStop(event: () => void): T; @@ -30057,7 +30057,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ flingSpeedLimit(speedLimit: number): T; @@ -30069,7 +30069,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ clipContent(clip: ContentClipMode | RectShape): T; @@ -30081,7 +30081,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ digitalCrownSensitivity(sensitivity: Optional): T; @@ -30094,7 +30094,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ backToTop(backToTop: boolean): T; } @@ -30104,7 +30104,7 @@ declare class ScrollableCommonMethod extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class ScrollResult { /** @@ -30113,7 +30113,7 @@ declare class ScrollResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ offsetRemain: number; } @@ -30130,7 +30130,7 @@ declare class ScrollResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type OnWillScrollCallback = (scrollOffset: number, scrollState: ScrollState, scrollSource: ScrollSource) => void | ScrollResult; @@ -30145,7 +30145,7 @@ declare type OnWillScrollCallback = * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type OnScrollCallback = (scrollOffset: number, scrollState: ScrollState) => void; @@ -30158,7 +30158,7 @@ declare type OnScrollCallback = (scrollOffset: number, scrollState: ScrollState) * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare type OnWillStopDraggingCallback = (velocity: number) => void; @@ -30171,7 +30171,7 @@ declare type OnWillStopDraggingCallback = (velocity: number) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type OnMoveHandler = (from: number, to: number) => void; @@ -30182,7 +30182,7 @@ declare type OnMoveHandler = (from: number, to: number) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface ItemDragEventHandler { /** @@ -30192,7 +30192,7 @@ declare interface ItemDragEventHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onLongPress?: Callback; @@ -30203,7 +30203,7 @@ declare interface ItemDragEventHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onDragStart?: Callback; @@ -30214,7 +30214,7 @@ declare interface ItemDragEventHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onMoveThrough?: OnMoveHandler; @@ -30225,7 +30225,7 @@ declare interface ItemDragEventHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onDrop?: Callback; } @@ -30236,7 +30236,7 @@ declare interface ItemDragEventHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class DynamicNode { /** @@ -30247,7 +30247,7 @@ declare class DynamicNode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onMove(handler: Optional): T; @@ -30260,7 +30260,7 @@ declare class DynamicNode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onMove(handler: Optional, eventHandler: ItemDragEventHandler): T; @@ -30279,7 +30279,7 @@ declare class DynamicNode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface EdgeEffectOptions { /** @@ -30297,7 +30297,7 @@ declare interface EdgeEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ alwaysEnabled: boolean; @@ -30308,7 +30308,7 @@ declare interface EdgeEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ effectEdge?: number; } @@ -30320,7 +30320,7 @@ declare interface EdgeEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare enum EffectEdge { @@ -30330,7 +30330,7 @@ declare enum EffectEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ START = 1, @@ -30340,7 +30340,7 @@ declare enum EffectEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ END = 2, } @@ -30351,7 +30351,7 @@ declare enum EffectEdge { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class ChildrenMainSize { /** @@ -30366,7 +30366,7 @@ declare class ChildrenMainSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(childDefaultSize: number); @@ -30382,7 +30382,7 @@ declare class ChildrenMainSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ set childDefaultSize(value: number); @@ -30394,7 +30394,7 @@ declare class ChildrenMainSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ get childDefaultSize(): number; @@ -30411,7 +30411,7 @@ declare class ChildrenMainSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @example splice(1, 0, [100]), Insert a child after first child, the child's main size is 100vp. * splice(1, 1), Delete the second child. * splice(1, 2, [100, 100]), Change the main size of the second and third children to 100vp. @@ -30430,7 +30430,7 @@ declare class ChildrenMainSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ update(index: number, childSize: number): void; } @@ -30441,7 +30441,7 @@ declare class ChildrenMainSize { * @interface BackgroundBrightnessOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface BackgroundBrightnessOptions { @@ -30452,7 +30452,7 @@ declare interface BackgroundBrightnessOptions { * @type { number } -The default value is 0.0, value range: (0.0, +∞). * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ rate: number; @@ -30464,7 +30464,7 @@ declare interface BackgroundBrightnessOptions { * @type { number } -The default value is 0.0, value range: [-1.0, 1.0]. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ lightUpDegree: number; } @@ -30475,7 +30475,7 @@ declare interface BackgroundBrightnessOptions { * @interface PointLightStyle * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ declare interface PointLightStyle { /** @@ -30485,7 +30485,7 @@ declare interface PointLightStyle { * @default undefined * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ lightSource?: LightSource; /** @@ -30495,7 +30495,7 @@ declare interface PointLightStyle { * @default IlluminatedType.NONE * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ illuminated?: IlluminatedType; /** @@ -30505,7 +30505,7 @@ declare interface PointLightStyle { * @default 0 * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ bloom?: number; } @@ -30516,7 +30516,7 @@ declare interface PointLightStyle { * @interface LightSource * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ declare interface LightSource { /** @@ -30525,7 +30525,7 @@ declare interface LightSource { * @type { Dimension } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ positionX: Dimension; /** @@ -30534,7 +30534,7 @@ declare interface LightSource { * @type { Dimension } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ positionY: Dimension; /** @@ -30543,7 +30543,7 @@ declare interface LightSource { * @type { Dimension } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ positionZ: Dimension; /** @@ -30552,7 +30552,7 @@ declare interface LightSource { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ intensity: number; /** @@ -30561,7 +30561,7 @@ declare interface LightSource { * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ color?: ResourceColor; } @@ -30581,7 +30581,7 @@ declare interface LightSource { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare function wrapBuilder(builder: (...args: Args) => void): WrappedBuilder; @@ -30596,7 +30596,7 @@ declare function wrapBuilder(builder: (...args: Args) => * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class WrappedBuilder { /** @@ -30610,7 +30610,7 @@ declare class WrappedBuilder { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ builder: (...args: Args) => void; @@ -30625,7 +30625,7 @@ declare class WrappedBuilder { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(builder: (...args: Args) => void); } @@ -30646,7 +30646,7 @@ declare class WrappedBuilder { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface KeyframeAnimateParam { /** @@ -30666,7 +30666,7 @@ declare interface KeyframeAnimateParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ delay?: number; @@ -30687,7 +30687,7 @@ declare interface KeyframeAnimateParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iterations?: number; @@ -30706,7 +30706,7 @@ declare interface KeyframeAnimateParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onFinish?: () => void; @@ -30718,7 +30718,7 @@ declare interface KeyframeAnimateParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ expectedFrameRateRange?: ExpectedFrameRateRange; } @@ -30738,7 +30738,7 @@ declare interface KeyframeAnimateParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface KeyframeState { /** @@ -30756,7 +30756,7 @@ declare interface KeyframeState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ duration: number; @@ -30777,7 +30777,7 @@ declare interface KeyframeState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ curve?: Curve | string | ICurve; @@ -30796,7 +30796,7 @@ declare interface KeyframeState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ event: () => void; } @@ -30809,7 +30809,7 @@ declare interface KeyframeState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface Callback { /** @@ -30820,7 +30820,7 @@ declare interface Callback { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ (data: T): V; } @@ -30836,7 +30836,7 @@ declare interface Callback { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type HoverCallback = (isHover: boolean, event: HoverEvent) => void; @@ -30851,7 +30851,7 @@ declare type HoverCallback = (isHover: boolean, event: HoverEvent) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type AccessibilityCallback = (isHover: boolean, event: AccessibilityHoverEvent) => void; @@ -30863,7 +30863,7 @@ declare type AccessibilityCallback = (isHover: boolean, event: AccessibilityHove * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare type AccessibilityTransparentCallback = (event: TouchEvent) => void @@ -30874,7 +30874,7 @@ declare type AccessibilityTransparentCallback = (event: TouchEvent) => void * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface VisibleAreaEventOptions { /** @@ -30884,7 +30884,7 @@ declare interface VisibleAreaEventOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ratios: Array; @@ -30896,7 +30896,7 @@ declare interface VisibleAreaEventOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ expectedUpdateInterval?: number; } @@ -30923,7 +30923,7 @@ declare interface VisibleAreaEventOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ declare type VisibleAreaChangeCallback = (isExpanding: boolean, currentRatio: number) => void; @@ -30934,7 +30934,7 @@ declare type VisibleAreaChangeCallback = (isExpanding: boolean, currentRatio: nu * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface UICommonEvent { /** @@ -30944,7 +30944,7 @@ declare interface UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setOnClick(callback: Callback | undefined): void; @@ -30955,7 +30955,7 @@ declare interface UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setOnTouch(callback: Callback | undefined): void; @@ -30966,7 +30966,7 @@ declare interface UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setOnAppear(callback: Callback | undefined): void; @@ -30977,7 +30977,7 @@ declare interface UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setOnDisappear(callback: Callback | undefined): void; @@ -30989,7 +30989,7 @@ declare interface UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setOnKeyEvent(callback: Callback | undefined): void; @@ -31000,7 +31000,7 @@ declare interface UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setOnFocus(callback: Callback | undefined): void; @@ -31011,7 +31011,7 @@ declare interface UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setOnBlur(callback: Callback | undefined): void; @@ -31022,7 +31022,7 @@ declare interface UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setOnHover(callback: HoverCallback | undefined): void; @@ -31033,7 +31033,7 @@ declare interface UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setOnMouse(callback: Callback | undefined): void; @@ -31044,7 +31044,7 @@ declare interface UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setOnSizeChange(callback: SizeChangeCallback | undefined): void; @@ -31057,7 +31057,7 @@ declare interface UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setOnVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void; } @@ -31070,7 +31070,7 @@ declare interface UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare interface UIScrollableCommonEvent extends UICommonEvent { /** @@ -31081,7 +31081,7 @@ declare interface UIScrollableCommonEvent extends UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnReachStart(callback: Callback | undefined): void; @@ -31093,7 +31093,7 @@ declare interface UIScrollableCommonEvent extends UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnReachEnd(callback: Callback | undefined): void; @@ -31104,7 +31104,7 @@ declare interface UIScrollableCommonEvent extends UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnScrollStart(callback: Callback | undefined): void; @@ -31115,7 +31115,7 @@ declare interface UIScrollableCommonEvent extends UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnScrollStop(callback: Callback | undefined): void; @@ -31127,7 +31127,7 @@ declare interface UIScrollableCommonEvent extends UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnScrollFrameBegin(callback: OnScrollFrameBeginCallback | undefined): void; } @@ -31139,7 +31139,7 @@ declare interface UIScrollableCommonEvent extends UICommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface UIGestureEvent { /** @@ -31151,7 +31151,7 @@ declare interface UIGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ addGesture(gesture: GestureHandler, priority?: GesturePriority, mask?: GestureMask): void; @@ -31163,7 +31163,7 @@ declare interface UIGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ addParallelGesture(gesture: GestureHandler, mask?: GestureMask): void; @@ -31174,7 +31174,7 @@ declare interface UIGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ removeGestureByTag(tag: string): void; @@ -31184,7 +31184,7 @@ declare interface UIGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ clearGestures(): void; } @@ -31196,7 +31196,7 @@ declare interface UIGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface GestureModifier { /** @@ -31206,7 +31206,7 @@ declare interface GestureModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ applyGesture(event: UIGestureEvent): void; } @@ -31218,7 +31218,7 @@ declare interface GestureModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface SelectionOptions { /** @@ -31228,7 +31228,7 @@ declare interface SelectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ menuPolicy?: MenuPolicy; } @@ -31240,7 +31240,7 @@ declare interface SelectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface FocusMovement { /** @@ -31250,7 +31250,7 @@ declare interface FocusMovement { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ forward?: string; /** @@ -31260,7 +31260,7 @@ declare interface FocusMovement { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ backward?: string; /** @@ -31270,7 +31270,7 @@ declare interface FocusMovement { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ up?: string; /** @@ -31280,7 +31280,7 @@ declare interface FocusMovement { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ down?: string; /** @@ -31290,7 +31290,7 @@ declare interface FocusMovement { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ left?: string; /** @@ -31300,7 +31300,7 @@ declare interface FocusMovement { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ right?: string; } @@ -31312,7 +31312,7 @@ declare interface FocusMovement { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum KeyboardAvoidMode { /** @@ -31321,7 +31321,7 @@ declare enum KeyboardAvoidMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DEFAULT = 0, @@ -31331,7 +31331,7 @@ declare enum KeyboardAvoidMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NONE = 1 } @@ -31343,7 +31343,7 @@ declare enum KeyboardAvoidMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare enum HoverModeAreaType { @@ -31353,7 +31353,7 @@ declare enum HoverModeAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ TOP_SCREEN = 0, @@ -31363,7 +31363,7 @@ declare enum HoverModeAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ BOTTOM_SCREEN = 1 } @@ -31375,7 +31375,7 @@ declare enum HoverModeAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare interface DateRange { /** @@ -31385,7 +31385,7 @@ declare interface DateRange { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ start?: Date; @@ -31396,7 +31396,7 @@ declare interface DateRange { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ end?: Date; } diff --git a/api/@internal/component/ets/common_ts_ets_api.d.ts b/api/@internal/component/ets/common_ts_ets_api.d.ts index f3e140721f..5a0701399c 100644 --- a/api/@internal/component/ets/common_ts_ets_api.d.ts +++ b/api/@internal/component/ets/common_ts_ets_api.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class AppStorage { /** @@ -52,7 +52,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static ref(propName: string): AbstractProperty | undefined; @@ -68,7 +68,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static setAndRef(propName: string, defaultValue: T): AbstractProperty; @@ -79,7 +79,7 @@ declare class AppStorage { * @param { string } propName * @returns { any } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead AppStorage#link */ @@ -106,7 +106,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static link(propName: string): SubscribedAbstractProperty; @@ -118,7 +118,7 @@ declare class AppStorage { * @param { T } defaultValue * @returns { SubscribedAbstractProperty } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead AppStorage#setAndLink * @see setAndLink @@ -161,7 +161,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static setAndLink(propName: string, defaultValue: T): SubscribedAbstractProperty; @@ -172,7 +172,7 @@ declare class AppStorage { * @param { string } propName * @returns { any } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead AppStorage#prop */ @@ -199,7 +199,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static prop(propName: string): SubscribedAbstractProperty; @@ -211,7 +211,7 @@ declare class AppStorage { * @param { S } defaultValue * @returns { SubscribedAbstractProperty } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead AppStorage#setAndProp * @see setAndProp @@ -260,7 +260,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static setAndProp(propName: string, defaultValue: T): SubscribedAbstractProperty; @@ -273,7 +273,7 @@ declare class AppStorage { * @param { string } propName * @returns { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead AppStorage#has * @see has @@ -303,7 +303,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static has(propName: string): boolean; @@ -313,7 +313,7 @@ declare class AppStorage { * @param { string } propName * @returns { T | undefined } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead AppStorage#get * @see get @@ -339,7 +339,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static get(propName: string): T | undefined; @@ -353,7 +353,7 @@ declare class AppStorage { * @param { T } newValue * @returns { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead AppStorage#set * @see set @@ -399,7 +399,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static set(propName: string, newValue: T): boolean; @@ -412,7 +412,7 @@ declare class AppStorage { * @param { string } propName * @param { T } newValue * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead AppStorage#setOrCreate * @see setOrCreate @@ -455,7 +455,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static setOrCreate(propName: string, newValue: T): void; @@ -477,7 +477,7 @@ declare class AppStorage { * @param { string } propName * @returns { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead AppStorage#delete * @see delete @@ -525,7 +525,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static delete(propName: string): boolean; @@ -536,7 +536,7 @@ declare class AppStorage { * * @returns { IterableIterator } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead AppStorage#keys * @see keys @@ -562,7 +562,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static keys(): IterableIterator; @@ -571,7 +571,7 @@ declare class AppStorage { * * @returns { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead AppStorage.Clear */ @@ -583,7 +583,7 @@ declare class AppStorage { * * @returns { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead AppStorage#clear * @see clear @@ -609,7 +609,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static clear(): boolean; @@ -619,7 +619,7 @@ declare class AppStorage { * @param { string } propName * @returns { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 10 */ static IsMutable(propName: string): boolean; @@ -629,7 +629,7 @@ declare class AppStorage { * * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead AppStorage#size * @see size @@ -651,7 +651,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static size(): number; } @@ -674,7 +674,7 @@ declare class AppStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface AbstractProperty { /** @@ -684,7 +684,7 @@ declare interface AbstractProperty { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ get(): T; @@ -696,7 +696,7 @@ declare interface AbstractProperty { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ set(newValue: T): void; @@ -707,7 +707,7 @@ declare interface AbstractProperty { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ info(): string; } @@ -768,7 +768,7 @@ declare interface AbstractProperty { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare abstract class SubscribedAbstractProperty { /** @@ -777,7 +777,7 @@ declare abstract class SubscribedAbstractProperty { * @type { Set } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ protected subscribers_: Set; @@ -787,7 +787,7 @@ declare abstract class SubscribedAbstractProperty { * @type { any } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ private id_; @@ -797,7 +797,7 @@ declare abstract class SubscribedAbstractProperty { * @type { ?any } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ private info_?; @@ -806,7 +806,7 @@ declare abstract class SubscribedAbstractProperty { * @param { string } info * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ constructor( /** @@ -814,7 +814,7 @@ declare abstract class SubscribedAbstractProperty { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic * */ subscribeMe?: IPropertySubscriber, @@ -823,7 +823,7 @@ declare abstract class SubscribedAbstractProperty { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic * */ info?: string, @@ -835,7 +835,7 @@ declare abstract class SubscribedAbstractProperty { * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ id(): number; @@ -856,7 +856,7 @@ declare abstract class SubscribedAbstractProperty { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ info(): string; @@ -891,7 +891,7 @@ declare abstract class SubscribedAbstractProperty { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ abstract get(): T; @@ -942,7 +942,7 @@ declare abstract class SubscribedAbstractProperty { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ abstract set(newValue: T): void; @@ -954,7 +954,7 @@ declare abstract class SubscribedAbstractProperty { * @returns { SyncedPropertyTwoWay } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ createTwoWaySync(subscribeMe?: IPropertySubscriber, info?: string): SyncedPropertyTwoWay; @@ -966,7 +966,7 @@ declare abstract class SubscribedAbstractProperty { * @returns { SyncedPropertyOneWay } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ createOneWaySync(subscribeMe?: IPropertySubscriber, info?: string): SyncedPropertyOneWay; @@ -976,7 +976,7 @@ declare abstract class SubscribedAbstractProperty { * @param { number } subscriberId * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ unlinkSuscriber(subscriberId: number): void; @@ -986,7 +986,7 @@ declare abstract class SubscribedAbstractProperty { * @param { T } newValue * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ protected notifyHasChanged(newValue: T): void; @@ -995,7 +995,7 @@ declare abstract class SubscribedAbstractProperty { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ protected notifyPropertyRead(): void; @@ -1005,7 +1005,7 @@ declare abstract class SubscribedAbstractProperty { * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ numberOfSubscrbers(): number; @@ -1028,7 +1028,7 @@ declare abstract class SubscribedAbstractProperty { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ abstract aboutToBeDeleted(): void; } @@ -1039,7 +1039,7 @@ declare abstract class SubscribedAbstractProperty { * @interface IPropertySubscriber * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ interface IPropertySubscriber { /** @@ -1048,7 +1048,7 @@ interface IPropertySubscriber { * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ id(): number; @@ -1058,7 +1058,7 @@ interface IPropertySubscriber { * @param { IPropertySubscriber } owningView * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ aboutToBeDeleted(owningView?: IPropertySubscriber): void; } @@ -1070,7 +1070,7 @@ interface IPropertySubscriber { * @implements ISinglePropertyChangeSubscriber * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ declare class SyncedPropertyTwoWay extends SubscribedAbstractProperty @@ -1082,7 +1082,7 @@ declare class SyncedPropertyTwoWay * @type { any } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ private source_; @@ -1094,7 +1094,7 @@ declare class SyncedPropertyTwoWay * @param { string } info * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ constructor(source: SubscribedAbstractProperty, subscribeMe?: IPropertySubscriber, info?: string); @@ -1104,7 +1104,7 @@ declare class SyncedPropertyTwoWay * @param { IPropertySubscriber } unsubscribeMe * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ aboutToBeDeleted(unsubscribeMe?: IPropertySubscriber): void; @@ -1114,7 +1114,7 @@ declare class SyncedPropertyTwoWay * @param { T } newValue * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ hasChanged(newValue: T): void; @@ -1124,7 +1124,7 @@ declare class SyncedPropertyTwoWay * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ get(): T; @@ -1134,7 +1134,7 @@ declare class SyncedPropertyTwoWay * @param { T } newValue * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ set(newValue: T): void; } @@ -1146,7 +1146,7 @@ declare class SyncedPropertyTwoWay * @implements ISinglePropertyChangeSubscriber * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ declare class SyncedPropertyOneWay extends SubscribedAbstractProperty @@ -1158,7 +1158,7 @@ declare class SyncedPropertyOneWay * @type { any } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ private wrappedValue_; @@ -1168,7 +1168,7 @@ declare class SyncedPropertyOneWay * @type { any } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ private source_; @@ -1180,7 +1180,7 @@ declare class SyncedPropertyOneWay * @param { string } info * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ constructor(source: SubscribedAbstractProperty, subscribeMe?: IPropertySubscriber, info?: string); @@ -1190,7 +1190,7 @@ declare class SyncedPropertyOneWay * @param { IPropertySubscriber } unsubscribeMe * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ aboutToBeDeleted(unsubscribeMe?: IPropertySubscriber): void; @@ -1200,7 +1200,7 @@ declare class SyncedPropertyOneWay * @param { T } newValue * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ hasChanged(newValue: T): void; @@ -1210,7 +1210,7 @@ declare class SyncedPropertyOneWay * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ get(): T; @@ -1220,7 +1220,7 @@ declare class SyncedPropertyOneWay * @param { T } newValue * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ set(newValue: T): void; } @@ -1232,7 +1232,7 @@ declare class SyncedPropertyOneWay * @interface ISinglePropertyChangeSubscriber * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ interface ISinglePropertyChangeSubscriber extends IPropertySubscriber { /** @@ -1241,7 +1241,7 @@ interface ISinglePropertyChangeSubscriber extends IPropertySubscriber { * @param { T } newValue * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ hasChanged(newValue: T): void; } @@ -1251,7 +1251,7 @@ interface ISinglePropertyChangeSubscriber extends IPropertySubscriber { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ declare abstract class SubscribaleAbstract { /** @@ -1260,7 +1260,7 @@ declare abstract class SubscribaleAbstract { * @type { Set } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ private owningProperties_: Set; @@ -1269,7 +1269,7 @@ declare abstract class SubscribaleAbstract { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ constructor(); @@ -1280,7 +1280,7 @@ declare abstract class SubscribaleAbstract { * @param { any } newValue * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ protected notifyPropertyHasChanged(propName: string, newValue: any): void; @@ -1290,7 +1290,7 @@ declare abstract class SubscribaleAbstract { * @param { IPropertySubscriber } subscriber * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ public addOwningProperty(subscriber: IPropertySubscriber): void; @@ -1300,7 +1300,7 @@ declare abstract class SubscribaleAbstract { * @param { IPropertySubscriber } property * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ public removeOwningProperty(property: IPropertySubscriber): void; @@ -1310,7 +1310,7 @@ declare abstract class SubscribaleAbstract { * @param { number } subscriberId * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ public removeOwningPropertyById(subscriberId: number): void; } @@ -1330,7 +1330,7 @@ declare abstract class SubscribaleAbstract { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface EnvPropsOptions { /** @@ -1348,7 +1348,7 @@ declare interface EnvPropsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ key: string; @@ -1367,7 +1367,7 @@ declare interface EnvPropsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ defaultValue: number | string | boolean; } @@ -1391,7 +1391,7 @@ declare interface EnvPropsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class Environment { /** @@ -1399,7 +1399,7 @@ declare class Environment { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ constructor(); @@ -1410,7 +1410,7 @@ declare class Environment { * @param { S } value * @returns { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead Environment#envProp */ @@ -1441,7 +1441,7 @@ declare class Environment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static envProp(key: string, value: S): boolean; @@ -1450,7 +1450,7 @@ declare class Environment { * * @param { {key: string;defaultValue: any;}[] } props * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead Environment#envProps */ @@ -1476,7 +1476,7 @@ declare class Environment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static envProps(props: EnvPropsOptions[]): void; @@ -1485,7 +1485,7 @@ declare class Environment { * * @returns { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead Environment#keys */ @@ -1506,7 +1506,7 @@ declare class Environment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static keys(): Array; } @@ -1526,7 +1526,7 @@ declare class Environment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface PersistPropsOptions { /** @@ -1544,7 +1544,7 @@ declare interface PersistPropsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ key: string; @@ -1563,7 +1563,7 @@ declare interface PersistPropsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ defaultValue: number | string | boolean | Object; } @@ -1587,7 +1587,7 @@ declare interface PersistPropsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class PersistentStorage { /** @@ -1597,7 +1597,7 @@ declare class PersistentStorage { * @param { Storage } storage * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ constructor(appStorage: AppStorage, storage: Storage); @@ -1607,7 +1607,7 @@ declare class PersistentStorage { * @param { string } key * @param { T } defaultValue * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead PersistentStorage#persistProp */ @@ -1636,7 +1636,7 @@ declare class PersistentStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static persistProp(key: string, defaultValue: T): void; @@ -1645,7 +1645,7 @@ declare class PersistentStorage { * * @param { string } key * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead PersistentStorage#deleteProp */ @@ -1666,7 +1666,7 @@ declare class PersistentStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static deleteProp(key: string): void; @@ -1675,7 +1675,7 @@ declare class PersistentStorage { * * @param { {key: string;defaultValue: any;}[] } properties * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead PersistentStorage#PersistProps */ @@ -1705,7 +1705,7 @@ declare class PersistentStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static persistProps(props: PersistPropsOptions[]): void; @@ -1715,7 +1715,7 @@ declare class PersistentStorage { * * @returns { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead PersistentStorage#keys */ @@ -1737,7 +1737,7 @@ declare class PersistentStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static keys(): Array; } @@ -1747,7 +1747,7 @@ declare class PersistentStorage { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ declare const appStorage: AppStorage; @@ -1788,7 +1788,7 @@ declare const appStorage: AppStorage; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class LocalStorage { /** @@ -1822,7 +1822,7 @@ declare class LocalStorage { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(initializingProperties?: Object); @@ -1833,7 +1833,7 @@ declare class LocalStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @StageModelOnly * @form - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead LocalStorage#getShared */ @@ -1858,7 +1858,7 @@ declare class LocalStorage { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#getSharedLocalStorage */ @@ -1873,7 +1873,7 @@ declare class LocalStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ public ref(propName: string): AbstractProperty | undefined; @@ -1889,7 +1889,7 @@ declare class LocalStorage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ public setAndRef(propName: string, defaultValue: T): AbstractProperty; @@ -1927,7 +1927,7 @@ declare class LocalStorage { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ has(propName: string): boolean; @@ -1959,7 +1959,7 @@ declare class LocalStorage { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ keys(): IterableIterator; @@ -1991,7 +1991,7 @@ declare class LocalStorage { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ size(): number; @@ -2026,7 +2026,7 @@ declare class LocalStorage { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ get(propName: string): T | undefined; @@ -2081,7 +2081,7 @@ declare class LocalStorage { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ set(propName: string, newValue: T): boolean; @@ -2139,7 +2139,7 @@ declare class LocalStorage { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ setOrCreate(propName: string, newValue: T): boolean; @@ -2177,7 +2177,7 @@ declare class LocalStorage { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ link(propName: string): SubscribedAbstractProperty; @@ -2232,7 +2232,7 @@ declare class LocalStorage { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ setAndLink(propName: string, defaultValue: T): SubscribedAbstractProperty; @@ -2270,7 +2270,7 @@ declare class LocalStorage { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ prop(propName: string): SubscribedAbstractProperty; @@ -2325,7 +2325,7 @@ declare class LocalStorage { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ setAndProp(propName: string, defaultValue: S): SubscribedAbstractProperty; @@ -2390,7 +2390,7 @@ declare class LocalStorage { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ delete(propName: string): boolean; @@ -2428,7 +2428,7 @@ declare class LocalStorage { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ clear(): boolean; } diff --git a/api/@internal/component/ets/component3d.d.ts b/api/@internal/component/ets/component3d.d.ts index 400a9e3603..3a055ce1cd 100644 --- a/api/@internal/component/ets/component3d.d.ts +++ b/api/@internal/component/ets/component3d.d.ts @@ -18,7 +18,7 @@ * @kit ArkUI */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { Scene } from './../../../api/@ohos.graphics.scene'; import { ResourceStr, Dimension } from './units'; import { CommonMethod } from './common'; @@ -30,7 +30,7 @@ import { CommonMethod } from './common'; * @typedef { import('../api/@ohos.graphics.scene').Scene } * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type Scene = import('../api/@ohos.graphics.scene').Scene; @@ -39,8 +39,8 @@ declare type Scene = import('../api/@ohos.graphics.scene').Scene; * @enum { number } * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare enum ModelType { /** @@ -48,8 +48,8 @@ declare enum ModelType { * * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TEXTURE = 0, @@ -58,8 +58,8 @@ declare enum ModelType { * * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SURFACE = 1, } @@ -70,8 +70,8 @@ declare enum ModelType { * @interface SceneOptions * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface SceneOptions { /** @@ -80,8 +80,8 @@ declare interface SceneOptions { * @type { ?(ResourceStr | Scene) } * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ scene?: ResourceStr | Scene; @@ -92,8 +92,8 @@ declare interface SceneOptions { * @default ModelType.SURFACE * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ modelType?: ModelType; } @@ -104,8 +104,8 @@ declare interface SceneOptions { * @interface Component3DInterface * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static * @noninterop */ interface Component3DInterface { @@ -116,8 +116,8 @@ interface Component3DInterface { * @returns { Component3DAttribute } * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ (sceneOptions?: SceneOptions): Component3DAttribute; } @@ -126,8 +126,8 @@ interface Component3DInterface { * @extends CommonMethod * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static * @noninterop */ declare class Component3DAttribute extends CommonMethod { @@ -138,8 +138,8 @@ declare class Component3DAttribute extends CommonMethod { * @returns { Component3DAttribute } The attribute of the component3D * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ environment(uri: ResourceStr): Component3DAttribute; @@ -151,8 +151,8 @@ declare class Component3DAttribute extends CommonMethod { * @returns { Component3DAttribute } The attribute of the component3D * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ customRender(uri: ResourceStr, selfRenderUpdate: boolean): Component3DAttribute; @@ -163,8 +163,8 @@ declare class Component3DAttribute extends CommonMethod { * @returns { Component3DAttribute } The attribute of the component3D * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ shader(uri: ResourceStr): Component3DAttribute; @@ -175,8 +175,8 @@ declare class Component3DAttribute extends CommonMethod { * @returns { Component3DAttribute } The attribute of the component3D * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ shaderImageTexture(uri: ResourceStr): Component3DAttribute; @@ -187,8 +187,8 @@ declare class Component3DAttribute extends CommonMethod { * @returns { Component3DAttribute } The attribute of the component3D * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ shaderInputBuffer(buffer: Array): Component3DAttribute; @@ -199,8 +199,8 @@ declare class Component3DAttribute extends CommonMethod { * @returns { Component3DAttribute } The attribute of the component3D * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ renderWidth(value: Dimension): Component3DAttribute; @@ -211,8 +211,8 @@ declare class Component3DAttribute extends CommonMethod { * @returns { Component3DAttribute } The attribute of the component3D * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ renderHeight(value: Dimension): Component3DAttribute; } @@ -222,7 +222,7 @@ declare class Component3DAttribute extends CommonMethod { * * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const Component3D: Component3DInterface; @@ -232,7 +232,7 @@ declare const Component3D: Component3DInterface; * * @syscap SystemCapability.ArkUi.Graphics3D * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const Component3DInstance: Component3DAttribute; diff --git a/api/@internal/component/ets/container_span.d.ts b/api/@internal/component/ets/container_span.d.ts index ee95e55152..5a206792b8 100644 --- a/api/@internal/component/ets/container_span.d.ts +++ b/api/@internal/component/ets/container_span.d.ts @@ -33,7 +33,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ interface ContainerSpanInterface { @@ -52,7 +52,7 @@ interface ContainerSpanInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ (): ContainerSpanAttribute; } @@ -70,7 +70,7 @@ interface ContainerSpanInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class ContainerSpanAttribute { @@ -91,7 +91,7 @@ declare class ContainerSpanAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textBackgroundStyle(style: TextBackgroundStyle): ContainerSpanAttribute; @@ -103,7 +103,7 @@ declare class ContainerSpanAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ attributeModifier(modifier: AttributeModifier): ContainerSpanAttribute; } @@ -121,7 +121,7 @@ declare class ContainerSpanAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const ContainerSpan: ContainerSpanInterface; @@ -139,7 +139,7 @@ declare const ContainerSpan: ContainerSpanInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const ContainerSpanInstance: ContainerSpanAttribute; diff --git a/api/@internal/component/ets/content_slot.d.ts b/api/@internal/component/ets/content_slot.d.ts index 1f14cbda69..6f233405f1 100644 --- a/api/@internal/component/ets/content_slot.d.ts +++ b/api/@internal/component/ets/content_slot.d.ts @@ -25,7 +25,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type Content = import('../api/@ohos.arkui.node').Content; @@ -35,7 +35,7 @@ declare type Content = import('../api/@ohos.arkui.node').Content; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class ContentSlotAttribute { @@ -48,7 +48,7 @@ declare class ContentSlotAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ interface ContentSlotInterface { @@ -60,7 +60,7 @@ interface ContentSlotInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ (content: Content): ContentSlotAttribute; } @@ -71,7 +71,7 @@ interface ContentSlotInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const ContentSlot: ContentSlotInterface; diff --git a/api/@internal/component/ets/context_menu.d.ts b/api/@internal/component/ets/context_menu.d.ts index d170cc40d5..5388ea9921 100644 --- a/api/@internal/component/ets/context_menu.d.ts +++ b/api/@internal/component/ets/context_menu.d.ts @@ -35,7 +35,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class ContextMenu { /** @@ -57,7 +57,7 @@ declare class ContextMenu { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.ContextMenuController#close */ diff --git a/api/@internal/component/ets/counter.d.ts b/api/@internal/component/ets/counter.d.ts index f9e018fb76..613fcd9e64 100644 --- a/api/@internal/component/ets/counter.d.ts +++ b/api/@internal/component/ets/counter.d.ts @@ -50,7 +50,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface CounterInterface { @@ -86,7 +86,7 @@ interface CounterInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (): CounterAttribute; } @@ -123,7 +123,7 @@ interface CounterInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class CounterAttribute extends CommonMethod { @@ -175,7 +175,7 @@ declare class CounterAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onInc(event: VoidCallback): CounterAttribute; @@ -227,7 +227,7 @@ declare class CounterAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onDec(event: VoidCallback): CounterAttribute; @@ -248,7 +248,7 @@ declare class CounterAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enableDec(value: boolean): CounterAttribute; @@ -269,7 +269,7 @@ declare class CounterAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enableInc(value: boolean): CounterAttribute; } @@ -302,7 +302,7 @@ declare class CounterAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const CounterInstance: CounterAttribute; @@ -335,7 +335,7 @@ declare const CounterInstance: CounterAttribute; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Counter: CounterInterface; diff --git a/api/@internal/component/ets/custom_dialog_controller.d.ts b/api/@internal/component/ets/custom_dialog_controller.d.ts index f5a8eb2137..ee3c840fdc 100644 --- a/api/@internal/component/ets/custom_dialog_controller.d.ts +++ b/api/@internal/component/ets/custom_dialog_controller.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface CustomDialogControllerOptions { /** @@ -65,7 +65,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ builder: any; @@ -91,7 +91,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ cancel?: () => void; @@ -117,7 +117,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ autoCancel?: boolean; @@ -143,7 +143,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ alignment?: DialogAlignment; @@ -169,7 +169,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offset?: Offset; @@ -195,7 +195,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ customStyle?: boolean; @@ -221,7 +221,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ gridCount?: number; @@ -240,7 +240,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maskColor?: ResourceColor; @@ -259,7 +259,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maskRect?: Rectangle; @@ -278,7 +278,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ openAnimation?: AnimateParam; @@ -297,7 +297,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ closeAnimation?: AnimateParam; @@ -317,7 +317,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showInSubWindow?: boolean; @@ -336,7 +336,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ backgroundColor?: ResourceColor; @@ -355,7 +355,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ cornerRadius?: Dimension | BorderRadiuses; @@ -374,7 +374,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isModal?: boolean; @@ -385,7 +385,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillDismiss?: Callback; @@ -396,7 +396,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ width?: Dimension; @@ -407,7 +407,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ height?: Dimension; @@ -418,7 +418,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderWidth?: Dimension | EdgeWidths; @@ -429,7 +429,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderColor?: ResourceColor | EdgeColors; @@ -440,7 +440,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderStyle?: BorderStyle | EdgeStyles; @@ -451,7 +451,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ shadow?: ShadowOptions | ShadowStyle; @@ -463,7 +463,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -474,7 +474,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -485,7 +485,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundEffect?: BackgroundEffectOptions; @@ -497,7 +497,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ keyboardAvoidMode?: KeyboardAvoidMode; @@ -509,7 +509,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ enableHoverMode?: boolean; @@ -521,7 +521,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ hoverModeArea?: HoverModeAreaType; @@ -532,7 +532,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onDidAppear?: Callback; @@ -543,7 +543,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onDidDisappear?: Callback; @@ -554,7 +554,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onWillAppear?: Callback; @@ -565,7 +565,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onWillDisappear?: Callback; @@ -576,7 +576,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ keyboardAvoidDistance?: LengthMetrics; @@ -588,7 +588,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ levelMode?: LevelMode; @@ -599,7 +599,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ levelUniqueId?: number; @@ -611,7 +611,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ immersiveMode?: ImmersiveMode; @@ -623,7 +623,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ levelOrder?: LevelOrder; @@ -635,7 +635,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ focusable?: boolean; } @@ -647,7 +647,7 @@ declare interface CustomDialogControllerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare interface DismissDialogAction { @@ -658,7 +658,7 @@ declare interface DismissDialogAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dismiss: Callback; @@ -669,7 +669,7 @@ declare interface DismissDialogAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ reason: DismissReason; } @@ -680,7 +680,7 @@ declare interface DismissDialogAction { * @typedef { import('../api/@ohos.promptAction').promptAction.CommonState } PromptActionCommonState * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ declare type PromptActionCommonState = import('../api/@ohos.promptAction').promptAction.CommonState; @@ -703,7 +703,7 @@ declare type PromptActionCommonState = import('../api/@ohos.promptAction').promp * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class CustomDialogController { /** @@ -728,7 +728,7 @@ declare class CustomDialogController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(value: CustomDialogControllerOptions); @@ -751,7 +751,7 @@ declare class CustomDialogController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ open(); @@ -774,7 +774,7 @@ declare class CustomDialogController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ close(); @@ -785,7 +785,7 @@ declare class CustomDialogController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ getState(): PromptActionCommonState; } diff --git a/api/@internal/component/ets/data_panel.d.ts b/api/@internal/component/ets/data_panel.d.ts index 84d07c62fb..809e27d453 100644 --- a/api/@internal/component/ets/data_panel.d.ts +++ b/api/@internal/component/ets/data_panel.d.ts @@ -50,7 +50,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum DataPanelType { /** @@ -81,7 +81,7 @@ declare enum DataPanelType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Line, @@ -113,7 +113,7 @@ declare enum DataPanelType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Circle, } @@ -130,7 +130,7 @@ declare enum DataPanelType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ColorStop { /** @@ -146,7 +146,7 @@ declare interface ColorStop { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ color: ResourceColor; @@ -163,7 +163,7 @@ declare interface ColorStop { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offset: Length; } @@ -181,7 +181,7 @@ declare interface ColorStop { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class LinearGradient { /** @@ -199,7 +199,7 @@ declare class LinearGradient { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(colorStops: ColorStop[]); } @@ -221,7 +221,7 @@ declare class LinearGradient { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface DataPanelShadowOptions extends MultiShadowOptions { /** @@ -241,7 +241,7 @@ declare interface DataPanelShadowOptions extends MultiShadowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ colors?: Array; } @@ -278,7 +278,7 @@ declare interface DataPanelShadowOptions extends MultiShadowOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface DataPanelOptions { /** @@ -313,7 +313,7 @@ declare interface DataPanelOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ values: number[]; @@ -349,7 +349,7 @@ declare interface DataPanelOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ max?: number; @@ -385,7 +385,7 @@ declare interface DataPanelOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ type?: DataPanelType; } @@ -422,7 +422,7 @@ declare interface DataPanelOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface DataPanelInterface { @@ -462,7 +462,7 @@ interface DataPanelInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (options: DataPanelOptions): DataPanelAttribute; } @@ -475,7 +475,7 @@ interface DataPanelInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface DataPanelConfiguration extends CommonConfiguration { /** @@ -485,7 +485,7 @@ declare interface DataPanelConfiguration extends CommonConfiguration { @@ -573,7 +573,7 @@ declare class DataPanelAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ closeEffect(value: boolean): DataPanelAttribute; @@ -594,7 +594,7 @@ declare class DataPanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ valueColors(value: Array): DataPanelAttribute; @@ -615,7 +615,7 @@ declare class DataPanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ trackBackgroundColor(value: ResourceColor): DataPanelAttribute; @@ -636,7 +636,7 @@ declare class DataPanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeWidth(value: Length): DataPanelAttribute; @@ -657,7 +657,7 @@ declare class DataPanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ trackShadow(value: DataPanelShadowOptions): DataPanelAttribute; @@ -669,7 +669,7 @@ declare class DataPanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentModifier(modifier: ContentModifier): DataPanelAttribute; } @@ -702,7 +702,7 @@ declare class DataPanelAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const DataPanel: DataPanelInterface @@ -735,7 +735,7 @@ declare const DataPanel: DataPanelInterface * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const DataPanelInstance: DataPanelAttribute; diff --git a/api/@internal/component/ets/date_picker.d.ts b/api/@internal/component/ets/date_picker.d.ts index 2c83ca68d1..2256b9936d 100644 --- a/api/@internal/component/ets/date_picker.d.ts +++ b/api/@internal/component/ets/date_picker.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface DatePickerResult { /** @@ -70,7 +70,7 @@ declare interface DatePickerResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ year?: number; @@ -101,7 +101,7 @@ declare interface DatePickerResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ month?: number; @@ -131,7 +131,7 @@ declare interface DatePickerResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ day?: number; } @@ -143,7 +143,7 @@ declare interface DatePickerResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare enum DatePickerMode { /** @@ -152,7 +152,7 @@ declare enum DatePickerMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ DATE = 0, @@ -162,7 +162,7 @@ declare enum DatePickerMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ YEAR_AND_MONTH = 1, @@ -175,7 +175,7 @@ declare enum DatePickerMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ MONTH_AND_DAY = 2, } @@ -202,7 +202,7 @@ declare enum DatePickerMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface DatePickerOptions { /** @@ -228,7 +228,7 @@ declare interface DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ start?: Date; @@ -255,7 +255,7 @@ declare interface DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ end?: Date; @@ -282,7 +282,7 @@ declare interface DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selected?: Date; @@ -300,7 +300,7 @@ declare interface DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ mode?: DatePickerMode; } @@ -327,7 +327,7 @@ declare interface DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface DatePickerInterface { @@ -356,7 +356,7 @@ interface DatePickerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (options?: DatePickerOptions): DatePickerAttribute; } @@ -383,7 +383,7 @@ interface DatePickerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class DatePickerAttribute extends CommonMethod { @@ -414,7 +414,7 @@ declare class DatePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ lunar(value: boolean): DatePickerAttribute; @@ -429,7 +429,7 @@ declare class DatePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ lunar(isLunar: Optional): DatePickerAttribute; @@ -450,7 +450,7 @@ declare class DatePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ disappearTextStyle(value: PickerTextStyle): DatePickerAttribute; @@ -463,7 +463,7 @@ declare class DatePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ disappearTextStyle(style: Optional): DatePickerAttribute; @@ -485,7 +485,7 @@ declare class DatePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textStyle(value: PickerTextStyle): DatePickerAttribute; @@ -499,7 +499,7 @@ declare class DatePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ textStyle(style: Optional): DatePickerAttribute; @@ -520,7 +520,7 @@ declare class DatePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedTextStyle(value: PickerTextStyle): DatePickerAttribute; @@ -533,7 +533,7 @@ declare class DatePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedTextStyle(style: Optional): DatePickerAttribute; @@ -543,7 +543,7 @@ declare class DatePickerAttribute extends CommonMethod { * @param { function } callback * @returns { DatePickerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamiconly * @deprecated since 10 * @useinstead datePicker/DatePickerAttribute#onDateChange */ @@ -577,7 +577,7 @@ declare class DatePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onDateChange(callback: Callback): DatePickerAttribute; @@ -589,7 +589,7 @@ declare class DatePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onDateChange(callback: Optional>): DatePickerAttribute; @@ -601,7 +601,7 @@ declare class DatePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ digitalCrownSensitivity(sensitivity: Optional): DatePickerAttribute; @@ -614,7 +614,7 @@ declare class DatePickerAttribute extends CommonMethod { * @returns { DatePickerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ enableHapticFeedback(enable: Optional): DatePickerAttribute; @@ -626,7 +626,7 @@ declare class DatePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ canLoop(isLoop: Optional): DatePickerAttribute; } @@ -638,7 +638,7 @@ declare class DatePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare interface LunarSwitchStyle { /** @@ -649,7 +649,7 @@ declare interface LunarSwitchStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ selectedColor?: ResourceColor; @@ -661,7 +661,7 @@ declare interface LunarSwitchStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ unselectedColor?: ResourceColor; @@ -673,7 +673,7 @@ declare interface LunarSwitchStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ strokeColor?: ResourceColor; } @@ -703,7 +703,7 @@ declare interface LunarSwitchStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface DatePickerDialogOptions extends DatePickerOptions { /** @@ -730,7 +730,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ lunar?: boolean; @@ -751,7 +751,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ lunarSwitch?: boolean; @@ -764,7 +764,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ lunarSwitchStyle?: LunarSwitchStyle; @@ -790,7 +790,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showTime?: boolean; @@ -815,7 +815,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ useMilitaryTime?: boolean; @@ -835,7 +835,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ disappearTextStyle?: PickerTextStyle; @@ -855,7 +855,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textStyle?: PickerTextStyle; @@ -872,7 +872,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ acceptButtonStyle?: PickerDialogButtonStyle; @@ -889,7 +889,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ cancelButtonStyle?: PickerDialogButtonStyle; @@ -909,7 +909,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedTextStyle?: PickerTextStyle; @@ -930,7 +930,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maskRect?: Rectangle; @@ -950,7 +950,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ alignment?: DialogAlignment; @@ -970,7 +970,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offset?: Offset; @@ -979,7 +979,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamiconly * @deprecated since 10 * @useinstead datePicker/DatePickerDialogOptions#onDateAccept */ @@ -1017,7 +1017,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onCancel?: VoidCallback; @@ -1026,7 +1026,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamiconly * @deprecated since 10 * @useinstead datePicker/DatePickerDialogOptions#onDateChange */ @@ -1062,7 +1062,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onDateAccept?: Callback; @@ -1097,7 +1097,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onDateChange?: Callback; @@ -1118,7 +1118,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: ResourceColor; @@ -1139,7 +1139,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -1150,7 +1150,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -1161,7 +1161,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundEffect?: BackgroundEffectOptions; @@ -1192,7 +1192,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onDidAppear?: VoidCallback; @@ -1217,7 +1217,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onDidDisappear?: VoidCallback; @@ -1244,7 +1244,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onWillAppear?: VoidCallback; @@ -1271,7 +1271,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onWillDisappear?: VoidCallback; @@ -1284,7 +1284,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ shadow?: ShadowOptions | ShadowStyle; @@ -1302,7 +1302,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dateTimeOptions?: DateTimeOptions; @@ -1314,7 +1314,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ enableHoverMode?: boolean; @@ -1326,7 +1326,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ hoverModeArea?: HoverModeAreaType; @@ -1338,7 +1338,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @default true * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ enableHapticFeedback?: boolean; @@ -1350,7 +1350,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ canLoop?: boolean; } @@ -1374,7 +1374,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class DatePickerDialog { /** @@ -1399,7 +1399,7 @@ declare class DatePickerDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#showDatePickerDialog */ @@ -1425,7 +1425,7 @@ declare class DatePickerDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const DatePicker: DatePickerInterface; @@ -1449,7 +1449,7 @@ declare const DatePicker: DatePickerInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const DatePickerInstance: DatePickerAttribute; diff --git a/api/@internal/component/ets/divider.d.ts b/api/@internal/component/ets/divider.d.ts index a9f83273e5..c6bde82e8e 100644 --- a/api/@internal/component/ets/divider.d.ts +++ b/api/@internal/component/ets/divider.d.ts @@ -50,7 +50,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface DividerInterface { @@ -86,7 +86,7 @@ interface DividerInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (): DividerAttribute; } @@ -123,7 +123,7 @@ interface DividerInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class DividerAttribute extends CommonMethod { @@ -167,7 +167,7 @@ declare class DividerAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ vertical(value: boolean): DividerAttribute; @@ -207,7 +207,7 @@ declare class DividerAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ color(value: ResourceColor): DividerAttribute; @@ -247,7 +247,7 @@ declare class DividerAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeWidth(value: number | string): DividerAttribute; @@ -287,7 +287,7 @@ declare class DividerAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ lineCap(value: LineCapStyle): DividerAttribute; } @@ -320,7 +320,7 @@ declare class DividerAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Divider: DividerInterface; @@ -353,7 +353,7 @@ declare const Divider: DividerInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const DividerInstance: DividerAttribute; diff --git a/api/@internal/component/ets/effect_component.d.ts b/api/@internal/component/ets/effect_component.d.ts index da94bc059d..c0565c0415 100644 --- a/api/@internal/component/ets/effect_component.d.ts +++ b/api/@internal/component/ets/effect_component.d.ts @@ -25,7 +25,7 @@ * @interface EffectComponentInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic * @noninterop */ interface EffectComponentInterface { @@ -35,7 +35,7 @@ interface EffectComponentInterface { * @returns { EffectComponentAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ (): EffectComponentAttribute; @@ -46,7 +46,7 @@ interface EffectComponentInterface { * @returns { EffectComponentAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ (options?: EffectComponentOptions): EffectComponentAttribute; } @@ -57,7 +57,7 @@ interface EffectComponentInterface { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ declare enum EffectLayer { /** @@ -65,7 +65,7 @@ declare enum EffectLayer { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ NONE = 0, @@ -74,7 +74,7 @@ declare enum EffectLayer { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ CHARGE_MOTION = 1, @@ -83,7 +83,7 @@ declare enum EffectLayer { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ CHARGE_TEXT = 2 } @@ -94,7 +94,7 @@ declare enum EffectLayer { * @interface EffectComponentOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ declare interface EffectComponentOptions { /** @@ -103,7 +103,7 @@ declare interface EffectComponentOptions { * @type { ?EffectLayer } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ effectLayer?: EffectLayer; } @@ -114,7 +114,7 @@ declare interface EffectComponentOptions { * @extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic * @noninterop */ declare class EffectComponentAttribute extends CommonMethod { @@ -126,7 +126,7 @@ declare class EffectComponentAttribute extends CommonMethod {} @@ -342,7 +342,7 @@ declare class EllipseAttribute extends CommonShapeMethod {} * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Ellipse: EllipseInterface; @@ -375,7 +375,7 @@ declare const Ellipse: EllipseInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const EllipseInstance: EllipseAttribute; diff --git a/api/@internal/component/ets/embedded_component.d.ts b/api/@internal/component/ets/embedded_component.d.ts index 810607e06a..01c4ee802e 100644 --- a/api/@internal/component/ets/embedded_component.d.ts +++ b/api/@internal/component/ets/embedded_component.d.ts @@ -25,7 +25,7 @@ * @interface EmbeddedComponentInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ interface EmbeddedComponentInterface { @@ -38,7 +38,7 @@ interface EmbeddedComponentInterface { * @returns { EmbeddedComponentAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ ( loader: import('../api/@ohos.app.ability.Want').default, @@ -52,7 +52,7 @@ interface EmbeddedComponentInterface { * @interface TerminationInfo * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TerminationInfo { /** @@ -61,7 +61,7 @@ declare interface TerminationInfo { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ code: number; @@ -71,7 +71,7 @@ declare interface TerminationInfo { * @type { ?import('../api/@ohos.app.ability.Want').default } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ want?: import('../api/@ohos.app.ability.Want').default; } @@ -82,7 +82,7 @@ declare interface TerminationInfo { * @extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class EmbeddedComponentAttribute extends CommonMethod { @@ -93,7 +93,7 @@ declare class EmbeddedComponentAttribute extends CommonMethod): EmbeddedComponentAttribute; @@ -104,7 +104,7 @@ declare class EmbeddedComponentAttribute extends CommonMethod = T | undefined; @@ -9860,7 +9860,7 @@ declare type Nullable = T | undefined; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum OptionWidthMode { /** @@ -9876,7 +9876,7 @@ declare enum OptionWidthMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FIT_CONTENT = 'fit_content', @@ -9893,7 +9893,7 @@ declare enum OptionWidthMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FIT_TRIGGER = 'fit_trigger', } @@ -9913,7 +9913,7 @@ declare enum OptionWidthMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum FoldStatus { /** @@ -9929,7 +9929,7 @@ declare enum FoldStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FOLD_STATUS_UNKNOWN = 0, /** @@ -9945,7 +9945,7 @@ declare enum FoldStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FOLD_STATUS_EXPANDED = 1, /** @@ -9961,7 +9961,7 @@ declare enum FoldStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FOLD_STATUS_FOLDED = 2, /** @@ -9977,7 +9977,7 @@ declare enum FoldStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FOLD_STATUS_HALF_FOLDED = 3, } @@ -9988,7 +9988,7 @@ declare enum FoldStatus { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum AppRotation { @@ -9997,7 +9997,7 @@ declare enum AppRotation { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ ROTATION_0 = 0, @@ -10006,7 +10006,7 @@ declare enum AppRotation { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ ROTATION_90 = 1, @@ -10015,7 +10015,7 @@ declare enum AppRotation { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ ROTATION_180 = 2, @@ -10024,7 +10024,7 @@ declare enum AppRotation { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ ROTATION_270 = 3 } @@ -10035,7 +10035,7 @@ declare enum AppRotation { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum EmbeddedType { /** @@ -10043,7 +10043,7 @@ declare enum EmbeddedType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ EMBEDDED_UI_EXTENSION = 0, } @@ -10055,7 +10055,7 @@ declare enum EmbeddedType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum MarqueeUpdateStrategy { /** @@ -10064,7 +10064,7 @@ declare enum MarqueeUpdateStrategy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DEFAULT = 0, @@ -10074,7 +10074,7 @@ declare enum MarqueeUpdateStrategy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PRESERVE_POSITION = 1 } @@ -10086,7 +10086,7 @@ declare enum MarqueeUpdateStrategy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum TextDecorationStyle { /** @@ -10095,7 +10095,7 @@ declare enum TextDecorationStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SOLID = 0, @@ -10105,7 +10105,7 @@ declare enum TextDecorationStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DOUBLE = 1, @@ -10115,7 +10115,7 @@ declare enum TextDecorationStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DOTTED = 2, @@ -10125,7 +10125,7 @@ declare enum TextDecorationStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DASHED = 3, @@ -10135,7 +10135,7 @@ declare enum TextDecorationStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ WAVY = 4, } @@ -10147,7 +10147,7 @@ declare enum TextDecorationStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum TextSelectableMode { /** @@ -10156,7 +10156,7 @@ declare enum TextSelectableMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SELECTABLE_UNFOCUSABLE = 0, @@ -10166,7 +10166,7 @@ declare enum TextSelectableMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SELECTABLE_FOCUSABLE = 1, @@ -10176,7 +10176,7 @@ declare enum TextSelectableMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ UNSELECTABLE = 2, } @@ -10188,7 +10188,7 @@ declare enum TextSelectableMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum AccessibilityHoverType { /** @@ -10197,7 +10197,7 @@ declare enum AccessibilityHoverType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ HOVER_ENTER = 0, @@ -10207,7 +10207,7 @@ declare enum AccessibilityHoverType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ HOVER_MOVE = 1, @@ -10217,7 +10217,7 @@ declare enum AccessibilityHoverType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ HOVER_EXIT = 2, @@ -10227,7 +10227,7 @@ declare enum AccessibilityHoverType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ HOVER_CANCEL = 3, } @@ -10238,7 +10238,7 @@ declare enum AccessibilityHoverType { * @enum {number} * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ declare enum WidthBreakpoint { /** @@ -10246,7 +10246,7 @@ declare enum WidthBreakpoint { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ WIDTH_XS = 0, @@ -10255,7 +10255,7 @@ declare enum WidthBreakpoint { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ WIDTH_SM = 1, @@ -10264,7 +10264,7 @@ declare enum WidthBreakpoint { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ WIDTH_MD = 2, @@ -10273,7 +10273,7 @@ declare enum WidthBreakpoint { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ WIDTH_LG = 3, @@ -10282,7 +10282,7 @@ declare enum WidthBreakpoint { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ WIDTH_XL = 4, } @@ -10293,7 +10293,7 @@ declare enum WidthBreakpoint { * @enum {number} * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ declare enum HeightBreakpoint { /** @@ -10301,7 +10301,7 @@ declare enum HeightBreakpoint { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ HEIGHT_SM = 0, @@ -10310,7 +10310,7 @@ declare enum HeightBreakpoint { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ HEIGHT_MD = 1, @@ -10319,7 +10319,7 @@ declare enum HeightBreakpoint { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ HEIGHT_LG = 2, } @@ -10330,7 +10330,7 @@ declare enum HeightBreakpoint { * @enum {number} * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ declare enum AxisModel { /** @@ -10338,7 +10338,7 @@ declare enum AxisModel { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ ABS_X = 0, @@ -10347,7 +10347,7 @@ declare enum AxisModel { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ ABS_Y = 1, @@ -10356,7 +10356,7 @@ declare enum AxisModel { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ ABS_Z = 2, @@ -10365,7 +10365,7 @@ declare enum AxisModel { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ ABS_RZ = 3, @@ -10374,7 +10374,7 @@ declare enum AxisModel { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ ABS_GAS = 4, @@ -10383,7 +10383,7 @@ declare enum AxisModel { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ ABS_BRAKE = 5, @@ -10392,7 +10392,7 @@ declare enum AxisModel { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ ABS_HAT0X = 6, @@ -10401,7 +10401,7 @@ declare enum AxisModel { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ ABS_HAT0Y = 7, } @@ -10413,7 +10413,7 @@ declare enum AxisModel { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum FocusWrapMode { /** @@ -10422,7 +10422,7 @@ declare enum FocusWrapMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ DEFAULT = 0, @@ -10432,7 +10432,7 @@ declare enum FocusWrapMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ WRAP_WITH_ARROW = 1, } @@ -10443,7 +10443,7 @@ declare enum FocusWrapMode { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ declare enum CrownAction { /** @@ -10451,7 +10451,7 @@ declare enum CrownAction { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ BEGIN = 0, @@ -10460,7 +10460,7 @@ declare enum CrownAction { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ UPDATE = 1, @@ -10469,7 +10469,7 @@ declare enum CrownAction { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ END = 2 } @@ -10480,7 +10480,7 @@ declare enum CrownAction { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ declare enum CrownSensitivity { /** @@ -10488,7 +10488,7 @@ declare enum CrownSensitivity { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ LOW = 0, @@ -10497,7 +10497,7 @@ declare enum CrownSensitivity { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ MEDIUM = 1, @@ -10506,7 +10506,7 @@ declare enum CrownSensitivity { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ HIGH = 2 } @@ -10519,7 +10519,7 @@ declare enum CrownSensitivity { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ declare enum PageFlipMode { /** @@ -10529,7 +10529,7 @@ declare enum PageFlipMode { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ CONTINUOUS = 0, @@ -10540,7 +10540,7 @@ declare enum PageFlipMode { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ SINGLE = 1, } @@ -10551,7 +10551,7 @@ declare enum PageFlipMode { * @enum {number} * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ declare enum AxisAction { /** @@ -10559,7 +10559,7 @@ declare enum AxisAction { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ NONE = 0, @@ -10568,7 +10568,7 @@ declare enum AxisAction { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ BEGIN = 1, @@ -10577,7 +10577,7 @@ declare enum AxisAction { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ UPDATE = 2, @@ -10586,7 +10586,7 @@ declare enum AxisAction { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ END = 3, @@ -10595,7 +10595,7 @@ declare enum AxisAction { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ CANCEL = 4, } @@ -10608,7 +10608,7 @@ declare enum AxisAction { * @crossplatform * @form * @atomicservice - * @since 19 + * @since 19 dynamic */ declare enum FocusDrawLevel { /** @@ -10618,7 +10618,7 @@ declare enum FocusDrawLevel { * @crossplatform * @form * @atomicservice - * @since 19 + * @since 19 dynamic */ SELF = 0, @@ -10629,7 +10629,7 @@ declare enum FocusDrawLevel { * @crossplatform * @form * @atomicservice - * @since 19 + * @since 19 dynamic */ TOP = 1, } @@ -10641,7 +10641,7 @@ declare enum FocusDrawLevel { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare enum DividerMode { /** @@ -10650,7 +10650,7 @@ declare enum DividerMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ FLOATING_ABOVE_MENU = 0, @@ -10660,7 +10660,7 @@ declare enum DividerMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ EMBEDDED_IN_MENU = 1, } @@ -10672,7 +10672,7 @@ declare enum DividerMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare enum EventQueryType { /** @@ -10681,7 +10681,7 @@ declare enum EventQueryType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ ON_CLICK = 0, } @@ -10693,7 +10693,7 @@ declare enum EventQueryType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum TipsAnchorType { /** @@ -10702,7 +10702,7 @@ declare enum TipsAnchorType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ TARGET, @@ -10712,7 +10712,7 @@ declare enum TipsAnchorType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ CURSOR } @@ -10724,7 +10724,7 @@ declare enum TipsAnchorType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum ColorSpace { /** @@ -10733,7 +10733,7 @@ declare enum ColorSpace { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ SRGB = 0, /** @@ -10742,7 +10742,7 @@ declare enum ColorSpace { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ DISPLAY_P3 = 1, } @@ -10754,7 +10754,7 @@ declare enum ColorSpace { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum AnimationPropertyType { /** @@ -10763,7 +10763,7 @@ declare enum AnimationPropertyType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ ROTATION = 0, @@ -10773,7 +10773,7 @@ declare enum AnimationPropertyType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ TRANSLATION = 1, @@ -10783,7 +10783,7 @@ declare enum AnimationPropertyType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ SCALE = 2, @@ -10793,7 +10793,7 @@ declare enum AnimationPropertyType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ OPACITY = 3, } diff --git a/api/@internal/component/ets/flex.d.ts b/api/@internal/component/ets/flex.d.ts index 1b54ad9243..74f148e534 100644 --- a/api/@internal/component/ets/flex.d.ts +++ b/api/@internal/component/ets/flex.d.ts @@ -50,7 +50,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface FlexOptions { /** @@ -86,7 +86,7 @@ declare interface FlexOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ direction?: FlexDirection; @@ -123,7 +123,7 @@ declare interface FlexOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ wrap?: FlexWrap; @@ -160,7 +160,7 @@ declare interface FlexOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ justifyContent?: FlexAlign; @@ -197,7 +197,7 @@ declare interface FlexOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ alignItems?: ItemAlign; @@ -235,7 +235,7 @@ declare interface FlexOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ alignContent?: FlexAlign; @@ -247,7 +247,7 @@ declare interface FlexOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ space?: FlexSpaceOptions; } @@ -259,7 +259,7 @@ declare interface FlexOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface FlexSpaceOptions { @@ -270,7 +270,7 @@ declare interface FlexSpaceOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ main?: LengthMetrics; @@ -281,7 +281,7 @@ declare interface FlexSpaceOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ cross?: LengthMetrics; } @@ -318,7 +318,7 @@ declare interface FlexSpaceOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface FlexInterface { @@ -358,7 +358,7 @@ interface FlexInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (value?: FlexOptions): FlexAttribute; } @@ -395,7 +395,7 @@ interface FlexInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class FlexAttribute extends CommonMethod { @@ -406,7 +406,7 @@ declare class FlexAttribute extends CommonMethod { * @returns { FlexAttribute } The attribute of the flex. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ pointLight(value: PointLightStyle): FlexAttribute; } @@ -439,7 +439,7 @@ declare class FlexAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Flex: FlexInterface; @@ -472,7 +472,7 @@ declare const Flex: FlexInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const FlexInstance: FlexAttribute; diff --git a/api/@internal/component/ets/flow_item.d.ts b/api/@internal/component/ets/flow_item.d.ts index 25edd0394e..a7c3b2e763 100644 --- a/api/@internal/component/ets/flow_item.d.ts +++ b/api/@internal/component/ets/flow_item.d.ts @@ -41,7 +41,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface FlowItemInterface { @@ -67,7 +67,7 @@ interface FlowItemInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (): FlowItemAttribute; } @@ -94,7 +94,7 @@ interface FlowItemInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class FlowItemAttribute extends CommonMethod {} @@ -118,7 +118,7 @@ declare class FlowItemAttribute extends CommonMethod {} * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const FlowItem: FlowItemInterface @@ -142,7 +142,7 @@ declare const FlowItem: FlowItemInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const FlowItemInstance: FlowItemAttribute; diff --git a/api/@internal/component/ets/focus.d.ts b/api/@internal/component/ets/focus.d.ts index 495e4f6bbd..457131bf0c 100644 --- a/api/@internal/component/ets/focus.d.ts +++ b/api/@internal/component/ets/focus.d.ts @@ -25,7 +25,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface FocusBoxStyle { /** @@ -35,7 +35,7 @@ declare interface FocusBoxStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ margin?: LengthMetrics; /** @@ -45,7 +45,7 @@ declare interface FocusBoxStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ strokeColor?: ColorMetrics; /** @@ -55,7 +55,7 @@ declare interface FocusBoxStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ strokeWidth?: LengthMetrics; } @@ -67,7 +67,7 @@ declare interface FocusBoxStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum FocusPriority { /** @@ -76,7 +76,7 @@ declare enum FocusPriority { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ AUTO = 0, @@ -86,7 +86,7 @@ declare enum FocusPriority { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PRIOR = 2000, @@ -96,7 +96,7 @@ declare enum FocusPriority { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PREVIOUS = 3000, } @@ -109,7 +109,7 @@ declare enum FocusPriority { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare enum KeyProcessingMode { /** @@ -118,7 +118,7 @@ declare enum KeyProcessingMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ FOCUS_NAVIGATION = 0, @@ -128,7 +128,7 @@ declare enum KeyProcessingMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ ANCESTOR_EVENT = 1, } \ No newline at end of file diff --git a/api/@internal/component/ets/folder_stack.d.ts b/api/@internal/component/ets/folder_stack.d.ts index 89c3e60fbe..b010754caf 100644 --- a/api/@internal/component/ets/folder_stack.d.ts +++ b/api/@internal/component/ets/folder_stack.d.ts @@ -24,7 +24,7 @@ * @typedef {import('../api/@ohos.window').default.WindowStatusType} WindowStatusType * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type WindowStatusType = import('../api/@ohos.window').default.WindowStatusType; @@ -35,7 +35,7 @@ declare type WindowStatusType = import('../api/@ohos.window').default.WindowStat * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface FolderStackOptions { /** @@ -63,7 +63,7 @@ interface FolderStackOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ upperItems?: Array; } @@ -83,7 +83,7 @@ interface FolderStackOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @@ -116,7 +116,7 @@ interface FolderStackInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ (options?: FolderStackOptions): FolderStackAttribute; } @@ -128,7 +128,7 @@ interface FolderStackInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface OnFoldStatusChangeInfo { /** @@ -156,7 +156,7 @@ interface OnFoldStatusChangeInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ foldStatus: FoldStatus } @@ -170,7 +170,7 @@ interface OnFoldStatusChangeInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnFoldStatusChangeCallback = (event: OnFoldStatusChangeInfo) => void; @@ -182,7 +182,7 @@ declare type OnFoldStatusChangeCallback = (event: OnFoldStatusChangeInfo) => voi * @param { HoverEventParam } param - hover event param * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnHoverStatusChangeCallback = (param: HoverEventParam) => void; @@ -197,7 +197,7 @@ declare type OnHoverStatusChangeCallback = (param: HoverEventParam) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class FolderStackAttribute extends CommonMethod { @@ -218,7 +218,7 @@ declare class FolderStackAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ alignContent(value: Alignment): FolderStackAttribute; @@ -250,7 +250,7 @@ declare class FolderStackAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onFolderStateChange(callback: OnFoldStatusChangeCallback): FolderStackAttribute; @@ -272,7 +272,7 @@ declare class FolderStackAttribute extends CommonMethod { * @returns { FolderStackAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onHoverStatusChange(handler: OnHoverStatusChangeCallback): FolderStackAttribute; @@ -293,7 +293,7 @@ declare class FolderStackAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enableAnimation(value: boolean): FolderStackAttribute; @@ -314,7 +314,7 @@ declare class FolderStackAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ autoHalfFold(value: boolean): FolderStackAttribute; } @@ -325,7 +325,7 @@ declare class FolderStackAttribute extends CommonMethod { * @interface HoverEventParam * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface HoverEventParam { /** @@ -334,7 +334,7 @@ declare interface HoverEventParam { * @type { FoldStatus } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ foldStatus: FoldStatus @@ -344,7 +344,7 @@ declare interface HoverEventParam { * @type { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ isHoverMode: boolean @@ -354,7 +354,7 @@ declare interface HoverEventParam { * @type { AppRotation } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ appRotation: AppRotation @@ -364,7 +364,7 @@ declare interface HoverEventParam { * @type { WindowStatusType } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ windowStatusType: WindowStatusType } @@ -381,7 +381,7 @@ declare interface HoverEventParam { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const FolderStack: FolderStackInterface; @@ -399,7 +399,7 @@ declare const FolderStack: FolderStackInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const FolderStackInstance: FolderStackAttribute; diff --git a/api/@internal/component/ets/for_each.d.ts b/api/@internal/component/ets/for_each.d.ts index e0f711c1f3..c1aa85eabb 100644 --- a/api/@internal/component/ets/for_each.d.ts +++ b/api/@internal/component/ets/for_each.d.ts @@ -26,7 +26,7 @@ * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class ForEachAttribute extends DynamicNode { @@ -64,7 +64,7 @@ declare class ForEachAttribute extends DynamicNode { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface ForEachInterface { @@ -125,7 +125,7 @@ interface ForEachInterface { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ ( arr: Array, @@ -162,7 +162,7 @@ interface ForEachInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ForEach: ForEachInterface; diff --git a/api/@internal/component/ets/form_component.d.ts b/api/@internal/component/ets/form_component.d.ts index 3e9d4c6c3d..38ec1bef26 100644 --- a/api/@internal/component/ets/form_component.d.ts +++ b/api/@internal/component/ets/form_component.d.ts @@ -17,7 +17,7 @@ * @file * @kit ArkUI */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { CommonMethod,Callback } from './common'; import Want from '../../@ohos.app.ability.Want'; import { Visibility } from './enums' @@ -29,8 +29,8 @@ import { VoidCallback } from './units'; * @enum { int } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ declare enum FormDimension { /** @@ -38,8 +38,8 @@ declare enum FormDimension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ Dimension_1_2 = 0, @@ -48,8 +48,8 @@ declare enum FormDimension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ Dimension_2_2 = 1, @@ -58,8 +58,8 @@ declare enum FormDimension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ Dimension_2_4 = 2, @@ -68,8 +68,8 @@ declare enum FormDimension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ Dimension_4_4 = 3, @@ -78,7 +78,7 @@ declare enum FormDimension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic * @deprecated since 20 */ Dimension_2_1 = 4, @@ -89,8 +89,8 @@ declare enum FormDimension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DIMENSION_1_1 = 6, @@ -99,8 +99,8 @@ declare enum FormDimension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DIMENSION_6_4 = 7, @@ -109,8 +109,8 @@ declare enum FormDimension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ DIMENSION_2_3 = 8, @@ -119,8 +119,8 @@ declare enum FormDimension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ DIMENSION_3_3 = 9 } @@ -131,8 +131,8 @@ declare enum FormDimension { * @enum { int } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum FormRenderingMode { @@ -141,8 +141,8 @@ declare enum FormRenderingMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FULL_COLOR, @@ -151,8 +151,8 @@ declare enum FormRenderingMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SINGLE_COLOR, } @@ -163,8 +163,8 @@ declare enum FormRenderingMode { * @enum { int } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare enum FormShape { /** @@ -172,8 +172,8 @@ declare enum FormShape { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RECT = 1, @@ -182,8 +182,8 @@ declare enum FormShape { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CIRCLE, } @@ -194,8 +194,8 @@ declare enum FormShape { * @interface FormInfo * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface FormInfo { /** @@ -204,8 +204,8 @@ declare interface FormInfo { * @type { long | string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ id: long | string; @@ -215,8 +215,8 @@ declare interface FormInfo { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ name: string; @@ -226,8 +226,8 @@ declare interface FormInfo { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ bundle: string; @@ -237,8 +237,8 @@ declare interface FormInfo { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ability: string; @@ -248,8 +248,8 @@ declare interface FormInfo { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ module: string; @@ -259,8 +259,8 @@ declare interface FormInfo { * @type { ?FormDimension } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ dimension?: FormDimension; @@ -270,8 +270,8 @@ declare interface FormInfo { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ temporary?: boolean; @@ -281,7 +281,7 @@ declare interface FormInfo { * @type { ?import('../api/@ohos.app.ability.Want').default } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ want?: import('../api/@ohos.app.ability.Want').default; @@ -291,8 +291,7 @@ declare interface FormInfo { * @type { ?Want } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ want?: Want; @@ -302,8 +301,8 @@ declare interface FormInfo { * @type { ?FormRenderingMode } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ renderingMode?: FormRenderingMode; @@ -313,8 +312,8 @@ declare interface FormInfo { * @type { ?FormShape } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ shape?: FormShape; } @@ -325,8 +324,8 @@ declare interface FormInfo { * @interface FormComponentInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ interface FormComponentInterface { /** @@ -372,8 +371,8 @@ interface FormComponentInterface { * @returns { FormComponentAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ (value: FormInfo): FormComponentAttribute; } @@ -384,8 +383,8 @@ interface FormComponentInterface { * @interface FormCallbackInfo * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface FormCallbackInfo { /** @@ -394,8 +393,8 @@ interface FormCallbackInfo { * @type { long } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ id: long; @@ -405,8 +404,8 @@ interface FormCallbackInfo { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ idString: string; } @@ -417,8 +416,8 @@ interface FormCallbackInfo { * @interface FormSize * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface FormSize { /** @@ -428,8 +427,8 @@ interface FormSize { * @type { double } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ width: double; /** @@ -439,8 +438,8 @@ interface FormSize { * @type { double } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ height: double; } @@ -451,8 +450,8 @@ interface FormSize { * @typedef ErrorInformation * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface ErrorInformation { /** @@ -462,8 +461,8 @@ interface ErrorInformation { * @type { int } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ errcode: int; @@ -474,8 +473,8 @@ interface ErrorInformation { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ msg: string; } @@ -484,8 +483,8 @@ interface ErrorInformation { * @extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ declare class FormComponentAttribute extends CommonMethod { /** @@ -504,8 +503,8 @@ declare class FormComponentAttribute extends CommonMethod): FormComponentAttribute; @@ -596,8 +595,8 @@ declare class FormComponentAttribute extends CommonMethod): FormComponentAttribute; @@ -618,8 +617,8 @@ declare class FormComponentAttribute extends CommonMethod): FormComponentAttribute; @@ -639,8 +638,8 @@ declare class FormComponentAttribute extends CommonMethod): FormComponentAttribute; @@ -660,8 +659,8 @@ declare class FormComponentAttribute extends CommonMethod): FormComponentAttribute; } @@ -683,7 +682,7 @@ declare class FormComponentAttribute extends CommonMethod {} @@ -229,7 +229,7 @@ declare class FormLinkAttribute extends CommonMethod {} * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const FormLink: FormLinkInterface; @@ -247,7 +247,7 @@ declare const FormLink: FormLinkInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const FormLinkInstance: FormLinkAttribute; diff --git a/api/@internal/component/ets/gauge.d.ts b/api/@internal/component/ets/gauge.d.ts index 2cbb96c6b3..06c23db8fe 100644 --- a/api/@internal/component/ets/gauge.d.ts +++ b/api/@internal/component/ets/gauge.d.ts @@ -26,7 +26,7 @@ * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ interface GaugeOptions { /** @@ -72,7 +72,7 @@ interface GaugeOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ value: number; @@ -119,7 +119,7 @@ interface GaugeOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ min?: number; @@ -166,7 +166,7 @@ interface GaugeOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ max?: number; } @@ -203,7 +203,7 @@ interface GaugeOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface GaugeInterface { @@ -263,7 +263,7 @@ interface GaugeInterface { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ (options: GaugeOptions): GaugeAttribute; } @@ -285,7 +285,7 @@ interface GaugeInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface GaugeShadowOptions extends MultiShadowOptions {} @@ -304,7 +304,7 @@ declare interface GaugeShadowOptions extends MultiShadowOptions {} * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface GaugeIndicatorOptions { @@ -325,7 +325,7 @@ declare interface GaugeIndicatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ icon?: ResourceStr; @@ -346,7 +346,7 @@ declare interface GaugeIndicatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ space?: Dimension; } @@ -359,7 +359,7 @@ declare interface GaugeIndicatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface GaugeConfiguration extends CommonConfiguration { /** @@ -369,7 +369,7 @@ declare interface GaugeConfiguration extends CommonConfiguration { @@ -460,7 +460,7 @@ declare class GaugeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ value(value: number): GaugeAttribute; @@ -500,7 +500,7 @@ declare class GaugeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ startAngle(angle: number): GaugeAttribute; @@ -540,7 +540,7 @@ declare class GaugeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ endAngle(angle: number): GaugeAttribute; @@ -580,7 +580,7 @@ declare class GaugeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ colors(colors: ResourceColor | LinearGradient | Array<[ResourceColor | LinearGradient, number]>): GaugeAttribute; @@ -620,7 +620,7 @@ declare class GaugeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeWidth(length: Length): GaugeAttribute; @@ -641,7 +641,7 @@ declare class GaugeAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ description(value: CustomBuilder): GaugeAttribute; @@ -662,7 +662,7 @@ declare class GaugeAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ trackShadow(value: GaugeShadowOptions): GaugeAttribute; @@ -683,7 +683,7 @@ declare class GaugeAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ indicator(value: GaugeIndicatorOptions): GaugeAttribute; @@ -696,7 +696,7 @@ declare class GaugeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ privacySensitive(isPrivacySensitiveMode: Optional): GaugeAttribute; @@ -708,7 +708,7 @@ declare class GaugeAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentModifier(modifier: ContentModifier): GaugeAttribute; } @@ -741,7 +741,7 @@ declare class GaugeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Gauge: GaugeInterface; @@ -774,7 +774,7 @@ declare const Gauge: GaugeInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const GaugeInstance: GaugeAttribute; diff --git a/api/@internal/component/ets/gesture.d.ts b/api/@internal/component/ets/gesture.d.ts index 464be9eddb..92c1a6eca0 100644 --- a/api/@internal/component/ets/gesture.d.ts +++ b/api/@internal/component/ets/gesture.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum PanDirection { /** @@ -62,7 +62,7 @@ declare enum PanDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ None, @@ -85,7 +85,7 @@ declare enum PanDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Horizontal, @@ -108,7 +108,7 @@ declare enum PanDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Left, @@ -131,7 +131,7 @@ declare enum PanDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Right, @@ -154,7 +154,7 @@ declare enum PanDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Vertical, @@ -177,7 +177,7 @@ declare enum PanDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Up, @@ -200,7 +200,7 @@ declare enum PanDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Down, @@ -223,7 +223,7 @@ declare enum PanDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ All, } @@ -250,7 +250,7 @@ declare enum PanDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum SwipeDirection { /** @@ -272,7 +272,7 @@ declare enum SwipeDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ None, @@ -295,7 +295,7 @@ declare enum SwipeDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Horizontal, @@ -318,7 +318,7 @@ declare enum SwipeDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Vertical, @@ -341,7 +341,7 @@ declare enum SwipeDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ All, } @@ -368,7 +368,7 @@ declare enum SwipeDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum GestureMode { /** @@ -390,7 +390,7 @@ declare enum GestureMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Sequence, @@ -413,7 +413,7 @@ declare enum GestureMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Parallel, @@ -436,7 +436,7 @@ declare enum GestureMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Exclusive, } @@ -463,7 +463,7 @@ declare enum GestureMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum GestureMask { /** @@ -485,7 +485,7 @@ declare enum GestureMask { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Normal, @@ -508,7 +508,7 @@ declare enum GestureMask { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ IgnoreInternal, } @@ -528,7 +528,7 @@ declare enum GestureMask { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum GestureJudgeResult { /** @@ -544,7 +544,7 @@ declare enum GestureJudgeResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ CONTINUE = 0, @@ -561,7 +561,7 @@ declare enum GestureJudgeResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ REJECT = 1, } @@ -581,7 +581,7 @@ declare enum GestureJudgeResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare namespace GestureControl { /** @@ -599,7 +599,7 @@ declare namespace GestureControl { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enum GestureType { /** @@ -615,7 +615,7 @@ declare namespace GestureControl { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ TAP_GESTURE = 0, @@ -632,7 +632,7 @@ declare namespace GestureControl { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ LONG_PRESS_GESTURE = 1, @@ -649,7 +649,7 @@ declare namespace GestureControl { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PAN_GESTURE = 2, @@ -666,7 +666,7 @@ declare namespace GestureControl { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PINCH_GESTURE = 3, @@ -683,7 +683,7 @@ declare namespace GestureControl { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SWIPE_GESTURE = 4, @@ -700,7 +700,7 @@ declare namespace GestureControl { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ROTATION_GESTURE = 5, @@ -717,7 +717,7 @@ declare namespace GestureControl { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DRAG = 6, @@ -734,7 +734,7 @@ declare namespace GestureControl { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ CLICK = 7, } @@ -755,7 +755,7 @@ declare namespace GestureControl { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface GestureInfo { /** @@ -773,7 +773,7 @@ declare interface GestureInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ tag?: string; @@ -792,7 +792,7 @@ declare interface GestureInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type: GestureControl.GestureType; @@ -811,7 +811,7 @@ declare interface GestureInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isSystemGesture: boolean; } @@ -823,7 +823,7 @@ declare interface GestureInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface EventLocationInfo { /** @@ -833,7 +833,7 @@ declare interface EventLocationInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ x: number; @@ -844,7 +844,7 @@ declare interface EventLocationInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ y: number; @@ -855,7 +855,7 @@ declare interface EventLocationInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ windowX: number; @@ -866,7 +866,7 @@ declare interface EventLocationInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ windowY: number; @@ -877,7 +877,7 @@ declare interface EventLocationInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ displayX: number; @@ -888,7 +888,7 @@ declare interface EventLocationInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ displayY: number; } @@ -915,7 +915,7 @@ declare interface EventLocationInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface FingerInfo { /** @@ -940,7 +940,7 @@ interface FingerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ id: number; @@ -951,7 +951,7 @@ interface FingerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ globalDisplayX?: number; @@ -962,7 +962,7 @@ interface FingerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ globalDisplayY?: number; @@ -988,7 +988,7 @@ interface FingerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ globalX: number; @@ -1014,7 +1014,7 @@ interface FingerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ globalY: number; @@ -1040,7 +1040,7 @@ interface FingerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ localX: number; @@ -1066,7 +1066,7 @@ interface FingerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ localY: number; @@ -1077,7 +1077,7 @@ interface FingerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ displayX: number; @@ -1088,7 +1088,7 @@ interface FingerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ displayY: number; @@ -1099,7 +1099,7 @@ interface FingerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ hand?: InteractionHand; } @@ -1126,7 +1126,7 @@ interface FingerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type GestureType = TapGestureInterface @@ -1154,7 +1154,7 @@ declare type GestureType = * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface BaseGestureEvent extends BaseEvent { /** @@ -1172,7 +1172,7 @@ interface BaseGestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fingerList: FingerInfo[]; @@ -1184,7 +1184,7 @@ interface BaseGestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ fingerInfos?: FingerInfo[]; } @@ -1206,7 +1206,7 @@ interface BaseGestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface TapGestureEvent extends BaseGestureEvent { /** @@ -1216,7 +1216,7 @@ interface TapGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ tapLocation?: EventLocationInfo; } @@ -1238,7 +1238,7 @@ interface TapGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface LongPressGestureEvent extends BaseGestureEvent { /** @@ -1256,7 +1256,7 @@ interface LongPressGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ repeat: boolean; } @@ -1278,7 +1278,7 @@ interface LongPressGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface PanGestureEvent extends BaseGestureEvent { /** @@ -1298,7 +1298,7 @@ interface PanGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ offsetX: number; @@ -1319,7 +1319,7 @@ interface PanGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ offsetY: number; @@ -1336,7 +1336,7 @@ interface PanGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ velocityX: number; @@ -1353,7 +1353,7 @@ interface PanGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ velocityY: number; @@ -1370,7 +1370,7 @@ interface PanGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ velocity: number; } @@ -1392,7 +1392,7 @@ interface PanGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface PinchGestureEvent extends BaseGestureEvent { /** @@ -1410,7 +1410,7 @@ interface PinchGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ scale: number; @@ -1431,7 +1431,7 @@ interface PinchGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pinchCenterX: number; @@ -1452,7 +1452,7 @@ interface PinchGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pinchCenterY: number; } @@ -1474,7 +1474,7 @@ interface PinchGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface RotationGestureEvent extends BaseGestureEvent { /** @@ -1494,7 +1494,7 @@ interface RotationGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ angle: number; } @@ -1516,7 +1516,7 @@ interface RotationGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface SwipeGestureEvent extends BaseGestureEvent { /** @@ -1536,7 +1536,7 @@ interface SwipeGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ angle: number; @@ -1557,7 +1557,7 @@ interface SwipeGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ speed: number; } @@ -1587,7 +1587,7 @@ interface SwipeGestureEvent extends BaseGestureEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface GestureEvent extends BaseEvent { /** @@ -1615,7 +1615,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ repeat: boolean; @@ -1644,7 +1644,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fingerList: FingerInfo[]; @@ -1656,7 +1656,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ fingerInfos?: FingerInfo[]; @@ -1688,7 +1688,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offsetX: number; @@ -1720,7 +1720,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offsetY: number; @@ -1752,7 +1752,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ angle: number; @@ -1784,7 +1784,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ speed: number; @@ -1813,7 +1813,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scale: number; @@ -1845,7 +1845,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pinchCenterX: number; @@ -1877,7 +1877,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pinchCenterY: number; @@ -1894,7 +1894,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ velocityX: number; @@ -1911,7 +1911,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ velocityY: number; @@ -1928,7 +1928,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ velocity: number; @@ -1939,7 +1939,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ tapLocation?: EventLocationInfo; } @@ -1951,7 +1951,7 @@ interface GestureEvent extends BaseEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface GestureInterface { /** @@ -1962,7 +1962,7 @@ interface GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ tag(tag: string): T; @@ -1974,7 +1974,7 @@ interface GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ allowedTypes(types: Array): T; } @@ -1985,7 +1985,7 @@ interface GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ interface BaseHandlerOptions { /** @@ -1996,7 +1996,7 @@ interface GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ isFingerCountLimited?: boolean; } @@ -2018,7 +2018,7 @@ interface GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare interface TapGestureParameters extends BaseHandlerOptions { /** @@ -2028,7 +2028,7 @@ declare interface TapGestureParameters extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ count?: number; /** @@ -2038,7 +2038,7 @@ declare interface TapGestureParameters extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fingers?: number; /** @@ -2048,7 +2048,7 @@ declare interface TapGestureParameters extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ distanceThreshold?: number; } @@ -2078,7 +2078,7 @@ declare interface TapGestureParameters extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface TapGestureInterface extends GestureInterface { /** @@ -2123,7 +2123,7 @@ interface TapGestureInterface extends GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ (value?: TapGestureParameters): TapGestureInterface; @@ -2152,7 +2152,7 @@ interface TapGestureInterface extends GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onAction(event: (event: GestureEvent) => void): TapGestureInterface; } @@ -2182,7 +2182,7 @@ interface TapGestureInterface extends GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface LongPressGestureInterface extends GestureInterface { /** @@ -2219,7 +2219,7 @@ interface LongPressGestureInterface extends GestureInterface void): LongPressGestureInterface; @@ -2289,7 +2289,7 @@ interface LongPressGestureInterface extends GestureInterface void): LongPressGestureInterface; @@ -2318,7 +2318,7 @@ interface LongPressGestureInterface extends GestureInterface void): LongPressGestureInterface; /** @@ -2329,7 +2329,7 @@ interface LongPressGestureInterface extends GestureInterface): LongPressGestureInterface; } @@ -2353,7 +2353,7 @@ interface LongPressGestureInterface extends GestureInterface { /** @@ -2536,7 +2536,7 @@ interface PanGestureInterface extends GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (value?: { fingers?: number; direction?: PanDirection; distance?: number } | PanGestureOptions): PanGestureInterface; @@ -2548,7 +2548,7 @@ interface PanGestureInterface extends GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ (options?: PanGestureHandlerOptions): PanGestureInterface; @@ -2577,7 +2577,7 @@ interface PanGestureInterface extends GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onActionStart(event: (event: GestureEvent) => void): PanGestureInterface; @@ -2606,7 +2606,7 @@ interface PanGestureInterface extends GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onActionUpdate(event: (event: GestureEvent) => void): PanGestureInterface; @@ -2635,7 +2635,7 @@ interface PanGestureInterface extends GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onActionEnd(event: (event: GestureEvent) => void): PanGestureInterface; @@ -2664,7 +2664,7 @@ interface PanGestureInterface extends GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onActionCancel(event: () => void): PanGestureInterface; /** @@ -2675,7 +2675,7 @@ interface PanGestureInterface extends GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onActionCancel(event: Callback): PanGestureInterface; @@ -2706,7 +2706,7 @@ interface PanGestureInterface extends GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface SwipeGestureInterface extends GestureInterface { /** @@ -2734,7 +2734,7 @@ interface SwipeGestureInterface extends GestureInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (value?: { fingers?: number; direction?: SwipeDirection; speed?: number }): SwipeGestureInterface; @@ -2747,7 +2747,7 @@ interface SwipeGestureInterface extends GestureInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ (options?: SwipeGestureHandlerOptions): SwipeGestureInterface; @@ -2776,7 +2776,7 @@ interface SwipeGestureInterface extends GestureInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onAction(event: (event: GestureEvent) => void): SwipeGestureInterface; } @@ -2806,7 +2806,7 @@ interface SwipeGestureInterface extends GestureInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface PinchGestureInterface extends GestureInterface { /** @@ -2834,7 +2834,7 @@ interface PinchGestureInterface extends GestureInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (value?: { fingers?: number; distance?: number }): PinchGestureInterface; @@ -2847,7 +2847,7 @@ interface PinchGestureInterface extends GestureInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ (options?: PinchGestureHandlerOptions): PinchGestureInterface; @@ -2876,7 +2876,7 @@ interface PinchGestureInterface extends GestureInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onActionStart(event: (event: GestureEvent) => void): PinchGestureInterface; @@ -2905,7 +2905,7 @@ interface PinchGestureInterface extends GestureInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onActionUpdate(event: (event: GestureEvent) => void): PinchGestureInterface; @@ -2934,7 +2934,7 @@ interface PinchGestureInterface extends GestureInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onActionEnd(event: (event: GestureEvent) => void): PinchGestureInterface; @@ -2963,7 +2963,7 @@ interface PinchGestureInterface extends GestureInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onActionCancel(event: () => void): PinchGestureInterface; /** @@ -2974,7 +2974,7 @@ interface PinchGestureInterface extends GestureInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onActionCancel(event: Callback): PinchGestureInterface; } @@ -3004,7 +3004,7 @@ interface PinchGestureInterface extends GestureInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface RotationGestureInterface extends GestureInterface { /** @@ -3032,7 +3032,7 @@ interface RotationGestureInterface extends GestureInterface void): RotationGestureInterface; @@ -3103,7 +3103,7 @@ interface RotationGestureInterface extends GestureInterface void): RotationGestureInterface; @@ -3132,7 +3132,7 @@ interface RotationGestureInterface extends GestureInterface void): RotationGestureInterface; @@ -3161,7 +3161,7 @@ interface RotationGestureInterface extends GestureInterface void): RotationGestureInterface; /** @@ -3172,7 +3172,7 @@ interface RotationGestureInterface extends GestureInterface): RotationGestureInterface; } @@ -3199,7 +3199,7 @@ interface RotationGestureInterface extends GestureInterface void): GestureGroupInterface; } @@ -3283,7 +3283,7 @@ interface GestureGroupInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare const TapGesture: TapGestureInterface; @@ -3306,7 +3306,7 @@ declare const TapGesture: TapGestureInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare const LongPressGesture: LongPressGestureInterface; @@ -3329,7 +3329,7 @@ declare const LongPressGesture: LongPressGestureInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare const PanGesture: PanGestureInterface; @@ -3352,7 +3352,7 @@ declare const PanGesture: PanGestureInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare const SwipeGesture: SwipeGestureInterface; @@ -3375,7 +3375,7 @@ declare const SwipeGesture: SwipeGestureInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare const PinchGesture: PinchGestureInterface; @@ -3398,7 +3398,7 @@ declare const PinchGesture: PinchGestureInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare const RotationGesture: RotationGestureInterface; @@ -3421,7 +3421,7 @@ declare const RotationGesture: RotationGestureInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare const GestureGroup: GestureGroupInterface; @@ -3432,7 +3432,7 @@ declare const GestureGroup: GestureGroupInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class GestureHandler implements GestureInterface { /** @@ -3443,7 +3443,7 @@ declare class GestureHandler implements GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ tag(tag: string): T; @@ -3455,7 +3455,7 @@ declare class GestureHandler implements GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ allowedTypes(types: Array): T; } @@ -3477,7 +3477,7 @@ declare class GestureHandler implements GestureInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ interface TapGestureHandlerOptions extends BaseHandlerOptions { /** @@ -3488,7 +3488,7 @@ interface TapGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ count?: number; /** @@ -3499,7 +3499,7 @@ interface TapGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fingers?: number; } @@ -3511,7 +3511,7 @@ interface TapGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class TapGestureHandler extends GestureHandler { /** @@ -3521,7 +3521,7 @@ declare class TapGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(options?: TapGestureHandlerOptions); /** @@ -3532,7 +3532,7 @@ declare class TapGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onAction(event: Callback): TapGestureHandler; } @@ -3554,7 +3554,7 @@ declare class TapGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ interface LongPressGestureHandlerOptions extends BaseHandlerOptions { /** @@ -3565,7 +3565,7 @@ interface LongPressGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fingers?: number; /** @@ -3576,7 +3576,7 @@ interface LongPressGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ repeat?: boolean; /** @@ -3587,7 +3587,7 @@ interface LongPressGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ duration?: number; } @@ -3599,7 +3599,7 @@ interface LongPressGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class LongPressGestureHandler extends GestureHandler { /** @@ -3609,7 +3609,7 @@ declare class LongPressGestureHandler extends GestureHandler): LongPressGestureHandler; /** @@ -3631,7 +3631,7 @@ declare class LongPressGestureHandler extends GestureHandler): LongPressGestureHandler; /** @@ -3642,7 +3642,7 @@ declare class LongPressGestureHandler extends GestureHandler): LongPressGestureHandler; /** @@ -3654,7 +3654,7 @@ declare class LongPressGestureHandler extends GestureHandler): LongPressGestureHandler; } @@ -3676,7 +3676,7 @@ declare class LongPressGestureHandler extends GestureHandler; } @@ -3731,7 +3731,7 @@ interface PanGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class PanGestureHandler extends GestureHandler { /** @@ -3741,7 +3741,7 @@ declare class PanGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(options?: PanGestureHandlerOptions); /** @@ -3752,7 +3752,7 @@ declare class PanGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onActionStart(event: Callback): PanGestureHandler; /** @@ -3763,7 +3763,7 @@ declare class PanGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onActionUpdate(event: Callback): PanGestureHandler; /** @@ -3774,7 +3774,7 @@ declare class PanGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onActionEnd(event: Callback): PanGestureHandler; /** @@ -3785,7 +3785,7 @@ declare class PanGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onActionCancel(event: Callback): PanGestureHandler; /** @@ -3797,7 +3797,7 @@ declare class PanGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onActionCancel(event: Callback): PanGestureHandler; } @@ -3819,7 +3819,7 @@ declare class PanGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ interface SwipeGestureHandlerOptions extends BaseHandlerOptions { /** @@ -3830,7 +3830,7 @@ interface SwipeGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fingers?: number; /** @@ -3841,7 +3841,7 @@ interface SwipeGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ direction?: SwipeDirection; /** @@ -3852,7 +3852,7 @@ interface SwipeGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ speed?: number; } @@ -3864,7 +3864,7 @@ interface SwipeGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class SwipeGestureHandler extends GestureHandler { /** @@ -3874,7 +3874,7 @@ declare class SwipeGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(options?: SwipeGestureHandlerOptions); /** @@ -3885,7 +3885,7 @@ declare class SwipeGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onAction(event: Callback): SwipeGestureHandler; } @@ -3907,7 +3907,7 @@ declare class SwipeGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ interface PinchGestureHandlerOptions extends BaseHandlerOptions { /** @@ -3918,7 +3918,7 @@ interface PinchGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fingers?: number; /** @@ -3929,7 +3929,7 @@ interface PinchGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ distance?: number; } @@ -3941,7 +3941,7 @@ interface PinchGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class PinchGestureHandler extends GestureHandler { /** @@ -3951,7 +3951,7 @@ declare class PinchGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(options?: PinchGestureHandlerOptions); /** @@ -3962,7 +3962,7 @@ declare class PinchGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onActionStart(event: Callback): PinchGestureHandler; /** @@ -3973,7 +3973,7 @@ declare class PinchGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onActionUpdate(event: Callback): PinchGestureHandler; /** @@ -3984,7 +3984,7 @@ declare class PinchGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onActionEnd(event: Callback): PinchGestureHandler; /** @@ -3995,7 +3995,7 @@ declare class PinchGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onActionCancel(event: Callback): PinchGestureHandler; /** @@ -4007,7 +4007,7 @@ declare class PinchGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onActionCancel(event: Callback): PinchGestureHandler; } @@ -4029,7 +4029,7 @@ declare class PinchGestureHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ interface RotationGestureHandlerOptions extends BaseHandlerOptions { /** @@ -4040,7 +4040,7 @@ interface RotationGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fingers?: number; /** @@ -4051,7 +4051,7 @@ interface RotationGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ angle?: number; } @@ -4063,7 +4063,7 @@ interface RotationGestureHandlerOptions extends BaseHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class RotationGestureHandler extends GestureHandler { /** @@ -4073,7 +4073,7 @@ declare class RotationGestureHandler extends GestureHandler): RotationGestureHandler; /** @@ -4095,7 +4095,7 @@ declare class RotationGestureHandler extends GestureHandler): RotationGestureHandler; /** @@ -4106,7 +4106,7 @@ declare class RotationGestureHandler extends GestureHandler): RotationGestureHandler; /** @@ -4117,7 +4117,7 @@ declare class RotationGestureHandler extends GestureHandler): RotationGestureHandler; /** @@ -4129,7 +4129,7 @@ declare class RotationGestureHandler extends GestureHandler): RotationGestureHandler; } @@ -4141,7 +4141,7 @@ declare class RotationGestureHandler extends GestureHandler[]; } @@ -4173,7 +4173,7 @@ interface GestureGroupGestureHandlerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class GestureGroupHandler extends GestureHandler { /** @@ -4183,7 +4183,7 @@ declare class GestureGroupHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(options?: GestureGroupGestureHandlerOptions); /** @@ -4194,7 +4194,7 @@ declare class GestureGroupHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onCancel(event: Callback): GestureGroupHandler; } @@ -4206,7 +4206,7 @@ declare class GestureGroupHandler extends GestureHandler { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum GesturePriority { /** @@ -4215,7 +4215,7 @@ declare enum GesturePriority { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NORMAL = 0, /** @@ -4224,7 +4224,7 @@ declare enum GesturePriority { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PRIORITY = 1, } @@ -4236,7 +4236,7 @@ declare enum GesturePriority { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum GestureRecognizerState { /** @@ -4245,7 +4245,7 @@ declare enum GestureRecognizerState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ READY = 0, /** @@ -4254,7 +4254,7 @@ declare enum GestureRecognizerState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DETECTING = 1, /** @@ -4263,7 +4263,7 @@ declare enum GestureRecognizerState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PENDING = 2, /** @@ -4272,7 +4272,7 @@ declare enum GestureRecognizerState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ BLOCKED = 3, /** @@ -4281,7 +4281,7 @@ declare enum GestureRecognizerState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SUCCESSFUL = 4, /** @@ -4290,7 +4290,7 @@ declare enum GestureRecognizerState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FAILED = 5, } @@ -4302,7 +4302,7 @@ declare enum GestureRecognizerState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class ScrollableTargetInfo extends EventTargetInfo { /** @@ -4312,7 +4312,7 @@ declare class ScrollableTargetInfo extends EventTargetInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isBegin(): boolean; /** @@ -4322,7 +4322,7 @@ declare class ScrollableTargetInfo extends EventTargetInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isEnd(): boolean; } @@ -4333,7 +4333,7 @@ declare class ScrollableTargetInfo extends EventTargetInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class EventTargetInfo { /** @@ -4343,7 +4343,7 @@ declare class EventTargetInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getId(): string; } @@ -4354,7 +4354,7 @@ declare class EventTargetInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class TouchRecognizer { /** @@ -4364,7 +4364,7 @@ declare class TouchRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ getEventTargetInfo(): EventTargetInfo; /** @@ -4373,7 +4373,7 @@ declare class TouchRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ cancelTouch(): void; } @@ -4384,7 +4384,7 @@ declare class TouchRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class GestureRecognizer { /** @@ -4394,7 +4394,7 @@ declare class GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getTag(): string; /** @@ -4404,7 +4404,7 @@ declare class GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getType(): GestureControl.GestureType; /** @@ -4414,7 +4414,7 @@ declare class GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isBuiltIn(): boolean; /** @@ -4424,7 +4424,7 @@ declare class GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setEnabled(isEnabled: boolean): void; /** @@ -4434,7 +4434,7 @@ declare class GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isEnabled(): boolean; /** @@ -4444,7 +4444,7 @@ declare class GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getState(): GestureRecognizerState; /** @@ -4454,7 +4454,7 @@ declare class GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getEventTargetInfo(): EventTargetInfo; /** @@ -4463,7 +4463,7 @@ declare class GestureRecognizer { * @returns { boolean } - true is valid, false is invalid * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic */ isValid(): boolean; /** @@ -4473,7 +4473,7 @@ declare class GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getFingerCount(): number; /** @@ -4483,7 +4483,7 @@ declare class GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ isFingerCountLimit(): boolean; /** @@ -4498,7 +4498,7 @@ declare class GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ preventBegin(): void; } @@ -4510,7 +4510,7 @@ declare class GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare class TapRecognizer extends GestureRecognizer { /** @@ -4520,7 +4520,7 @@ declare class TapRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getTapCount(): number; } @@ -4532,7 +4532,7 @@ declare class TapRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare class LongPressRecognizer extends GestureRecognizer { /** @@ -4542,7 +4542,7 @@ declare class LongPressRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ isRepeat(): boolean; /** @@ -4553,7 +4553,7 @@ declare class LongPressRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getDuration(): number; } @@ -4565,7 +4565,7 @@ declare class LongPressRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare class SwipeRecognizer extends GestureRecognizer { /** @@ -4576,7 +4576,7 @@ declare class SwipeRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getVelocityThreshold(): number; /** @@ -4586,7 +4586,7 @@ declare class SwipeRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getDirection(): SwipeDirection; } @@ -4598,7 +4598,7 @@ declare class SwipeRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare class PinchRecognizer extends GestureRecognizer { /** @@ -4609,7 +4609,7 @@ declare class PinchRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getDistance(): number; } @@ -4621,7 +4621,7 @@ declare class PinchRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare class RotationRecognizer extends GestureRecognizer { /** @@ -4631,7 +4631,7 @@ declare class RotationRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getAngle(): number; } @@ -4643,7 +4643,7 @@ declare class RotationRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class PanRecognizer extends GestureRecognizer { /** @@ -4653,7 +4653,7 @@ declare class PanRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getPanGestureOptions(): PanGestureOptions; /** @@ -4663,7 +4663,7 @@ declare class PanRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ getDirection(): PanDirection; /** @@ -4674,7 +4674,7 @@ declare class PanRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ getDistance(): number; /** @@ -4685,7 +4685,7 @@ declare class PanRecognizer extends GestureRecognizer { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ getDistanceMap(): Map; } diff --git a/api/@internal/component/ets/grid.d.ts b/api/@internal/component/ets/grid.d.ts index f1db72e35e..3caa204a7e 100644 --- a/api/@internal/component/ets/grid.d.ts +++ b/api/@internal/component/ets/grid.d.ts @@ -34,7 +34,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface GridLayoutOptions { /** @@ -52,7 +52,7 @@ declare interface GridLayoutOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ regularSize: [number, number]; @@ -73,7 +73,7 @@ declare interface GridLayoutOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ irregularIndexes?: number[]; @@ -94,7 +94,7 @@ declare interface GridLayoutOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onGetIrregularSizeByIndex?: (index: number) => [number, number] @@ -115,7 +115,7 @@ declare interface GridLayoutOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onGetRectByIndex?: (index: number) => [number, number, number, number] } @@ -142,7 +142,7 @@ declare interface GridLayoutOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface GridInterface { @@ -173,7 +173,7 @@ interface GridInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (scroller?: Scroller, layoutOptions?: GridLayoutOptions): GridAttribute; } @@ -200,7 +200,7 @@ interface GridInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum GridDirection { /** @@ -222,7 +222,7 @@ declare enum GridDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Row, @@ -245,7 +245,7 @@ declare enum GridDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Column, @@ -268,7 +268,7 @@ declare enum GridDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ RowReverse, @@ -291,7 +291,7 @@ declare enum GridDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ ColumnReverse, } @@ -303,7 +303,7 @@ declare enum GridDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum GridItemAlignment { @@ -313,7 +313,7 @@ declare enum GridItemAlignment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DEFAULT = 0, @@ -324,7 +324,7 @@ declare enum GridItemAlignment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ STRETCH = 1, } @@ -344,7 +344,7 @@ declare enum GridItemAlignment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ComputedBarAttribute { /** @@ -362,7 +362,7 @@ declare interface ComputedBarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ totalOffset: number; @@ -381,7 +381,7 @@ declare interface ComputedBarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ totalLength: number; } @@ -394,7 +394,7 @@ declare interface ComputedBarAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare interface UIGridEvent extends UIScrollableCommonEvent { /** @@ -404,7 +404,7 @@ declare interface UIGridEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnWillScroll(callback: OnWillScrollCallback | undefined): void; @@ -415,7 +415,7 @@ declare interface UIGridEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnDidScroll(callback: OnScrollCallback | undefined): void; @@ -427,7 +427,7 @@ declare interface UIGridEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnScrollIndex(callback: OnGridScrollIndexCallback | undefined): void; } @@ -441,7 +441,7 @@ declare interface UIGridEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare type OnGridScrollIndexCallback = (first: number, last: number) => void; @@ -467,7 +467,7 @@ declare type OnGridScrollIndexCallback = (first: number, last: number) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class GridAttribute extends ScrollableCommonMethod { @@ -496,7 +496,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ columnsTemplate(value: string): GridAttribute; @@ -525,7 +525,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ rowsTemplate(value: string): GridAttribute; @@ -554,7 +554,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ columnsGap(value: Length): GridAttribute; @@ -583,7 +583,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ rowsGap(value: Length): GridAttribute; @@ -612,7 +612,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollBarWidth(value: number | string): GridAttribute; @@ -641,7 +641,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollBarColor(value: Color | number | string): GridAttribute; @@ -670,7 +670,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollBar(value: BarState): GridAttribute; @@ -695,7 +695,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onScrollBarUpdate(event: (index: number, offset: number) => ComputedBarAttribute): GridAttribute; @@ -729,7 +729,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onScrollIndex(event: (first: number, last: number) => void): GridAttribute; @@ -758,7 +758,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ cachedCount(value: number): GridAttribute; @@ -770,7 +770,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ cachedCount(count: number, show: boolean): GridAttribute; @@ -799,7 +799,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ editMode(value: boolean): GridAttribute; @@ -828,7 +828,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ multiSelectable(value: boolean): GridAttribute; @@ -857,7 +857,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maxCount(value: number): GridAttribute; @@ -886,7 +886,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ minCount(value: number): GridAttribute; @@ -915,7 +915,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ cellLength(value: number): GridAttribute; @@ -944,7 +944,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ layoutDirection(value: GridDirection): GridAttribute; @@ -973,7 +973,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ supportAnimation(value: boolean): GridAttribute; @@ -1005,7 +1005,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onItemDragStart(event: (event: ItemDragInfo, itemIndex: number) => (() => any) | void): GridAttribute; @@ -1034,7 +1034,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onItemDragEnter(event: (event: ItemDragInfo) => void): GridAttribute; @@ -1063,7 +1063,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onItemDragMove(event: (event: ItemDragInfo, itemIndex: number, insertIndex: number) => void): GridAttribute; @@ -1092,7 +1092,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onItemDragLeave(event: (event: ItemDragInfo, itemIndex: number) => void): GridAttribute; @@ -1124,7 +1124,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onItemDrop( event: (event: ItemDragInfo, itemIndex: number, insertIndex: number, isSuccess: boolean) => void, @@ -1148,7 +1148,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ edgeEffect(value: EdgeEffect, options?: EdgeEffectOptions): GridAttribute; @@ -1168,7 +1168,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ nestedScroll(value: NestedScrollOptions): GridAttribute; @@ -1189,7 +1189,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enableScrollInteraction(value: boolean): GridAttribute; @@ -1210,7 +1210,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ friction(value: number | Resource): GridAttribute; @@ -1222,7 +1222,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ alignItems(alignment: Optional): GridAttribute; @@ -1234,7 +1234,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ focusWrapMode(mode: Optional): GridAttribute; @@ -1246,7 +1246,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ syncLoad(enable: boolean): GridAttribute; @@ -1269,7 +1269,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead common.ScrollableCommonMethod#onDidScroll */ @@ -1292,7 +1292,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onReachStart(event: () => void): GridAttribute; @@ -1313,7 +1313,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onReachEnd(event: () => void): GridAttribute; @@ -1334,7 +1334,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onScrollStart(event: () => void): GridAttribute; @@ -1355,7 +1355,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onScrollStop(event: () => void): GridAttribute; @@ -1391,7 +1391,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onScrollFrameBegin(event: OnScrollFrameBeginCallback): GridAttribute; } @@ -1424,7 +1424,7 @@ declare class GridAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare const Grid: GridInterface; @@ -1448,7 +1448,7 @@ declare const Grid: GridInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const GridInstance: GridAttribute; diff --git a/api/@internal/component/ets/gridItem.d.ts b/api/@internal/component/ets/gridItem.d.ts index d3e7e1afa9..f81e66ed78 100644 --- a/api/@internal/component/ets/gridItem.d.ts +++ b/api/@internal/component/ets/gridItem.d.ts @@ -34,7 +34,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum GridItemStyle { /** @@ -50,7 +50,7 @@ declare enum GridItemStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NONE = 0, @@ -67,7 +67,7 @@ declare enum GridItemStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PLAIN = 1, } @@ -87,7 +87,7 @@ declare enum GridItemStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface GridItemOptions { /** @@ -105,7 +105,7 @@ declare interface GridItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ style?: GridItemStyle; } @@ -132,7 +132,7 @@ declare interface GridItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface GridItemInterface { @@ -159,7 +159,7 @@ interface GridItemInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (value?: GridItemOptions): GridItemAttribute; } @@ -180,7 +180,7 @@ interface GridItemInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class GridItemAttribute extends CommonMethod { @@ -209,7 +209,7 @@ declare class GridItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ rowStart(value: number): GridItemAttribute; @@ -238,7 +238,7 @@ declare class GridItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ rowEnd(value: number): GridItemAttribute; @@ -267,7 +267,7 @@ declare class GridItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ columnStart(value: number): GridItemAttribute; @@ -296,7 +296,7 @@ declare class GridItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ columnEnd(value: number): GridItemAttribute; @@ -306,7 +306,7 @@ declare class GridItemAttribute extends CommonMethod { * @param { boolean } value * @returns { GridItemAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ forceRebuild(value: boolean): GridItemAttribute; @@ -336,7 +336,7 @@ declare class GridItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectable(value: boolean): GridItemAttribute; @@ -359,7 +359,7 @@ declare class GridItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selected(value: boolean): GridItemAttribute; @@ -388,7 +388,7 @@ declare class GridItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onSelect(event: (isSelected: boolean) => void): GridItemAttribute; } @@ -412,7 +412,7 @@ declare class GridItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const GridItem: GridItemInterface @@ -436,7 +436,7 @@ declare const GridItem: GridItemInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const GridItemInstance: GridItemAttribute; diff --git a/api/@internal/component/ets/grid_col.d.ts b/api/@internal/component/ets/grid_col.d.ts index 1b8eecf3e3..c71b180ea3 100644 --- a/api/@internal/component/ets/grid_col.d.ts +++ b/api/@internal/component/ets/grid_col.d.ts @@ -43,7 +43,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface GridColColumnOption { /** @@ -71,7 +71,7 @@ declare interface GridColColumnOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ xs?: number, @@ -100,7 +100,7 @@ declare interface GridColColumnOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ sm?: number, @@ -129,7 +129,7 @@ declare interface GridColColumnOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ md?: number, @@ -158,7 +158,7 @@ declare interface GridColColumnOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ lg?: number, @@ -187,7 +187,7 @@ declare interface GridColColumnOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ xl?: number, @@ -216,7 +216,7 @@ declare interface GridColColumnOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ xxl?: number, } @@ -246,7 +246,7 @@ declare interface GridColColumnOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface GridColOptions { /** @@ -274,7 +274,7 @@ declare interface GridColOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ span?: number | GridColColumnOption; @@ -303,7 +303,7 @@ declare interface GridColOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ offset?: number | GridColColumnOption; @@ -332,7 +332,7 @@ declare interface GridColOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ order?: number | GridColColumnOption; } @@ -362,7 +362,7 @@ declare interface GridColOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface GridColInterface { @@ -394,7 +394,7 @@ interface GridColInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (option?: GridColOptions): GridColAttribute; } @@ -424,7 +424,7 @@ interface GridColInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class GridColAttribute extends CommonMethod { @@ -456,7 +456,7 @@ declare class GridColAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ span(value: number | GridColColumnOption): GridColAttribute; @@ -488,7 +488,7 @@ declare class GridColAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ gridColOffset(value: number | GridColColumnOption): GridColAttribute; @@ -520,7 +520,7 @@ declare class GridColAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ order(value: number | GridColColumnOption): GridColAttribute; } @@ -547,7 +547,7 @@ declare class GridColAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const GridCol: GridColInterface @@ -574,7 +574,7 @@ declare const GridCol: GridColInterface * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const GridColInstance: GridColAttribute; diff --git a/api/@internal/component/ets/grid_container.d.ts b/api/@internal/component/ets/grid_container.d.ts index bb937453f8..2019ba1fa5 100644 --- a/api/@internal/component/ets/grid_container.d.ts +++ b/api/@internal/component/ets/grid_container.d.ts @@ -23,7 +23,7 @@ * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead grid_col/GridColColumnOption and grid_row/GridRowColumnOption */ @@ -32,7 +32,7 @@ declare enum SizeType { * Select a value based on the device type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ Auto, @@ -41,7 +41,7 @@ declare enum SizeType { * Select a value based on the device type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ XS, @@ -50,7 +50,7 @@ declare enum SizeType { * Small width type device. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ SM, @@ -59,7 +59,7 @@ declare enum SizeType { * Medium width type device. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ MD, @@ -68,7 +68,7 @@ declare enum SizeType { * Large width type device. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ LG, @@ -79,7 +79,7 @@ declare enum SizeType { * * @interface GridContainerOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead grid_col/GridColOptions and grid_row/GridRowOptions */ @@ -89,7 +89,7 @@ declare interface GridContainerOptions { * * @type { ?(number | "auto") } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ columns?: number | "auto"; @@ -99,7 +99,7 @@ declare interface GridContainerOptions { * * @type { ?SizeType } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ sizeType?: SizeType; @@ -109,7 +109,7 @@ declare interface GridContainerOptions { * * @type { ?(number | string) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ gutter?: number | string; @@ -119,7 +119,7 @@ declare interface GridContainerOptions { * * @type { ?(number | string) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ margin?: number | string; @@ -130,7 +130,7 @@ declare interface GridContainerOptions { * * @interface GridContainerInterface * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead grid_col/GridColInterface and grid_row/GridRowInterface * @noninterop @@ -142,7 +142,7 @@ interface GridContainerInterface { * @param { GridContainerOptions } value * @returns { GridContainerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ (value?: GridContainerOptions): GridContainerAttribute; @@ -153,7 +153,7 @@ interface GridContainerInterface { * * @extends ColumnAttribute * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead grid_col/GridColAttribute and grid_row/GridRowAttribute * @noninterop @@ -164,7 +164,7 @@ declare class GridContainerAttribute extends ColumnAttribute {} * Defines GridContainer Component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead grid_col/GridColColumnOption and grid_row/GridRowColumnOption * @noninterop @@ -175,7 +175,7 @@ declare const GridContainer: GridContainerInterface * Defines GridContainer Component instance. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead grid_col/GridColAttribute and grid_row/GridRowAttribute * @noninterop diff --git a/api/@internal/component/ets/grid_row.d.ts b/api/@internal/component/ets/grid_row.d.ts index 11cc3b3655..6d06adf21e 100644 --- a/api/@internal/component/ets/grid_row.d.ts +++ b/api/@internal/component/ets/grid_row.d.ts @@ -43,7 +43,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface GridRowSizeOption { /** @@ -71,7 +71,7 @@ declare interface GridRowSizeOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ xs?: Length, @@ -100,7 +100,7 @@ declare interface GridRowSizeOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ sm?: Length, @@ -129,7 +129,7 @@ declare interface GridRowSizeOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ md?: Length, @@ -158,7 +158,7 @@ declare interface GridRowSizeOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ lg?: Length, @@ -187,7 +187,7 @@ declare interface GridRowSizeOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ xl?: Length, @@ -216,7 +216,7 @@ declare interface GridRowSizeOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ xxl?: Length, } @@ -246,7 +246,7 @@ declare interface GridRowSizeOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface GridRowColumnOption { /** @@ -274,7 +274,7 @@ declare interface GridRowColumnOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ xs?: number, @@ -303,7 +303,7 @@ declare interface GridRowColumnOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ sm?: number, @@ -332,7 +332,7 @@ declare interface GridRowColumnOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ md?: number, @@ -361,7 +361,7 @@ declare interface GridRowColumnOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ lg?: number, @@ -390,7 +390,7 @@ declare interface GridRowColumnOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ xl?: number, @@ -419,7 +419,7 @@ declare interface GridRowColumnOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ xxl?: number, } @@ -449,7 +449,7 @@ declare interface GridRowColumnOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface GutterOption { /** @@ -477,7 +477,7 @@ declare interface GutterOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ x?: Length | GridRowSizeOption, @@ -506,7 +506,7 @@ declare interface GutterOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ y?: Length | GridRowSizeOption } @@ -536,7 +536,7 @@ declare interface GutterOption { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum BreakpointsReference { /** @@ -561,7 +561,7 @@ declare enum BreakpointsReference { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ WindowSize, @@ -587,7 +587,7 @@ declare enum BreakpointsReference { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ ComponentSize, } @@ -617,7 +617,7 @@ declare enum BreakpointsReference { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum GridRowDirection { /** @@ -642,7 +642,7 @@ declare enum GridRowDirection { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Row, @@ -668,7 +668,7 @@ declare enum GridRowDirection { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ RowReverse, } @@ -698,7 +698,7 @@ declare enum GridRowDirection { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface BreakPoints { /** @@ -726,7 +726,7 @@ declare interface BreakPoints { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ value?: Array, @@ -755,7 +755,7 @@ declare interface BreakPoints { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ reference?: BreakpointsReference, } @@ -785,7 +785,7 @@ declare interface BreakPoints { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface GridRowOptions { /** @@ -813,7 +813,7 @@ declare interface GridRowOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ gutter?: Length | GutterOption; @@ -842,7 +842,7 @@ declare interface GridRowOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ columns?: number | GridRowColumnOption; @@ -871,7 +871,7 @@ declare interface GridRowOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ breakpoints?: BreakPoints; @@ -900,7 +900,7 @@ declare interface GridRowOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ direction?: GridRowDirection; } @@ -930,7 +930,7 @@ declare interface GridRowOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface GridRowInterface { @@ -962,7 +962,7 @@ interface GridRowInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (option?: GridRowOptions): GridRowAttribute; } @@ -992,7 +992,7 @@ interface GridRowInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class GridRowAttribute extends CommonMethod { @@ -1024,7 +1024,7 @@ declare class GridRowAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onBreakpointChange(callback: (breakpoints: string) => void): GridRowAttribute; @@ -1047,7 +1047,7 @@ declare class GridRowAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ alignItems(value: ItemAlign): GridRowAttribute; } @@ -1074,7 +1074,7 @@ declare class GridRowAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const GridRow: GridRowInterface; @@ -1101,7 +1101,7 @@ declare const GridRow: GridRowInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const GridRowInstance: GridRowAttribute; diff --git a/api/@internal/component/ets/hyperlink.d.ts b/api/@internal/component/ets/hyperlink.d.ts index 0d68cbe681..a42182a22e 100755 --- a/api/@internal/component/ets/hyperlink.d.ts +++ b/api/@internal/component/ets/hyperlink.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ interface HyperlinkInterface { @@ -78,7 +78,7 @@ interface HyperlinkInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ (address: string | Resource, content?: string | Resource): HyperlinkAttribute; } @@ -105,7 +105,7 @@ interface HyperlinkInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare class HyperlinkAttribute extends CommonMethod { @@ -134,7 +134,7 @@ declare class HyperlinkAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ color(value: Color | number | string | Resource): HyperlinkAttribute; } @@ -158,7 +158,7 @@ declare class HyperlinkAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare const Hyperlink: HyperlinkInterface; @@ -182,7 +182,7 @@ declare const Hyperlink: HyperlinkInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare const HyperlinkInterface: HyperlinkAttribute; diff --git a/api/@internal/component/ets/image.d.ts b/api/@internal/component/ets/image.d.ts index 9e00223de3..f751000bbd 100644 --- a/api/@internal/component/ets/image.d.ts +++ b/api/@internal/component/ets/image.d.ts @@ -30,7 +30,7 @@ * @typedef { import ('../api/@ohos.arkui.drawableDescriptor').DrawableDescriptor } DrawableDescriptor * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ declare type DrawableDescriptor = import ('../api/@ohos.arkui.drawableDescriptor').DrawableDescriptor; @@ -41,7 +41,7 @@ declare type DrawableDescriptor = import ('../api/@ohos.arkui.drawableDescriptor * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type DrawingColorFilter = import('../api/@ohos.graphics.drawing').default.ColorFilter; @@ -51,7 +51,7 @@ declare type DrawingColorFilter = import('../api/@ohos.graphics.drawing').defaul * @typedef {import('../api/@ohos.multimedia.image').default.ResolutionQuality} ResolutionQuality * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ declare type ResolutionQuality = import('../api/@ohos.multimedia.image').default.ResolutionQuality; @@ -62,7 +62,7 @@ declare type ResolutionQuality = import('../api/@ohos.multimedia.image').default * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type DrawingLattice = import('../api/@ohos.graphics.drawing').default.Lattice; @@ -73,7 +73,7 @@ declare type DrawingLattice = import('../api/@ohos.graphics.drawing').default.La * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare type ImageMatrix = import ('../api/@ohos.matrix4').default.Matrix4Transit; @@ -85,7 +85,7 @@ declare type ImageMatrix = import ('../api/@ohos.matrix4').default.Matrix4Transi * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare type BusinessError = import('../api/@ohos.base').BusinessError; @@ -113,7 +113,7 @@ declare type BusinessError = import('../api/@ohos.base').BusinessError; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ImageRenderMode { /** @@ -144,7 +144,7 @@ declare enum ImageRenderMode { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Original, @@ -176,7 +176,7 @@ declare enum ImageRenderMode { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Template, } @@ -189,7 +189,7 @@ declare enum ImageRenderMode { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum ImageContent { /** @@ -199,7 +199,7 @@ declare enum ImageContent { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ EMPTY = 0, } @@ -208,7 +208,7 @@ declare enum ImageContent { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum DynamicRangeMode { /** @@ -216,7 +216,7 @@ declare enum DynamicRangeMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ HIGH = 0, @@ -225,7 +225,7 @@ declare enum DynamicRangeMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ CONSTRAINT = 1, @@ -234,7 +234,7 @@ declare enum DynamicRangeMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ STANDARD = 2, } @@ -263,7 +263,7 @@ declare enum DynamicRangeMode { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ImageInterpolation { /** @@ -294,7 +294,7 @@ declare enum ImageInterpolation { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ None, @@ -326,7 +326,7 @@ declare enum ImageInterpolation { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Low, @@ -358,7 +358,7 @@ declare enum ImageInterpolation { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Medium, @@ -390,7 +390,7 @@ declare enum ImageInterpolation { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ High, } @@ -400,7 +400,7 @@ declare enum ImageInterpolation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare enum ImageRotateOrientation { /** @@ -409,7 +409,7 @@ declare enum ImageRotateOrientation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ AUTO = 0, @@ -419,7 +419,7 @@ declare enum ImageRotateOrientation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ UP = 1, @@ -429,7 +429,7 @@ declare enum ImageRotateOrientation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ RIGHT = 2, @@ -439,7 +439,7 @@ declare enum ImageRotateOrientation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ DOWN = 3, @@ -449,7 +449,7 @@ declare enum ImageRotateOrientation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ LEFT = 4, @@ -459,7 +459,7 @@ declare enum ImageRotateOrientation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ UP_MIRRORED = 5, @@ -469,7 +469,7 @@ declare enum ImageRotateOrientation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ RIGHT_MIRRORED = 6, @@ -479,7 +479,7 @@ declare enum ImageRotateOrientation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ DOWN_MIRRORED = 7, @@ -489,7 +489,7 @@ declare enum ImageRotateOrientation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ LEFT_MIRRORED = 8, } @@ -518,7 +518,7 @@ declare enum ImageRotateOrientation { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface ImageInterface { @@ -558,7 +558,7 @@ interface ImageInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (src: PixelMap | ResourceStr | DrawableDescriptor): ImageAttribute; @@ -571,7 +571,7 @@ interface ImageInterface { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ (src: PixelMap | ResourceStr | DrawableDescriptor | ImageContent): ImageAttribute; @@ -583,7 +583,7 @@ interface ImageInterface { * @returns { ImageAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ (src: PixelMap | ResourceStr | DrawableDescriptor, imageAIOptions: ImageAIOptions): ImageAttribute; } @@ -596,7 +596,7 @@ interface ImageInterface { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ interface ImageSourceSize { @@ -643,7 +643,7 @@ interface ImageSourceSize { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ width: number; @@ -690,7 +690,7 @@ interface ImageSourceSize { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ height: number; } @@ -701,7 +701,7 @@ interface ImageSourceSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare class ColorContent { /** @@ -713,7 +713,7 @@ declare class ColorContent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ static readonly ORIGIN: ColorContent; } @@ -742,7 +742,7 @@ declare class ColorContent { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class ImageAttribute extends CommonMethod { @@ -797,7 +797,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ alt(value: string | Resource | PixelMap): ImageAttribute; @@ -841,7 +841,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ matchTextDirection(value: boolean): ImageAttribute; @@ -885,7 +885,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fitOriginalSize(value: boolean): ImageAttribute; @@ -932,7 +932,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fillColor(value: ResourceColor): ImageAttribute; @@ -951,7 +951,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ fillColor(color: ResourceColor | ColorContent): ImageAttribute; @@ -970,7 +970,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ fillColor(color: ResourceColor | ColorContent | ColorMetrics): ImageAttribute; @@ -1010,7 +1010,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ objectFit(value: ImageFit): ImageAttribute; @@ -1022,7 +1022,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ imageMatrix(matrix: ImageMatrix): ImageAttribute; @@ -1067,7 +1067,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ objectRepeat(value: ImageRepeat): ImageAttribute; @@ -1113,7 +1113,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ autoResize(value: boolean): ImageAttribute; @@ -1159,7 +1159,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ renderMode(value: ImageRenderMode): ImageAttribute; @@ -1175,7 +1175,7 @@ declare class ImageAttribute extends CommonMethod { * dynamicRangeMode.Standard. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ dynamicRangeMode(value: DynamicRangeMode): ImageAttribute; @@ -1186,7 +1186,7 @@ declare class ImageAttribute extends CommonMethod { * @returns { ImageAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 19 + * @since 19 dynamic */ hdrBrightness(brightness: number): ImageAttribute; @@ -1231,7 +1231,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ interpolation(value: ImageInterpolation): ImageAttribute; @@ -1294,7 +1294,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ sourceSize(value: ImageSourceSize): ImageAttribute; @@ -1341,7 +1341,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ syncLoad(value: boolean): ImageAttribute; @@ -1388,7 +1388,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ colorFilter(value: ColorFilter | DrawingColorFilter): ImageAttribute; @@ -1425,7 +1425,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ copyOption(value: CopyOptions): ImageAttribute; @@ -1460,7 +1460,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ draggable(value: boolean): ImageAttribute; @@ -1471,7 +1471,7 @@ declare class ImageAttribute extends CommonMethod { * @returns { ImageAttribute } The attribute of the image. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ pointLight(value: PointLightStyle): ImageAttribute; @@ -1484,7 +1484,7 @@ declare class ImageAttribute extends CommonMethod { * @returns { ImageAttribute } The attribute of the image. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ edgeAntialiasing(value: number): ImageAttribute; @@ -1532,7 +1532,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onComplete( callback: (event?: { @@ -1567,7 +1567,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @form */ width: number; @@ -1602,7 +1602,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @form */ height: number; @@ -1637,7 +1637,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @form */ componentWidth: number; @@ -1672,7 +1672,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @form */ componentHeight: number; @@ -1715,7 +1715,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @form */ loadingStatus: number; @@ -1735,7 +1735,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @form */ contentWidth: number; @@ -1755,7 +1755,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @form */ contentHeight: number; @@ -1775,7 +1775,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @form */ contentOffsetX: number; @@ -1795,7 +1795,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @form */ contentOffsetY: number; @@ -1837,7 +1837,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onError(callback: ImageErrorCallback): ImageAttribute; @@ -1886,7 +1886,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onFinish(event: () => void): ImageAttribute; @@ -1920,7 +1920,7 @@ declare class ImageAttribute extends CommonMethod { * @returns { ImageAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ enableAnalyzer(enable: boolean): ImageAttribute; @@ -1931,7 +1931,7 @@ declare class ImageAttribute extends CommonMethod { * @returns { ImageAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ analyzerConfig(config: ImageAnalyzerConfig): ImageAttribute; @@ -1962,7 +1962,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ resizable(value: ResizableOptions): ImageAttribute; @@ -1973,7 +1973,7 @@ declare class ImageAttribute extends CommonMethod { * @returns { ImageAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ enhancedImageQuality(imageQuality: ResolutionQuality): ImageAttribute; @@ -1989,7 +1989,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ privacySensitive(supported: boolean): ImageAttribute; @@ -2002,7 +2002,7 @@ declare class ImageAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ orientation(orientation: ImageRotateOrientation) : ImageAttribute; } @@ -2045,7 +2045,7 @@ declare class ImageAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Image: ImageInterface; @@ -2078,7 +2078,7 @@ declare const Image: ImageInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ImageInstance: ImageAttribute; @@ -2103,7 +2103,7 @@ declare const ImageInstance: ImageAttribute; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ type ImageErrorCallback = (error: ImageError) => void; @@ -2126,7 +2126,7 @@ type ImageErrorCallback = (error: ImageError) => void; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ImageError { /** @@ -2154,7 +2154,7 @@ declare interface ImageError { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ componentWidth: number; @@ -2183,7 +2183,7 @@ declare interface ImageError { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ componentHeight: number; @@ -2204,7 +2204,7 @@ declare interface ImageError { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ message: string @@ -2216,7 +2216,7 @@ declare interface ImageError { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ error?: BusinessError; } @@ -2236,7 +2236,7 @@ declare interface ImageError { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface ResizableOptions { /** @@ -2254,7 +2254,7 @@ declare interface ResizableOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ slice?: EdgeWidths; @@ -2265,7 +2265,7 @@ declare interface ResizableOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lattice?: DrawingLattice; } diff --git a/api/@internal/component/ets/image_animator.d.ts b/api/@internal/component/ets/image_animator.d.ts index b4bb134365..7cd9a9db4a 100644 --- a/api/@internal/component/ets/image_animator.d.ts +++ b/api/@internal/component/ets/image_animator.d.ts @@ -42,7 +42,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface ImageAnimatorInterface { @@ -70,7 +70,7 @@ interface ImageAnimatorInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (): ImageAnimatorAttribute; } @@ -99,7 +99,7 @@ interface ImageAnimatorInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ImageFrameInfo { /** @@ -143,7 +143,7 @@ interface ImageFrameInfo { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ src: string | Resource | PixelMap; /** @@ -170,7 +170,7 @@ interface ImageFrameInfo { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ width?: number | string; /** @@ -197,7 +197,7 @@ interface ImageFrameInfo { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ height?: number | string; /** @@ -224,7 +224,7 @@ interface ImageFrameInfo { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ top?: number | string; /** @@ -251,7 +251,7 @@ interface ImageFrameInfo { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ left?: number | string; /** @@ -276,7 +276,7 @@ interface ImageFrameInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ duration?: number; } @@ -305,7 +305,7 @@ interface ImageFrameInfo { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class ImageAnimatorAttribute extends CommonMethod { @@ -340,7 +340,7 @@ declare class ImageAnimatorAttribute extends CommonMethod): ImageAnimatorAttribute; @@ -371,7 +371,7 @@ declare class ImageAnimatorAttribute extends CommonMethod void): ImageAnimatorAttribute; @@ -618,7 +618,7 @@ declare class ImageAnimatorAttribute extends CommonMethod void): ImageAnimatorAttribute; @@ -647,7 +647,7 @@ declare class ImageAnimatorAttribute extends CommonMethod void): ImageAnimatorAttribute; @@ -678,7 +678,7 @@ declare class ImageAnimatorAttribute extends CommonMethod void): ImageAnimatorAttribute; @@ -709,7 +709,7 @@ declare class ImageAnimatorAttribute extends CommonMethod void): ImageAnimatorAttribute; } @@ -735,7 +735,7 @@ declare class ImageAnimatorAttribute extends CommonMethod { @@ -95,7 +95,7 @@ declare class ImageSpanAttribute extends BaseSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ verticalAlign(value: ImageSpanAlignment): ImageSpanAttribute; @@ -107,7 +107,7 @@ declare class ImageSpanAttribute extends BaseSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ colorFilter(filter: ColorFilter | DrawingColorFilter): ImageSpanAttribute; @@ -128,7 +128,7 @@ declare class ImageSpanAttribute extends BaseSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ objectFit(value: ImageFit): ImageSpanAttribute; @@ -141,7 +141,7 @@ declare class ImageSpanAttribute extends BaseSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onComplete(callback: ImageCompleteCallback): ImageSpanAttribute; @@ -154,7 +154,7 @@ declare class ImageSpanAttribute extends BaseSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onError(callback: ImageErrorCallback): ImageSpanAttribute; @@ -165,7 +165,7 @@ declare class ImageSpanAttribute extends BaseSpan { * @returns { ImageSpanAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ alt(value: PixelMap): ImageSpanAttribute; } @@ -183,7 +183,7 @@ declare class ImageSpanAttribute extends BaseSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ImageSpan: ImageSpanInterface; @@ -201,7 +201,7 @@ declare const ImageSpan: ImageSpanInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ImageSpanInstance: ImageSpanAttribute; @@ -214,7 +214,7 @@ declare const ImageSpanInstance: ImageSpanAttribute; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type ImageCompleteCallback = (result: ImageLoadResult) => void; @@ -225,7 +225,7 @@ type ImageCompleteCallback = (result: ImageLoadResult) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface ImageLoadResult { /** @@ -235,7 +235,7 @@ declare interface ImageLoadResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ width: number; /** @@ -245,7 +245,7 @@ declare interface ImageLoadResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ height: number; /** @@ -255,7 +255,7 @@ declare interface ImageLoadResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ componentWidth: number; /** @@ -265,7 +265,7 @@ declare interface ImageLoadResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ componentHeight: number; /** @@ -277,7 +277,7 @@ declare interface ImageLoadResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ loadingStatus: number; /** @@ -287,7 +287,7 @@ declare interface ImageLoadResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentWidth: number; /** @@ -297,7 +297,7 @@ declare interface ImageLoadResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentHeight: number; /** @@ -307,7 +307,7 @@ declare interface ImageLoadResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentOffsetX: number; /** @@ -317,7 +317,7 @@ declare interface ImageLoadResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentOffsetY: number; } diff --git a/api/@internal/component/ets/indicatorcomponent.d.ts b/api/@internal/component/ets/indicatorcomponent.d.ts index c8bce3374b..42c953af69 100644 --- a/api/@internal/component/ets/indicatorcomponent.d.ts +++ b/api/@internal/component/ets/indicatorcomponent.d.ts @@ -25,7 +25,7 @@ * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ declare class IndicatorComponentController { /** @@ -35,7 +35,7 @@ declare class IndicatorComponentController { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ constructor(); @@ -46,7 +46,7 @@ declare class IndicatorComponentController { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ showNext():void; @@ -57,7 +57,7 @@ declare class IndicatorComponentController { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ showPrevious():void; @@ -71,7 +71,7 @@ declare class IndicatorComponentController { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ changeIndex(index: number, useAnimation?: boolean):void; } @@ -84,7 +84,7 @@ declare class IndicatorComponentController { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic * @noninterop */ interface IndicatorComponentInterface { @@ -98,7 +98,7 @@ interface IndicatorComponentInterface { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ (controller?: IndicatorComponentController): IndicatorComponentAttribute; } @@ -111,7 +111,7 @@ interface IndicatorComponentInterface { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic * @noninterop */ declare class IndicatorComponentAttribute extends CommonMethod { @@ -124,7 +124,7 @@ declare class IndicatorComponentAttribute extends CommonMethod): IndicatorComponentAttribute; } @@ -201,7 +201,7 @@ declare class IndicatorComponentAttribute extends CommonMethod void): void; @@ -69,7 +69,7 @@ declare namespace Profiler { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 8 + * @since 8 dynamic * @test */ function unregisterVsyncCallback(): void; @@ -81,7 +81,7 @@ declare namespace Profiler { * @param { string } value * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 8 + * @since 8 dynamic * @test */ declare function setAppBgColor(value: string): void; diff --git a/api/@internal/component/ets/isolated_component.d.ts b/api/@internal/component/ets/isolated_component.d.ts index 730bf5b0ea..38e4a1f967 100644 --- a/api/@internal/component/ets/isolated_component.d.ts +++ b/api/@internal/component/ets/isolated_component.d.ts @@ -24,7 +24,7 @@ * @typedef { import('../api/@ohos.worker').default.RestrictedWorker } RestrictedWorker * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ declare type RestrictedWorker = import('../api/@ohos.worker').default.RestrictedWorker; @@ -34,7 +34,7 @@ declare type RestrictedWorker = import('../api/@ohos.worker').default.Restricted * @typedef { import('../api/@ohos.base').ErrorCallback } ErrorCallback * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ declare type ErrorCallback = import('../api/@ohos.base').ErrorCallback; @@ -44,7 +44,7 @@ declare type ErrorCallback = import('../api/@ohos.base').ErrorCallback; * @typedef { import('../api/@ohos.app.ability.Want').default } Want * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ declare type Want = import('../api/@ohos.app.ability.Want').default; @@ -54,7 +54,7 @@ declare type Want = import('../api/@ohos.app.ability.Want').default; * @interface IsolatedOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ declare interface IsolatedOptions { /** @@ -62,7 +62,7 @@ declare interface IsolatedOptions { * @type { Want } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ want: Want; /** @@ -70,7 +70,7 @@ declare interface IsolatedOptions { * @type { RestrictedWorker } worker - worker which run abc * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ worker: RestrictedWorker; } @@ -83,7 +83,7 @@ declare interface IsolatedOptions { * @returns { IsolatedComponentAttribute } Attribute of IsolatedComponent * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic * @noninterop */ declare type IsolatedComponentInterface = (options: IsolatedOptions) => IsolatedComponentAttribute; @@ -94,7 +94,7 @@ declare type IsolatedComponentInterface = (options: IsolatedOptions) => Isolated * @extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic * @noninterop */ declare class IsolatedComponentAttribute extends CommonMethod { @@ -104,7 +104,7 @@ declare class IsolatedComponentAttribute extends CommonMethod } @@ -152,7 +152,7 @@ interface DataAddOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface DataDeleteOperation { /** @@ -162,7 +162,7 @@ interface DataDeleteOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type: DataOperationType.DELETE, @@ -173,7 +173,7 @@ interface DataDeleteOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ index: number, @@ -185,7 +185,7 @@ interface DataDeleteOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ count?: number } @@ -197,7 +197,7 @@ interface DataDeleteOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface DataChangeOperation { /** @@ -207,7 +207,7 @@ interface DataChangeOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type: DataOperationType.CHANGE, @@ -218,7 +218,7 @@ interface DataChangeOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ index: number, @@ -229,7 +229,7 @@ interface DataChangeOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ key?: string } @@ -241,7 +241,7 @@ interface DataChangeOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface MoveIndex { /** @@ -251,7 +251,7 @@ interface MoveIndex { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ from: number; /** @@ -261,7 +261,7 @@ interface MoveIndex { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ to: number; } @@ -273,7 +273,7 @@ interface MoveIndex { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface ExchangeIndex { /** @@ -283,7 +283,7 @@ interface ExchangeIndex { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ start: number; /** @@ -293,7 +293,7 @@ interface ExchangeIndex { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ end: number; } @@ -305,7 +305,7 @@ interface ExchangeIndex { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface ExchangeKey { /** @@ -315,7 +315,7 @@ interface ExchangeKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ start: string; /** @@ -325,7 +325,7 @@ interface ExchangeKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ end: string; } @@ -337,7 +337,7 @@ interface ExchangeKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface DataMoveOperation { /** @@ -347,7 +347,7 @@ interface DataMoveOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type: DataOperationType.MOVE, @@ -358,7 +358,7 @@ interface DataMoveOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ index: MoveIndex, @@ -369,7 +369,7 @@ interface DataMoveOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ key?: string } @@ -381,7 +381,7 @@ interface DataMoveOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface DataExchangeOperation { /** @@ -391,7 +391,7 @@ interface DataMoveOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type: DataOperationType.EXCHANGE, @@ -402,7 +402,7 @@ interface DataMoveOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ index: ExchangeIndex, @@ -413,7 +413,7 @@ interface DataMoveOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ key?: ExchangeKey } @@ -428,7 +428,7 @@ interface DataMoveOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface DataReloadOperation { /** @@ -438,7 +438,7 @@ interface DataReloadOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type: DataOperationType.RELOAD } @@ -450,7 +450,7 @@ interface DataReloadOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type DataOperation = DataAddOperation | DataDeleteOperation | DataChangeOperation | DataMoveOperation | DataExchangeOperation | DataReloadOperation; @@ -477,7 +477,7 @@ declare type DataOperation = * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface DataChangeListener { /** @@ -502,7 +502,7 @@ declare interface DataChangeListener { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onDataReloaded(): void; @@ -511,7 +511,7 @@ declare interface DataChangeListener { * * @param { number } index * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 8 * @useinstead onDataAdd */ @@ -539,7 +539,7 @@ declare interface DataChangeListener { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onDataAdd(index: number): void; @@ -549,7 +549,7 @@ declare interface DataChangeListener { * @param { number } from * @param { number } to * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 8 * @useinstead onDataMove */ @@ -580,7 +580,7 @@ declare interface DataChangeListener { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onDataMove(from: number, to: number): void; @@ -590,7 +590,7 @@ declare interface DataChangeListener { * * @param { number } index * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 8 * @useinstead onDataDelete */ @@ -621,7 +621,7 @@ declare interface DataChangeListener { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onDataDelete(index: number): void; @@ -630,7 +630,7 @@ declare interface DataChangeListener { * * @param { number } index * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 8 * @useinstead onDataChange */ @@ -658,7 +658,7 @@ declare interface DataChangeListener { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onDataChange(index: number): void; @@ -669,7 +669,7 @@ declare interface DataChangeListener { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDatasetChange(dataOperations: DataOperation[]): void; } @@ -696,7 +696,7 @@ declare interface DataChangeListener { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface IDataSource { /** @@ -721,7 +721,7 @@ declare interface IDataSource { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ totalCount(): number; @@ -750,7 +750,7 @@ declare interface IDataSource { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getData(index: number): any; @@ -776,7 +776,7 @@ declare interface IDataSource { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ registerDataChangeListener(listener: DataChangeListener): void; @@ -802,7 +802,7 @@ declare interface IDataSource { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ unregisterDataChangeListener(listener: DataChangeListener): void; } @@ -814,7 +814,7 @@ declare interface IDataSource { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class LazyForEachAttribute extends DynamicNode { @@ -841,7 +841,7 @@ declare class LazyForEachAttribute extends DynamicNode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface LazyForEachInterface { @@ -888,7 +888,7 @@ interface LazyForEachInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ( dataSource: IDataSource, @@ -916,7 +916,7 @@ interface LazyForEachInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const LazyForEach: LazyForEachInterface; diff --git a/api/@internal/component/ets/lazy_grid_layout.d.ts b/api/@internal/component/ets/lazy_grid_layout.d.ts index fbd3c22c74..3e5b05ffdf 100644 --- a/api/@internal/component/ets/lazy_grid_layout.d.ts +++ b/api/@internal/component/ets/lazy_grid_layout.d.ts @@ -27,7 +27,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic * @noninterop */ interface LazyVGridLayoutInterface { @@ -38,7 +38,7 @@ interface LazyVGridLayoutInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ (): LazyVGridLayoutAttribute; } @@ -50,7 +50,7 @@ interface LazyVGridLayoutInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic * @noninterop */ declare class LazyGridLayoutAttribute extends CommonMethod { @@ -62,7 +62,7 @@ declare class LazyGridLayoutAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ rowsGap(value: LengthMetrics): T; @@ -74,7 +74,7 @@ declare class LazyGridLayoutAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ columnsGap(value: LengthMetrics): T; } @@ -86,7 +86,7 @@ declare class LazyGridLayoutAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic * @noninterop */ declare class LazyVGridLayoutAttribute extends LazyGridLayoutAttribute { @@ -98,7 +98,7 @@ declare class LazyVGridLayoutAttribute extends LazyGridLayoutAttribute { @@ -373,7 +373,7 @@ declare class LineAttribute extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ startPoint(value: Array): LineAttribute; @@ -413,7 +413,7 @@ declare class LineAttribute extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ endPoint(value: Array): LineAttribute; } @@ -446,7 +446,7 @@ declare class LineAttribute extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Line: LineInterface; @@ -479,7 +479,7 @@ declare const Line: LineInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const LineInstance: LineAttribute; diff --git a/api/@internal/component/ets/list.d.ts b/api/@internal/component/ets/list.d.ts index 978153f410..3b8680180e 100644 --- a/api/@internal/component/ets/list.d.ts +++ b/api/@internal/component/ets/list.d.ts @@ -51,7 +51,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ScrollState { /** @@ -83,7 +83,7 @@ declare enum ScrollState { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Idle, @@ -116,7 +116,7 @@ declare enum ScrollState { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Scroll, @@ -148,7 +148,7 @@ declare enum ScrollState { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Fling, } @@ -178,7 +178,7 @@ declare enum ScrollState { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ListItemAlign { /** @@ -203,7 +203,7 @@ declare enum ListItemAlign { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Start, @@ -229,7 +229,7 @@ declare enum ListItemAlign { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Center, @@ -255,7 +255,7 @@ declare enum ListItemAlign { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ End, } @@ -267,7 +267,7 @@ declare enum ListItemAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum ListItemGroupArea { /** @@ -276,7 +276,7 @@ declare enum ListItemGroupArea { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NONE = 0, @@ -286,7 +286,7 @@ declare enum ListItemGroupArea { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ IN_LIST_ITEM_AREA = 1, @@ -296,7 +296,7 @@ declare enum ListItemGroupArea { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ IN_HEADER_AREA = 2, @@ -306,7 +306,7 @@ declare enum ListItemGroupArea { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ IN_FOOTER_AREA = 3, } @@ -336,7 +336,7 @@ declare enum ListItemGroupArea { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum StickyStyle { /** @@ -362,7 +362,7 @@ declare enum StickyStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ None = 0, @@ -389,7 +389,7 @@ declare enum StickyStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Header = 1, @@ -416,7 +416,7 @@ declare enum StickyStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Footer = 2, } @@ -427,7 +427,7 @@ declare enum StickyStyle { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ declare enum ChainEdgeEffect { /** @@ -436,7 +436,7 @@ declare enum ChainEdgeEffect { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ DEFAULT, @@ -445,7 +445,7 @@ declare enum ChainEdgeEffect { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ STRETCH, } @@ -464,7 +464,7 @@ declare enum ChainEdgeEffect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ScrollSnapAlign { /** @@ -480,7 +480,7 @@ declare enum ScrollSnapAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ NONE = 0, @@ -501,7 +501,7 @@ declare enum ScrollSnapAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ START = 1, @@ -522,7 +522,7 @@ declare enum ScrollSnapAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ CENTER = 2, @@ -543,7 +543,7 @@ declare enum ScrollSnapAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ END = 3, } @@ -554,7 +554,7 @@ declare enum ScrollSnapAlign { * @interface ChainAnimationOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ declare interface ChainAnimationOptions { /** @@ -563,7 +563,7 @@ declare interface ChainAnimationOptions { * @type { Length } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ minSpace: Length; @@ -573,7 +573,7 @@ declare interface ChainAnimationOptions { * @type { Length } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ maxSpace: Length; @@ -584,7 +584,7 @@ declare interface ChainAnimationOptions { * @default 0.7 * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ conductivity?: number; @@ -595,7 +595,7 @@ declare interface ChainAnimationOptions { * @default 0.3 * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ intensity?: number; @@ -606,7 +606,7 @@ declare interface ChainAnimationOptions { * @default ChainEdgeEffect.DEFAULT * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ edgeEffect?: ChainEdgeEffect; @@ -617,7 +617,7 @@ declare interface ChainAnimationOptions { * @default 228 * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ stiffness?: number; @@ -628,7 +628,7 @@ declare interface ChainAnimationOptions { * @default 30 * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ damping?: number; } @@ -641,7 +641,7 @@ declare interface ChainAnimationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare interface UIListEvent extends UIScrollableCommonEvent { /** @@ -651,7 +651,7 @@ declare interface UIListEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnWillScroll(callback: OnWillScrollCallback | undefined): void; @@ -662,7 +662,7 @@ declare interface UIListEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnDidScroll(callback: OnScrollCallback | undefined): void; @@ -674,7 +674,7 @@ declare interface UIListEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnScrollIndex(callback: OnListScrollIndexCallback | undefined): void; @@ -686,7 +686,7 @@ declare interface UIListEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnScrollVisibleContentChange(callback: OnScrollVisibleContentChangeCallback | undefined): void; } @@ -706,7 +706,7 @@ declare interface UIListEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface CloseSwipeActionOptions { /** @@ -724,7 +724,7 @@ declare interface CloseSwipeActionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onFinish?: ()=>void } @@ -736,7 +736,7 @@ declare interface CloseSwipeActionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface VisibleListContentInfo { /** @@ -746,7 +746,7 @@ declare interface VisibleListContentInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ index: number @@ -758,7 +758,7 @@ declare interface VisibleListContentInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ itemGroupArea?: ListItemGroupArea @@ -770,7 +770,7 @@ declare interface VisibleListContentInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ itemIndexInGroup?: number } @@ -784,7 +784,7 @@ declare interface VisibleListContentInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type OnScrollVisibleContentChangeCallback = (start: VisibleListContentInfo, end: VisibleListContentInfo) => void; @@ -799,7 +799,7 @@ declare type OnScrollVisibleContentChangeCallback = (start: VisibleListContentIn * @crossplatform * @form * @atomicservice - * @since 19 + * @since 19 dynamic */ declare type OnListScrollIndexCallback = (start: number, end: number, center: number) => void; @@ -814,7 +814,7 @@ declare type OnListScrollIndexCallback = (start: number, end: number, center: nu * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class ListScroller extends Scroller { /** @@ -856,7 +856,7 @@ declare class ListScroller extends Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getItemRectInGroup(index: number, indexInGroup: number): RectResult; @@ -898,7 +898,7 @@ declare class ListScroller extends Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ scrollToItemInGroup(index: number, indexInGroup:number, smooth?: boolean, align?: ScrollAlign): void; @@ -931,7 +931,7 @@ declare class ListScroller extends Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ closeAllSwipeActions(options?: CloseSwipeActionOptions): void; @@ -955,7 +955,7 @@ declare class ListScroller extends Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getVisibleListContentInfo(x: number, y: number): VisibleListContentInfo; } @@ -972,7 +972,7 @@ declare class ListScroller extends Scroller { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ interface ListOptions { /** @@ -1024,7 +1024,7 @@ interface ListOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ initialIndex?: number; /** @@ -1077,7 +1077,7 @@ interface ListOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ space?: number | string; /** @@ -1127,7 +1127,7 @@ interface ListOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ scroller?: Scroller; } @@ -1164,7 +1164,7 @@ interface ListOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface ListInterface { @@ -1216,7 +1216,7 @@ interface ListInterface { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ (options?: ListOptions): ListAttribute; } @@ -1229,7 +1229,7 @@ interface ListInterface { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface ListDividerOptions { /** @@ -1275,7 +1275,7 @@ declare interface ListDividerOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ strokeWidth: Length; /** @@ -1322,7 +1322,7 @@ declare interface ListDividerOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ color?: ResourceColor; /** @@ -1369,7 +1369,7 @@ declare interface ListDividerOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ startMargin?: Length; /** @@ -1416,7 +1416,7 @@ declare interface ListDividerOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ endMargin?: Length; } @@ -1445,7 +1445,7 @@ declare interface ListDividerOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class ListAttribute extends ScrollableCommonMethod { @@ -1480,7 +1480,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ lanes(value: number | LengthConstrain, gutter?: Dimension): ListAttribute; @@ -1513,7 +1513,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ alignListItem(value: ListItemAlign): ListAttribute; @@ -1553,7 +1553,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ listDirection(value: Axis): ListAttribute; @@ -1595,7 +1595,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollBar(value: BarState): ListAttribute; @@ -1645,7 +1645,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ edgeEffect(value: EdgeEffect, options?: EdgeEffectOptions): ListAttribute; @@ -1665,7 +1665,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentStartOffset(value: number): ListAttribute; @@ -1686,7 +1686,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentEndOffset(value: number): ListAttribute; @@ -1738,7 +1738,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ divider( value: ListDividerOptions | null, @@ -1750,7 +1750,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @param { boolean } value - Whether to enable edit mode.
Default value: false * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ editMode(value: boolean): ListAttribute; @@ -1793,7 +1793,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ multiSelectable(value: boolean): ListAttribute; @@ -1835,7 +1835,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ cachedCount(value: number): ListAttribute; @@ -1851,7 +1851,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 14 + * @since 14 dynamic */ cachedCount(count: number, show: boolean): ListAttribute; @@ -1894,7 +1894,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ chainAnimation(value: boolean): ListAttribute; @@ -1905,7 +1905,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @returns { ListAttribute } the attribute of the list. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ chainAnimationOptions(value: ChainAnimationOptions): ListAttribute; @@ -1943,7 +1943,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ sticky(value: StickyStyle): ListAttribute; @@ -1964,7 +1964,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollSnapAlign(value: ScrollSnapAlign): ListAttribute; @@ -1985,7 +1985,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ nestedScroll(value: NestedScrollOptions): ListAttribute; @@ -2007,7 +2007,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enableScrollInteraction(value: boolean): ListAttribute; @@ -2033,7 +2033,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ friction(value: number | Resource): ListAttribute; @@ -2045,7 +2045,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ childrenMainSize(value: ChildrenMainSize): ListAttribute; @@ -2069,7 +2069,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ maintainVisibleContentPosition(enabled: boolean): ListAttribute; @@ -2091,7 +2091,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ stackFromEnd(enabled: boolean): ListAttribute; @@ -2103,7 +2103,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ focusWrapMode(mode: Optional): ListAttribute; @@ -2115,7 +2115,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ syncLoad(enable: boolean): ListAttribute; @@ -2155,7 +2155,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead common.ScrollableCommonMethod#onDidScroll */ @@ -2197,7 +2197,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onScrollIndex(event: (start: number, end: number, center: number) => void): ListAttribute; @@ -2209,7 +2209,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onScrollVisibleContentChange(handler: OnScrollVisibleContentChangeCallback): ListAttribute; @@ -2249,7 +2249,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onReachStart(event: () => void): ListAttribute; @@ -2289,7 +2289,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onReachEnd(event: () => void): ListAttribute; @@ -2322,7 +2322,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onScrollStart(event: () => void): ListAttribute; @@ -2363,7 +2363,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onScrollStop(event: () => void): ListAttribute; @@ -2373,7 +2373,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ onItemDelete(event: (index: number) => boolean): ListAttribute; @@ -2403,7 +2403,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onItemMove(event: (from: number, to: number) => boolean): ListAttribute; @@ -2434,7 +2434,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onItemDragStart(event: (event: ItemDragInfo, itemIndex: number) => ((() => any) | void)): ListAttribute; @@ -2463,7 +2463,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onItemDragEnter(event: (event: ItemDragInfo) => void): ListAttribute; @@ -2492,7 +2492,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onItemDragMove(event: (event: ItemDragInfo, itemIndex: number, insertIndex: number) => void): ListAttribute; @@ -2521,7 +2521,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onItemDragLeave(event: (event: ItemDragInfo, itemIndex: number) => void): ListAttribute; @@ -2552,7 +2552,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onItemDrop(event: (event: ItemDragInfo, itemIndex: number, insertIndex: number, isSuccess: boolean) => void): ListAttribute; @@ -2597,7 +2597,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ onScrollFrameBegin(event: OnScrollFrameBeginCallback): ListAttribute; } @@ -2640,7 +2640,7 @@ declare class ListAttribute extends ScrollableCommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare const List: ListInterface; @@ -2673,7 +2673,7 @@ declare const List: ListInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ListInstance: ListAttribute; diff --git a/api/@internal/component/ets/list_item.d.ts b/api/@internal/component/ets/list_item.d.ts index 33ee8279d6..6fba2312b4 100644 --- a/api/@internal/component/ets/list_item.d.ts +++ b/api/@internal/component/ets/list_item.d.ts @@ -24,7 +24,7 @@ * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead list/StickyStyle */ @@ -33,7 +33,7 @@ declare enum Sticky { * No sticky. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ None, @@ -42,7 +42,7 @@ declare enum Sticky { * Normal mode * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ Normal, @@ -51,7 +51,7 @@ declare enum Sticky { * Set opacity. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ Opacity, @@ -62,7 +62,7 @@ declare enum Sticky { * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ declare enum EditMode { @@ -70,7 +70,7 @@ declare enum EditMode { * Unrestricted operations. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ None, @@ -79,7 +79,7 @@ declare enum EditMode { * Deletable. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ Deletable, @@ -88,7 +88,7 @@ declare enum EditMode { * Movable. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ Movable, @@ -116,7 +116,7 @@ declare enum EditMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum SwipeEdgeEffect { /** @@ -138,7 +138,7 @@ declare enum SwipeEdgeEffect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Spring, @@ -161,7 +161,7 @@ declare enum SwipeEdgeEffect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ None, } @@ -181,7 +181,7 @@ declare enum SwipeEdgeEffect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum SwipeActionState { /** @@ -195,7 +195,7 @@ declare enum SwipeActionState { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ COLLAPSED, @@ -210,7 +210,7 @@ declare enum SwipeActionState { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ EXPANDED, @@ -225,7 +225,7 @@ declare enum SwipeActionState { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ ACTIONING, } @@ -244,7 +244,7 @@ declare enum SwipeActionState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface SwipeActionItem { /** @@ -263,7 +263,7 @@ declare interface SwipeActionItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ builder?: CustomBuilder; @@ -275,7 +275,7 @@ declare interface SwipeActionItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ builderComponent?: ComponentContent; @@ -295,7 +295,7 @@ declare interface SwipeActionItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ actionAreaDistance?: Length; @@ -313,7 +313,7 @@ declare interface SwipeActionItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onAction?: () => void; @@ -331,7 +331,7 @@ declare interface SwipeActionItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onEnterActionArea?: () => void; @@ -349,7 +349,7 @@ declare interface SwipeActionItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onExitActionArea?: () => void; @@ -368,7 +368,7 @@ declare interface SwipeActionItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onStateChange?: (state: SwipeActionState) => void; } @@ -395,7 +395,7 @@ declare interface SwipeActionItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface SwipeActionOptions { /** @@ -423,7 +423,7 @@ declare interface SwipeActionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ start?: CustomBuilder | SwipeActionItem; @@ -452,7 +452,7 @@ declare interface SwipeActionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ end?: CustomBuilder | SwipeActionItem; @@ -478,7 +478,7 @@ declare interface SwipeActionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ edgeEffect?: SwipeEdgeEffect; @@ -497,7 +497,7 @@ declare interface SwipeActionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onOffsetChange?: (offset: number) => void; } @@ -516,7 +516,7 @@ declare interface SwipeActionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ListItemStyle { /** @@ -531,7 +531,7 @@ declare enum ListItemStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ NONE = 0, @@ -547,7 +547,7 @@ declare enum ListItemStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ CARD = 1, } @@ -566,7 +566,7 @@ declare enum ListItemStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ListItemOptions { /** @@ -583,7 +583,7 @@ declare interface ListItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ style?: ListItemStyle; } @@ -620,7 +620,7 @@ declare interface ListItemOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface ListItemInterface { @@ -643,7 +643,7 @@ interface ListItemInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (value?: ListItemOptions): ListItemAttribute; @@ -662,7 +662,7 @@ interface ListItemInterface { * @returns { ListItemAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead listItem/ListItemInterface */ @@ -693,7 +693,7 @@ interface ListItemInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class ListItemAttribute extends CommonMethod { @@ -703,7 +703,7 @@ declare class ListItemAttribute extends CommonMethod { * @param { Sticky } value * @returns { ListItemAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead list/List#sticky */ @@ -715,7 +715,7 @@ declare class ListItemAttribute extends CommonMethod { * @param { boolean | EditMode } value * @returns { ListItemAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ editable(value: boolean | EditMode): ListItemAttribute; @@ -756,7 +756,7 @@ declare class ListItemAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ selectable(value: boolean): ListItemAttribute; @@ -781,7 +781,7 @@ declare class ListItemAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ selected(value: boolean): ListItemAttribute; @@ -810,7 +810,7 @@ declare class ListItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ swipeAction(value: SwipeActionOptions): ListItemAttribute; @@ -850,7 +850,7 @@ declare class ListItemAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onSelect(event: (isSelected: boolean) => void): ListItemAttribute; } @@ -883,7 +883,7 @@ declare class ListItemAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ListItemInstance: ListItemAttribute; @@ -916,7 +916,7 @@ declare const ListItemInstance: ListItemAttribute; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ListItem: ListItemInterface; diff --git a/api/@internal/component/ets/list_item_group.d.ts b/api/@internal/component/ets/list_item_group.d.ts index 26a8f00615..bbb51074e1 100644 --- a/api/@internal/component/ets/list_item_group.d.ts +++ b/api/@internal/component/ets/list_item_group.d.ts @@ -33,7 +33,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ListItemGroupStyle { /** @@ -48,7 +48,7 @@ declare enum ListItemGroupStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ NONE = 0, @@ -64,7 +64,7 @@ declare enum ListItemGroupStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ CARD = 1, } @@ -91,7 +91,7 @@ declare enum ListItemGroupStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ListItemGroupOptions { /** @@ -116,7 +116,7 @@ declare interface ListItemGroupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ header?: CustomBuilder; @@ -127,7 +127,7 @@ declare interface ListItemGroupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ headerComponent?: ComponentContent; @@ -153,7 +153,7 @@ declare interface ListItemGroupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ footer?: CustomBuilder; @@ -164,7 +164,7 @@ declare interface ListItemGroupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ footerComponent?: ComponentContent; @@ -190,7 +190,7 @@ declare interface ListItemGroupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ space?: number | string; @@ -208,7 +208,7 @@ declare interface ListItemGroupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ style?: ListItemGroupStyle; } @@ -235,7 +235,7 @@ declare interface ListItemGroupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface ListItemGroupInterface { @@ -264,7 +264,7 @@ interface ListItemGroupInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (options?: ListItemGroupOptions): ListItemGroupAttribute; } @@ -291,7 +291,7 @@ interface ListItemGroupInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class ListItemGroupAttribute extends CommonMethod { @@ -346,7 +346,7 @@ declare class ListItemGroupAttribute extends CommonMethod { @@ -295,7 +295,7 @@ declare class LoadingProgressAttribute extends CommonMethod): LoadingProgressAttribute; } @@ -341,7 +341,7 @@ declare class LoadingProgressAttribute extends CommonMethod { /** @@ -351,7 +351,7 @@ declare interface LoadingProgressConfiguration extends CommonConfiguration { @@ -448,7 +448,7 @@ declare class MarqueeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor(value: ResourceColor): MarqueeAttribute; @@ -493,7 +493,7 @@ declare class MarqueeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontSize(value: Length): MarqueeAttribute; @@ -537,7 +537,7 @@ declare class MarqueeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ allowScale(value: boolean): MarqueeAttribute; @@ -586,7 +586,7 @@ declare class MarqueeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontWeight(value: number | FontWeight | string): MarqueeAttribute; @@ -632,7 +632,7 @@ declare class MarqueeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontFamily(value: string | Resource): MarqueeAttribute; @@ -649,7 +649,7 @@ declare class MarqueeAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ marqueeUpdateStrategy(value: MarqueeUpdateStrategy): MarqueeAttribute; @@ -689,7 +689,7 @@ declare class MarqueeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onStart(event: () => void): MarqueeAttribute; @@ -733,7 +733,7 @@ declare class MarqueeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onBounce(event: () => void): MarqueeAttribute; @@ -773,7 +773,7 @@ declare class MarqueeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onFinish(event: () => void): MarqueeAttribute; } @@ -813,7 +813,7 @@ declare class MarqueeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Marquee: MarqueeInterface; @@ -846,7 +846,7 @@ declare const Marquee: MarqueeInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const MarqueeInstance: MarqueeAttribute; diff --git a/api/@internal/component/ets/matrix2d.d.ts b/api/@internal/component/ets/matrix2d.d.ts index 594e7dc4e9..5222d4c681 100644 --- a/api/@internal/component/ets/matrix2d.d.ts +++ b/api/@internal/component/ets/matrix2d.d.ts @@ -46,7 +46,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class Matrix2D { /** @@ -81,7 +81,7 @@ declare class Matrix2D { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ scaleX?: number; @@ -117,7 +117,7 @@ declare class Matrix2D { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ rotateY?: number; @@ -153,7 +153,7 @@ declare class Matrix2D { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ rotateX?: number; @@ -189,7 +189,7 @@ declare class Matrix2D { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ scaleY?: number; @@ -225,7 +225,7 @@ declare class Matrix2D { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ translateX?: number; @@ -261,7 +261,7 @@ declare class Matrix2D { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ translateY?: number; @@ -301,7 +301,7 @@ declare class Matrix2D { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ identity(): Matrix2D; @@ -341,7 +341,7 @@ declare class Matrix2D { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ invert(): Matrix2D; @@ -362,7 +362,7 @@ declare class Matrix2D { * @returns { Matrix2D } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ multiply(other?: Matrix2D): Matrix2D; @@ -384,7 +384,7 @@ declare class Matrix2D { * @returns { Matrix2D } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead rotate */ @@ -413,7 +413,7 @@ declare class Matrix2D { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ rotate(degree: number, rx?: number, ry?: number): Matrix2D; @@ -457,7 +457,7 @@ declare class Matrix2D { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ translate(tx?: number, ty?: number): Matrix2D; @@ -501,7 +501,7 @@ declare class Matrix2D { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ scale(sx?: number, sy?: number): Matrix2D; @@ -520,7 +520,7 @@ declare class Matrix2D { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -532,7 +532,7 @@ declare class Matrix2D { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(unit: LengthMetricsUnit); } diff --git a/api/@internal/component/ets/media_cached_image.d.ts b/api/@internal/component/ets/media_cached_image.d.ts index 3686070864..9ad9f7e63d 100644 --- a/api/@internal/component/ets/media_cached_image.d.ts +++ b/api/@internal/component/ets/media_cached_image.d.ts @@ -17,7 +17,7 @@ * @file * @kit ArkUI */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { ImageAttribute } from './image'; import image from '../../@ohos.multimedia.image'; import { ResourceStr } from './units' @@ -29,8 +29,8 @@ import { DrawableDescriptor } from '../../@ohos.arkui.drawableDescriptor'; * @interface ASTCResource * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ASTCResource { /** @@ -38,8 +38,8 @@ interface ASTCResource { * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sources: Array; /** @@ -47,8 +47,8 @@ interface ASTCResource { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ column: number; } @@ -57,8 +57,8 @@ interface ASTCResource { * @interface MediaCachedImageInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static * @noninterop */ interface MediaCachedImageInterface { @@ -69,7 +69,7 @@ interface MediaCachedImageInterface { * @returns { MediaCachedImageAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ (src: PixelMap | ResourceStr | DrawableDescriptor | ASTCResource): MediaCachedImageAttribute; /** @@ -79,8 +79,7 @@ interface MediaCachedImageInterface { * @returns { MediaCachedImageAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ (src: image.PixelMap | ResourceStr | DrawableDescriptor | ASTCResource): MediaCachedImageAttribute; } @@ -91,8 +90,8 @@ interface MediaCachedImageInterface { * @extends ImageAttribute * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static * @noninterop */ declare class MediaCachedImageAttribute extends ImageAttribute {} @@ -102,7 +101,7 @@ declare class MediaCachedImageAttribute extends ImageAttribute {} * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic * @noninterop */ declare const MediaCachedImage: MediaCachedImageInterface; @@ -112,7 +111,7 @@ declare const MediaCachedImage: MediaCachedImageInterface; * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic * @noninterop */ declare const MediaCachedImageInstance: MediaCachedImageAttribute; diff --git a/api/@internal/component/ets/menu.d.ts b/api/@internal/component/ets/menu.d.ts index a9e75d46b9..f88d053973 100644 --- a/api/@internal/component/ets/menu.d.ts +++ b/api/@internal/component/ets/menu.d.ts @@ -38,7 +38,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface MenuInterface { @@ -64,7 +64,7 @@ interface MenuInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (): MenuAttribute; } @@ -75,7 +75,7 @@ interface MenuInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum SubMenuExpandingMode { /** @@ -84,7 +84,7 @@ declare enum SubMenuExpandingMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SIDE_EXPAND = 0, /** @@ -93,7 +93,7 @@ declare enum SubMenuExpandingMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ EMBEDDED_EXPAND = 1, /** @@ -102,7 +102,7 @@ declare enum SubMenuExpandingMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ STACK_EXPAND = 2 } @@ -128,7 +128,7 @@ declare enum SubMenuExpandingMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class MenuAttribute extends CommonMethod { @@ -138,7 +138,7 @@ declare class MenuAttribute extends CommonMethod { * @param { Length } value - Indicates the font size of menu item. * @returns { MenuAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead font */ @@ -162,7 +162,7 @@ declare class MenuAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ font(value: Font): MenuAttribute; /** @@ -182,7 +182,7 @@ declare class MenuAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor(value: ResourceColor): MenuAttribute; /** @@ -204,7 +204,7 @@ declare class MenuAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ radius(value: Dimension | BorderRadiuses): MenuAttribute; /** @@ -215,7 +215,7 @@ declare class MenuAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ menuItemDivider(options: DividerStyleOptions | undefined): MenuAttribute; /** @@ -226,7 +226,7 @@ declare class MenuAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ menuItemGroupDivider(options: DividerStyleOptions | undefined): MenuAttribute; /** @@ -237,7 +237,7 @@ declare class MenuAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ subMenuExpandingMode(mode: SubMenuExpandingMode): MenuAttribute; /** @@ -247,7 +247,7 @@ declare class MenuAttribute extends CommonMethod { * @returns { MenuAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ subMenuExpandSymbol(symbol: SymbolGlyphModifier): MenuAttribute; } @@ -270,7 +270,7 @@ declare class MenuAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Menu: MenuInterface; @@ -293,7 +293,7 @@ declare const Menu: MenuInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const MenuInstance: MenuAttribute; diff --git a/api/@internal/component/ets/menu_item.d.ts b/api/@internal/component/ets/menu_item.d.ts index 0a20c255b3..0e3c227e4f 100644 --- a/api/@internal/component/ets/menu_item.d.ts +++ b/api/@internal/component/ets/menu_item.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare interface MenuItemOptions { @@ -66,7 +66,7 @@ declare interface MenuItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ startIcon?: ResourceStr; @@ -85,7 +85,7 @@ declare interface MenuItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolStartIcon?: SymbolGlyphModifier; @@ -111,7 +111,7 @@ declare interface MenuItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ content?: ResourceStr; @@ -137,7 +137,7 @@ declare interface MenuItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ endIcon?: ResourceStr; @@ -156,7 +156,7 @@ declare interface MenuItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolEndIcon?: SymbolGlyphModifier; @@ -182,7 +182,7 @@ declare interface MenuItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ labelInfo?: ResourceStr; @@ -208,7 +208,7 @@ declare interface MenuItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ builder?: CustomBuilder; } @@ -235,7 +235,7 @@ declare interface MenuItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface MenuItemInterface { @@ -264,7 +264,7 @@ interface MenuItemInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (value?: MenuItemOptions | CustomBuilder): MenuItemAttribute; } @@ -291,7 +291,7 @@ interface MenuItemInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class MenuItemAttribute extends CommonMethod { @@ -320,7 +320,7 @@ declare class MenuItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selected(value: boolean): MenuItemAttribute; @@ -372,7 +372,7 @@ declare class MenuItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectIcon(value: boolean | ResourceStr | SymbolGlyphModifier): MenuItemAttribute; @@ -401,7 +401,7 @@ declare class MenuItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onChange(callback: (selected: boolean) => void): MenuItemAttribute; @@ -424,7 +424,7 @@ declare class MenuItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ contentFont(value: Font): MenuItemAttribute; @@ -445,7 +445,7 @@ declare class MenuItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ contentFontColor(value: ResourceColor): MenuItemAttribute; @@ -468,7 +468,7 @@ declare class MenuItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ labelFont(value: Font): MenuItemAttribute; @@ -489,7 +489,7 @@ declare class MenuItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ labelFontColor(value: ResourceColor): MenuItemAttribute; } @@ -513,7 +513,7 @@ declare class MenuItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const MenuItem: MenuItemInterface; @@ -537,7 +537,7 @@ declare const MenuItem: MenuItemInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const MenuItemInstance: MenuItemAttribute; diff --git a/api/@internal/component/ets/menu_item_group.d.ts b/api/@internal/component/ets/menu_item_group.d.ts index 486d933be4..76a4fdb7dd 100644 --- a/api/@internal/component/ets/menu_item_group.d.ts +++ b/api/@internal/component/ets/menu_item_group.d.ts @@ -38,7 +38,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface MenuItemGroupOptions { /** @@ -63,7 +63,7 @@ declare interface MenuItemGroupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ header?: ResourceStr | CustomBuilder; /** @@ -88,7 +88,7 @@ declare interface MenuItemGroupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ footer?: ResourceStr | CustomBuilder; } @@ -114,7 +114,7 @@ declare interface MenuItemGroupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface MenuItemGroupInterface { @@ -143,7 +143,7 @@ interface MenuItemGroupInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (value?: MenuItemGroupOptions): MenuItemGroupAttribute; } @@ -169,7 +169,7 @@ interface MenuItemGroupInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class MenuItemGroupAttribute extends CommonMethod { @@ -193,7 +193,7 @@ declare class MenuItemGroupAttribute extends CommonMethod; @@ -631,7 +631,7 @@ declare interface NavDestinationTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ duration?: number; @@ -643,7 +643,7 @@ declare interface NavDestinationTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ curve?: Curve; @@ -655,7 +655,7 @@ declare interface NavDestinationTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ delay?: number; @@ -668,7 +668,7 @@ declare interface NavDestinationTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ event: Callback; } @@ -695,7 +695,7 @@ declare interface NavDestinationTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class NavDestinationAttribute extends CommonMethod { @@ -750,7 +750,7 @@ declare class NavDestinationAttribute extends CommonMethod): NavDestinationAttribute; @@ -826,7 +826,7 @@ declare class NavDestinationAttribute extends CommonMethod void): NavDestinationAttribute; @@ -847,7 +847,7 @@ declare class NavDestinationAttribute extends CommonMethod void): NavDestinationAttribute; @@ -870,7 +870,7 @@ declare class NavDestinationAttribute extends CommonMethod boolean): NavDestinationAttribute; @@ -882,7 +882,7 @@ declare class NavDestinationAttribute extends CommonMethod>): NavDestinationAttribute; @@ -904,7 +904,7 @@ declare class NavDestinationAttribute extends CommonMethod | CustomBuilder): NavDestinationAttribute; @@ -985,7 +985,7 @@ declare class NavDestinationAttribute extends CommonMethod | CustomBuilder, options?: NavigationMenuOptions): NavDestinationAttribute; @@ -1012,7 +1012,7 @@ declare class NavDestinationAttribute extends CommonMethod | CustomBuilder, options?: NavigationToolbarOptions): NavDestinationAttribute; @@ -1031,7 +1031,7 @@ declare class NavDestinationAttribute extends CommonMethod): NavDestinationAttribute; @@ -1057,7 +1057,7 @@ declare class NavDestinationAttribute extends CommonMethod): NavDestinationAttribute; @@ -1070,7 +1070,7 @@ declare class NavDestinationAttribute extends CommonMethod): NavDestinationAttribute; @@ -1082,7 +1082,7 @@ declare class NavDestinationAttribute extends CommonMethod): NavDestinationAttribute; @@ -1094,7 +1094,7 @@ declare class NavDestinationAttribute extends CommonMethod): NavDestinationAttribute; @@ -1109,7 +1109,7 @@ declare class NavDestinationAttribute extends CommonMethod, edges?: Array): NavDestinationAttribute; @@ -1126,7 +1126,7 @@ declare class NavDestinationAttribute extends CommonMethod): NavDestinationAttribute; @@ -1148,7 +1148,7 @@ declare class NavDestinationAttribute extends CommonMethod): NavDestinationAttribute; @@ -1162,7 +1162,7 @@ declare class NavDestinationAttribute extends CommonMethod): NavDestinationAttribute; @@ -1217,7 +1217,7 @@ declare class NavDestinationAttribute extends CommonMethod): NavDestinationAttribute; @@ -1231,7 +1231,7 @@ declare class NavDestinationAttribute extends CommonMethod>): NavDestinationAttribute; @@ -1245,7 +1245,7 @@ declare class NavDestinationAttribute extends CommonMethod>): NavDestinationAttribute; @@ -1261,7 +1261,7 @@ declare class NavDestinationAttribute extends CommonMethod>): NavDestinationAttribute; @@ -1301,7 +1301,7 @@ declare class NavDestinationAttribute extends CommonMethod): NavDestinationAttribute; @@ -1326,7 +1326,7 @@ declare class NavDestinationAttribute extends CommonMethod, animated?: boolean): NavDestinationAttribute; @@ -1349,7 +1349,7 @@ declare class NavDestinationAttribute extends CommonMethod): NavDestinationAttribute; } @@ -1373,7 +1373,7 @@ declare class NavDestinationAttribute extends CommonMethod Array | undefined; \ No newline at end of file diff --git a/api/@internal/component/ets/nav_router.d.ts b/api/@internal/component/ets/nav_router.d.ts index 66fe39b8af..5d9ec8defb 100644 --- a/api/@internal/component/ets/nav_router.d.ts +++ b/api/@internal/component/ets/nav_router.d.ts @@ -33,7 +33,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ declare interface RouteInfo { @@ -52,7 +52,7 @@ declare interface RouteInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ name: string; @@ -72,7 +72,7 @@ declare interface RouteInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ param?: unknown; @@ -100,7 +100,7 @@ declare interface RouteInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 * @noninterop */ @@ -127,7 +127,7 @@ declare interface NavRouterInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ (): NavRouterAttribute; @@ -149,7 +149,7 @@ declare interface NavRouterInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ (value: RouteInfo): NavRouterAttribute; @@ -170,7 +170,7 @@ declare interface NavRouterInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ declare enum NavRouteMode { @@ -187,7 +187,7 @@ declare enum NavRouteMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ PUSH_WITH_RECREATE, @@ -205,7 +205,7 @@ declare enum NavRouteMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ PUSH, @@ -223,7 +223,7 @@ declare enum NavRouteMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ REPLACE @@ -251,7 +251,7 @@ declare enum NavRouteMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 * @noninterop */ @@ -281,7 +281,7 @@ declare class NavRouterAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ onStateChange(callback: (isActivated: boolean) => void): NavRouterAttribute; @@ -303,7 +303,7 @@ declare class NavRouterAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ mode(mode: NavRouteMode): NavRouterAttribute; @@ -328,7 +328,7 @@ declare class NavRouterAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 * @noninterop */ @@ -353,7 +353,7 @@ declare const NavRouter: NavRouterInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 * @noninterop */ diff --git a/api/@internal/component/ets/navigation.d.ts b/api/@internal/component/ets/navigation.d.ts index 55576f9ee8..34e3cf7ba6 100644 --- a/api/@internal/component/ets/navigation.d.ts +++ b/api/@internal/component/ets/navigation.d.ts @@ -24,7 +24,7 @@ * @typedef { import('../api/@ohos.window').default.SystemBarStyle } SystemBarStyle * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type SystemBarStyle = import('../api/@ohos.window').default.SystemBarStyle; @@ -50,7 +50,7 @@ declare type SystemBarStyle = import('../api/@ohos.window').default.SystemBarSty * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface NavigationCommonTitle { /** @@ -84,7 +84,7 @@ declare interface NavigationCommonTitle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ main: string | Resource; @@ -119,7 +119,7 @@ declare interface NavigationCommonTitle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ sub: string | Resource; } @@ -146,7 +146,7 @@ declare interface NavigationCommonTitle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface NavigationCustomTitle { /** @@ -171,7 +171,7 @@ declare interface NavigationCustomTitle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ builder: CustomBuilder; @@ -197,7 +197,7 @@ declare interface NavigationCustomTitle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ height: TitleHeight | Length; } @@ -225,7 +225,7 @@ declare interface NavigationCustomTitle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum NavigationMode { /** @@ -247,7 +247,7 @@ declare enum NavigationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Stack, @@ -270,7 +270,7 @@ declare enum NavigationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Split, @@ -296,7 +296,7 @@ declare enum NavigationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Auto, } @@ -323,7 +323,7 @@ declare enum NavigationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum NavBarPosition { /** @@ -345,7 +345,7 @@ declare enum NavBarPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Start, @@ -368,7 +368,7 @@ declare enum NavBarPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ End, } @@ -395,7 +395,7 @@ declare enum NavBarPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum NavigationTitleMode { /** @@ -456,7 +456,7 @@ declare enum NavigationTitleMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Free = 0, @@ -485,7 +485,7 @@ declare enum NavigationTitleMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Full, @@ -514,7 +514,7 @@ declare enum NavigationTitleMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Mini, } @@ -541,7 +541,7 @@ declare enum NavigationTitleMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare interface NavigationMenuItem { @@ -576,7 +576,7 @@ declare interface NavigationMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ value: string | Resource; @@ -611,7 +611,7 @@ declare interface NavigationMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ icon?: string | Resource; @@ -630,7 +630,7 @@ declare interface NavigationMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolIcon?: SymbolGlyphModifier; @@ -641,7 +641,7 @@ declare interface NavigationMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isEnabled?: boolean; @@ -667,7 +667,7 @@ declare interface NavigationMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ action?: () => void; } @@ -687,7 +687,7 @@ declare interface NavigationMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface PopInfo { /** @@ -705,7 +705,7 @@ declare interface PopInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ info: NavPathInfo; @@ -724,7 +724,7 @@ declare interface PopInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ result: Object; } @@ -742,7 +742,7 @@ declare interface PopInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class NavPathInfo { /** @@ -775,7 +775,7 @@ declare class NavPathInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(name: string, param: unknown, onPop?: import('../api/@ohos.base').Callback, isEntry?: boolean); @@ -794,7 +794,7 @@ declare class NavPathInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ name: string; @@ -813,7 +813,7 @@ declare class NavPathInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ param?: unknown; @@ -834,7 +834,7 @@ declare class NavPathInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onPop?: import('../api/@ohos.base').Callback; @@ -845,7 +845,7 @@ declare class NavPathInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isEntry?: boolean; @@ -856,7 +856,7 @@ declare class NavPathInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ navDestinationId?: string; } @@ -868,7 +868,7 @@ declare class NavPathInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum LaunchMode { /** @@ -879,7 +879,7 @@ declare enum LaunchMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ STANDARD = 0, @@ -890,7 +890,7 @@ declare enum LaunchMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ MOVE_TO_TOP_SINGLETON = 1, @@ -901,7 +901,7 @@ declare enum LaunchMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ POP_TO_SINGLETON = 2, @@ -912,7 +912,7 @@ declare enum LaunchMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NEW_INSTANCE = 3, } @@ -924,7 +924,7 @@ declare enum LaunchMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface NavigationOptions { /** @@ -935,7 +935,7 @@ declare interface NavigationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ launchMode?: LaunchMode; @@ -949,7 +949,7 @@ declare interface NavigationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ animated?: boolean; } @@ -967,7 +967,7 @@ declare interface NavigationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class NavPathStack { /** @@ -983,7 +983,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -1005,7 +1005,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pushPath(info: NavPathInfo, animated?: boolean): void; @@ -1018,7 +1018,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pushPath(info: NavPathInfo, options?: NavigationOptions): void; @@ -1063,7 +1063,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pushDestination(info: NavPathInfo, animated?: boolean): Promise; @@ -1085,7 +1085,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pushDestination(info: NavPathInfo, options?: NavigationOptions): Promise; @@ -1109,7 +1109,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pushPathByName(name: string, param: unknown, animated?: boolean): void; @@ -1138,7 +1138,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pushPathByName(name: string, param: Object, onPop: import('../api/@ohos.base').Callback, animated?: boolean): void; @@ -1177,7 +1177,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pushDestinationByName(name: string, param: Object, animated?: boolean): Promise; @@ -1218,7 +1218,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pushDestinationByName(name: string, param: Object, onPop: import('../api/@ohos.base').Callback, animated?: boolean): Promise; @@ -1239,7 +1239,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ replacePath(info: NavPathInfo, animated?: boolean): void; @@ -1251,7 +1251,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ replacePath(info: NavPathInfo, options?: NavigationOptions): void; @@ -1271,7 +1271,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ replaceDestination(info: NavPathInfo, options?: NavigationOptions): Promise; @@ -1298,7 +1298,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ replacePathByName(name: string, param: Object, animated?: boolean): void; @@ -1319,7 +1319,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ removeByIndexes(indexes: Array): number; @@ -1340,7 +1340,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ removeByName(name: string): number; @@ -1354,7 +1354,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ removeByNavDestinationId(navDestinationId: string): boolean; @@ -1374,7 +1374,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pop(animated?: boolean): NavPathInfo | undefined; @@ -1397,7 +1397,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pop(result: Object, animated?: boolean): NavPathInfo | undefined; @@ -1421,7 +1421,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ popToName(name: string, animated?: boolean): number; @@ -1454,7 +1454,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ popToName(name: string, result: Object, animated?: boolean): number; @@ -1476,7 +1476,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ popToIndex(index: number, animated?: boolean): void; @@ -1491,7 +1491,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ popToIndex(index: number, result: Object, animated?: boolean): void; @@ -1515,7 +1515,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ moveToTop(name: string, animated?: boolean): number; @@ -1538,7 +1538,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ moveIndexToTop(index: number, animated?: boolean): void; @@ -1559,7 +1559,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ clear(animated?: boolean): void; @@ -1578,7 +1578,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getAllPathName(): Array; @@ -1601,7 +1601,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getParamByIndex(index: number): unknown | undefined; @@ -1622,7 +1622,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getParamByName(name: string): Array; @@ -1643,7 +1643,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getIndexByName(name: string): Array; @@ -1656,7 +1656,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getParent(): NavPathStack | null; @@ -1677,7 +1677,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ size(): number; @@ -1702,7 +1702,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ disableAnimation(value: boolean): void; @@ -1713,7 +1713,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setInterception(interception: NavigationInterception): void; @@ -1724,7 +1724,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ getPathStack(): Array; @@ -1736,7 +1736,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setPathStack(pathStack: Array, animated?: boolean): void; } @@ -1748,7 +1748,7 @@ declare class NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type NavBar = 'navBar' @@ -1763,7 +1763,7 @@ declare type NavBar = 'navBar' * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type InterceptionShowCallback = (from: NavDestinationContext|NavBar, to: NavDestinationContext|NavBar, operation: NavigationOperation, isAnimated: boolean) => void; @@ -1775,7 +1775,7 @@ declare type InterceptionShowCallback = (from: NavDestinationContext|NavBar, to: * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type InterceptionModeCallback = (mode: NavigationMode) => void; @@ -1786,7 +1786,7 @@ declare type InterceptionModeCallback = (mode: NavigationMode) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface NavigationInterception { /** @@ -1797,7 +1797,7 @@ declare interface NavigationInterception { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ willShow?: InterceptionShowCallback; @@ -1808,7 +1808,7 @@ declare interface NavigationInterception { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ didShow?: InterceptionShowCallback; @@ -1819,7 +1819,7 @@ declare interface NavigationInterception { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ modeChange?: InterceptionModeCallback; } @@ -1831,7 +1831,7 @@ declare interface NavigationInterception { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface HomePathInfo { /** @@ -1841,7 +1841,7 @@ declare interface HomePathInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ name: string; @@ -1852,7 +1852,7 @@ declare interface HomePathInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ param?: Object; } @@ -1879,7 +1879,7 @@ declare interface HomePathInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface NavigationInterface { @@ -1905,7 +1905,7 @@ interface NavigationInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (): NavigationAttribute; @@ -1926,7 +1926,7 @@ interface NavigationInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (pathInfos: NavPathStack): NavigationAttribute; @@ -1939,7 +1939,7 @@ interface NavigationInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ (pathInfos: NavPathStack, homeDestination: HomePathInfo): NavigationAttribute; } @@ -1958,7 +1958,7 @@ interface NavigationInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ToolbarItemStatus { /** @@ -1977,7 +1977,7 @@ declare enum ToolbarItemStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ NORMAL = 0, @@ -1993,7 +1993,7 @@ declare enum ToolbarItemStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ DISABLED = 1, @@ -2011,7 +2011,7 @@ declare enum ToolbarItemStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ ACTIVE = 2, } @@ -2031,7 +2031,7 @@ declare enum ToolbarItemStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum NavigationOperation { /** @@ -2047,7 +2047,7 @@ declare enum NavigationOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PUSH = 1, @@ -2064,7 +2064,7 @@ declare enum NavigationOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ POP = 2, @@ -2081,7 +2081,7 @@ declare enum NavigationOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ REPLACE = 3, } @@ -2108,7 +2108,7 @@ declare enum NavigationOperation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare interface ToolbarItem { @@ -2127,7 +2127,7 @@ declare interface ToolbarItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ value: ResourceStr; @@ -2146,7 +2146,7 @@ declare interface ToolbarItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ icon?: ResourceStr; @@ -2165,7 +2165,7 @@ declare interface ToolbarItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolIcon?: SymbolGlyphModifier; @@ -2184,7 +2184,7 @@ declare interface ToolbarItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ action?: () => void; @@ -2203,7 +2203,7 @@ declare interface ToolbarItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ status?: ToolbarItemStatus; @@ -2222,7 +2222,7 @@ declare interface ToolbarItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ activeIcon?: ResourceStr; @@ -2241,7 +2241,7 @@ declare interface ToolbarItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ activeSymbolIcon?: SymbolGlyphModifier; } @@ -2253,7 +2253,7 @@ declare interface ToolbarItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare interface NavigationTitleOptions { @@ -2264,7 +2264,7 @@ declare interface NavigationTitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ backgroundColor?: ResourceColor; @@ -2276,7 +2276,7 @@ declare interface NavigationTitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -2287,7 +2287,7 @@ declare interface NavigationTitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -2298,7 +2298,7 @@ declare interface NavigationTitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundEffect?: BackgroundEffectOptions; @@ -2311,7 +2311,7 @@ declare interface NavigationTitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ barStyle?: BarStyle; @@ -2323,7 +2323,7 @@ declare interface NavigationTitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ paddingStart?: LengthMetrics; @@ -2335,7 +2335,7 @@ declare interface NavigationTitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ paddingEnd?: LengthMetrics; @@ -2346,7 +2346,7 @@ declare interface NavigationTitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ mainTitleModifier?: TextModifier; @@ -2357,7 +2357,7 @@ declare interface NavigationTitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ subTitleModifier?: TextModifier; @@ -2369,7 +2369,7 @@ declare interface NavigationTitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ enableHoverMode?: boolean; } @@ -2381,7 +2381,7 @@ declare interface NavigationTitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum BarStyle { /** @@ -2390,7 +2390,7 @@ declare enum BarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ STANDARD = 0, @@ -2400,7 +2400,7 @@ declare enum BarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ STACK = 1, @@ -2410,7 +2410,7 @@ declare enum BarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ SAFE_AREA_PADDING = 2, } @@ -2422,7 +2422,7 @@ declare enum BarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface NavigationToolbarOptions { /** @@ -2432,7 +2432,7 @@ declare interface NavigationToolbarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ backgroundColor?: ResourceColor; @@ -2444,7 +2444,7 @@ declare interface NavigationToolbarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -2455,7 +2455,7 @@ declare interface NavigationToolbarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -2466,7 +2466,7 @@ declare interface NavigationToolbarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundEffect?: BackgroundEffectOptions; @@ -2477,7 +2477,7 @@ declare interface NavigationToolbarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ moreButtonOptions?: MoreButtonOptions; @@ -2489,7 +2489,7 @@ declare interface NavigationToolbarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ barStyle?: BarStyle; @@ -2501,7 +2501,7 @@ declare interface NavigationToolbarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ hideItemValue?: boolean } @@ -2513,7 +2513,7 @@ declare interface NavigationToolbarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare interface NavigationMenuOptions { /** @@ -2523,7 +2523,7 @@ declare interface NavigationMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ moreButtonOptions?: MoreButtonOptions; } @@ -2535,7 +2535,7 @@ declare interface NavigationMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare interface MoreButtonOptions { /** @@ -2545,7 +2545,7 @@ declare interface MoreButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -2556,7 +2556,7 @@ declare interface MoreButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -2567,7 +2567,7 @@ declare interface MoreButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundEffect?: BackgroundEffectOptions; } @@ -2594,7 +2594,7 @@ declare interface MoreButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class NavigationAttribute extends CommonMethod { @@ -2632,7 +2632,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ navBarWidth(value: Length): NavigationAttribute; @@ -2667,7 +2667,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ navBarPosition(value: NavBarPosition): NavigationAttribute; @@ -2694,7 +2694,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ navBarWidthRange(value: [Dimension, Dimension]): NavigationAttribute; @@ -2725,7 +2725,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ minContentWidth(value: Dimension): NavigationAttribute; @@ -2760,7 +2760,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ mode(value: NavigationMode): NavigationAttribute; @@ -2799,7 +2799,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backButtonIcon(value: string | PixelMap | Resource | SymbolGlyphModifier): NavigationAttribute; @@ -2812,7 +2812,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backButtonIcon(icon: string | PixelMap | Resource | SymbolGlyphModifier, accessibilityText?: ResourceStr): NavigationAttribute; @@ -2845,7 +2845,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ hideNavBar(value: boolean): NavigationAttribute; @@ -2895,7 +2895,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle, options?: NavigationTitleOptions): NavigationAttribute; @@ -2905,7 +2905,7 @@ declare class NavigationAttribute extends CommonMethod { * @param { string } value - Content of subtitle. * @returns { NavigationAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead title */ @@ -2939,7 +2939,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ hideTitleBar(value: boolean): NavigationAttribute; @@ -2955,7 +2955,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ hideTitleBar(hide: boolean, animated: boolean): NavigationAttribute; @@ -2990,7 +2990,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ hideBackButton(value: boolean): NavigationAttribute; @@ -3022,7 +3022,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ titleMode(value: NavigationTitleMode): NavigationAttribute; @@ -3063,7 +3063,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ menus(value: Array | CustomBuilder): NavigationAttribute; @@ -3076,7 +3076,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): NavigationAttribute; @@ -3090,7 +3090,7 @@ declare class NavigationAttribute extends CommonMethod { * @param { object | CustomBuilder } value - Content of the toolbar. * @returns { NavigationAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamiconly * @deprecated since 10 * @useinstead navigation/NavigationAttribute#toolbarConfiguration */ @@ -3114,7 +3114,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ toolbarConfiguration(value: Array | CustomBuilder, options?: NavigationToolbarOptions): NavigationAttribute; @@ -3146,7 +3146,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ hideToolBar(value: boolean): NavigationAttribute; @@ -3162,7 +3162,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ hideToolBar(hide: boolean, animated: boolean): NavigationAttribute; @@ -3174,7 +3174,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ enableToolBarAdaptation(enable: Optional): NavigationAttribute; @@ -3206,7 +3206,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onTitleModeChange(callback: (titleMode: NavigationTitleMode) => void): NavigationAttribute; @@ -3238,7 +3238,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onNavBarStateChange(callback: (isVisible: boolean) => void): NavigationAttribute; @@ -3251,7 +3251,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onNavigationModeChange(callback: (mode: NavigationMode) => void): NavigationAttribute; @@ -3276,7 +3276,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ navDestination(builder: (name: string, param: unknown) => void): NavigationAttribute; @@ -3297,7 +3297,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ customNavContentTransition(delegate: (from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined): NavigationAttribute; @@ -3312,7 +3312,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ignoreLayoutSafeArea(types?: Array, edges?: Array): NavigationAttribute; @@ -3323,7 +3323,7 @@ declare class NavigationAttribute extends CommonMethod { * @returns { NavigationAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ systemBarStyle(style: Optional): NavigationAttribute; @@ -3334,7 +3334,7 @@ declare class NavigationAttribute extends CommonMethod { * @param { boolean } recoverable - navigation can be recovered. * @returns { NavigationAttribute } Returns the instance of the NavigationAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 14 + * @since 14 dynamic */ recoverable(recoverable: Optional): NavigationAttribute; @@ -3346,7 +3346,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ enableDragBar(isEnabled: Optional): NavigationAttribute; @@ -3358,7 +3358,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ enableModeChangeAnimation(isEnabled: Optional): NavigationAttribute; @@ -3370,7 +3370,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ splitPlaceholder(placeholder: ComponentContent): NavigationAttribute; } @@ -3390,7 +3390,7 @@ declare class NavigationAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice -* @since 12 +* @since 12 dynamic */ declare interface NavigationAnimatedTransition { /** @@ -3408,7 +3408,7 @@ declare interface NavigationAnimatedTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onTransitionEnd?: (success: boolean) => void @@ -3427,7 +3427,7 @@ declare interface NavigationAnimatedTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ timeout?: number; @@ -3439,7 +3439,7 @@ declare interface NavigationAnimatedTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isInteractive?: boolean; @@ -3458,7 +3458,7 @@ declare interface NavigationAnimatedTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ transition: (transitionProxy: NavigationTransitionProxy) => void } @@ -3478,7 +3478,7 @@ declare interface NavigationAnimatedTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface NavigationTransitionProxy { /** @@ -3496,7 +3496,7 @@ declare interface NavigationTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ from: NavContentInfo; @@ -3515,7 +3515,7 @@ declare interface NavigationTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ to: NavContentInfo; @@ -3527,7 +3527,7 @@ declare interface NavigationTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isInteractive?: boolean; @@ -3544,7 +3544,7 @@ declare interface NavigationTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ finishTransition(): void; @@ -3556,7 +3556,7 @@ declare interface NavigationTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ cancelTransition?(): void; @@ -3568,7 +3568,7 @@ declare interface NavigationTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ updateTransition?(progress: number): void; } @@ -3588,7 +3588,7 @@ declare interface NavigationTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface NavContentInfo { /** @@ -3606,7 +3606,7 @@ declare interface NavContentInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ name?: string; @@ -3625,7 +3625,7 @@ declare interface NavContentInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ index: number; @@ -3644,7 +3644,7 @@ declare interface NavContentInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ mode?: NavDestinationMode; @@ -3655,7 +3655,7 @@ declare interface NavContentInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ param?: Object; @@ -3666,7 +3666,7 @@ declare interface NavContentInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ navDestinationId?: string; } @@ -3690,7 +3690,7 @@ declare interface NavContentInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Navigation: NavigationInterface; @@ -3714,7 +3714,7 @@ declare const Navigation: NavigationInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const NavigationInstance: NavigationAttribute; diff --git a/api/@internal/component/ets/navigator.d.ts b/api/@internal/component/ets/navigator.d.ts index b929bf4bf8..67305c2e40 100644 --- a/api/@internal/component/ets/navigator.d.ts +++ b/api/@internal/component/ets/navigator.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ declare enum NavigationType { @@ -63,7 +63,7 @@ declare enum NavigationType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ Push, @@ -87,7 +87,7 @@ declare enum NavigationType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ Back, @@ -111,7 +111,7 @@ declare enum NavigationType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ Replace, @@ -139,7 +139,7 @@ declare enum NavigationType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 * @noninterop */ @@ -169,7 +169,7 @@ interface NavigatorInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ (value?: { target: string; type?: NavigationType }): NavigatorAttribute; @@ -196,7 +196,7 @@ interface NavigatorInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ (): NavigatorAttribute; @@ -224,7 +224,7 @@ interface NavigatorInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 * @noninterop */ @@ -254,7 +254,7 @@ declare class NavigatorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ active(value: boolean): NavigatorAttribute; @@ -284,7 +284,7 @@ declare class NavigatorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ type(value: NavigationType): NavigatorAttribute; @@ -314,7 +314,7 @@ declare class NavigatorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ target(value: string): NavigatorAttribute; @@ -344,7 +344,7 @@ declare class NavigatorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 */ params(value: object): NavigatorAttribute; @@ -369,7 +369,7 @@ declare class NavigatorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 * @noninterop */ @@ -394,7 +394,7 @@ declare const Navigator: NavigatorInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 13 * @noninterop */ diff --git a/api/@internal/component/ets/node_container.d.ts b/api/@internal/component/ets/node_container.d.ts index 96aacc2608..b75ef9e4bb 100644 --- a/api/@internal/component/ets/node_container.d.ts +++ b/api/@internal/component/ets/node_container.d.ts @@ -34,7 +34,7 @@ * @crossplatform * @atomicservice * @noninterop - * @since 12 + * @since 12 dynamic */ interface NodeContainerInterface { /** @@ -54,7 +54,7 @@ interface NodeContainerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ (controller: import('../api/@ohos.arkui.node').NodeController): NodeContainerAttribute; } @@ -72,7 +72,7 @@ interface NodeContainerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class NodeContainerAttribute extends CommonMethod {} @@ -90,7 +90,7 @@ declare class NodeContainerAttribute extends CommonMethod { /** @@ -292,7 +292,7 @@ declare class CommonTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -321,7 +321,7 @@ declare class CommonTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ slide(value: SlideEffect): T; @@ -361,7 +361,7 @@ declare class CommonTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ translate(value: TranslateOptions): T; @@ -401,7 +401,7 @@ declare class CommonTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ scale(value: ScaleOptions): T; @@ -430,7 +430,7 @@ declare class CommonTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ opacity(value: number): T; } @@ -457,7 +457,7 @@ declare class CommonTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface PageTransitionOptions { /** @@ -479,7 +479,7 @@ declare interface PageTransitionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ type?: RouteType; /** @@ -501,7 +501,7 @@ declare interface PageTransitionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ duration?: number; /** @@ -526,7 +526,7 @@ declare interface PageTransitionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ curve?: Curve | string | ICurve; /** @@ -551,7 +551,7 @@ declare interface PageTransitionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ delay?: number; } @@ -565,7 +565,7 @@ declare interface PageTransitionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type PageTransitionCallback = (type: RouteType, progress: number) => void; @@ -594,7 +594,7 @@ declare type PageTransitionCallback = (type: RouteType, progress: number) => voi * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface PageTransitionEnterInterface extends CommonTransition { @@ -623,7 +623,7 @@ interface PageTransitionEnterInterface extends CommonTransition { @@ -725,7 +725,7 @@ interface PageTransitionExitInterface extends CommonTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ mode(value: PanelMode): PanelAttribute; @@ -416,7 +416,7 @@ declare class PanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ type(value: PanelType): PanelAttribute; @@ -446,7 +446,7 @@ declare class PanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ dragBar(value: boolean): PanelAttribute; @@ -466,7 +466,7 @@ declare class PanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ customHeight(value: Dimension | PanelHeight): PanelAttribute; @@ -496,7 +496,7 @@ declare class PanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ fullHeight(value: number | string): PanelAttribute; @@ -526,7 +526,7 @@ declare class PanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ halfHeight(value: number | string): PanelAttribute; @@ -556,7 +556,7 @@ declare class PanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ miniHeight(value: number | string): PanelAttribute; @@ -586,7 +586,7 @@ declare class PanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ show(value: boolean): PanelAttribute; @@ -616,7 +616,7 @@ declare class PanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ backgroundMask(color: ResourceColor): PanelAttribute; @@ -636,7 +636,7 @@ declare class PanelAttribute extends CommonMethod { * @returns { PanelAttribute } return the component attribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ showCloseIcon(value: boolean): PanelAttribute; @@ -666,7 +666,7 @@ declare class PanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ onChange( @@ -682,7 +682,7 @@ declare class PanelAttribute extends CommonMethod { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ width: number, @@ -698,7 +698,7 @@ declare class PanelAttribute extends CommonMethod { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ height: number, @@ -714,7 +714,7 @@ declare class PanelAttribute extends CommonMethod { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ mode: PanelMode, @@ -746,7 +746,7 @@ declare class PanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ onHeightChange(callback: (value: number) => void): PanelAttribute; @@ -771,7 +771,7 @@ declare class PanelAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead bindSheet * @noninterop @@ -797,7 +797,7 @@ declare const Panel: PanelInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 * @noninterop */ diff --git a/api/@internal/component/ets/particle.d.ts b/api/@internal/component/ets/particle.d.ts index fd7a124ef3..b8da23447a 100644 --- a/api/@internal/component/ets/particle.d.ts +++ b/api/@internal/component/ets/particle.d.ts @@ -25,7 +25,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type ParticleTuple = [T1, T2]; @@ -36,7 +36,7 @@ declare type ParticleTuple = [T1, T2]; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface VelocityOptions { /** @@ -62,7 +62,7 @@ declare interface VelocityOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ speed: ParticleTuple; @@ -89,7 +89,7 @@ declare interface VelocityOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ angle: ParticleTuple; } @@ -101,7 +101,7 @@ declare interface VelocityOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface AccelerationOptions< ACC_SPEED_UPDATER extends ParticleUpdater, @@ -130,7 +130,7 @@ declare interface AccelerationOptions< * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ speed?: ParticlePropertyOptions; @@ -157,7 +157,7 @@ declare interface AccelerationOptions< * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ angle?: ParticlePropertyOptions; } @@ -175,7 +175,7 @@ declare interface AccelerationOptions< * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ParticleOptions< PARTICLE extends ParticleType, @@ -199,7 +199,7 @@ interface ParticleOptions< * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ emitter: EmitterOptions; @@ -218,7 +218,7 @@ interface ParticleOptions< * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ color?: ParticleColorPropertyOptions; @@ -237,7 +237,7 @@ interface ParticleOptions< * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ opacity?: ParticlePropertyOptions; @@ -256,7 +256,7 @@ interface ParticleOptions< * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scale?: ParticlePropertyOptions; @@ -286,7 +286,7 @@ interface ParticleOptions< * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ velocity?: VelocityOptions; @@ -316,7 +316,7 @@ interface ParticleOptions< * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ acceleration?: AccelerationOptions; @@ -335,7 +335,7 @@ interface ParticleOptions< * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ spin?: ParticlePropertyOptions; } @@ -353,7 +353,7 @@ interface ParticleOptions< * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface PointParticleParameters { /** @@ -369,7 +369,7 @@ interface PointParticleParameters { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ radius: VP; } @@ -387,7 +387,7 @@ interface PointParticleParameters { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ImageParticleParameters { /** @@ -403,7 +403,7 @@ interface ImageParticleParameters { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ src: ResourceStr; @@ -430,7 +430,7 @@ interface ImageParticleParameters { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ size: ParticleTuple; @@ -449,7 +449,7 @@ interface ImageParticleParameters { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ objectFit?: ImageFit; } @@ -467,7 +467,7 @@ interface ImageParticleParameters { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ParticleConfigs { /** @@ -483,7 +483,7 @@ interface ParticleConfigs { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ [ParticleType.POINT]: PointParticleParameters; @@ -500,7 +500,7 @@ interface ParticleConfigs { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ [ParticleType.IMAGE]: ImageParticleParameters; } @@ -512,7 +512,7 @@ interface ParticleConfigs { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface EmitterProperty { @@ -523,7 +523,7 @@ interface EmitterProperty { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ index: number; @@ -534,7 +534,7 @@ interface EmitterProperty { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ emitRate?: number; @@ -545,7 +545,7 @@ interface EmitterProperty { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ position?: PositionT; @@ -556,7 +556,7 @@ interface EmitterProperty { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ size?: SizeT; @@ -567,7 +567,7 @@ interface EmitterProperty { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ annulusRegion?: ParticleAnnulusRegion; } @@ -579,7 +579,7 @@ interface EmitterProperty { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface EmitterParticleOptions { /** @@ -605,7 +605,7 @@ interface EmitterParticleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ type: PARTICLE; /** @@ -631,7 +631,7 @@ interface EmitterParticleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ config: ParticleConfigs[PARTICLE]; @@ -658,7 +658,7 @@ interface EmitterParticleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ count: number; @@ -688,7 +688,7 @@ interface EmitterParticleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ lifetime?: number; @@ -712,7 +712,7 @@ interface EmitterParticleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ lifetimeRange?: number; } @@ -730,7 +730,7 @@ interface EmitterParticleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface EmitterOptions { /** @@ -756,7 +756,7 @@ interface EmitterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ particle: EmitterParticleOptions; @@ -775,7 +775,7 @@ interface EmitterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ emitRate?: number; @@ -794,7 +794,7 @@ interface EmitterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ shape?: ParticleEmitterShape; @@ -830,7 +830,7 @@ interface EmitterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ position?: ParticleTuple; @@ -866,7 +866,7 @@ interface EmitterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ size?: ParticleTuple; @@ -878,7 +878,7 @@ interface EmitterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ annulusRegion?: ParticleAnnulusRegion; } @@ -896,7 +896,7 @@ interface EmitterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ParticlePropertyUpdaterConfigs { /** @@ -914,7 +914,7 @@ interface ParticlePropertyUpdaterConfigs { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ [ParticleUpdater.NONE]: void; @@ -941,7 +941,7 @@ interface ParticlePropertyUpdaterConfigs { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ [ParticleUpdater.RANDOM]: ParticleTuple; @@ -958,7 +958,7 @@ interface ParticlePropertyUpdaterConfigs { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ [ParticleUpdater.CURVE]: Array>; } @@ -970,7 +970,7 @@ interface ParticlePropertyUpdaterConfigs { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface ParticleUpdaterOptions { /** @@ -996,7 +996,7 @@ interface ParticleUpdaterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ type: UPDATER; @@ -1023,7 +1023,7 @@ interface ParticleUpdaterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ config: ParticlePropertyUpdaterConfigs[UPDATER]; } @@ -1035,7 +1035,7 @@ interface ParticleUpdaterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface ParticleColorOptions { /** @@ -1061,7 +1061,7 @@ interface ParticleColorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ r: ParticleTuple; @@ -1088,7 +1088,7 @@ interface ParticleColorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ g: ParticleTuple; @@ -1115,7 +1115,7 @@ interface ParticleColorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ b: ParticleTuple; @@ -1142,7 +1142,7 @@ interface ParticleColorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ a: ParticleTuple; } @@ -1154,7 +1154,7 @@ interface ParticleColorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface ParticleColorUpdaterOptions { /** @@ -1180,7 +1180,7 @@ interface ParticleColorUpdaterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ type: UPDATER; @@ -1207,7 +1207,7 @@ interface ParticleColorUpdaterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ config: ParticleColorPropertyUpdaterConfigs[UPDATER]; } @@ -1225,7 +1225,7 @@ interface ParticleColorUpdaterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ParticlePropertyOptions { /** @@ -1251,7 +1251,7 @@ interface ParticlePropertyOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ range: ParticleTuple; @@ -1281,7 +1281,7 @@ interface ParticlePropertyOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ updater?: ParticleUpdaterOptions; } @@ -1299,7 +1299,7 @@ interface ParticlePropertyOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ParticleColorPropertyUpdaterConfigs { /** @@ -1317,7 +1317,7 @@ interface ParticleColorPropertyUpdaterConfigs { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ [ParticleUpdater.NONE]: void; @@ -1344,7 +1344,7 @@ interface ParticleColorPropertyUpdaterConfigs { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ [ParticleUpdater.RANDOM]: ParticleColorOptions; @@ -1363,7 +1363,7 @@ interface ParticleColorPropertyUpdaterConfigs { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ [ParticleUpdater.CURVE]: Array>; } @@ -1381,7 +1381,7 @@ interface ParticleColorPropertyUpdaterConfigs { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ParticleColorPropertyOptions { /** @@ -1407,7 +1407,7 @@ interface ParticleColorPropertyOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ range: ParticleTuple; @@ -1418,7 +1418,7 @@ interface ParticleColorPropertyOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ distributionType?: DistributionType; @@ -1448,7 +1448,7 @@ interface ParticleColorPropertyOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ updater?: ParticleColorUpdaterOptions; } @@ -1466,7 +1466,7 @@ interface ParticleColorPropertyOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ParticlePropertyAnimation { /** @@ -1482,7 +1482,7 @@ interface ParticlePropertyAnimation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ from: T; @@ -1499,7 +1499,7 @@ interface ParticlePropertyAnimation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ to: T; @@ -1516,7 +1516,7 @@ interface ParticlePropertyAnimation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ startMillis: number; @@ -1533,7 +1533,7 @@ interface ParticlePropertyAnimation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ endMillis: number; @@ -1552,7 +1552,7 @@ interface ParticlePropertyAnimation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ curve?: Curve | ICurve; } @@ -1564,7 +1564,7 @@ interface ParticlePropertyAnimation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface Particles< PARTICLE extends ParticleType, @@ -1598,7 +1598,7 @@ interface Particles< * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ particles: Array< ParticleOptions< @@ -1626,7 +1626,7 @@ interface Particles< * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface ParticleInterface { @@ -1659,7 +1659,7 @@ interface ParticleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ < PARTICLE extends ParticleType, @@ -1693,7 +1693,7 @@ interface ParticleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ParticleType { /** @@ -1707,7 +1707,7 @@ declare enum ParticleType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ POINT = 'point', @@ -1722,7 +1722,7 @@ declare enum ParticleType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ IMAGE = 'image', } @@ -1740,7 +1740,7 @@ declare enum ParticleType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ParticleEmitterShape { /** @@ -1754,7 +1754,7 @@ declare enum ParticleEmitterShape { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ RECTANGLE = 'rectangle', @@ -1769,7 +1769,7 @@ declare enum ParticleEmitterShape { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ CIRCLE = 'circle', @@ -1784,7 +1784,7 @@ declare enum ParticleEmitterShape { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ ELLIPSE = 'ellipse', @@ -1793,7 +1793,7 @@ declare enum ParticleEmitterShape { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ ANNULUS = 'annulus', } @@ -1805,7 +1805,7 @@ declare enum ParticleEmitterShape { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum DistributionType { /** @@ -1814,7 +1814,7 @@ declare enum DistributionType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ UNIFORM = 0, @@ -1824,7 +1824,7 @@ declare enum DistributionType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ GAUSSIAN = 1, } @@ -1842,7 +1842,7 @@ declare enum DistributionType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ParticleUpdater { /** @@ -1856,7 +1856,7 @@ declare enum ParticleUpdater { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ NONE = 'none', @@ -1871,7 +1871,7 @@ declare enum ParticleUpdater { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ RANDOM = 'random', @@ -1886,7 +1886,7 @@ declare enum ParticleUpdater { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ CURVE = 'curve', } @@ -1898,7 +1898,7 @@ declare enum ParticleUpdater { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type SizeT = import('../api/arkui/Graphics').SizeT; @@ -1909,7 +1909,7 @@ declare type SizeT = import('../api/arkui/Graphics').SizeT; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type PositionT = import('../api/arkui/Graphics').PositionT; @@ -1926,7 +1926,7 @@ declare type PositionT = import('../api/arkui/Graphics').PositionT; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class ParticleAttribute extends CommonMethod { @@ -1938,7 +1938,7 @@ declare class ParticleAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ disturbanceFields(fields: Array): ParticleAttribute; @@ -1950,7 +1950,7 @@ declare class ParticleAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ emitter(value : Array) : ParticleAttribute; } @@ -1966,7 +1966,7 @@ declare class ParticleAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Particle: ParticleInterface; @@ -1977,7 +1977,7 @@ declare const Particle: ParticleInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface DisturbanceFieldOptions { @@ -1991,7 +1991,7 @@ declare interface DisturbanceFieldOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ strength?: number; @@ -2003,7 +2003,7 @@ declare interface DisturbanceFieldOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ shape?: DisturbanceFieldShape; @@ -2015,7 +2015,7 @@ declare interface DisturbanceFieldOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ size?: SizeT; @@ -2027,7 +2027,7 @@ declare interface DisturbanceFieldOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ position?: PositionT; @@ -2043,7 +2043,7 @@ declare interface DisturbanceFieldOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ feather?: number; @@ -2055,7 +2055,7 @@ declare interface DisturbanceFieldOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ noiseScale?: number; @@ -2067,7 +2067,7 @@ declare interface DisturbanceFieldOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ noiseFrequency?: number; @@ -2079,7 +2079,7 @@ declare interface DisturbanceFieldOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ noiseAmplitude?: number; } @@ -2091,7 +2091,7 @@ declare interface DisturbanceFieldOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum DisturbanceFieldShape { @@ -2101,7 +2101,7 @@ declare enum DisturbanceFieldShape { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ RECT = 0, @@ -2111,7 +2111,7 @@ declare enum DisturbanceFieldShape { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ CIRCLE = 1, @@ -2121,7 +2121,7 @@ declare enum DisturbanceFieldShape { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ELLIPSE = 2 } @@ -2132,7 +2132,7 @@ declare enum DisturbanceFieldShape { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface ParticleAnnulusRegion { /** @@ -2143,7 +2143,7 @@ declare interface ParticleAnnulusRegion { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ center?: PositionT, /** @@ -2153,7 +2153,7 @@ declare interface ParticleAnnulusRegion { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ outerRadius: LengthMetrics, /** @@ -2163,7 +2163,7 @@ declare interface ParticleAnnulusRegion { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ innerRadius: LengthMetrics, /** @@ -2174,7 +2174,7 @@ declare interface ParticleAnnulusRegion { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ startAngle?: number, /** @@ -2185,7 +2185,7 @@ declare interface ParticleAnnulusRegion { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ endAngle?: number, } diff --git a/api/@internal/component/ets/paste_button.d.ts b/api/@internal/component/ets/paste_button.d.ts index e50c0fdb65..b50b6867a6 100644 --- a/api/@internal/component/ets/paste_button.d.ts +++ b/api/@internal/component/ets/paste_button.d.ts @@ -31,7 +31,7 @@ * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declare enum PasteIconStyle { /** @@ -45,7 +45,7 @@ declare enum PasteIconStyle { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ LINES = 0 } @@ -63,7 +63,7 @@ declare enum PasteIconStyle { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declare enum PasteDescription { /** @@ -77,7 +77,7 @@ declare enum PasteDescription { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ PASTE = 0 } @@ -95,7 +95,7 @@ declare enum PasteDescription { * @interface PasteButtonOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declare interface PasteButtonOptions { /** @@ -111,7 +111,7 @@ declare interface PasteButtonOptions { * @type { ?PasteIconStyle } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ icon?: PasteIconStyle; @@ -128,7 +128,7 @@ declare interface PasteButtonOptions { * @type { ?PasteDescription } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ text?: PasteDescription; @@ -145,7 +145,7 @@ declare interface PasteButtonOptions { * @type { ?ButtonType } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ buttonType?: ButtonType; } @@ -163,7 +163,7 @@ declare interface PasteButtonOptions { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declare enum PasteButtonOnClickResult { /** @@ -177,7 +177,7 @@ declare enum PasteButtonOnClickResult { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ SUCCESS = 0, @@ -192,7 +192,7 @@ declare enum PasteButtonOnClickResult { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ TEMPORARY_AUTHORIZATION_FAILED = 1 } @@ -210,7 +210,7 @@ declare enum PasteButtonOnClickResult { * @interface PasteButtonInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ interface PasteButtonInterface { /** @@ -226,7 +226,7 @@ interface PasteButtonInterface { * @returns { PasteButtonAttribute } Returns the attribute of the paste button. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ (): PasteButtonAttribute; @@ -247,7 +247,7 @@ interface PasteButtonInterface { * @returns { PasteButtonAttribute } Returns the attribute of the paste button. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ (options: PasteButtonOptions): PasteButtonAttribute; } @@ -261,7 +261,7 @@ interface PasteButtonInterface { * @param { BusinessError } [error] - The error code and message of click event. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamiconly */ type PasteButtonCallback = (event: ClickEvent, result: PasteButtonOnClickResult, error?: BusinessError) => void; @@ -278,7 +278,7 @@ type PasteButtonCallback = (event: ClickEvent, result: PasteButtonOnClickResult, * @extends SecurityComponentMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declare class PasteButtonAttribute extends SecurityComponentMethod { /** @@ -305,7 +305,7 @@ declare class PasteButtonAttribute extends SecurityComponentMethod { @@ -410,7 +410,7 @@ declare class PathAttribute extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ commands(value: ResourceStr): PathAttribute; } @@ -443,7 +443,7 @@ declare class PathAttribute extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Path: PathInterface; @@ -476,7 +476,7 @@ declare const Path: PathInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const PathInstance: PathAttribute; diff --git a/api/@internal/component/ets/pattern_lock.d.ts b/api/@internal/component/ets/pattern_lock.d.ts index 45ea534533..4a6e73d4c0 100644 --- a/api/@internal/component/ets/pattern_lock.d.ts +++ b/api/@internal/component/ets/pattern_lock.d.ts @@ -31,7 +31,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum PatternLockChallengeResult { /** @@ -45,7 +45,7 @@ declare enum PatternLockChallengeResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ CORRECT = 1, /** @@ -59,7 +59,7 @@ declare enum PatternLockChallengeResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ WRONG = 2 } @@ -71,7 +71,7 @@ declare enum PatternLockChallengeResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface CircleStyleOptions { /** @@ -81,7 +81,7 @@ declare interface CircleStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ color?: ResourceColor; @@ -92,7 +92,7 @@ declare interface CircleStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ radius?: LengthMetrics; @@ -103,7 +103,7 @@ declare interface CircleStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enableWaveEffect?: boolean; @@ -114,7 +114,7 @@ declare interface CircleStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ enableForeground?: boolean; } @@ -138,7 +138,7 @@ declare interface CircleStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class PatternLockController { /** @@ -160,7 +160,7 @@ declare class PatternLockController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(); @@ -183,7 +183,7 @@ declare class PatternLockController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ reset(); @@ -200,7 +200,7 @@ declare class PatternLockController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setChallengeResult(result: PatternLockChallengeResult): void; } @@ -227,7 +227,7 @@ declare class PatternLockController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ interface PatternLockInterface { @@ -256,7 +256,7 @@ interface PatternLockInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ (controller?: PatternLockController): PatternLockAttribute; } @@ -283,7 +283,7 @@ interface PatternLockInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class PatternLockAttribute extends CommonMethod { @@ -316,7 +316,7 @@ declare class PatternLockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ sideLength(value: Length): PatternLockAttribute; @@ -349,7 +349,7 @@ declare class PatternLockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ circleRadius(value: Length): PatternLockAttribute; @@ -378,7 +378,7 @@ declare class PatternLockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor(value: ResourceColor): PatternLockAttribute; @@ -407,7 +407,7 @@ declare class PatternLockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ regularColor(value: ResourceColor): PatternLockAttribute; @@ -436,7 +436,7 @@ declare class PatternLockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedColor(value: ResourceColor): PatternLockAttribute; @@ -465,7 +465,7 @@ declare class PatternLockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ activeColor(value: ResourceColor): PatternLockAttribute; @@ -494,7 +494,7 @@ declare class PatternLockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pathColor(value: ResourceColor): PatternLockAttribute; @@ -527,7 +527,7 @@ declare class PatternLockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pathStrokeWidth(value: number | string): PatternLockAttribute; @@ -556,7 +556,7 @@ declare class PatternLockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onPatternComplete(callback: (input: Array) => void): PatternLockAttribute; @@ -587,7 +587,7 @@ declare class PatternLockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ autoReset(value: boolean): PatternLockAttribute; @@ -607,7 +607,7 @@ declare class PatternLockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDotConnect(callback: import('../api/@ohos.base').Callback): PatternLockAttribute; @@ -619,7 +619,7 @@ declare class PatternLockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ activateCircleStyle(options: Optional): PatternLockAttribute; @@ -632,7 +632,7 @@ declare class PatternLockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ skipUnselectedPoint(skipped: boolean): PatternLockAttribute; } @@ -656,7 +656,7 @@ declare class PatternLockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const PatternLock: PatternLockInterface; @@ -680,7 +680,7 @@ declare const PatternLock: PatternLockInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const PatternLockInstance: PatternLockAttribute; diff --git a/api/@internal/component/ets/plugin_component.d.ts b/api/@internal/component/ets/plugin_component.d.ts index 983d1b7f15..ae36c9cc7b 100644 --- a/api/@internal/component/ets/plugin_component.d.ts +++ b/api/@internal/component/ets/plugin_component.d.ts @@ -24,7 +24,7 @@ * @interface PluginComponentTemplate * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ interface PluginComponentTemplate { /** @@ -33,7 +33,7 @@ interface PluginComponentTemplate { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ source: string; /** @@ -42,7 +42,7 @@ interface PluginComponentTemplate { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ bundleName: string; } @@ -54,7 +54,7 @@ interface PluginComponentTemplate { * @interface PluginComponentOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ declare interface PluginComponentOptions { /** @@ -70,7 +70,7 @@ declare interface PluginComponentOptions { * @type { PluginComponentTemplate } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ template: PluginComponentTemplate; @@ -87,7 +87,7 @@ declare interface PluginComponentOptions { * @type { any } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ data: any; } @@ -99,7 +99,7 @@ declare interface PluginComponentOptions { * @interface PluginErrorData * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ declare interface PluginErrorData { /** @@ -115,7 +115,7 @@ declare interface PluginErrorData { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ errcode: number; @@ -132,7 +132,7 @@ declare interface PluginErrorData { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ msg: string; } @@ -145,7 +145,7 @@ declare interface PluginErrorData { * @param { PluginErrorData } info - Plugin error data * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ declare type PluginErrorCallback = (info: PluginErrorData) => void; @@ -155,7 +155,7 @@ declare type PluginErrorCallback = (info: PluginErrorData) => void; * @interface PluginComponentInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic * @noninterop */ interface PluginComponentInterface { @@ -176,7 +176,7 @@ interface PluginComponentInterface { * @returns { PluginComponentAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ (options: PluginComponentOptions): PluginComponentAttribute; } @@ -187,7 +187,7 @@ interface PluginComponentInterface { * @extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic * @noninterop */ declare class PluginComponentAttribute extends CommonMethod { @@ -208,7 +208,7 @@ declare class PluginComponentAttribute extends CommonMethod { @@ -348,7 +348,7 @@ declare class PolygonAttribute extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ points(value: Array): PolygonAttribute; } @@ -381,7 +381,7 @@ declare class PolygonAttribute extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Polygon: PolygonInterface; @@ -414,7 +414,7 @@ declare const Polygon: PolygonInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const PolygonInstance: PolygonAttribute; diff --git a/api/@internal/component/ets/polyline.d.ts b/api/@internal/component/ets/polyline.d.ts index 731954a5a3..ebe78e433b 100644 --- a/api/@internal/component/ets/polyline.d.ts +++ b/api/@internal/component/ets/polyline.d.ts @@ -26,7 +26,7 @@ * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface PolylineOptions { /** @@ -82,7 +82,7 @@ declare interface PolylineOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ width?: Length; @@ -139,7 +139,7 @@ declare interface PolylineOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ height?: Length; } @@ -176,7 +176,7 @@ declare interface PolylineOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface PolylineInterface { @@ -220,7 +220,7 @@ interface PolylineInterface { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ new (options?: PolylineOptions): PolylineAttribute; @@ -272,7 +272,7 @@ interface PolylineInterface { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ (options?: PolylineOptions): PolylineAttribute; } @@ -301,7 +301,7 @@ interface PolylineInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class PolylineAttribute extends CommonShapeMethod { @@ -341,7 +341,7 @@ declare class PolylineAttribute extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ points(value: Array): PolylineAttribute; } @@ -374,7 +374,7 @@ declare class PolylineAttribute extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Polyline: PolylineInterface; @@ -407,7 +407,7 @@ declare const Polyline: PolylineInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const PolylineInstance: PolylineAttribute; diff --git a/api/@internal/component/ets/progress.d.ts b/api/@internal/component/ets/progress.d.ts index 5759e91e51..1acf7e71c6 100644 --- a/api/@internal/component/ets/progress.d.ts +++ b/api/@internal/component/ets/progress.d.ts @@ -50,7 +50,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ProgressOptions { /** @@ -85,7 +85,7 @@ declare interface ProgressOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ value: number; @@ -121,7 +121,7 @@ declare interface ProgressOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ total?: number; @@ -130,7 +130,7 @@ declare interface ProgressOptions { * * @type { ?ProgressStyle } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 8 * @useinstead type */ @@ -168,7 +168,7 @@ declare interface ProgressOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ type?: Type } @@ -205,7 +205,7 @@ declare interface ProgressOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ProgressType { /** @@ -236,7 +236,7 @@ declare enum ProgressType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Linear = 0, @@ -268,7 +268,7 @@ declare enum ProgressType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Ring = 1, @@ -300,7 +300,7 @@ declare enum ProgressType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Eclipse = 2, @@ -332,7 +332,7 @@ declare enum ProgressType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ ScaleRing = 3, @@ -364,7 +364,7 @@ declare enum ProgressType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Capsule = 4 } @@ -383,7 +383,7 @@ declare enum ProgressType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ProgressStatus { /** @@ -398,7 +398,7 @@ declare enum ProgressStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ LOADING, @@ -414,7 +414,7 @@ declare enum ProgressStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ PROGRESSING } @@ -455,7 +455,7 @@ declare enum ProgressStatus { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ProgressStyleOptions extends CommonProgressStyleOptions { /** @@ -490,7 +490,7 @@ declare interface ProgressStyleOptions extends CommonProgressStyleOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeWidth?: Length; @@ -526,7 +526,7 @@ declare interface ProgressStyleOptions extends CommonProgressStyleOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ scaleCount?: number; @@ -562,7 +562,7 @@ declare interface ProgressStyleOptions extends CommonProgressStyleOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ scaleWidth?: Length; } @@ -581,7 +581,7 @@ declare interface ProgressStyleOptions extends CommonProgressStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface CommonProgressStyleOptions { /** @@ -600,7 +600,7 @@ declare interface CommonProgressStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enableSmoothEffect?: boolean; } @@ -619,7 +619,7 @@ declare interface CommonProgressStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ScanEffectOptions { /** @@ -638,7 +638,7 @@ declare interface ScanEffectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enableScanEffect?: boolean; } @@ -658,7 +658,7 @@ declare interface ScanEffectOptions { * @interface EclipseStyleOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface EclipseStyleOptions extends CommonProgressStyleOptions { @@ -680,7 +680,7 @@ declare interface EclipseStyleOptions extends CommonProgressStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ScaleRingStyleOptions extends CommonProgressStyleOptions { /** @@ -697,7 +697,7 @@ declare interface ScaleRingStyleOptions extends CommonProgressStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeWidth?: Length; @@ -715,7 +715,7 @@ declare interface ScaleRingStyleOptions extends CommonProgressStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scaleWidth?: Length; @@ -733,7 +733,7 @@ declare interface ScaleRingStyleOptions extends CommonProgressStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scaleCount?: number; } @@ -754,7 +754,7 @@ declare interface ScaleRingStyleOptions extends CommonProgressStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RingStyleOptions extends ScanEffectOptions, CommonProgressStyleOptions { /** @@ -771,7 +771,7 @@ declare interface RingStyleOptions extends ScanEffectOptions, CommonProgressStyl * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeWidth?: Length; @@ -789,7 +789,7 @@ declare interface RingStyleOptions extends ScanEffectOptions, CommonProgressStyl * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ shadow?: boolean; @@ -807,7 +807,7 @@ declare interface RingStyleOptions extends ScanEffectOptions, CommonProgressStyl * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ status?: ProgressStatus; } @@ -828,7 +828,7 @@ declare interface RingStyleOptions extends ScanEffectOptions, CommonProgressStyl * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface LinearStyleOptions extends ScanEffectOptions, CommonProgressStyleOptions { /** @@ -845,7 +845,7 @@ declare interface LinearStyleOptions extends ScanEffectOptions, CommonProgressSt * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeWidth?: Length; /** @@ -864,7 +864,7 @@ declare interface LinearStyleOptions extends ScanEffectOptions, CommonProgressSt * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeRadius?: PX | VP | LPX | Resource; } @@ -885,7 +885,7 @@ declare interface LinearStyleOptions extends ScanEffectOptions, CommonProgressSt * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressStyleOptions { /** @@ -902,7 +902,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ borderColor?: ResourceColor; @@ -920,7 +920,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ borderWidth?: Length; @@ -947,7 +947,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ content?: ResourceStr; @@ -965,7 +965,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ font?: Font; @@ -983,7 +983,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor?: ResourceColor; @@ -1003,7 +1003,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showDefaultPercentage?: boolean; @@ -1015,7 +1015,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ borderRadius?: LengthMetrics; } @@ -1052,7 +1052,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ProgressStyle { /** @@ -1083,7 +1083,7 @@ declare enum ProgressStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Linear, @@ -1115,7 +1115,7 @@ declare enum ProgressStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Ring, @@ -1147,7 +1147,7 @@ declare enum ProgressStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Eclipse, @@ -1179,7 +1179,7 @@ declare enum ProgressStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ ScaleRing, @@ -1211,7 +1211,7 @@ declare enum ProgressStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Capsule, } @@ -1229,7 +1229,7 @@ declare enum ProgressStyle { * @interface ProgressStyleMap * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ProgressStyleMap { /** @@ -1244,7 +1244,7 @@ declare interface ProgressStyleMap { * @type { LinearStyleOptions | ProgressStyleOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ [ProgressType.Linear]: LinearStyleOptions | ProgressStyleOptions; @@ -1260,7 +1260,7 @@ declare interface ProgressStyleMap { * @type { RingStyleOptions | ProgressStyleOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ [ProgressType.Ring]: RingStyleOptions | ProgressStyleOptions; @@ -1276,7 +1276,7 @@ declare interface ProgressStyleMap { * @type { EclipseStyleOptions | ProgressStyleOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ [ProgressType.Eclipse]: EclipseStyleOptions | ProgressStyleOptions; @@ -1292,7 +1292,7 @@ declare interface ProgressStyleMap { * @type { ScaleRingStyleOptions | ProgressStyleOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ [ProgressType.ScaleRing]: ScaleRingStyleOptions | ProgressStyleOptions; @@ -1308,7 +1308,7 @@ declare interface ProgressStyleMap { * @type { CapsuleStyleOptions | ProgressStyleOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ [ProgressType.Capsule]: CapsuleStyleOptions | ProgressStyleOptions; } @@ -1345,7 +1345,7 @@ declare interface ProgressStyleMap { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface ProgressInterface { @@ -1385,7 +1385,7 @@ interface ProgressInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (options: ProgressOptions): ProgressAttribute; } @@ -1422,7 +1422,7 @@ interface ProgressInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class ProgressAttribute; @@ -1503,7 +1503,7 @@ declare class ProgressAttribute; @@ -1543,7 +1543,7 @@ declare class ProgressAttribute; @@ -1556,7 +1556,7 @@ declare class ProgressAttribute): ProgressAttribute; @@ -1568,7 +1568,7 @@ declare class ProgressAttribute): ProgressAttribute; } @@ -1581,7 +1581,7 @@ declare class ProgressAttribute { /** @@ -1591,7 +1591,7 @@ declare interface ProgressConfiguration extends CommonConfiguration; diff --git a/api/@internal/component/ets/qrcode.d.ts b/api/@internal/component/ets/qrcode.d.ts index 8ace99f2d7..03a7239286 100644 --- a/api/@internal/component/ets/qrcode.d.ts +++ b/api/@internal/component/ets/qrcode.d.ts @@ -50,7 +50,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface QRCodeInterface { @@ -101,7 +101,7 @@ interface QRCodeInterface { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ (value: ResourceStr): QRCodeAttribute; } @@ -138,7 +138,7 @@ interface QRCodeInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class QRCodeAttribute extends CommonMethod { @@ -178,7 +178,7 @@ declare class QRCodeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ color(value: ResourceColor): QRCodeAttribute; @@ -218,7 +218,7 @@ declare class QRCodeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ backgroundColor(value: ResourceColor): QRCodeAttribute; @@ -237,7 +237,7 @@ declare class QRCodeAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentOpacity(value: number | Resource): QRCodeAttribute; } @@ -270,7 +270,7 @@ declare class QRCodeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const QRCode: QRCodeInterface; @@ -303,7 +303,7 @@ declare const QRCode: QRCodeInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const QRCodeInstance: QRCodeAttribute; diff --git a/api/@internal/component/ets/radio.d.ts b/api/@internal/component/ets/radio.d.ts index 957e09fdd8..9fabe0490c 100644 --- a/api/@internal/component/ets/radio.d.ts +++ b/api/@internal/component/ets/radio.d.ts @@ -26,7 +26,7 @@ * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum RadioIndicatorType { /** @@ -36,7 +36,7 @@ declare enum RadioIndicatorType { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ TICK = 0, /** @@ -46,7 +46,7 @@ declare enum RadioIndicatorType { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ DOT = 1, /** @@ -56,7 +56,7 @@ declare enum RadioIndicatorType { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ CUSTOM = 2, } @@ -93,7 +93,7 @@ declare enum RadioIndicatorType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RadioOptions { /** @@ -128,7 +128,7 @@ declare interface RadioOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ group: string; @@ -164,7 +164,7 @@ declare interface RadioOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ value: string; /** @@ -175,7 +175,7 @@ declare interface RadioOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ indicatorType?: RadioIndicatorType; /** @@ -186,7 +186,7 @@ declare interface RadioOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ indicatorBuilder?: CustomBuilder; } @@ -206,7 +206,7 @@ declare interface RadioOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RadioStyle { /** @@ -226,7 +226,7 @@ declare interface RadioStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ checkedBackgroundColor?: ResourceColor; @@ -247,7 +247,7 @@ declare interface RadioStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ uncheckedBorderColor?: ResourceColor; @@ -268,7 +268,7 @@ declare interface RadioStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ indicatorColor?: ResourceColor; } @@ -305,7 +305,7 @@ declare interface RadioStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface RadioInterface { @@ -345,7 +345,7 @@ interface RadioInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (options: RadioOptions): RadioAttribute; } @@ -357,7 +357,7 @@ interface RadioInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnRadioChangeCallback = (isChecked: boolean) => void; @@ -393,7 +393,7 @@ declare type OnRadioChangeCallback = (isChecked: boolean) => void; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class RadioAttribute extends CommonMethod { @@ -433,7 +433,7 @@ declare class RadioAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ checked(value: boolean): RadioAttribute; @@ -446,7 +446,7 @@ declare class RadioAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ checked(isChecked: Optional): RadioAttribute; @@ -486,7 +486,7 @@ declare class RadioAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onChange(callback: (isChecked: boolean) => void): RadioAttribute; @@ -499,7 +499,7 @@ declare class RadioAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onChange(callback: Optional): RadioAttribute; @@ -520,7 +520,7 @@ declare class RadioAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ radioStyle(value?: RadioStyle): RadioAttribute; @@ -532,7 +532,7 @@ declare class RadioAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentModifier(modifier: ContentModifier): RadioAttribute; @@ -544,7 +544,7 @@ declare class RadioAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ contentModifier(modifier: Optional>): RadioAttribute; } @@ -557,7 +557,7 @@ declare class RadioAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface RadioConfiguration extends CommonConfiguration { /** @@ -567,7 +567,7 @@ declare interface RadioConfiguration extends CommonConfiguration; } @@ -622,7 +622,7 @@ declare interface RadioConfiguration extends CommonConfiguration { /** @@ -383,7 +383,7 @@ declare interface RatingConfiguration extends CommonConfiguration; } @@ -440,7 +440,7 @@ declare interface RatingConfiguration extends CommonConfiguration void; @@ -476,7 +476,7 @@ declare interface RatingConfiguration extends CommonConfiguration { @@ -516,7 +516,7 @@ declare class RatingAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ stars(value: number): RatingAttribute; @@ -529,7 +529,7 @@ declare class RatingAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ stars(starCount: Optional): RatingAttribute; @@ -569,7 +569,7 @@ declare class RatingAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ stepSize(value: number): RatingAttribute; @@ -582,7 +582,7 @@ declare class RatingAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ stepSize(size: Optional): RatingAttribute; @@ -634,7 +634,7 @@ declare class RatingAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ starStyle(options: StarStyleOptions): RatingAttribute; @@ -647,7 +647,7 @@ declare class RatingAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ starStyle(options: Optional): RatingAttribute; @@ -687,7 +687,7 @@ declare class RatingAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onChange(callback: (value: number) => void): RatingAttribute; @@ -700,7 +700,7 @@ declare class RatingAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onChange(callback: Optional): RatingAttribute; @@ -712,7 +712,7 @@ declare class RatingAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentModifier(modifier: ContentModifier): RatingAttribute; @@ -724,7 +724,7 @@ declare class RatingAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ contentModifier(modifier: Optional>): RatingAttribute; } @@ -757,7 +757,7 @@ declare class RatingAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Rating: RatingInterface; @@ -790,7 +790,7 @@ declare const Rating: RatingInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const RatingInstance: RatingAttribute; diff --git a/api/@internal/component/ets/rect.d.ts b/api/@internal/component/ets/rect.d.ts index 916f08d928..149f57a3a4 100644 --- a/api/@internal/component/ets/rect.d.ts +++ b/api/@internal/component/ets/rect.d.ts @@ -26,7 +26,7 @@ * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface RectOptions { /** @@ -82,7 +82,7 @@ declare interface RectOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ width?: Length; @@ -139,7 +139,7 @@ declare interface RectOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ height?: Length; @@ -196,7 +196,7 @@ declare interface RectOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ radius?: Length | Array; } @@ -209,7 +209,7 @@ declare interface RectOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface RoundedRectOptions { /** @@ -265,7 +265,7 @@ declare interface RoundedRectOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ width?: Length; @@ -322,7 +322,7 @@ declare interface RoundedRectOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ height?: Length; @@ -379,7 +379,7 @@ declare interface RoundedRectOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ radiusWidth?: Length; @@ -436,7 +436,7 @@ declare interface RoundedRectOptions { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ radiusHeight?: Length; } @@ -473,7 +473,7 @@ declare interface RoundedRectOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface RectInterface { @@ -525,7 +525,7 @@ interface RectInterface { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ new ( options?: RectOptions | RoundedRectOptions, @@ -583,7 +583,7 @@ interface RectInterface { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ ( options?: RectOptions | RoundedRectOptions, @@ -622,7 +622,7 @@ interface RectInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class RectAttribute extends CommonShapeMethod { @@ -673,7 +673,7 @@ declare class RectAttribute extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ radiusWidth(value: Length): RectAttribute; @@ -724,7 +724,7 @@ declare class RectAttribute extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ radiusHeight(value: Length): RectAttribute; @@ -775,7 +775,7 @@ declare class RectAttribute extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ radius(value: Length | Array): RectAttribute; } @@ -802,7 +802,7 @@ declare class RectAttribute extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Rect: RectInterface; @@ -811,7 +811,7 @@ declare const Rect: RectInterface; * Rect attribute. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 * @noninterop */ @@ -835,7 +835,7 @@ declare const RectInStance: RectAttribute; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const RectInstance: RectAttribute; diff --git a/api/@internal/component/ets/refresh.d.ts b/api/@internal/component/ets/refresh.d.ts index 70b4bc745f..242dfc8c65 100644 --- a/api/@internal/component/ets/refresh.d.ts +++ b/api/@internal/component/ets/refresh.d.ts @@ -41,7 +41,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum RefreshStatus { /** @@ -63,7 +63,7 @@ declare enum RefreshStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Inactive, @@ -86,7 +86,7 @@ declare enum RefreshStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Drag, @@ -109,7 +109,7 @@ declare enum RefreshStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ OverDrag, @@ -132,7 +132,7 @@ declare enum RefreshStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Refresh, @@ -155,7 +155,7 @@ declare enum RefreshStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Done, } @@ -182,7 +182,7 @@ declare enum RefreshStatus { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface RefreshOptions { /** @@ -210,7 +210,7 @@ interface RefreshOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ refreshing: boolean; @@ -229,7 +229,7 @@ interface RefreshOptions { * @type { ?(number | string) } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ offset?: number | string; @@ -255,7 +255,7 @@ interface RefreshOptions { * @type { ?(number | string) } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ friction?: number | string; @@ -267,7 +267,7 @@ interface RefreshOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ promptText?: ResourceStr; @@ -286,7 +286,7 @@ interface RefreshOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ builder?: CustomBuilder; @@ -297,7 +297,7 @@ interface RefreshOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ refreshingContent?: ComponentContent; } @@ -324,7 +324,7 @@ interface RefreshOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface RefreshInterface { @@ -353,7 +353,7 @@ interface RefreshInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (value: RefreshOptions): RefreshAttribute; } @@ -380,7 +380,7 @@ interface RefreshInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class RefreshAttribute extends CommonMethod { @@ -409,7 +409,7 @@ declare class RefreshAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onStateChange(callback: (state: RefreshStatus) => void): RefreshAttribute; @@ -438,7 +438,7 @@ declare class RefreshAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onRefreshing(callback: () => void): RefreshAttribute; @@ -450,7 +450,7 @@ declare class RefreshAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ refreshOffset(value: number): RefreshAttribute; @@ -462,7 +462,7 @@ declare class RefreshAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pullToRefresh(value: boolean): RefreshAttribute; @@ -475,7 +475,7 @@ declare class RefreshAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onOffsetChange(callback: Callback): RefreshAttribute; @@ -487,7 +487,7 @@ declare class RefreshAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pullDownRatio(ratio: Optional): RefreshAttribute; @@ -499,7 +499,7 @@ declare class RefreshAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ maxPullDownDistance(distance: Optional): RefreshAttribute; } @@ -523,7 +523,7 @@ declare class RefreshAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Refresh: RefreshInterface; @@ -547,7 +547,7 @@ declare const Refresh: RefreshInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const RefreshInstance: RefreshAttribute; \ No newline at end of file diff --git a/api/@internal/component/ets/relative_container.d.ts b/api/@internal/component/ets/relative_container.d.ts index 916be0d862..39105ab255 100644 --- a/api/@internal/component/ets/relative_container.d.ts +++ b/api/@internal/component/ets/relative_container.d.ts @@ -43,7 +43,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface RelativeContainerInterface { @@ -72,7 +72,7 @@ interface RelativeContainerInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (): RelativeContainerAttribute; } @@ -84,7 +84,7 @@ interface RelativeContainerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface GuideLinePosition { /** @@ -94,7 +94,7 @@ declare interface GuideLinePosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ start? : Dimension; @@ -105,7 +105,7 @@ declare interface GuideLinePosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ end? : Dimension; } @@ -117,7 +117,7 @@ declare interface GuideLinePosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface GuideLineStyle { /** @@ -127,7 +127,7 @@ declare interface GuideLineStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ id : string; @@ -138,7 +138,7 @@ declare interface GuideLineStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ direction : Axis; @@ -149,7 +149,7 @@ declare interface GuideLineStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ position : GuideLinePosition; } @@ -161,7 +161,7 @@ declare interface GuideLineStyle { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum BarrierDirection { /** @@ -170,7 +170,7 @@ declare enum BarrierDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ LEFT, @@ -180,7 +180,7 @@ declare enum BarrierDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ RIGHT, @@ -190,7 +190,7 @@ declare enum BarrierDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ TOP, @@ -200,7 +200,7 @@ declare enum BarrierDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ BOTTOM, } @@ -212,7 +212,7 @@ declare enum BarrierDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum LocalizedBarrierDirection { /** @@ -221,7 +221,7 @@ declare enum LocalizedBarrierDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ START = 0, @@ -231,7 +231,7 @@ declare enum LocalizedBarrierDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ END = 1, @@ -241,7 +241,7 @@ declare enum LocalizedBarrierDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ TOP = 2, @@ -251,7 +251,7 @@ declare enum LocalizedBarrierDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ BOTTOM = 3, } @@ -263,7 +263,7 @@ declare enum LocalizedBarrierDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface BarrierStyle { /** @@ -273,7 +273,7 @@ declare interface BarrierStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ id : string; @@ -284,7 +284,7 @@ declare interface BarrierStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ direction : BarrierDirection; @@ -295,7 +295,7 @@ declare interface BarrierStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ referencedId : Array; } @@ -307,7 +307,7 @@ declare interface BarrierStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface LocalizedBarrierStyle { /** @@ -317,7 +317,7 @@ declare interface LocalizedBarrierStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ id : string; @@ -328,7 +328,7 @@ declare interface LocalizedBarrierStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ localizedDirection : LocalizedBarrierDirection; @@ -339,7 +339,7 @@ declare interface LocalizedBarrierStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ referencedId : Array; } @@ -363,7 +363,7 @@ declare interface LocalizedBarrierStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class RelativeContainerAttribute extends CommonMethod { @@ -375,7 +375,7 @@ declare class RelativeContainerAttribute extends CommonMethod): RelativeContainerAttribute; @@ -387,7 +387,7 @@ declare class RelativeContainerAttribute extends CommonMethod): RelativeContainerAttribute; @@ -399,7 +399,7 @@ declare class RelativeContainerAttribute extends CommonMethod): RelativeContainerAttribute; } @@ -426,7 +426,7 @@ declare class RelativeContainerAttribute extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static * @noninterop */ declare class RemoteWindowAttribute extends CommonMethod {} @@ -168,7 +168,7 @@ declare class RemoteWindowAttribute extends CommonMethod * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic * @noninterop */ declare const RemoteWindow: RemoteWindowInterface; @@ -178,7 +178,7 @@ declare const RemoteWindow: RemoteWindowInterface; * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic * @noninterop */ declare const RemoteWindowInstance: RemoteWindowAttribute; diff --git a/api/@internal/component/ets/repeat.d.ts b/api/@internal/component/ets/repeat.d.ts index 4c29f0059a..d643ca13a9 100644 --- a/api/@internal/component/ets/repeat.d.ts +++ b/api/@internal/component/ets/repeat.d.ts @@ -26,7 +26,7 @@ * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ interface RepeatItem { /** @@ -37,7 +37,7 @@ interface RepeatItem { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ item: T, /** @@ -48,7 +48,7 @@ interface RepeatItem { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ index: number } @@ -60,7 +60,7 @@ interface RepeatItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface VirtualScrollOptions { /** @@ -70,7 +70,7 @@ interface VirtualScrollOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ totalCount?: number; @@ -81,7 +81,7 @@ interface VirtualScrollOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ reusable?: boolean; @@ -92,7 +92,7 @@ interface VirtualScrollOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onLazyLoading?(index: number): void; @@ -103,7 +103,7 @@ interface VirtualScrollOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ onTotalCount?(): number; } @@ -115,7 +115,7 @@ interface VirtualScrollOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface TemplateOptions { /** @@ -125,7 +125,7 @@ interface TemplateOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ cachedCount?: number } @@ -140,7 +140,7 @@ interface TemplateOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type TemplateTypedFunc = (item: T, index: number) => string; @@ -152,7 +152,7 @@ declare type TemplateTypedFunc = (item: T, index: number) => string; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type RepeatItemBuilder = (repeatItem: RepeatItem) => void; @@ -173,7 +173,7 @@ declare type RepeatItemBuilder = (repeatItem: RepeatItem) => void; * @crossplatform * @form * @atomicservice - * @since 19 + * @since 19 dynamic * @noninterop */ declare class RepeatAttribute extends DynamicNode> { @@ -186,7 +186,7 @@ declare class RepeatAttribute extends DynamicNode> { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ each(itemGenerator: (repeatItem: RepeatItem) => void): RepeatAttribute; /** @@ -198,7 +198,7 @@ declare class RepeatAttribute extends DynamicNode> { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ key(keyGenerator: (item: T, index: number) => string): RepeatAttribute; /** @@ -209,7 +209,7 @@ declare class RepeatAttribute extends DynamicNode> { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ virtualScroll(virtualScrollOptions?: VirtualScrollOptions): RepeatAttribute; /** @@ -222,7 +222,7 @@ declare class RepeatAttribute extends DynamicNode> { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ template(type: string, itemBuilder: RepeatItemBuilder, templateOptions?: TemplateOptions): RepeatAttribute; /** @@ -233,7 +233,7 @@ declare class RepeatAttribute extends DynamicNode> { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ templateId(typedFunc: TemplateTypedFunc): RepeatAttribute; } @@ -246,7 +246,7 @@ declare class RepeatAttribute extends DynamicNode> { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type RepeatArray = Array | ReadonlyArray | Readonly>; @@ -260,7 +260,7 @@ declare type RepeatArray = Array | ReadonlyArray | Readonly>; * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare type RepeatInterface = (arr: RepeatArray) => RepeatAttribute; @@ -283,7 +283,7 @@ declare type RepeatInterface = (arr: RepeatArray) => RepeatAttribute; * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare const Repeat: RepeatInterface; diff --git a/api/@internal/component/ets/rich_editor.d.ts b/api/@internal/component/ets/rich_editor.d.ts index c7eff68240..201b4323ea 100644 --- a/api/@internal/component/ets/rich_editor.d.ts +++ b/api/@internal/component/ets/rich_editor.d.ts @@ -32,7 +32,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum RichEditorDeleteDirection { /** @@ -47,7 +47,7 @@ declare enum RichEditorDeleteDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ BACKWARD, @@ -63,7 +63,7 @@ declare enum RichEditorDeleteDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ FORWARD, } @@ -82,7 +82,7 @@ declare enum RichEditorDeleteDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum RichEditorSpanType { /** @@ -97,7 +97,7 @@ declare enum RichEditorSpanType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ TEXT = 0, @@ -113,7 +113,7 @@ declare enum RichEditorSpanType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ IMAGE = 1, @@ -129,7 +129,7 @@ declare enum RichEditorSpanType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ MIXED = 2, @@ -139,7 +139,7 @@ declare enum RichEditorSpanType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ BUILDER = 3, @@ -149,7 +149,7 @@ declare enum RichEditorSpanType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ DEFAULT = 4, } @@ -161,7 +161,7 @@ declare enum RichEditorSpanType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum UndoStyle { /** @@ -170,7 +170,7 @@ declare enum UndoStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ CLEAR_STYLE = 0, @@ -180,7 +180,7 @@ declare enum UndoStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ KEEP_STYLE = 1, } @@ -200,7 +200,7 @@ declare enum UndoStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum RichEditorResponseType { /** @@ -216,7 +216,7 @@ declare enum RichEditorResponseType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ RIGHT_CLICK = 0, @@ -233,7 +233,7 @@ declare enum RichEditorResponseType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ LONG_PRESS = 1, @@ -250,7 +250,7 @@ declare enum RichEditorResponseType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SELECT = 2, @@ -260,7 +260,7 @@ declare enum RichEditorResponseType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ DEFAULT = 3, } @@ -279,7 +279,7 @@ declare enum RichEditorResponseType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorSpanPosition { /** @@ -296,7 +296,7 @@ declare interface RichEditorSpanPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ spanIndex: number; @@ -314,7 +314,7 @@ declare interface RichEditorSpanPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ spanRange: [number, number]; } @@ -333,7 +333,7 @@ declare interface RichEditorSpanPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorTextStyle { /** @@ -350,7 +350,7 @@ declare interface RichEditorTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor?: ResourceColor; @@ -368,7 +368,7 @@ declare interface RichEditorTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontSize?: Length | number; @@ -386,7 +386,7 @@ declare interface RichEditorTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontStyle?: FontStyle; @@ -404,7 +404,7 @@ declare interface RichEditorTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontWeight?: number | FontWeight | string; @@ -422,7 +422,7 @@ declare interface RichEditorTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontFamily?: ResourceStr; @@ -449,7 +449,7 @@ declare interface RichEditorTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ decoration?: DecorationStyleInterface; @@ -468,7 +468,7 @@ declare interface RichEditorTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textShadow?: ShadowOptions | Array; @@ -479,7 +479,7 @@ declare interface RichEditorTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ letterSpacing?: number | string; @@ -490,7 +490,7 @@ declare interface RichEditorTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lineHeight?: number | string | Resource; @@ -501,7 +501,7 @@ declare interface RichEditorTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ halfLeading?: boolean; @@ -517,7 +517,7 @@ declare interface RichEditorTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontFeature?: string; @@ -528,7 +528,7 @@ declare interface RichEditorTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ textBackgroundStyle?: TextBackgroundStyle; } @@ -549,7 +549,7 @@ declare interface RichEditorTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface LeadingMarginPlaceholder { /** @@ -567,7 +567,7 @@ declare interface LeadingMarginPlaceholder { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pixelMap: PixelMap; @@ -586,7 +586,7 @@ declare interface LeadingMarginPlaceholder { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ size: [Dimension, Dimension]; } @@ -606,7 +606,7 @@ declare interface LeadingMarginPlaceholder { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface RichEditorParagraphStyle { /** @@ -624,7 +624,7 @@ declare interface RichEditorParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textAlign?: TextAlign; @@ -635,7 +635,7 @@ declare interface RichEditorParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ textVerticalAlign?: TextVerticalAlign; @@ -654,7 +654,7 @@ declare interface RichEditorParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ leadingMargin?: Dimension | LeadingMarginPlaceholder; @@ -665,7 +665,7 @@ declare interface RichEditorParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ wordBreak?: WordBreak; @@ -676,7 +676,7 @@ declare interface RichEditorParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lineBreakStrategy?: LineBreakStrategy; @@ -687,7 +687,7 @@ declare interface RichEditorParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ paragraphSpacing?: number; } @@ -699,7 +699,7 @@ declare interface RichEditorParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface PasteEvent { /** @@ -718,7 +718,7 @@ declare interface PasteEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ preventDefault?: Callback; @@ -729,8 +729,7 @@ declare interface PasteEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ preventDefault?: VoidCallback; } @@ -749,7 +748,7 @@ declare interface PasteEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorTextSpan { /** @@ -766,7 +765,7 @@ declare interface RichEditorTextSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ spanPosition: RichEditorSpanPosition; @@ -784,7 +783,7 @@ declare interface RichEditorTextSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ value: string; @@ -802,7 +801,7 @@ declare interface RichEditorTextSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textStyle?: RichEditorTextStyle; } @@ -822,7 +821,7 @@ declare interface RichEditorTextSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface RichEditorLayoutStyle { /** @@ -840,7 +839,7 @@ interface RichEditorLayoutStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ margin?: Dimension | Margin; @@ -859,7 +858,7 @@ interface RichEditorLayoutStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderRadius?: Dimension | BorderRadiuses; } @@ -878,7 +877,7 @@ interface RichEditorLayoutStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorImageSpanStyle { /** @@ -895,7 +894,7 @@ declare interface RichEditorImageSpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ size?: [Dimension, Dimension]; @@ -913,7 +912,7 @@ declare interface RichEditorImageSpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ verticalAlign?: ImageSpanAlignment; @@ -931,7 +930,7 @@ declare interface RichEditorImageSpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ objectFit?: ImageFit; @@ -950,7 +949,7 @@ declare interface RichEditorImageSpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ layoutStyle?: RichEditorLayoutStyle; } @@ -970,7 +969,7 @@ declare interface RichEditorImageSpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface RichEditorSymbolSpanStyle { /** @@ -988,7 +987,7 @@ declare interface RichEditorSymbolSpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontSize?: number | string | Resource; @@ -1007,7 +1006,7 @@ declare interface RichEditorSymbolSpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontColor?: Array; @@ -1026,7 +1025,7 @@ declare interface RichEditorSymbolSpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontWeight?: number | FontWeight | string; @@ -1045,7 +1044,7 @@ declare interface RichEditorSymbolSpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ effectStrategy?: SymbolEffectStrategy; @@ -1064,7 +1063,7 @@ declare interface RichEditorSymbolSpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ renderingStrategy?: SymbolRenderingStrategy; } @@ -1083,7 +1082,7 @@ declare interface RichEditorSymbolSpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorTextStyleResult { /** @@ -1100,7 +1099,7 @@ declare interface RichEditorTextStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor: ResourceColor; @@ -1118,7 +1117,7 @@ declare interface RichEditorTextStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontSize: number; @@ -1136,7 +1135,7 @@ declare interface RichEditorTextStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontStyle: FontStyle; @@ -1154,7 +1153,7 @@ declare interface RichEditorTextStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontWeight: number; @@ -1172,7 +1171,7 @@ declare interface RichEditorTextStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontFamily: string; @@ -1199,7 +1198,7 @@ declare interface RichEditorTextStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ decoration: DecorationStyleResult; @@ -1210,7 +1209,7 @@ declare interface RichEditorTextStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textShadow?: Array; @@ -1221,7 +1220,7 @@ declare interface RichEditorTextStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ letterSpacing?: number; @@ -1232,7 +1231,7 @@ declare interface RichEditorTextStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lineHeight?: number; @@ -1243,7 +1242,7 @@ declare interface RichEditorTextStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ halfLeading?: boolean; @@ -1259,7 +1258,7 @@ declare interface RichEditorTextStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontFeature?: string; @@ -1270,7 +1269,7 @@ declare interface RichEditorTextStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ textBackgroundStyle?: TextBackgroundStyle; } @@ -1290,7 +1289,7 @@ declare interface RichEditorTextStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface RichEditorParagraphResult { /** @@ -1308,7 +1307,7 @@ declare interface RichEditorParagraphResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ style: RichEditorParagraphStyle; @@ -1327,7 +1326,7 @@ declare interface RichEditorParagraphResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ range: [number, number]; } @@ -1347,7 +1346,7 @@ declare interface RichEditorParagraphResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface RichEditorSymbolSpanStyleResult { /** @@ -1365,7 +1364,7 @@ declare interface RichEditorSymbolSpanStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontSize: number | string | Resource; @@ -1384,7 +1383,7 @@ declare interface RichEditorSymbolSpanStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontColor: Array; @@ -1403,7 +1402,7 @@ declare interface RichEditorSymbolSpanStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontWeight: number | FontWeight | string; @@ -1422,7 +1421,7 @@ declare interface RichEditorSymbolSpanStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ effectStrategy: SymbolEffectStrategy; @@ -1441,7 +1440,7 @@ declare interface RichEditorSymbolSpanStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ renderingStrategy: SymbolRenderingStrategy; } @@ -1460,7 +1459,7 @@ declare interface RichEditorSymbolSpanStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorTextSpanResult { /** @@ -1477,7 +1476,7 @@ declare interface RichEditorTextSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ spanPosition: RichEditorSpanPosition; @@ -1495,7 +1494,7 @@ declare interface RichEditorTextSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ value: string; @@ -1513,7 +1512,7 @@ declare interface RichEditorTextSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textStyle: RichEditorTextStyleResult; @@ -1531,7 +1530,7 @@ declare interface RichEditorTextSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offsetInSpan: [number, number]; @@ -1550,7 +1549,7 @@ declare interface RichEditorTextSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ symbolSpanStyle?: RichEditorSymbolSpanStyle; @@ -1569,7 +1568,7 @@ declare interface RichEditorTextSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ valueResource?: Resource; @@ -1580,7 +1579,7 @@ declare interface RichEditorTextSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ paragraphStyle?: RichEditorParagraphStyle; @@ -1591,7 +1590,7 @@ declare interface RichEditorTextSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ previewText?: string; @@ -1602,7 +1601,7 @@ declare interface RichEditorTextSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ urlStyle?: RichEditorUrlStyle; } @@ -1621,7 +1620,7 @@ declare interface RichEditorTextSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorImageSpanStyleResult { /** @@ -1638,7 +1637,7 @@ declare interface RichEditorImageSpanStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ size: [number, number]; @@ -1656,7 +1655,7 @@ declare interface RichEditorImageSpanStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ verticalAlign: ImageSpanAlignment; @@ -1674,7 +1673,7 @@ declare interface RichEditorImageSpanStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ objectFit: ImageFit; @@ -1685,7 +1684,7 @@ declare interface RichEditorImageSpanStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ layoutStyle?: RichEditorLayoutStyle; } @@ -1704,7 +1703,7 @@ declare interface RichEditorImageSpanStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorImageSpanResult { /** @@ -1721,7 +1720,7 @@ declare interface RichEditorImageSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ spanPosition: RichEditorSpanPosition; @@ -1739,7 +1738,7 @@ declare interface RichEditorImageSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ valuePixelMap?: PixelMap; @@ -1757,7 +1756,7 @@ declare interface RichEditorImageSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ valueResourceStr?: ResourceStr; @@ -1775,7 +1774,7 @@ declare interface RichEditorImageSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ imageStyle: RichEditorImageSpanStyleResult; @@ -1793,7 +1792,7 @@ declare interface RichEditorImageSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offsetInSpan: [number, number]; } @@ -1812,7 +1811,7 @@ declare interface RichEditorImageSpanResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorImageSpan { /** @@ -1829,7 +1828,7 @@ declare interface RichEditorImageSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ spanPosition: RichEditorSpanPosition; @@ -1847,7 +1846,7 @@ declare interface RichEditorImageSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ value: PixelMap | ResourceStr; @@ -1865,7 +1864,7 @@ declare interface RichEditorImageSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ imageStyle?: RichEditorImageSpanStyle; } @@ -1884,7 +1883,7 @@ declare interface RichEditorImageSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorRange { /** @@ -1903,7 +1902,7 @@ declare interface RichEditorRange { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ start?: number; @@ -1923,7 +1922,7 @@ declare interface RichEditorRange { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ end?: number; } @@ -1943,7 +1942,7 @@ declare interface RichEditorRange { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface RichEditorGesture { /** @@ -1961,7 +1960,7 @@ declare interface RichEditorGesture { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onClick?: Callback; @@ -1980,7 +1979,7 @@ declare interface RichEditorGesture { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onLongPress?: Callback; @@ -1991,7 +1990,7 @@ declare interface RichEditorGesture { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @systemapi - * @since 14 + * @since 14 dynamic */ onDoubleClick?: Callback; } @@ -2010,7 +2009,7 @@ declare interface RichEditorGesture { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorTextSpanOptions { /** @@ -2027,7 +2026,7 @@ declare interface RichEditorTextSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offset?: number; @@ -2045,7 +2044,7 @@ declare interface RichEditorTextSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ style?: RichEditorTextStyle; @@ -2064,7 +2063,7 @@ declare interface RichEditorTextSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ paragraphStyle?: RichEditorParagraphStyle; @@ -2083,7 +2082,7 @@ declare interface RichEditorTextSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ gesture?: RichEditorGesture; @@ -2094,7 +2093,7 @@ declare interface RichEditorTextSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ urlStyle?: RichEditorUrlStyle; } @@ -2106,7 +2105,7 @@ declare interface RichEditorTextSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface KeyboardOptions { /** @@ -2116,7 +2115,7 @@ declare interface KeyboardOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ supportAvoidance?: boolean; } @@ -2135,7 +2134,7 @@ declare interface KeyboardOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorImageSpanOptions { /** @@ -2152,7 +2151,7 @@ declare interface RichEditorImageSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offset?: number; @@ -2170,7 +2169,7 @@ declare interface RichEditorImageSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ imageStyle?: RichEditorImageSpanStyle; @@ -2189,7 +2188,7 @@ declare interface RichEditorImageSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ gesture?: RichEditorGesture; @@ -2200,7 +2199,7 @@ declare interface RichEditorImageSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ onHover?: OnHoverCallback; } @@ -2220,7 +2219,7 @@ declare interface RichEditorImageSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface RichEditorBuilderSpanOptions { /** @@ -2238,7 +2237,7 @@ declare interface RichEditorBuilderSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ offset?: number; @@ -2248,7 +2247,7 @@ declare interface RichEditorBuilderSpanOptions { * @type { ?ColorMetrics } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ dragBackgroundColor? : ColorMetrics; @@ -2258,7 +2257,7 @@ declare interface RichEditorBuilderSpanOptions { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ isDragShadowNeeded?: boolean; } @@ -2270,7 +2269,7 @@ declare interface RichEditorBuilderSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface PlaceholderStyle { /** @@ -2280,7 +2279,7 @@ declare interface PlaceholderStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ font?: Font; @@ -2291,7 +2290,7 @@ declare interface PlaceholderStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontColor?: ResourceColor; } @@ -2312,7 +2311,7 @@ declare interface PlaceholderStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorSpanStyleOptions extends RichEditorRange { } @@ -2333,7 +2332,7 @@ declare interface RichEditorSpanStyleOptions extends RichEditorRange { } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface RichEditorParagraphStyleOptions extends RichEditorRange { /** @@ -2351,7 +2350,7 @@ declare interface RichEditorParagraphStyleOptions extends RichEditorRange { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ style: RichEditorParagraphStyle; } @@ -2372,7 +2371,7 @@ declare interface RichEditorParagraphStyleOptions extends RichEditorRange { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorUpdateTextSpanStyleOptions extends RichEditorSpanStyleOptions { /** @@ -2389,7 +2388,7 @@ declare interface RichEditorUpdateTextSpanStyleOptions extends RichEditorSpanSty * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textStyle: RichEditorTextStyle; @@ -2400,7 +2399,7 @@ declare interface RichEditorUpdateTextSpanStyleOptions extends RichEditorSpanSty * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ urlStyle?: RichEditorUrlStyle; } @@ -2421,7 +2420,7 @@ declare interface RichEditorUpdateTextSpanStyleOptions extends RichEditorSpanSty * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorUpdateImageSpanStyleOptions extends RichEditorSpanStyleOptions { /** @@ -2438,7 +2437,7 @@ declare interface RichEditorUpdateImageSpanStyleOptions extends RichEditorSpanSt * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ imageStyle: RichEditorImageSpanStyle; } @@ -2460,7 +2459,7 @@ declare interface RichEditorUpdateImageSpanStyleOptions extends RichEditorSpanSt * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface RichEditorUpdateSymbolSpanStyleOptions extends RichEditorSpanStyleOptions { /** @@ -2478,7 +2477,7 @@ declare interface RichEditorUpdateSymbolSpanStyleOptions extends RichEditorSpanS * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ symbolStyle: RichEditorSymbolSpanStyle; } @@ -2498,7 +2497,7 @@ declare interface RichEditorUpdateSymbolSpanStyleOptions extends RichEditorSpanS * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface RichEditorSymbolSpanOptions { /** @@ -2516,7 +2515,7 @@ declare interface RichEditorSymbolSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ offset?: number; @@ -2535,7 +2534,7 @@ declare interface RichEditorSymbolSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ style?: RichEditorSymbolSpanStyle; } @@ -2554,7 +2553,7 @@ declare interface RichEditorSymbolSpanOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorSelection { /** @@ -2571,7 +2570,7 @@ declare interface RichEditorSelection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selection: [number, number]; @@ -2589,7 +2588,7 @@ declare interface RichEditorSelection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ spans: Array; } @@ -2608,7 +2607,7 @@ declare interface RichEditorSelection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorInsertValue { /** @@ -2625,7 +2624,7 @@ declare interface RichEditorInsertValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ insertOffset: number; @@ -2643,7 +2642,7 @@ declare interface RichEditorInsertValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ insertValue: string; @@ -2654,7 +2653,7 @@ declare interface RichEditorInsertValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ previewText?: string; } @@ -2673,7 +2672,7 @@ declare interface RichEditorInsertValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorDeleteValue { /** @@ -2690,7 +2689,7 @@ declare interface RichEditorDeleteValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offset: number; @@ -2708,7 +2707,7 @@ declare interface RichEditorDeleteValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ direction: RichEditorDeleteDirection; @@ -2726,7 +2725,7 @@ declare interface RichEditorDeleteValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ length: number; @@ -2744,7 +2743,7 @@ declare interface RichEditorDeleteValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ richEditorDeleteSpans: Array; } @@ -2756,7 +2755,7 @@ declare interface RichEditorDeleteValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface RichEditorChangeValue { /** @@ -2766,7 +2765,7 @@ declare interface RichEditorChangeValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ rangeBefore: TextRange; @@ -2777,7 +2776,7 @@ declare interface RichEditorChangeValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ replacedSpans: Array; @@ -2788,7 +2787,7 @@ declare interface RichEditorChangeValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ replacedImageSpans: Array; @@ -2799,7 +2798,7 @@ declare interface RichEditorChangeValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ replacedSymbolSpans: Array; @@ -2810,7 +2809,7 @@ declare interface RichEditorChangeValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @atomicservice - * @since 20 + * @since 20 dynamic */ changeReason?: TextChangeReason; } @@ -2829,7 +2828,7 @@ declare interface RichEditorChangeValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface RichEditorOptions { /** @@ -2846,7 +2845,7 @@ declare interface RichEditorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ controller: RichEditorController; } @@ -2858,7 +2857,7 @@ declare interface RichEditorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface RichEditorStyledStringOptions { /** @@ -2868,7 +2867,7 @@ declare interface RichEditorStyledStringOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ controller: RichEditorStyledStringController; } @@ -2888,7 +2887,7 @@ declare interface RichEditorStyledStringOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface SelectionMenuOptions { /** @@ -2915,7 +2914,7 @@ declare interface SelectionMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onAppear?: MenuOnAppearCallback; @@ -2943,7 +2942,7 @@ declare interface SelectionMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDisappear?: Callback; @@ -2954,8 +2953,7 @@ declare interface SelectionMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ onDisappear?: VoidCallback; @@ -2966,7 +2964,7 @@ declare interface SelectionMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ menuType?: MenuType; @@ -2977,7 +2975,7 @@ declare interface SelectionMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ onMenuShow?: MenuCallback; @@ -2988,7 +2986,7 @@ declare interface SelectionMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ onMenuHide?: MenuCallback; @@ -2998,7 +2996,7 @@ declare interface SelectionMenuOptions { * @type { ?PreviewMenuOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ previewMenuOptions?: PreviewMenuOptions; } @@ -3009,7 +3007,7 @@ declare interface SelectionMenuOptions { * @interface PreviewMenuOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare interface PreviewMenuOptions { @@ -3019,7 +3017,7 @@ declare interface PreviewMenuOptions { * @type { ?HapticFeedbackMode } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ hapticFeedbackMode? : HapticFeedbackMode; } @@ -3031,7 +3029,7 @@ declare interface PreviewMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class RichEditorBaseController implements TextEditControllerEx { /** @@ -3048,7 +3046,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getCaretOffset(): number; @@ -3068,7 +3066,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ setCaretOffset(offset: number): boolean; @@ -3084,7 +3082,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ closeSelectionMenu(): void; @@ -3103,7 +3101,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getTypingStyle(): RichEditorTextStyle; @@ -3122,7 +3120,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setTypingStyle(value: RichEditorTextStyle): void; @@ -3133,7 +3131,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ setTypingParagraphStyle(style: RichEditorParagraphStyle): void; @@ -3155,7 +3153,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void; @@ -3166,7 +3164,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isEditing(): boolean; @@ -3176,7 +3174,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ stopEditing(): void; @@ -3187,7 +3185,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getLayoutManager(): LayoutManager; @@ -3198,7 +3196,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getPreviewText(): PreviewText; @@ -3209,7 +3207,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getCaretRect(): RectResult | undefined; } @@ -3235,7 +3233,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class RichEditorController extends RichEditorBaseController { /** @@ -3267,7 +3265,7 @@ declare class RichEditorController extends RichEditorBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ addTextSpan(content: ResourceStr, options?: RichEditorTextSpanOptions): number; @@ -3289,7 +3287,7 @@ declare class RichEditorController extends RichEditorBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ addImageSpan(value: PixelMap | ResourceStr, options?: RichEditorImageSpanOptions): number; @@ -3312,7 +3310,7 @@ declare class RichEditorController extends RichEditorBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ addBuilderSpan(value: CustomBuilder, options?: RichEditorBuilderSpanOptions): number; @@ -3335,7 +3333,7 @@ declare class RichEditorController extends RichEditorBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ addSymbolSpan(value: Resource, options?: RichEditorSymbolSpanOptions ): number; @@ -3353,7 +3351,7 @@ declare class RichEditorController extends RichEditorBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ updateSpanStyle(value: RichEditorUpdateTextSpanStyleOptions | RichEditorUpdateImageSpanStyleOptions | RichEditorUpdateSymbolSpanStyleOptions): void; @@ -3372,7 +3370,7 @@ declare class RichEditorController extends RichEditorBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ updateParagraphStyle(value: RichEditorParagraphStyleOptions): void; @@ -3390,7 +3388,7 @@ declare class RichEditorController extends RichEditorBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ deleteSpans(value?: RichEditorRange): void; @@ -3410,7 +3408,7 @@ declare class RichEditorController extends RichEditorBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getSpans(value?: RichEditorRange): Array; @@ -3431,7 +3429,7 @@ declare class RichEditorController extends RichEditorBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getParagraphs(value?: RichEditorRange): Array; @@ -3450,7 +3448,7 @@ declare class RichEditorController extends RichEditorBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getSelection(): RichEditorSelection; @@ -3464,7 +3462,7 @@ declare class RichEditorController extends RichEditorBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fromStyledString(value: StyledString): Array; @@ -3478,7 +3476,7 @@ declare class RichEditorController extends RichEditorBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ toStyledString(value: RichEditorRange): StyledString; } @@ -3490,7 +3488,7 @@ declare class RichEditorController extends RichEditorBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type RichEditorSpan = RichEditorImageSpanResult | RichEditorTextSpanResult; @@ -3502,7 +3500,7 @@ declare type RichEditorSpan = RichEditorImageSpanResult | RichEditorTextSpanResu * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class RichEditorStyledStringController extends RichEditorBaseController implements StyledStringController { /** @@ -3512,7 +3510,7 @@ declare class RichEditorStyledStringController extends RichEditorBaseController * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setStyledString(styledString: StyledString): void; @@ -3531,7 +3529,7 @@ declare class RichEditorStyledStringController extends RichEditorBaseController * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ getStyledString(): MutableStyledString; @@ -3542,7 +3540,7 @@ declare class RichEditorStyledStringController extends RichEditorBaseController * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getSelection(): RichEditorRange; @@ -3553,7 +3551,7 @@ declare class RichEditorStyledStringController extends RichEditorBaseController * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onContentChanged(listener: StyledStringChangedListener): void; } @@ -3572,7 +3570,7 @@ declare class RichEditorStyledStringController extends RichEditorBaseController * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class RichEditorAttribute extends CommonMethod { @@ -3602,7 +3600,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onReady(callback: Callback): RichEditorAttribute; @@ -3614,8 +3612,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ onReady(callback: VoidCallback): RichEditorAttribute; @@ -3645,7 +3642,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onSelect(callback: Callback): RichEditorAttribute; @@ -3657,7 +3654,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onSelectionChange(callback: Callback): RichEditorAttribute; @@ -3687,7 +3684,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ aboutToIMEInput(callback: Callback): RichEditorAttribute; @@ -3717,7 +3714,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onIMEInputComplete(callback: Callback): RichEditorAttribute; @@ -3729,7 +3726,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidIMEInput(callback: Callback): RichEditorAttribute; @@ -3759,7 +3756,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ aboutToDelete(callback: Callback): RichEditorAttribute; @@ -3789,7 +3786,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDeleteComplete(callback: Callback): RichEditorAttribute; @@ -3801,8 +3798,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ onDeleteComplete(callback: VoidCallback): RichEditorAttribute; @@ -3823,7 +3819,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ copyOptions(value: CopyOptions): RichEditorAttribute; @@ -3850,7 +3846,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType | RichEditorResponseType, options?: SelectionMenuOptions): RichEditorAttribute; @@ -3882,7 +3878,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ customKeyboard(value: CustomBuilder, options?: KeyboardOptions): RichEditorAttribute; @@ -3903,7 +3899,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onPaste(callback: PasteEventCallback): RichEditorAttribute; @@ -3924,7 +3920,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enableDataDetector(enable: boolean): RichEditorAttribute; @@ -3936,7 +3932,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enablePreviewText(enable: boolean): RichEditorAttribute; @@ -3957,7 +3953,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dataDetectorConfig(config: TextDataDetectorConfig): RichEditorAttribute; @@ -3970,7 +3966,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ placeholder(value: ResourceStr, style?: PlaceholderStyle): RichEditorAttribute; @@ -3982,7 +3978,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ caretColor(value: ResourceColor): RichEditorAttribute; @@ -3994,7 +3990,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedBackgroundColor(value: ResourceColor): RichEditorAttribute; @@ -4006,7 +4002,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onEditingChange(callback: Callback): RichEditorAttribute; @@ -4018,7 +4014,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enterKeyType(value: EnterKeyType): RichEditorAttribute; @@ -4030,7 +4026,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onSubmit(callback: SubmitCallback): RichEditorAttribute; @@ -4042,7 +4038,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillChange(callback: Callback) : RichEditorAttribute; @@ -4054,7 +4050,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidChange(callback: OnDidChangeCallback) : RichEditorAttribute; @@ -4066,7 +4062,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onCut(callback: Callback): RichEditorAttribute; @@ -4078,7 +4074,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onCopy(callback: Callback): RichEditorAttribute; @@ -4090,7 +4086,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ editMenuOptions(editMenu: EditMenuOptions): RichEditorAttribute; @@ -4102,7 +4098,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enableKeyboardOnFocus(isEnabled: boolean): RichEditorAttribute; @@ -4114,7 +4110,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ enableHapticFeedback(isEnabled: boolean): RichEditorAttribute; @@ -4126,7 +4122,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ barState(state: BarState): RichEditorAttribute; @@ -4138,7 +4134,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ maxLength(maxLength: Optional): RichEditorAttribute; @@ -4150,7 +4146,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ maxLines(maxLines: Optional): RichEditorAttribute; @@ -4162,7 +4158,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ enableAutoSpacing(enable: Optional): RichEditorAttribute; @@ -4173,7 +4169,7 @@ declare class RichEditorAttribute extends CommonMethod { * @returns { RichEditorAttribute } returns the instance of the RichEditorAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ keyboardAppearance(appearance: Optional): RichEditorAttribute; @@ -4184,7 +4180,7 @@ declare class RichEditorAttribute extends CommonMethod { * @returns { RichEditorAttribute } returns the instance of the RichEditorAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ stopBackPress(isStopped: Optional): RichEditorAttribute; @@ -4196,7 +4192,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ undoStyle(style: Optional): RichEditorAttribute; } @@ -4207,7 +4203,7 @@ declare class RichEditorAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface CutEvent { /** @@ -4217,7 +4213,7 @@ declare interface CutEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ preventDefault?: Callback; @@ -4228,8 +4224,7 @@ declare interface CutEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ preventDefault?: VoidCallback; } @@ -4240,7 +4235,7 @@ declare interface CutEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface CopyEvent { /** @@ -4250,7 +4245,7 @@ declare interface CopyEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ preventDefault?: Callback; @@ -4261,8 +4256,7 @@ declare interface CopyEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ preventDefault?: VoidCallback; } @@ -4273,7 +4267,7 @@ declare interface CopyEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare interface RichEditorUrlStyle { /** @@ -4283,7 +4277,7 @@ declare interface RichEditorUrlStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ url?: ResourceStr; } @@ -4297,7 +4291,7 @@ declare interface RichEditorUrlStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type SubmitCallback = (enterKey: EnterKeyType, event: SubmitEvent) => void; @@ -4310,7 +4304,7 @@ declare type SubmitCallback = (enterKey: EnterKeyType, event: SubmitEvent) => vo * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type MenuOnAppearCallback = (start: number, end: number) => void; @@ -4323,7 +4317,7 @@ declare type MenuOnAppearCallback = (start: number, end: number) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare type MenuCallback = (start: number, end: number) => void; @@ -4335,7 +4329,7 @@ declare type MenuCallback = (start: number, end: number) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type PasteEventCallback = (event?: PasteEvent) => void; @@ -4348,7 +4342,7 @@ declare type PasteEventCallback = (event?: PasteEvent) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare type OnHoverCallback = (status: boolean, event: HoverEvent) => void; @@ -4366,7 +4360,7 @@ declare type OnHoverCallback = (status: boolean, event: HoverEvent) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface RichEditorInterface { @@ -4386,7 +4380,7 @@ interface RichEditorInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (value: RichEditorOptions): RichEditorAttribute; @@ -4398,7 +4392,7 @@ interface RichEditorInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ (options: RichEditorStyledStringOptions): RichEditorAttribute; } @@ -4415,7 +4409,7 @@ interface RichEditorInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const RichEditorInstance: RichEditorAttribute; @@ -4432,7 +4426,7 @@ declare const RichEditorInstance: RichEditorAttribute; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const RichEditor: RichEditorInterface; diff --git a/api/@internal/component/ets/rich_text.d.ts b/api/@internal/component/ets/rich_text.d.ts index 61c78f38ea..f946ea1e46 100644 --- a/api/@internal/component/ets/rich_text.d.ts +++ b/api/@internal/component/ets/rich_text.d.ts @@ -18,7 +18,7 @@ * @kit ArkUI */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { CommonMethod} from './common'; import { Resource } from '../../global/resource' /*** endif */ @@ -45,8 +45,8 @@ import { Resource } from '../../global/resource' * @interface RichTextInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static * @noninterop */ interface RichTextInterface { @@ -84,8 +84,7 @@ interface RichTextInterface { * @returns { RichTextAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ (content: string | Resource): RichTextAttribute; } @@ -112,8 +111,8 @@ interface RichTextInterface { * @extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static * @noninterop */ declare class RichTextAttribute extends CommonMethod { @@ -142,8 +141,8 @@ declare class RichTextAttribute extends CommonMethod { * @returns { RichTextAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onStart(callback: () => void): RichTextAttribute; @@ -172,8 +171,8 @@ declare class RichTextAttribute extends CommonMethod { * @returns { RichTextAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onComplete(callback: () => void): RichTextAttribute; } @@ -197,7 +196,7 @@ declare class RichTextAttribute extends CommonMethod { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ declare const RichText: RichTextInterface; @@ -221,7 +220,7 @@ declare const RichText: RichTextInterface; * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ declare const RichTextInstance: RichTextAttribute; diff --git a/api/@internal/component/ets/root_scene.d.ts b/api/@internal/component/ets/root_scene.d.ts index 0adf4bdbb9..069eb8c332 100644 --- a/api/@internal/component/ets/root_scene.d.ts +++ b/api/@internal/component/ets/root_scene.d.ts @@ -17,7 +17,7 @@ * @file * @kit ArkUI */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { CommonMethod} from './common'; /*** endif */ /** @@ -26,8 +26,8 @@ import { CommonMethod} from './common'; * @interface RootSceneSession * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface RootSceneSession { } @@ -38,8 +38,8 @@ interface RootSceneSession { * @interface RootSceneInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static * @noninterop */ interface RootSceneInterface { @@ -50,8 +50,8 @@ interface RootSceneInterface { * @returns { RootSceneAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ (session: RootSceneSession): RootSceneAttribute; } @@ -62,8 +62,8 @@ interface RootSceneInterface { * @extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static * @noninterop */ declare class RootSceneAttribute extends CommonMethod { @@ -74,7 +74,7 @@ declare class RootSceneAttribute extends CommonMethod { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic * @noninterop */ declare const RootScene: RootSceneInterface; @@ -84,7 +84,7 @@ declare const RootScene: RootSceneInterface; * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic * @noninterop */ declare const RootSceneInstance: RootSceneAttribute; diff --git a/api/@internal/component/ets/row.d.ts b/api/@internal/component/ets/row.d.ts index f2d9fb5629..cc2941a039 100644 --- a/api/@internal/component/ets/row.d.ts +++ b/api/@internal/component/ets/row.d.ts @@ -26,7 +26,7 @@ * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface RowOptions { /** @@ -72,7 +72,7 @@ declare interface RowOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ space?: string | number; } @@ -85,7 +85,7 @@ declare interface RowOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ interface RowOptionsV2 { /** @@ -96,7 +96,7 @@ interface RowOptionsV2 { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ space?: SpaceType; } @@ -133,7 +133,7 @@ interface RowOptionsV2 { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface RowInterface { @@ -185,7 +185,7 @@ interface RowInterface { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ (options?: RowOptions): RowAttribute; /** @@ -198,7 +198,7 @@ interface RowInterface { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ (options?: RowOptions | RowOptionsV2): RowAttribute; } @@ -235,7 +235,7 @@ interface RowInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class RowAttribute extends CommonMethod { @@ -275,7 +275,7 @@ declare class RowAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ alignItems(value: VerticalAlign): RowAttribute; @@ -315,7 +315,7 @@ declare class RowAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ justifyContent(value: FlexAlign): RowAttribute; /** @@ -325,7 +325,7 @@ declare class RowAttribute extends CommonMethod { * @returns { RowAttribute } The attribute of the row. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ pointLight(value: PointLightStyle): RowAttribute; /** @@ -337,7 +337,7 @@ declare class RowAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ reverse(isReversed: Optional): RowAttribute; } @@ -370,7 +370,7 @@ declare class RowAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Row: RowInterface; @@ -403,7 +403,7 @@ declare const Row: RowInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const RowInstance: RowAttribute; diff --git a/api/@internal/component/ets/row_split.d.ts b/api/@internal/component/ets/row_split.d.ts index 81238f40d9..409afcf627 100644 --- a/api/@internal/component/ets/row_split.d.ts +++ b/api/@internal/component/ets/row_split.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface RowSplitInterface { @@ -66,7 +66,7 @@ interface RowSplitInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (): RowSplitAttribute; } @@ -87,7 +87,7 @@ interface RowSplitInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class RowSplitAttribute extends CommonMethod { @@ -116,7 +116,7 @@ declare class RowSplitAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ resizeable(value: boolean): RowSplitAttribute; } @@ -140,7 +140,7 @@ declare class RowSplitAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const RowSplit: RowSplitInterface; @@ -164,7 +164,7 @@ declare const RowSplit: RowSplitInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const RowSplitInstance: RowSplitAttribute; diff --git a/api/@internal/component/ets/save_button.d.ts b/api/@internal/component/ets/save_button.d.ts index c1f1563e88..7884b37f88 100644 --- a/api/@internal/component/ets/save_button.d.ts +++ b/api/@internal/component/ets/save_button.d.ts @@ -31,7 +31,7 @@ * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declare enum SaveIconStyle { /** @@ -45,7 +45,7 @@ declare enum SaveIconStyle { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ FULL_FILLED = 0, @@ -60,7 +60,7 @@ declare enum SaveIconStyle { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ LINES = 1, @@ -69,7 +69,7 @@ declare enum SaveIconStyle { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamiconly */ PICTURE = 2 } @@ -87,7 +87,7 @@ declare enum SaveIconStyle { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declare enum SaveDescription { /** @@ -101,7 +101,7 @@ declare enum SaveDescription { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ DOWNLOAD = 0, @@ -116,7 +116,7 @@ declare enum SaveDescription { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ DOWNLOAD_FILE = 1, @@ -131,7 +131,7 @@ declare enum SaveDescription { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ SAVE = 2, @@ -146,7 +146,7 @@ declare enum SaveDescription { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ SAVE_IMAGE = 3, @@ -161,7 +161,7 @@ declare enum SaveDescription { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ SAVE_FILE = 4, @@ -176,7 +176,7 @@ declare enum SaveDescription { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ DOWNLOAD_AND_SHARE = 5, @@ -191,7 +191,7 @@ declare enum SaveDescription { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ RECEIVE = 6, @@ -206,7 +206,7 @@ declare enum SaveDescription { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ CONTINUE_TO_RECEIVE = 7, @@ -215,7 +215,7 @@ declare enum SaveDescription { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamiconly */ SAVE_TO_GALLERY = 8, @@ -224,7 +224,7 @@ declare enum SaveDescription { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamiconly */ EXPORT_TO_GALLERY = 9, @@ -233,7 +233,7 @@ declare enum SaveDescription { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamiconly */ QUICK_SAVE_TO_GALLERY = 10, @@ -242,7 +242,7 @@ declare enum SaveDescription { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamiconly */ RESAVE_TO_GALLERY = 11, @@ -251,7 +251,7 @@ declare enum SaveDescription { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamiconly */ SAVE_ALL = 12 } @@ -269,7 +269,7 @@ declare enum SaveDescription { * @interface SaveButtonOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declare interface SaveButtonOptions { /** @@ -285,7 +285,7 @@ declare interface SaveButtonOptions { * @type { ?SaveIconStyle } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ icon?: SaveIconStyle; @@ -302,7 +302,7 @@ declare interface SaveButtonOptions { * @type { ?SaveDescription } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ text?: SaveDescription; @@ -319,7 +319,7 @@ declare interface SaveButtonOptions { * @type { ?ButtonType } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ buttonType?: ButtonType; } @@ -337,7 +337,7 @@ declare interface SaveButtonOptions { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declare enum SaveButtonOnClickResult { /** @@ -351,7 +351,7 @@ declare enum SaveButtonOnClickResult { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ SUCCESS = 0, @@ -366,7 +366,7 @@ declare enum SaveButtonOnClickResult { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ TEMPORARY_AUTHORIZATION_FAILED = 1 } @@ -384,7 +384,7 @@ declare enum SaveButtonOnClickResult { * @interface SaveButtonInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ interface SaveButtonInterface { /** @@ -400,7 +400,7 @@ interface SaveButtonInterface { * @returns { SaveButtonAttribute } Returns the attribute of the save button. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ (): SaveButtonAttribute; @@ -421,7 +421,7 @@ interface SaveButtonInterface { * @returns { SaveButtonAttribute } Returns the attribute of the save button. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ (options: SaveButtonOptions): SaveButtonAttribute; } @@ -435,7 +435,7 @@ interface SaveButtonInterface { * @param { BusinessError } [error] - The error code and message of click event. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamiconly */ type SaveButtonCallback = (event: ClickEvent, result: SaveButtonOnClickResult, error?: BusinessError) => void; @@ -452,7 +452,7 @@ type SaveButtonCallback = (event: ClickEvent, result: SaveButtonOnClickResult, e * @extends SecurityComponentMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declare class SaveButtonAttribute extends SecurityComponentMethod { /** @@ -479,7 +479,7 @@ declare class SaveButtonAttribute extends SecurityComponentMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static * @noninterop */ declare class ScreenAttribute extends CommonMethod { @@ -64,7 +64,7 @@ declare class ScreenAttribute extends CommonMethod { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic * @noninterop */ declare const Screen: ScreenInterface; @@ -74,7 +74,7 @@ declare const Screen: ScreenInterface; * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic * @noninterop */ declare const ScreenInstance: ScreenAttribute; diff --git a/api/@internal/component/ets/scroll.d.ts b/api/@internal/component/ets/scroll.d.ts index 3e0504a35b..70eb50bf08 100644 --- a/api/@internal/component/ets/scroll.d.ts +++ b/api/@internal/component/ets/scroll.d.ts @@ -42,7 +42,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ScrollDirection { /** @@ -64,7 +64,7 @@ declare enum ScrollDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Vertical, @@ -87,7 +87,7 @@ declare enum ScrollDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Horizontal, @@ -95,7 +95,7 @@ declare enum ScrollDirection { * Vertical or horizontal scrolling is supported. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ Free, @@ -119,7 +119,7 @@ declare enum ScrollDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ None, } @@ -139,7 +139,7 @@ declare enum ScrollDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ScrollAlign { /** @@ -155,7 +155,7 @@ declare enum ScrollAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ START, @@ -172,7 +172,7 @@ declare enum ScrollAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ CENTER, @@ -189,7 +189,7 @@ declare enum ScrollAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ END, @@ -206,7 +206,7 @@ declare enum ScrollAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ AUTO, } @@ -218,7 +218,7 @@ declare enum ScrollAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface OffsetResult { /** @@ -228,7 +228,7 @@ declare interface OffsetResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ xOffset: number; @@ -239,7 +239,7 @@ declare interface OffsetResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ yOffset: number; } @@ -251,7 +251,7 @@ declare interface OffsetResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface ScrollEdgeOptions { /** @@ -263,7 +263,7 @@ declare interface ScrollEdgeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ velocity?: number; } @@ -275,7 +275,7 @@ declare interface ScrollEdgeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface ScrollToIndexOptions { /** @@ -285,7 +285,7 @@ declare interface ScrollToIndexOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ extraOffset?: LengthMetrics; } @@ -297,7 +297,7 @@ declare interface ScrollToIndexOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface ScrollAnimationOptions { /** @@ -312,7 +312,7 @@ declare interface ScrollAnimationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ duration?: number; @@ -324,7 +324,7 @@ declare interface ScrollAnimationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ curve?: Curve | ICurve; @@ -341,7 +341,7 @@ declare interface ScrollAnimationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ canOverScroll?: boolean; } @@ -353,7 +353,7 @@ declare interface ScrollAnimationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface OffsetOptions { /** @@ -364,7 +364,7 @@ declare interface OffsetOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ xOffset?: Dimension; @@ -376,7 +376,7 @@ declare interface OffsetOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ yOffset?: Dimension; } @@ -389,7 +389,7 @@ declare interface OffsetOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare interface UIScrollEvent extends UIScrollableCommonEvent { /** @@ -400,7 +400,7 @@ declare interface UIScrollEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnWillScroll(callback: ScrollOnWillScrollCallback | undefined): void; @@ -411,7 +411,7 @@ declare interface UIScrollEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnDidScroll(callback: ScrollOnScrollCallback | undefined): void; } @@ -446,7 +446,7 @@ declare interface UIScrollEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class Scroller { /** @@ -468,7 +468,7 @@ declare class Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -504,7 +504,7 @@ declare class Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ scrollTo(options: ScrollOptions); @@ -543,7 +543,7 @@ declare class Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ scrollEdge(value: Edge, options?: ScrollEdgeOptions); @@ -563,7 +563,7 @@ declare class Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fling(velocity: number): void; @@ -598,7 +598,7 @@ declare class Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ scrollPage(value: ScrollPageOptions); @@ -609,7 +609,7 @@ declare class Scroller { * The value true means to scroll to the next page, and false means to scroll to the previous page. * @param { Axis } direction - Scrolling direction: horizontal or vertical. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ scrollPage(value: { next: boolean; direction?: Axis }); @@ -634,7 +634,7 @@ declare class Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ currentOffset() : OffsetResult; @@ -691,7 +691,7 @@ declare class Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ scrollToIndex(value: number, smooth?: boolean, align?: ScrollAlign, options?: ScrollToIndexOptions); @@ -724,7 +724,7 @@ declare class Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollBy(dx: Length, dy: Length); @@ -747,7 +747,7 @@ declare class Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ isAtEnd(): boolean; @@ -785,7 +785,7 @@ declare class Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getItemRect(index: number): RectResult; @@ -807,7 +807,7 @@ declare class Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getItemIndex(x: number, y: number): number; } @@ -819,7 +819,7 @@ declare class Scroller { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface ScrollOptions { /** @@ -855,7 +855,7 @@ declare interface ScrollOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ xOffset: number | string; @@ -892,7 +892,7 @@ declare interface ScrollOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ yOffset: number | string; @@ -939,7 +939,7 @@ declare interface ScrollOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ animation?: ScrollAnimationOptions | boolean; @@ -950,7 +950,7 @@ declare interface ScrollOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ canOverScroll?: boolean; } @@ -961,7 +961,7 @@ declare interface ScrollOptions { * @interface ScrollPageOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ declare interface ScrollPageOptions { /** @@ -972,7 +972,7 @@ declare interface ScrollPageOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ next: boolean; @@ -985,7 +985,7 @@ declare interface ScrollPageOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ animation?: boolean; } @@ -1003,7 +1003,7 @@ declare interface ScrollPageOptions { * @interface ScrollSnapOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ScrollSnapOptions { /** @@ -1020,7 +1020,7 @@ declare interface ScrollSnapOptions { * @default ScrollSnapAlign.NONE * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ snapAlign: ScrollSnapAlign; @@ -1050,7 +1050,7 @@ declare interface ScrollSnapOptions { * @default 100% * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ snapPagination?: Dimension | Array; @@ -1075,7 +1075,7 @@ declare interface ScrollSnapOptions { * @default true * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ enableSnapToStart?: boolean; @@ -1100,7 +1100,7 @@ declare interface ScrollSnapOptions { * @default true * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ enableSnapToEnd?: boolean; } @@ -1127,7 +1127,7 @@ declare interface ScrollSnapOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface ScrollInterface { @@ -1156,7 +1156,7 @@ interface ScrollInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (scroller?: Scroller): ScrollAttribute; } @@ -1169,7 +1169,7 @@ interface ScrollInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnScrollEdgeCallback = (side: Edge) => void; @@ -1180,7 +1180,7 @@ declare type OnScrollEdgeCallback = (side: Edge) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface OnScrollFrameBeginHandlerResult { /** @@ -1215,7 +1215,7 @@ interface OnScrollFrameBeginHandlerResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ offsetRemain: number; } @@ -1230,7 +1230,7 @@ interface OnScrollFrameBeginHandlerResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnScrollFrameBeginCallback = (offset: number, state: ScrollState) => OnScrollFrameBeginHandlerResult; @@ -1256,7 +1256,7 @@ declare type OnScrollFrameBeginCallback = (offset: number, state: ScrollState) = * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class ScrollAttribute extends ScrollableCommonMethod { @@ -1285,7 +1285,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollable(value: ScrollDirection): ScrollAttribute; @@ -1321,7 +1321,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead scroll/Scroll#onWillScroll * @@ -1343,7 +1343,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillScroll(handler: ScrollOnWillScrollCallback): ScrollAttribute; @@ -1362,7 +1362,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidScroll(handler: ScrollOnScrollCallback): ScrollAttribute; @@ -1409,7 +1409,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onScrollEdge(event: OnScrollEdgeCallback): ScrollAttribute; @@ -1454,7 +1454,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onScrollStart(event: VoidCallback): ScrollAttribute; @@ -1469,7 +1469,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @param { function } event * @returns { ScrollAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead scroll/Scroll#onScrollStop */ @@ -1516,7 +1516,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onScrollStop(event: VoidCallback): ScrollAttribute; @@ -1545,7 +1545,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollBar(barState: BarState): ScrollAttribute; @@ -1574,7 +1574,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollBarColor(color: Color | number | string): ScrollAttribute; @@ -1603,7 +1603,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollBarWidth(value: number | string): ScrollAttribute; @@ -1636,7 +1636,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ edgeEffect(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): ScrollAttribute; @@ -1676,7 +1676,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onScrollFrameBegin(event: OnScrollFrameBeginCallback): ScrollAttribute; @@ -1698,7 +1698,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ nestedScroll(value: NestedScrollOptions): ScrollAttribute; @@ -1720,7 +1720,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enableScrollInteraction(value: boolean): ScrollAttribute; @@ -1746,7 +1746,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ friction(value: number | Resource): ScrollAttribute; @@ -1765,7 +1765,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @returns { ScrollAttribute } the attribute of the scroll. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollSnap(value: ScrollSnapOptions): ScrollAttribute; @@ -1787,7 +1787,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enablePaging(value: boolean): ScrollAttribute; @@ -1801,7 +1801,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ initialOffset(value: OffsetOptions): ScrollAttribute; } @@ -1826,7 +1826,7 @@ declare class ScrollAttribute extends ScrollableCommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type ScrollOnScrollCallback = (xOffset: number, yOffset: number, scrollState: ScrollState) => void; @@ -1847,7 +1847,7 @@ declare type ScrollOnScrollCallback = (xOffset: number, yOffset: number, scrollS * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type ScrollOnWillScrollCallback = (xOffset: number, yOffset: number, scrollState: ScrollState, scrollSource: ScrollSource) => void | OffsetResult; @@ -1871,7 +1871,7 @@ declare type ScrollOnWillScrollCallback = * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Scroll: ScrollInterface; @@ -1895,7 +1895,7 @@ declare const Scroll: ScrollInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ScrollInstance: ScrollAttribute; diff --git a/api/@internal/component/ets/scroll_bar.d.ts b/api/@internal/component/ets/scroll_bar.d.ts index cc04ba76e8..952c35c8e4 100644 --- a/api/@internal/component/ets/scroll_bar.d.ts +++ b/api/@internal/component/ets/scroll_bar.d.ts @@ -42,7 +42,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ScrollBarDirection { /** @@ -64,7 +64,7 @@ declare enum ScrollBarDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Vertical, @@ -87,7 +87,7 @@ declare enum ScrollBarDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Horizontal, } @@ -114,7 +114,7 @@ declare enum ScrollBarDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ScrollBarOptions { /** @@ -139,7 +139,7 @@ declare interface ScrollBarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scroller: Scroller; @@ -165,7 +165,7 @@ declare interface ScrollBarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ direction?: ScrollBarDirection; @@ -191,7 +191,7 @@ declare interface ScrollBarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ state?: BarState; } @@ -218,7 +218,7 @@ declare interface ScrollBarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface ScrollBarInterface { @@ -247,7 +247,7 @@ interface ScrollBarInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (value: ScrollBarOptions): ScrollBarAttribute; } @@ -274,7 +274,7 @@ interface ScrollBarInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class ScrollBarAttribute extends CommonMethod { @@ -285,7 +285,7 @@ declare class ScrollBarAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ enableNestedScroll(enabled: Optional): ScrollBarAttribute; @@ -297,7 +297,7 @@ declare class ScrollBarAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ scrollBarColor(color: Optional): ScrollBarAttribute; } @@ -321,7 +321,7 @@ declare class ScrollBarAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ScrollBar: ScrollBarInterface; @@ -345,7 +345,7 @@ declare const ScrollBar: ScrollBarInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ScrollBarInstance: ScrollBarAttribute; diff --git a/api/@internal/component/ets/search.d.ts b/api/@internal/component/ets/search.d.ts index 3832e8b65e..5c596d8824 100644 --- a/api/@internal/component/ets/search.d.ts +++ b/api/@internal/component/ets/search.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class SearchController extends TextContentControllerBase { /** @@ -63,7 +63,7 @@ declare class SearchController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -89,7 +89,7 @@ declare class SearchController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ caretPosition(value: number): void; @@ -106,7 +106,7 @@ declare class SearchController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ stopEditing(): void; @@ -133,7 +133,7 @@ declare class SearchController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setTextSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void; } @@ -153,7 +153,7 @@ declare class SearchController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum CancelButtonStyle { /** @@ -169,7 +169,7 @@ declare enum CancelButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ CONSTANT, @@ -186,7 +186,7 @@ declare enum CancelButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ INVISIBLE, @@ -203,7 +203,7 @@ declare enum CancelButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ INPUT } @@ -223,7 +223,7 @@ declare enum CancelButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum SearchType { /** @@ -239,7 +239,7 @@ declare enum SearchType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NORMAL = 0, @@ -256,7 +256,7 @@ declare enum SearchType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NUMBER = 2, @@ -274,7 +274,7 @@ declare enum SearchType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PHONE_NUMBER = 3, @@ -292,7 +292,7 @@ declare enum SearchType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ EMAIL = 5, @@ -302,7 +302,7 @@ declare enum SearchType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NUMBER_DECIMAL = 12, @@ -312,7 +312,7 @@ declare enum SearchType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ URL = 13, @@ -321,7 +321,7 @@ declare enum SearchType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ ONE_TIME_CODE = 14, } @@ -334,7 +334,7 @@ declare enum SearchType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface SearchOptions { /** @@ -373,7 +373,7 @@ declare interface SearchOptions { * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ value?: ResourceStr; @@ -406,7 +406,7 @@ declare interface SearchOptions { * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ placeholder?: ResourceStr; @@ -443,7 +443,7 @@ declare interface SearchOptions { * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ icon?: string; @@ -469,7 +469,7 @@ declare interface SearchOptions { * @type { ?SearchController } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ controller?: SearchController; } @@ -496,7 +496,7 @@ declare interface SearchOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface SearchInterface { @@ -536,7 +536,7 @@ interface SearchInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ (options?: SearchOptions): SearchAttribute; } @@ -556,7 +556,7 @@ interface SearchInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface IconOptions { /** @@ -578,7 +578,7 @@ interface IconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ size?: Length; @@ -597,7 +597,7 @@ interface IconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ color?: ResourceColor; @@ -616,7 +616,7 @@ interface IconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ src?: ResourceStr; } @@ -636,7 +636,7 @@ interface IconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface SearchButtonOptions { /** @@ -658,7 +658,7 @@ interface SearchButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontSize?: Length; @@ -677,7 +677,7 @@ interface SearchButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor?: ResourceColor; @@ -694,7 +694,7 @@ interface SearchButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ autoDisable?: Boolean; } @@ -706,7 +706,7 @@ interface SearchButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface CancelButtonOptions { /** @@ -717,7 +717,7 @@ interface CancelButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ style?: CancelButtonStyle; @@ -729,7 +729,7 @@ interface CancelButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ icon?: IconOptions; } @@ -749,7 +749,7 @@ interface CancelButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ interface CancelButtonSymbolOptions { @@ -760,7 +760,7 @@ interface CancelButtonSymbolOptions { * @type { ?CancelButtonStyle } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ style?: CancelButtonStyle; @@ -781,7 +781,7 @@ interface CancelButtonSymbolOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ icon?: SymbolGlyphModifier; } @@ -795,7 +795,7 @@ interface CancelButtonSymbolOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare type SearchSubmitCallback = (searchContent: string, event?: SubmitEvent) => void; @@ -821,7 +821,7 @@ declare type SearchSubmitCallback = (searchContent: string, event?: SubmitEvent) * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class SearchAttribute extends CommonMethod { @@ -870,7 +870,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ searchButton(value: ResourceStr, option?: SearchButtonOptions): SearchAttribute; @@ -895,7 +895,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor(value: ResourceColor): SearchAttribute; @@ -946,7 +946,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ searchIcon(value: IconOptions | SymbolGlyphModifier): SearchAttribute; @@ -993,7 +993,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ cancelButton(value: CancelButtonOptions | CancelButtonSymbolOptions): SearchAttribute; @@ -1005,7 +1005,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textIndent(value: Dimension): SearchAttribute; @@ -1026,7 +1026,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ inputFilter(value: ResourceStr, error?: Callback): SearchAttribute; @@ -1039,7 +1039,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onEditChange(callback: Callback): SearchAttribute; @@ -1055,7 +1055,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedBackgroundColor(value: ResourceColor): SearchAttribute; @@ -1087,7 +1087,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ caretStyle(value: CaretStyle): SearchAttribute; @@ -1116,7 +1116,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ placeholderColor(value: ResourceColor): SearchAttribute; @@ -1150,7 +1150,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ placeholderFont(value?: Font): SearchAttribute; @@ -1184,7 +1184,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textFont(value?: Font): SearchAttribute; @@ -1196,7 +1196,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enterKeyType(value: EnterKeyType): SearchAttribute; @@ -1236,7 +1236,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onSubmit(callback: Callback): SearchAttribute; /** @@ -1248,7 +1248,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ onSubmit(callback: SearchSubmitCallback): SearchAttribute; @@ -1292,7 +1292,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onChange(callback: EditableTextOnChangeCallback): SearchAttribute; @@ -1324,7 +1324,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onTextSelectionChange(callback: OnTextSelectionChangeCallback): SearchAttribute; @@ -1356,7 +1356,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onContentScroll(callback: OnContentScrollCallback): SearchAttribute; @@ -1396,7 +1396,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onCopy(callback: Callback): SearchAttribute; @@ -1436,7 +1436,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onCut(callback: Callback): SearchAttribute; @@ -1479,7 +1479,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onPaste(callback: OnPasteCallback): SearchAttribute; @@ -1514,7 +1514,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ copyOption(value: CopyOptions): SearchAttribute; @@ -1553,7 +1553,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ maxLength(value: number): SearchAttribute; @@ -1586,7 +1586,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textAlign(value: TextAlign): SearchAttribute; @@ -1611,7 +1611,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enableKeyboardOnFocus(value: boolean): SearchAttribute; @@ -1639,7 +1639,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectionMenuHidden(value: boolean): SearchAttribute; @@ -1657,7 +1657,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ minFontSize(value: number | string | Resource): SearchAttribute; @@ -1675,7 +1675,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ maxFontSize(value: number | string | Resource): SearchAttribute; @@ -1712,7 +1712,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ minFontScale(scale: Optional): SearchAttribute; @@ -1747,7 +1747,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ maxFontScale(scale: Optional): SearchAttribute; @@ -1792,7 +1792,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ customKeyboard(value: CustomBuilder, options?: KeyboardOptions): SearchAttribute; @@ -1804,7 +1804,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ decoration(value: TextDecorationOptions): SearchAttribute; @@ -1823,7 +1823,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ letterSpacing(value: number | string | Resource): SearchAttribute; @@ -1840,7 +1840,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lineHeight(value: number | string | Resource): SearchAttribute; @@ -1861,7 +1861,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type(value: SearchType): SearchAttribute; @@ -1877,7 +1877,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontFeature(value: string): SearchAttribute; @@ -1895,7 +1895,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillInsert(callback: Callback): SearchAttribute; @@ -1911,7 +1911,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidInsert(callback: Callback): SearchAttribute; @@ -1929,7 +1929,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillDelete(callback: Callback): SearchAttribute; @@ -1945,7 +1945,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidDelete(callback: Callback): SearchAttribute; @@ -1957,7 +1957,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onWillAttachIME(callback: Callback): SearchAttribute; @@ -1971,7 +1971,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ editMenuOptions(editMenu: EditMenuOptions): SearchAttribute; @@ -1988,7 +1988,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enablePreviewText(enable: boolean): SearchAttribute; @@ -2012,7 +2012,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ enableHapticFeedback(isEnabled: boolean): SearchAttribute; @@ -2024,7 +2024,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ autoCapitalizationMode(mode: AutoCapitalizationMode): SearchAttribute; @@ -2036,7 +2036,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ halfLeading(halfLeading: Optional): SearchAttribute; @@ -2047,7 +2047,7 @@ declare class SearchAttribute extends CommonMethod { * @returns { SearchAttribute } returns the instance of the SearchAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ stopBackPress(isStopped: Optional): SearchAttribute; @@ -2064,7 +2064,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ onWillChange(callback: Callback): SearchAttribute; @@ -2075,7 +2075,7 @@ declare class SearchAttribute extends CommonMethod { * @returns { SearchAttribute } returns the instance of the SearchAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ keyboardAppearance(appearance: Optional): SearchAttribute; @@ -2087,7 +2087,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ strokeWidth(width: Optional): SearchAttribute; @@ -2099,7 +2099,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ strokeColor(color: Optional): SearchAttribute; @@ -2111,7 +2111,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ enableAutoSpacing(enabled: Optional): SearchAttribute; } @@ -2135,7 +2135,7 @@ declare class SearchAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Search: SearchInterface; @@ -2159,7 +2159,7 @@ declare const Search: SearchInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const SearchInstance: SearchAttribute; diff --git a/api/@internal/component/ets/security_component.d.ts b/api/@internal/component/ets/security_component.d.ts index c84936c798..123bb8d862 100644 --- a/api/@internal/component/ets/security_component.d.ts +++ b/api/@internal/component/ets/security_component.d.ts @@ -31,7 +31,7 @@ * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declare enum SecurityComponentLayoutDirection { /** @@ -45,7 +45,7 @@ declare enum SecurityComponentLayoutDirection { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ HORIZONTAL = 0, @@ -60,7 +60,7 @@ declare enum SecurityComponentLayoutDirection { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ VERTICAL = 1 } @@ -76,7 +76,7 @@ declare enum SecurityComponentLayoutDirection { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declare class SecurityComponentMethod { /** @@ -94,7 +94,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ iconSize(value: Dimension): T; @@ -113,7 +113,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ layoutDirection(value: SecurityComponentLayoutDirection): T; @@ -132,7 +132,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ position(value: Position): T; @@ -153,7 +153,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ markAnchor(value: Position): T; @@ -187,7 +187,7 @@ declare class SecurityComponentMethod { * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamiconly */ offset(value: Position | Edges | LocalizedEdges): T; @@ -206,7 +206,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ fontSize(value: Dimension): T; @@ -225,7 +225,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ fontStyle(value: FontStyle): T; @@ -253,7 +253,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamiconly */ fontWeight(value: number | FontWeight | string | Resource): T; @@ -272,7 +272,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ fontFamily(value: string | Resource): T; @@ -291,7 +291,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ fontColor(value: ResourceColor): T; @@ -310,7 +310,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ iconColor(value: ResourceColor): T; @@ -329,7 +329,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ backgroundColor(value: ResourceColor): T; @@ -348,7 +348,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ borderStyle(value: BorderStyle): T; @@ -367,7 +367,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ borderWidth(value: Dimension): T; @@ -386,7 +386,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ borderColor(value: ResourceColor): T; @@ -405,7 +405,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ borderRadius(value: Dimension): T; @@ -416,7 +416,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamiconly */ borderRadius(radius: Dimension | BorderRadiuses): T; @@ -435,7 +435,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ padding(value: Padding | Dimension): T; @@ -454,7 +454,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamiconly */ textIconSpace(value: Dimension): T; @@ -465,7 +465,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamiconly * @test */ key(value: string): T; @@ -485,7 +485,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamiconly */ width(value: Length): T; @@ -504,7 +504,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamiconly */ height(value: Length): T; @@ -523,7 +523,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamiconly */ size(value: SizeOptions): T; @@ -544,7 +544,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamiconly */ constraintSize(value: ConstraintSizeOptions): T; @@ -555,7 +555,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamiconly */ align(alignType: Alignment): T; @@ -566,7 +566,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamiconly */ alignRules(alignRule: AlignRuleOption): T; @@ -577,7 +577,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamiconly */ alignRules(alignRule: LocalizedAlignRuleOptions): T; @@ -588,7 +588,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamiconly */ id(description: string): T; @@ -600,7 +600,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamiconly */ chainMode(direction: Axis, style: ChainStyle): T; @@ -611,7 +611,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attributes of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamiconly */ minFontScale(scale: number | Resource): T; @@ -622,7 +622,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attributes of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamiconly */ maxFontScale(scale: number | Resource): T; @@ -642,7 +642,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamiconly */ maxLines(line: number | Resource): T; @@ -653,7 +653,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamiconly */ minFontSize(minSize: number | string | Resource): T; @@ -664,7 +664,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamiconly */ maxFontSize(maxSize: number | string | Resource): T; @@ -675,7 +675,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamiconly */ heightAdaptivePolicy(policy: TextHeightAdaptivePolicy): T; @@ -687,7 +687,7 @@ declare class SecurityComponentMethod { * @returns { T } Returns the attribute of the security component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamiconly */ enabled(respond: boolean): T; } diff --git a/api/@internal/component/ets/select.d.ts b/api/@internal/component/ets/select.d.ts index a973add117..149ad3c799 100644 --- a/api/@internal/component/ets/select.d.ts +++ b/api/@internal/component/ets/select.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare interface SelectOption { @@ -66,7 +66,7 @@ declare interface SelectOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ value: ResourceStr; @@ -92,7 +92,7 @@ declare interface SelectOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ icon?: ResourceStr; @@ -111,7 +111,7 @@ declare interface SelectOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolIcon?: SymbolGlyphModifier; } @@ -138,7 +138,7 @@ declare interface SelectOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface SelectInterface { @@ -167,7 +167,7 @@ interface SelectInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (options: Array): SelectAttribute; } @@ -187,7 +187,7 @@ interface SelectInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ArrowPosition { /** @@ -203,7 +203,7 @@ declare enum ArrowPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ END = 0, @@ -220,7 +220,7 @@ declare enum ArrowPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ START = 1 } @@ -239,7 +239,7 @@ declare enum ArrowPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum MenuAlignType { /** @@ -254,7 +254,7 @@ declare enum MenuAlignType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ START, /** @@ -269,7 +269,7 @@ declare enum MenuAlignType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ CENTER, /** @@ -284,7 +284,7 @@ declare enum MenuAlignType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ END } @@ -295,7 +295,7 @@ declare enum MenuAlignType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare enum AvoidanceMode { /** @@ -304,7 +304,7 @@ declare enum AvoidanceMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ COVER_TARGET, /** @@ -313,7 +313,7 @@ declare enum AvoidanceMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ AVOID_AROUND_TARGET } @@ -327,7 +327,7 @@ declare enum AvoidanceMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnSelectCallback = (index: number, selectStr: string) => void; @@ -338,7 +338,7 @@ declare type OnSelectCallback = (index: number, selectStr: string) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface MenuOutlineOptions { /** @@ -348,7 +348,7 @@ declare interface MenuOutlineOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ width?: Dimension | EdgeOutlineWidths; @@ -359,7 +359,7 @@ declare interface MenuOutlineOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ color?: ResourceColor | EdgeColors; } @@ -386,7 +386,7 @@ declare interface MenuOutlineOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class SelectAttribute extends CommonMethod { @@ -415,7 +415,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selected(value: number | Resource): SelectAttribute; @@ -427,7 +427,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selected(numCount: Optional): SelectAttribute; @@ -457,7 +457,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ value(value: ResourceStr): SelectAttribute; @@ -469,7 +469,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ value(resStr: Optional): SelectAttribute; @@ -498,7 +498,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ font(value: Font): SelectAttribute; @@ -510,7 +510,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ font(selectFont: Optional): SelectAttribute; @@ -539,7 +539,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor(value: ResourceColor): SelectAttribute; @@ -551,7 +551,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontColor(resColor: Optional): SelectAttribute; @@ -580,7 +580,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedOptionBgColor(value: ResourceColor): SelectAttribute; @@ -592,7 +592,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedOptionBgColor(resColor: Optional): SelectAttribute; @@ -621,7 +621,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedOptionFont(value: Font): SelectAttribute; @@ -633,7 +633,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedOptionFont(selectFont: Optional): SelectAttribute; @@ -662,7 +662,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedOptionFontColor(value: ResourceColor): SelectAttribute; @@ -674,7 +674,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedOptionFontColor(resColor: Optional): SelectAttribute; @@ -703,7 +703,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ optionBgColor(value: ResourceColor): SelectAttribute; @@ -715,7 +715,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ optionBgColor(resColor: Optional): SelectAttribute; @@ -744,7 +744,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ optionFont(value: Font): SelectAttribute; @@ -756,7 +756,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ optionFont(selectFont: Optional): SelectAttribute; @@ -785,7 +785,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ optionFontColor(value: ResourceColor): SelectAttribute; @@ -797,7 +797,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ optionFontColor(resColor: Optional): SelectAttribute; @@ -826,7 +826,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onSelect(callback: (index: number, value: string) => void): SelectAttribute; @@ -838,7 +838,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onSelect(callback: Optional): SelectAttribute; @@ -859,7 +859,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ space(value: Length): SelectAttribute; @@ -871,7 +871,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ space(spaceLength: Optional): SelectAttribute; @@ -892,7 +892,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ arrowPosition(value: ArrowPosition): SelectAttribute; @@ -904,7 +904,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ arrowPosition(position: Optional): SelectAttribute; @@ -926,7 +926,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ menuAlign(alignType: MenuAlignType, offset?: Offset): SelectAttribute; @@ -939,7 +939,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ menuAlign(alignType: Optional, offset?: Offset): SelectAttribute; @@ -960,7 +960,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ optionWidth(value: Dimension | OptionWidthMode ): SelectAttribute; @@ -972,7 +972,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ optionWidth(width: Optional ): SelectAttribute; @@ -993,7 +993,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ optionHeight(value: Dimension): SelectAttribute; @@ -1005,7 +1005,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ optionHeight(height: Optional): SelectAttribute; @@ -1026,7 +1026,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ menuBackgroundColor(value: ResourceColor): SelectAttribute; @@ -1038,7 +1038,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ menuBackgroundColor(resColor: Optional): SelectAttribute; @@ -1059,7 +1059,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ menuBackgroundBlurStyle(value: BlurStyle): SelectAttribute; @@ -1071,7 +1071,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ menuBackgroundBlurStyle(style: Optional): SelectAttribute; @@ -1083,7 +1083,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ controlSize(value: ControlSize): SelectAttribute; @@ -1095,7 +1095,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ controlSize(size: Optional): SelectAttribute; @@ -1107,7 +1107,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ menuItemContentModifier(modifier: ContentModifier): SelectAttribute; @@ -1119,7 +1119,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ menuItemContentModifier(modifier: Optional>): SelectAttribute; @@ -1131,7 +1131,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ divider(options: Optional | null): SelectAttribute; @@ -1143,7 +1143,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ textModifier(modifier: Optional): SelectAttribute; @@ -1155,7 +1155,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ arrowModifier(modifier: Optional): SelectAttribute; @@ -1167,7 +1167,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ optionTextModifier(modifier: Optional): SelectAttribute; @@ -1179,7 +1179,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ selectedOptionTextModifier(modifier: Optional): SelectAttribute; @@ -1191,7 +1191,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ dividerStyle(style: Optional): SelectAttribute; @@ -1203,7 +1203,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ avoidance(mode: AvoidanceMode): SelectAttribute; @@ -1215,7 +1215,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ menuOutline(outline: MenuOutlineOptions): SelectAttribute; @@ -1227,7 +1227,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ showInSubWindow(showInSubWindow: Optional): SelectAttribute; @@ -1239,7 +1239,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ showDefaultSelectedIcon(show: boolean): SelectAttribute; } @@ -1252,7 +1252,7 @@ declare class SelectAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare interface MenuItemConfiguration extends CommonConfiguration{ @@ -1263,7 +1263,7 @@ declare interface MenuItemConfiguration extends CommonConfiguration { @@ -459,7 +459,7 @@ declare class ShapeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ viewPort(value: ViewportRect): ShapeAttribute; @@ -499,7 +499,7 @@ declare class ShapeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ stroke(value: ResourceColor): ShapeAttribute; @@ -539,7 +539,7 @@ declare class ShapeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fill(value: ResourceColor): ShapeAttribute; @@ -590,7 +590,7 @@ declare class ShapeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ strokeDashOffset(value: Length): ShapeAttribute; @@ -630,7 +630,7 @@ declare class ShapeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeDashArray(value: Array): ShapeAttribute; @@ -670,7 +670,7 @@ declare class ShapeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeLineCap(value: LineCapStyle): ShapeAttribute; @@ -710,7 +710,7 @@ declare class ShapeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeLineJoin(value: LineJoinStyle): ShapeAttribute; @@ -761,7 +761,7 @@ declare class ShapeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ strokeMiterLimit(value: Length): ShapeAttribute; @@ -801,7 +801,7 @@ declare class ShapeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeOpacity(value: number | string | Resource): ShapeAttribute; @@ -841,7 +841,7 @@ declare class ShapeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fillOpacity(value: number | string | Resource): ShapeAttribute; @@ -892,7 +892,7 @@ declare class ShapeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ strokeWidth(value: Length): ShapeAttribute; @@ -932,7 +932,7 @@ declare class ShapeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ antiAlias(value: boolean): ShapeAttribute; @@ -980,7 +980,7 @@ declare class ShapeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ mesh(value: Array, column: number, row: number): ShapeAttribute; } @@ -1013,7 +1013,7 @@ declare class ShapeAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Shape: ShapeInterface; @@ -1046,7 +1046,7 @@ declare const Shape: ShapeInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ShapeInstance: ShapeAttribute; diff --git a/api/@internal/component/ets/sidebar.d.ts b/api/@internal/component/ets/sidebar.d.ts index 2add0dfbfb..78d14e2779 100644 --- a/api/@internal/component/ets/sidebar.d.ts +++ b/api/@internal/component/ets/sidebar.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum SideBarContainerType { /** @@ -62,7 +62,7 @@ declare enum SideBarContainerType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Embed, @@ -85,7 +85,7 @@ declare enum SideBarContainerType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Overlay, @@ -100,7 +100,7 @@ declare enum SideBarContainerType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ AUTO, } @@ -127,7 +127,7 @@ declare enum SideBarContainerType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum SideBarPosition { /** @@ -149,7 +149,7 @@ declare enum SideBarPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Start, @@ -172,7 +172,7 @@ declare enum SideBarPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ End, } @@ -184,7 +184,7 @@ declare enum SideBarPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface ButtonIconOptions { /** @@ -219,7 +219,7 @@ declare interface ButtonIconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ shown: string | PixelMap | Resource; @@ -255,7 +255,7 @@ declare interface ButtonIconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ hidden: string | PixelMap | Resource; @@ -291,7 +291,7 @@ declare interface ButtonIconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ switching?: string | PixelMap | Resource; } @@ -318,7 +318,7 @@ declare interface ButtonIconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ButtonStyle { /** @@ -346,7 +346,7 @@ declare interface ButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ left?: number; @@ -375,7 +375,7 @@ declare interface ButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ top?: number; @@ -404,7 +404,7 @@ declare interface ButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ width?: number; @@ -433,7 +433,7 @@ declare interface ButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ height?: number; @@ -469,7 +469,7 @@ declare interface ButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ icons?: ButtonIconOptions; } @@ -496,7 +496,7 @@ declare interface ButtonStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface SideBarContainerInterface { @@ -525,7 +525,7 @@ interface SideBarContainerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (type?: SideBarContainerType): SideBarContainerAttribute; } @@ -547,7 +547,7 @@ interface SideBarContainerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface DividerStyle { /** @@ -567,7 +567,7 @@ interface DividerStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeWidth: Length; @@ -586,7 +586,7 @@ interface DividerStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ color?: ResourceColor; @@ -605,7 +605,7 @@ interface DividerStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ startMargin?: Length; @@ -624,7 +624,7 @@ interface DividerStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ endMargin?: Length; } @@ -651,7 +651,7 @@ interface DividerStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class SideBarContainerAttribute extends CommonMethod { @@ -680,7 +680,7 @@ declare class SideBarContainerAttribute extends CommonMethod void): SideBarContainerAttribute; @@ -799,7 +799,7 @@ declare class SideBarContainerAttribute extends CommonMethod void; /** @@ -829,7 +829,7 @@ declare type SliderTriggerChangeCallback = (value: number, mode: SliderChangeMod * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface SliderConfiguration extends CommonConfiguration { /** @@ -839,7 +839,7 @@ declare interface SliderConfiguration extends CommonConfiguration; } @@ -1009,7 +1009,7 @@ declare interface SliderShowStepOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ interface SliderCustomContentOptions { /** @@ -1020,7 +1020,7 @@ interface SliderCustomContentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityText?: ResourceStr; /** @@ -1031,7 +1031,7 @@ interface SliderCustomContentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityDescription?: ResourceStr; /** @@ -1042,7 +1042,7 @@ interface SliderCustomContentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityLevel?: string; /** @@ -1052,7 +1052,7 @@ interface SliderCustomContentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityGroup?: boolean; } @@ -1065,7 +1065,7 @@ interface SliderCustomContentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ interface SliderPrefixOptions extends SliderCustomContentOptions { } @@ -1078,7 +1078,7 @@ interface SliderPrefixOptions extends SliderCustomContentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ interface SliderSuffixOptions extends SliderCustomContentOptions { } @@ -1114,7 +1114,7 @@ interface SliderSuffixOptions extends SliderCustomContentOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class SliderAttribute extends CommonMethod { @@ -1154,7 +1154,7 @@ declare class SliderAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ blockColor(value: ResourceColor): SliderAttribute; /** @@ -1204,7 +1204,7 @@ declare class SliderAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ trackColor(value: ResourceColor | LinearGradient): SliderAttribute; /** @@ -1243,7 +1243,7 @@ declare class SliderAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedColor(value: ResourceColor): SliderAttribute; /** @@ -1255,7 +1255,7 @@ declare class SliderAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedColor(selectedColor: ResourceColor | LinearGradient): SliderAttribute; /** @@ -1264,7 +1264,7 @@ declare class SliderAttribute extends CommonMethod { * @param { string } value * @returns { SliderAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead min */ @@ -1275,7 +1275,7 @@ declare class SliderAttribute extends CommonMethod { * @param { string } value * @returns { SliderAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead max */ @@ -1316,7 +1316,7 @@ declare class SliderAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ showSteps(value: boolean): SliderAttribute; /** @@ -1329,7 +1329,7 @@ declare class SliderAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ showSteps(value: boolean, options?: SliderShowStepOptions): SliderAttribute; /** @@ -1372,7 +1372,7 @@ declare class SliderAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ showTips(value: boolean, content?: ResourceStr): SliderAttribute; /** @@ -1411,7 +1411,7 @@ declare class SliderAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ trackThickness(value: Length): SliderAttribute; /** @@ -1455,7 +1455,7 @@ declare class SliderAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onChange(callback: (value: number, mode: SliderChangeMode) => void): SliderAttribute; /** @@ -1475,7 +1475,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ blockBorderColor(value: ResourceColor): SliderAttribute; /** @@ -1495,7 +1495,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ blockBorderWidth(value: Length): SliderAttribute; /** @@ -1515,7 +1515,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ stepColor(value: ResourceColor): SliderAttribute; /** @@ -1535,7 +1535,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ trackBorderRadius(value: Length): SliderAttribute; /** @@ -1546,7 +1546,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedBorderRadius(value: Dimension): SliderAttribute; /** @@ -1566,7 +1566,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ blockSize(value: SizeOptions): SliderAttribute; /** @@ -1587,7 +1587,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ blockStyle(value: SliderBlockStyle): SliderAttribute; /** @@ -1607,7 +1607,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ stepSize(value: Length): SliderAttribute; /** @@ -1619,7 +1619,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ sliderInteractionMode(value: SliderInteraction): SliderAttribute; /** @@ -1630,7 +1630,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ minResponsiveDistance(value: number): SliderAttribute; /** @@ -1642,7 +1642,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentModifier(modifier: ContentModifier): SliderAttribute; /** @@ -1653,7 +1653,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ slideRange(value: SlideRange): SliderAttribute; /** @@ -1664,7 +1664,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ digitalCrownSensitivity(sensitivity: Optional): SliderAttribute; /** @@ -1674,7 +1674,7 @@ declare class SliderAttribute extends CommonMethod { * @returns { SliderAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ enableHapticFeedback(enabled: boolean): SliderAttribute; /** @@ -1689,7 +1689,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ prefix(content: ComponentContent, options?: SliderPrefixOptions): SliderAttribute; /** @@ -1704,7 +1704,7 @@ declare class SliderAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ suffix(content: ComponentContent, options?: SliderSuffixOptions): SliderAttribute; } @@ -1736,7 +1736,7 @@ declare class SliderAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Slider: SliderInterface; @@ -1768,7 +1768,7 @@ declare const Slider: SliderInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const SliderInstance: SliderAttribute; diff --git a/api/@internal/component/ets/span.d.ts b/api/@internal/component/ets/span.d.ts index 624d82ec82..3a1d062ed6 100644 --- a/api/@internal/component/ets/span.d.ts +++ b/api/@internal/component/ets/span.d.ts @@ -33,7 +33,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TextBackgroundStyle { /** @@ -51,7 +51,7 @@ declare interface TextBackgroundStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ color?: ResourceColor; @@ -70,7 +70,7 @@ declare interface TextBackgroundStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ radius?: Dimension | BorderRadiuses; } @@ -90,7 +90,7 @@ declare interface TextBackgroundStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class BaseSpan extends CommonMethod { @@ -111,7 +111,7 @@ declare class BaseSpan extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textBackgroundStyle(style: TextBackgroundStyle): T; @@ -123,7 +123,7 @@ declare class BaseSpan extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ baselineOffset(value: LengthMetrics): T; } @@ -160,7 +160,7 @@ declare class BaseSpan extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface SpanInterface { @@ -200,7 +200,7 @@ interface SpanInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (value: string | Resource): SpanAttribute; } @@ -229,7 +229,7 @@ interface SpanInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class SpanAttribute extends BaseSpan { @@ -249,7 +249,7 @@ declare class SpanAttribute extends BaseSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ font(value: Font): SpanAttribute; @@ -289,7 +289,7 @@ declare class SpanAttribute extends BaseSpan { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor(value: ResourceColor): SpanAttribute; @@ -329,7 +329,7 @@ declare class SpanAttribute extends BaseSpan { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontSize(value: number | string | Resource): SpanAttribute; @@ -369,7 +369,7 @@ declare class SpanAttribute extends BaseSpan { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontStyle(value: FontStyle): SpanAttribute; @@ -420,7 +420,7 @@ declare class SpanAttribute extends BaseSpan { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ fontWeight(value: number | FontWeight | ResourceStr): SpanAttribute; @@ -460,7 +460,7 @@ declare class SpanAttribute extends BaseSpan { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontFamily(value: string | Resource): SpanAttribute; @@ -511,7 +511,7 @@ declare class SpanAttribute extends BaseSpan { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ decoration(value: DecorationStyleInterface): SpanAttribute; @@ -562,7 +562,7 @@ declare class SpanAttribute extends BaseSpan { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ letterSpacing(value: number | ResourceStr): SpanAttribute; @@ -602,7 +602,7 @@ declare class SpanAttribute extends BaseSpan { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ textCase(value: TextCase): SpanAttribute; @@ -622,7 +622,7 @@ declare class SpanAttribute extends BaseSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ lineHeight(value: Length): SpanAttribute; @@ -643,7 +643,7 @@ declare class SpanAttribute extends BaseSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textShadow(value: ShadowOptions | Array): SpanAttribute; } @@ -676,7 +676,7 @@ declare class SpanAttribute extends BaseSpan { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Span: SpanInterface; @@ -709,7 +709,7 @@ declare const Span: SpanInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const SpanInstance: SpanAttribute; diff --git a/api/@internal/component/ets/stack.d.ts b/api/@internal/component/ets/stack.d.ts index 722a0971d1..de63b79717 100644 --- a/api/@internal/component/ets/stack.d.ts +++ b/api/@internal/component/ets/stack.d.ts @@ -26,7 +26,7 @@ * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface StackOptions { /** @@ -73,7 +73,7 @@ declare interface StackOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ alignContent?: Alignment; } @@ -110,7 +110,7 @@ declare interface StackOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface StackInterface { @@ -162,7 +162,7 @@ interface StackInterface { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ (options?: StackOptions): StackAttribute; } @@ -191,7 +191,7 @@ interface StackInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class StackAttribute extends CommonMethod { @@ -231,7 +231,7 @@ declare class StackAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ alignContent(value: Alignment): StackAttribute; @@ -242,7 +242,7 @@ declare class StackAttribute extends CommonMethod { * @returns { StackAttribute } The attribute of the stack. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ pointLight(value: PointLightStyle): StackAttribute; } @@ -275,7 +275,7 @@ declare class StackAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Stack: StackInterface; @@ -308,7 +308,7 @@ declare const Stack: StackInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const StackInstance: StackAttribute; diff --git a/api/@internal/component/ets/state_management.d.ts b/api/@internal/component/ets/state_management.d.ts index 8fa2bcf540..2b2c047588 100644 --- a/api/@internal/component/ets/state_management.d.ts +++ b/api/@internal/component/ets/state_management.d.ts @@ -31,7 +31,7 @@ * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ColorMode { /** @@ -45,7 +45,7 @@ declare enum ColorMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ LIGHT = 0, @@ -60,7 +60,7 @@ declare enum ColorMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ DARK, } @@ -78,7 +78,7 @@ declare enum ColorMode { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum LayoutDirection { /** @@ -92,7 +92,7 @@ declare enum LayoutDirection { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ LTR, @@ -107,7 +107,7 @@ declare enum LayoutDirection { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ RTL, @@ -122,7 +122,7 @@ declare enum LayoutDirection { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ Auto, } @@ -132,7 +132,7 @@ declare enum LayoutDirection { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ declare class Storage { /** @@ -142,7 +142,7 @@ declare class Storage { * @param { string } file * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ constructor(needCrossThread?: boolean, file?: string); @@ -153,7 +153,7 @@ declare class Storage { * @returns { string | undefined } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ get(key: string): string | undefined; @@ -164,7 +164,7 @@ declare class Storage { * @param { any } val * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ set(key: string, val: any): void; @@ -175,7 +175,7 @@ declare class Storage { * @param { Object | undefined | null } val * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ set(key: string, val: Object | undefined | null): void; @@ -184,7 +184,7 @@ declare class Storage { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ clear(): void; @@ -194,7 +194,7 @@ declare class Storage { * @param { string } key * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 7 + * @since 7 dynamic */ delete(key: string): void; } diff --git a/api/@internal/component/ets/stepper.d.ts b/api/@internal/component/ets/stepper.d.ts index c4a4fd0e75..2ccc54cb44 100644 --- a/api/@internal/component/ets/stepper.d.ts +++ b/api/@internal/component/ets/stepper.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface StepperInterface { @@ -69,7 +69,7 @@ interface StepperInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (value?: { index?: number }): StepperAttribute; } @@ -96,7 +96,7 @@ interface StepperInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class StepperAttribute extends CommonMethod { @@ -125,7 +125,7 @@ declare class StepperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onFinish(callback: () => void): StepperAttribute; @@ -154,7 +154,7 @@ declare class StepperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onSkip(callback: () => void): StepperAttribute; @@ -183,7 +183,7 @@ declare class StepperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onChange(callback: (prevIndex: number, index: number) => void): StepperAttribute; @@ -212,7 +212,7 @@ declare class StepperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onNext(callback: (index: number, pendingIndex: number) => void): StepperAttribute; @@ -241,7 +241,7 @@ declare class StepperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onPrevious(callback: (index: number, pendingIndex: number) => void): StepperAttribute; } @@ -265,7 +265,7 @@ declare class StepperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Stepper: StepperInterface; @@ -289,7 +289,7 @@ declare const Stepper: StepperInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const StepperInstance: StepperAttribute; diff --git a/api/@internal/component/ets/stepper_item.d.ts b/api/@internal/component/ets/stepper_item.d.ts index bae1bcb089..6cba2589f4 100644 --- a/api/@internal/component/ets/stepper_item.d.ts +++ b/api/@internal/component/ets/stepper_item.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ItemState { /** @@ -62,7 +62,7 @@ declare enum ItemState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Normal, @@ -85,7 +85,7 @@ declare enum ItemState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Disabled, @@ -108,7 +108,7 @@ declare enum ItemState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Waiting, @@ -131,7 +131,7 @@ declare enum ItemState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Skip, } @@ -158,7 +158,7 @@ declare enum ItemState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface StepperItemInterface { @@ -184,7 +184,7 @@ interface StepperItemInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (): StepperItemAttribute; } @@ -211,7 +211,7 @@ interface StepperItemInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class StepperItemAttribute extends CommonMethod { @@ -240,7 +240,7 @@ declare class StepperItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ prevLabel(value: string): StepperItemAttribute; @@ -269,7 +269,7 @@ declare class StepperItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ nextLabel(value: string): StepperItemAttribute; @@ -298,7 +298,7 @@ declare class StepperItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ status(value?: ItemState): StepperItemAttribute; } @@ -322,7 +322,7 @@ declare class StepperItemAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const StepperItemInstance: StepperItemAttribute; @@ -346,7 +346,7 @@ declare const StepperItemInstance: StepperItemAttribute; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const StepperItem: StepperItemInterface; diff --git a/api/@internal/component/ets/styled_string.d.ts b/api/@internal/component/ets/styled_string.d.ts index 6aa3b2c4b1..0953298729 100644 --- a/api/@internal/component/ets/styled_string.d.ts +++ b/api/@internal/component/ets/styled_string.d.ts @@ -24,7 +24,7 @@ * @systemapi * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare type StyledStringMarshallingValue = UserDataSpan; /** @@ -37,7 +37,7 @@ declare type StyledStringMarshallingValue = UserDataSpan; * @systemapi * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare type StyledStringMarshallCallback = (marshallableVal: StyledStringMarshallingValue) => ArrayBuffer; /** @@ -50,7 +50,7 @@ declare type StyledStringMarshallCallback = (marshallableVal: StyledStringMarsha * @systemapi * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare type StyledStringUnmarshallCallback = (buf: ArrayBuffer) => StyledStringMarshallingValue; /** @@ -59,7 +59,7 @@ declare type StyledStringUnmarshallCallback = (buf: ArrayBuffer) => StyledString * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class StyledString { /** @@ -70,7 +70,7 @@ declare class StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(value: string | ImageAttachment | CustomSpan, styles?: Array); /** @@ -81,7 +81,7 @@ declare class StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly length: number; /** @@ -91,7 +91,7 @@ declare class StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getString(): string; /** @@ -108,7 +108,7 @@ declare class StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getStyles(start: number, length: number, styledKey?: StyledStringKey): Array; /** @@ -119,7 +119,7 @@ declare class StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ equals(other: StyledString): boolean; /** @@ -135,7 +135,7 @@ declare class StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ subStyledString(start: number, length?: number): StyledString; /** @@ -150,7 +150,7 @@ declare class StyledString { * @throws { BusinessError } 170001 - Convert Error. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ static fromHtml(html: string): Promise; /** @@ -165,7 +165,7 @@ declare class StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ static toHtml(styledString: StyledString): string; /** @@ -176,7 +176,7 @@ declare class StyledString { * @returns { ArrayBuffer } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 19 + * @since 19 dynamic */ static marshalling(styledString: StyledString, callback: StyledStringMarshallCallback): ArrayBuffer; /** @@ -192,7 +192,7 @@ declare class StyledString { * @throws { BusinessError } 170002 - Styled string decode error. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 19 + * @since 19 dynamic */ static unmarshalling(buffer: ArrayBuffer, callback: StyledStringUnmarshallCallback): Promise; /** @@ -202,7 +202,7 @@ declare class StyledString { * @returns { ArrayBuffer } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 13 + * @since 13 dynamic */ static marshalling(styledString: StyledString): ArrayBuffer; /** @@ -217,7 +217,7 @@ declare class StyledString { * @throws { BusinessError } 170002 - Styled string decode error. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 13 + * @since 13 dynamic */ static unmarshalling(buffer: ArrayBuffer): Promise; } @@ -228,7 +228,7 @@ declare class StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface StyleOptions { /** @@ -238,7 +238,7 @@ declare interface StyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ start?: number; /** @@ -248,7 +248,7 @@ declare interface StyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ length?: number; /** @@ -258,7 +258,7 @@ declare interface StyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ styledKey: StyledStringKey; /** @@ -268,7 +268,7 @@ declare interface StyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ styledValue: StyledStringValue; } @@ -279,7 +279,7 @@ declare interface StyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface SpanStyle { /** @@ -289,7 +289,7 @@ declare interface SpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ start: number; /** @@ -299,7 +299,7 @@ declare interface SpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ length: number; /** @@ -309,7 +309,7 @@ declare interface SpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ styledKey: StyledStringKey; /** @@ -319,7 +319,7 @@ declare interface SpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ styledValue: StyledStringValue; } @@ -329,7 +329,7 @@ declare interface SpanStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class TextStyle { /** @@ -339,7 +339,7 @@ declare class TextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(value?: TextStyleInterface); /** @@ -350,7 +350,7 @@ declare class TextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly fontColor?: ResourceColor; /** @@ -361,7 +361,7 @@ declare class TextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly fontFamily?: string; /** @@ -373,7 +373,7 @@ declare class TextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly fontSize?: number; /** @@ -384,7 +384,7 @@ declare class TextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly fontWeight?: number; /** @@ -395,7 +395,7 @@ declare class TextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly fontStyle?: FontStyle; /** @@ -406,7 +406,7 @@ declare class TextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ readonly strokeWidth?: number; /** @@ -417,7 +417,7 @@ declare class TextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ readonly strokeColor?: ResourceColor; /** @@ -428,7 +428,7 @@ declare class TextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ readonly superscript?: SuperscriptStyle; } @@ -439,7 +439,7 @@ declare class TextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TextStyleInterface { /** @@ -449,7 +449,7 @@ declare interface TextStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontColor?: ResourceColor; /** @@ -459,7 +459,7 @@ declare interface TextStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontFamily?: ResourceStr; /** @@ -469,7 +469,7 @@ declare interface TextStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontSize?: LengthMetrics; /** @@ -479,7 +479,7 @@ declare interface TextStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontWeight?: number | FontWeight | string; /** @@ -489,7 +489,7 @@ declare interface TextStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontStyle?: FontStyle; /** @@ -499,7 +499,7 @@ declare interface TextStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ strokeWidth?: LengthMetrics; /** @@ -509,7 +509,7 @@ declare interface TextStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ strokeColor?: ResourceColor; /** @@ -519,7 +519,7 @@ declare interface TextStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ superscript?: SuperscriptStyle; } @@ -530,7 +530,7 @@ declare interface TextStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface DecorationOptions { /** @@ -540,7 +540,7 @@ declare interface DecorationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ enableMultiType?: boolean; } @@ -550,7 +550,7 @@ declare interface DecorationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class DecorationStyle { /** @@ -560,7 +560,7 @@ declare class DecorationStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(value: DecorationStyleInterface); /** @@ -571,7 +571,7 @@ declare class DecorationStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ constructor(value: DecorationStyleInterface, options?: DecorationOptions); /** @@ -582,7 +582,7 @@ declare class DecorationStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly type: TextDecorationType; /** @@ -593,7 +593,7 @@ declare class DecorationStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly color?: ResourceColor; /** @@ -604,7 +604,7 @@ declare class DecorationStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly style?: TextDecorationStyle; /** @@ -615,7 +615,7 @@ declare class DecorationStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ readonly thicknessScale?: number; /** @@ -626,7 +626,7 @@ declare class DecorationStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ readonly options?: DecorationOptions; } @@ -637,7 +637,7 @@ declare class DecorationStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface DecorationStyleInterface { /** @@ -647,7 +647,7 @@ declare interface DecorationStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type: TextDecorationType; /** @@ -657,7 +657,7 @@ declare interface DecorationStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ color?: ResourceColor; /** @@ -667,7 +667,7 @@ declare interface DecorationStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ style?: TextDecorationStyle; /** @@ -677,7 +677,7 @@ declare interface DecorationStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ thicknessScale?: number; } @@ -687,7 +687,7 @@ declare interface DecorationStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class BaselineOffsetStyle { /** @@ -697,7 +697,7 @@ declare class BaselineOffsetStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(value: LengthMetrics); /** @@ -709,7 +709,7 @@ declare class BaselineOffsetStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly baselineOffset: number; } @@ -719,7 +719,7 @@ declare class BaselineOffsetStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class LetterSpacingStyle { /** @@ -729,7 +729,7 @@ declare class LetterSpacingStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(value: LengthMetrics); /** @@ -741,7 +741,7 @@ declare class LetterSpacingStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly letterSpacing: number; } @@ -751,7 +751,7 @@ declare class LetterSpacingStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class TextShadowStyle { /** @@ -761,7 +761,7 @@ declare class TextShadowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(value: ShadowOptions | Array); /** @@ -772,7 +772,7 @@ declare class TextShadowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly textShadow: Array; } @@ -782,7 +782,7 @@ declare class TextShadowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare class BackgroundColorStyle { /** @@ -792,7 +792,7 @@ declare class BackgroundColorStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ constructor(textBackgroundStyle: TextBackgroundStyle); /** @@ -803,7 +803,7 @@ declare class BackgroundColorStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ readonly textBackgroundStyle: TextBackgroundStyle; } @@ -813,7 +813,7 @@ declare class BackgroundColorStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class GestureStyle { /** @@ -823,7 +823,7 @@ declare class GestureStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(value?: GestureStyleInterface); } @@ -834,7 +834,7 @@ declare class GestureStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface GestureStyleInterface { /** @@ -844,7 +844,7 @@ declare interface GestureStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onClick?: Callback; /** @@ -854,7 +854,7 @@ declare interface GestureStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onLongPress?: Callback; /** @@ -864,7 +864,7 @@ declare interface GestureStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onTouch?: Callback; } @@ -874,7 +874,7 @@ declare interface GestureStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class ParagraphStyle { /** @@ -884,7 +884,7 @@ declare class ParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(value?: ParagraphStyleInterface); /** @@ -895,7 +895,7 @@ declare class ParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly textAlign?: TextAlign; /** @@ -906,7 +906,7 @@ declare class ParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ readonly textVerticalAlign?: TextVerticalAlign; /** @@ -918,7 +918,7 @@ declare class ParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly textIndent?: number; /** @@ -929,7 +929,7 @@ declare class ParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly maxLines?: number; /** @@ -940,7 +940,7 @@ declare class ParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly overflow?: TextOverflow; /** @@ -951,7 +951,7 @@ declare class ParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly wordBreak?: WordBreak; /** @@ -962,7 +962,7 @@ declare class ParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly leadingMargin?: number | LeadingMarginPlaceholder; /** @@ -974,7 +974,7 @@ declare class ParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ readonly paragraphSpacing?: number; } @@ -985,7 +985,7 @@ declare class ParagraphStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface ParagraphStyleInterface { /** @@ -995,7 +995,7 @@ declare interface ParagraphStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textAlign?: TextAlign; /** @@ -1005,7 +1005,7 @@ declare interface ParagraphStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ textVerticalAlign?: TextVerticalAlign; /** @@ -1015,7 +1015,7 @@ declare interface ParagraphStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textIndent?: LengthMetrics; /** @@ -1025,7 +1025,7 @@ declare interface ParagraphStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ maxLines?: number; /** @@ -1035,7 +1035,7 @@ declare interface ParagraphStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ overflow?: TextOverflow; /** @@ -1045,7 +1045,7 @@ declare interface ParagraphStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ wordBreak?: WordBreak; /** @@ -1055,7 +1055,7 @@ declare interface ParagraphStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ leadingMargin?: LengthMetrics | LeadingMarginPlaceholder; /** @@ -1065,7 +1065,7 @@ declare interface ParagraphStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ paragraphSpacing?: LengthMetrics; } @@ -1075,7 +1075,7 @@ declare interface ParagraphStyleInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class LineHeightStyle { /** @@ -1085,7 +1085,7 @@ declare class LineHeightStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(lineHeight: LengthMetrics); /** @@ -1097,7 +1097,7 @@ declare class LineHeightStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly lineHeight: number; } @@ -1108,7 +1108,7 @@ declare class LineHeightStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare class UrlStyle { /** @@ -1118,7 +1118,7 @@ declare class UrlStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ constructor(url: string); /** @@ -1129,7 +1129,7 @@ declare class UrlStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ readonly url: string; } @@ -1153,7 +1153,7 @@ declare class UrlStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare type StyledStringValue = TextStyle | DecorationStyle | BaselineOffsetStyle | LetterSpacingStyle | TextShadowStyle | GestureStyle | ImageAttachment | ParagraphStyle | LineHeightStyle | UrlStyle | CustomSpan | UserDataSpan | BackgroundColorStyle; /** @@ -1163,7 +1163,7 @@ declare type StyledStringValue = TextStyle | DecorationStyle | BaselineOffsetSty * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class MutableStyledString extends StyledString { /** @@ -1179,7 +1179,7 @@ declare class MutableStyledString extends StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ replaceString(start: number, length: number, other: string): void; /** @@ -1194,7 +1194,7 @@ declare class MutableStyledString extends StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ insertString(start: number, other: string): void; /** @@ -1209,7 +1209,7 @@ declare class MutableStyledString extends StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ removeString(start: number, length: number): void; /** @@ -1223,7 +1223,7 @@ declare class MutableStyledString extends StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ replaceStyle(spanStyle: SpanStyle): void; /** @@ -1234,7 +1234,7 @@ declare class MutableStyledString extends StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setStyle(spanStyle: SpanStyle): void; /** @@ -1250,7 +1250,7 @@ declare class MutableStyledString extends StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ removeStyle(start: number, length: number, styledKey: StyledStringKey): void; /** @@ -1265,7 +1265,7 @@ declare class MutableStyledString extends StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ removeStyles(start: number, length: number): void; /** @@ -1274,7 +1274,7 @@ declare class MutableStyledString extends StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ clearStyles(): void; /** @@ -1290,7 +1290,7 @@ declare class MutableStyledString extends StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ replaceStyledString(start: number, length: number, other: StyledString): void; /** @@ -1305,7 +1305,7 @@ declare class MutableStyledString extends StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ insertStyledString(start: number, other: StyledString): void; /** @@ -1315,7 +1315,7 @@ declare class MutableStyledString extends StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ appendStyledString(other: StyledString): void; } @@ -1326,7 +1326,7 @@ declare class MutableStyledString extends StyledString { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum StyledStringKey { /** @@ -1335,7 +1335,7 @@ declare enum StyledStringKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FONT = 0, /** @@ -1344,7 +1344,7 @@ declare enum StyledStringKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DECORATION = 1, /** @@ -1353,7 +1353,7 @@ declare enum StyledStringKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ BASELINE_OFFSET = 2, /** @@ -1362,7 +1362,7 @@ declare enum StyledStringKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ LETTER_SPACING = 3, /** @@ -1371,7 +1371,7 @@ declare enum StyledStringKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ TEXT_SHADOW = 4, /** @@ -1380,7 +1380,7 @@ declare enum StyledStringKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ LINE_HEIGHT = 5, /** @@ -1389,7 +1389,7 @@ declare enum StyledStringKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ BACKGROUND_COLOR = 6, /** @@ -1398,7 +1398,7 @@ declare enum StyledStringKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ URL = 7, /** @@ -1407,7 +1407,7 @@ declare enum StyledStringKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ GESTURE = 100, /** @@ -1416,7 +1416,7 @@ declare enum StyledStringKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PARAGRAPH_STYLE = 200, /** @@ -1425,7 +1425,7 @@ declare enum StyledStringKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ IMAGE = 300, /** @@ -1434,7 +1434,7 @@ declare enum StyledStringKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ CUSTOM_SPAN = 400, /** @@ -1443,7 +1443,7 @@ declare enum StyledStringKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ USER_DATA = 500 } @@ -1453,7 +1453,7 @@ declare enum StyledStringKey { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class ImageAttachment { /** @@ -1463,7 +1463,7 @@ declare class ImageAttachment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(value: ImageAttachmentInterface); /** @@ -1473,7 +1473,7 @@ declare class ImageAttachment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ constructor(attachment: Optional); /** @@ -1484,7 +1484,7 @@ declare class ImageAttachment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly value: PixelMap; /** @@ -1495,7 +1495,7 @@ declare class ImageAttachment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly size?: SizeOptions; /** @@ -1506,7 +1506,7 @@ declare class ImageAttachment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly verticalAlign?: ImageSpanAlignment; /** @@ -1517,7 +1517,7 @@ declare class ImageAttachment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly objectFit?: ImageFit; /** @@ -1528,7 +1528,7 @@ declare class ImageAttachment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly layoutStyle?: ImageAttachmentLayoutStyle; /** @@ -1539,7 +1539,7 @@ declare class ImageAttachment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ readonly colorFilter?: ColorFilterType; } @@ -1550,7 +1550,7 @@ declare class ImageAttachment { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare interface ResourceImageAttachmentOptions { /** @@ -1560,7 +1560,7 @@ declare interface ResourceImageAttachmentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ resourceValue: Optional; /** @@ -1570,7 +1570,7 @@ declare interface ResourceImageAttachmentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ size?: SizeOptions; /** @@ -1580,7 +1580,7 @@ declare interface ResourceImageAttachmentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ verticalAlign?: ImageSpanAlignment; /** @@ -1590,7 +1590,7 @@ declare interface ResourceImageAttachmentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ objectFit?: ImageFit; /** @@ -1600,7 +1600,7 @@ declare interface ResourceImageAttachmentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ layoutStyle?: ImageAttachmentLayoutStyle; /** @@ -1610,7 +1610,7 @@ declare interface ResourceImageAttachmentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ colorFilter?: ColorFilterType; /** @@ -1621,7 +1621,7 @@ declare interface ResourceImageAttachmentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ syncLoad?: boolean; } @@ -1632,7 +1632,7 @@ declare interface ResourceImageAttachmentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface ImageAttachmentInterface { /** @@ -1642,7 +1642,7 @@ declare interface ImageAttachmentInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ value: PixelMap; /** @@ -1652,7 +1652,7 @@ declare interface ImageAttachmentInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ size?: SizeOptions; /** @@ -1662,7 +1662,7 @@ declare interface ImageAttachmentInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ verticalAlign?: ImageSpanAlignment; /** @@ -1672,7 +1672,7 @@ declare interface ImageAttachmentInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ objectFit?: ImageFit; /** @@ -1682,7 +1682,7 @@ declare interface ImageAttachmentInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ layoutStyle?: ImageAttachmentLayoutStyle; /** @@ -1692,7 +1692,7 @@ declare interface ImageAttachmentInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ colorFilter?: ColorFilterType; } @@ -1703,7 +1703,7 @@ declare interface ImageAttachmentInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare type AttachmentType = ImageAttachmentInterface | ResourceImageAttachmentOptions; /** @@ -1713,7 +1713,7 @@ declare type AttachmentType = ImageAttachmentInterface | ResourceImageAttachment * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare type ColorFilterType = ColorFilter | DrawingColorFilter; /** @@ -1723,7 +1723,7 @@ declare type ColorFilterType = ColorFilter | DrawingColorFilter; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface ImageAttachmentLayoutStyle { /** @@ -1733,7 +1733,7 @@ declare interface ImageAttachmentLayoutStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ margin?: LengthMetrics | Margin; /** @@ -1743,7 +1743,7 @@ declare interface ImageAttachmentLayoutStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ padding?: LengthMetrics | Padding; /** @@ -1753,7 +1753,7 @@ declare interface ImageAttachmentLayoutStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderRadius?: LengthMetrics | BorderRadiuses; } @@ -1764,7 +1764,7 @@ declare interface ImageAttachmentLayoutStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface CustomSpanMetrics { /** @@ -1776,7 +1776,7 @@ declare interface CustomSpanMetrics { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ width: number; /** @@ -1787,7 +1787,7 @@ declare interface CustomSpanMetrics { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ height?: number; } @@ -1798,7 +1798,7 @@ declare interface CustomSpanMetrics { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface CustomSpanDrawInfo { /** @@ -1809,7 +1809,7 @@ declare interface CustomSpanDrawInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ x: number; /** @@ -1820,7 +1820,7 @@ declare interface CustomSpanDrawInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lineTop: number; /** @@ -1831,7 +1831,7 @@ declare interface CustomSpanDrawInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lineBottom: number; /** @@ -1842,7 +1842,7 @@ declare interface CustomSpanDrawInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ baseline: number; } @@ -1853,7 +1853,7 @@ declare interface CustomSpanDrawInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface CustomSpanMeasureInfo { /** @@ -1864,7 +1864,7 @@ declare interface CustomSpanMeasureInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontSize: number; } @@ -1874,7 +1874,7 @@ declare interface CustomSpanMeasureInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare abstract class CustomSpan { /** @@ -1885,7 +1885,7 @@ declare abstract class CustomSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ abstract onMeasure(measureInfo: CustomSpanMeasureInfo): CustomSpanMetrics; /** @@ -1896,7 +1896,7 @@ declare abstract class CustomSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ abstract onDraw(context: DrawContext, drawInfo: CustomSpanDrawInfo): void; /** @@ -1905,7 +1905,7 @@ declare abstract class CustomSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ invalidate(): void; } @@ -1915,7 +1915,7 @@ declare abstract class CustomSpan { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare abstract class UserDataSpan { } diff --git a/api/@internal/component/ets/swiper.d.ts b/api/@internal/component/ets/swiper.d.ts index bf63a8a7e5..6dca6cd9f0 100644 --- a/api/@internal/component/ets/swiper.d.ts +++ b/api/@internal/component/ets/swiper.d.ts @@ -39,7 +39,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class SwiperController { /** @@ -63,7 +63,7 @@ declare class SwiperController { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -88,7 +88,7 @@ declare class SwiperController { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ showNext(); @@ -113,7 +113,7 @@ declare class SwiperController { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ showPrevious(); @@ -127,7 +127,7 @@ declare class SwiperController { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ changeIndex(index: number, useAnimation?: boolean); @@ -141,7 +141,7 @@ declare class SwiperController { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ changeIndex(index: number, animationMode?: SwiperAnimationMode | boolean); @@ -180,7 +180,7 @@ declare class SwiperController { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ finishAnimation(callback?: VoidCallback); @@ -198,7 +198,7 @@ declare class SwiperController { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ preloadItems(indices: Optional>): Promise; } @@ -218,7 +218,7 @@ declare class SwiperController { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class Indicator { /** @@ -240,7 +240,7 @@ declare class Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ left(value: Length): T; @@ -263,7 +263,7 @@ declare class Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ top(value: Length): T; @@ -287,7 +287,7 @@ declare class Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ right(value: Length): T; @@ -311,7 +311,7 @@ declare class Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ bottom(value: Length): T; @@ -326,7 +326,7 @@ declare class Indicator { * @crossplatform * @form * @atomicservice - * @since 19 + * @since 19 dynamic */ bottom(bottom: LengthMetrics | Length, ignoreSize: boolean): T; @@ -340,7 +340,7 @@ declare class Indicator { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ start(value: LengthMetrics): T; @@ -354,7 +354,7 @@ declare class Indicator { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ end(value: LengthMetrics): T; @@ -377,7 +377,7 @@ declare class Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static dot(): DotIndicator; @@ -400,7 +400,7 @@ declare class Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static digit(): DigitIndicator; } @@ -422,7 +422,7 @@ declare class Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class DotIndicator extends Indicator { /** @@ -440,7 +440,7 @@ declare class DotIndicator extends Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -464,7 +464,7 @@ declare class DotIndicator extends Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ itemWidth(value: Length): DotIndicator; @@ -488,7 +488,7 @@ declare class DotIndicator extends Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ itemHeight(value: Length): DotIndicator; @@ -512,7 +512,7 @@ declare class DotIndicator extends Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedItemWidth(value: Length): DotIndicator; @@ -536,7 +536,7 @@ declare class DotIndicator extends Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedItemHeight(value: Length): DotIndicator; @@ -560,7 +560,7 @@ declare class DotIndicator extends Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ mask(value: boolean): DotIndicator; @@ -584,7 +584,7 @@ declare class DotIndicator extends Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ color(value: ResourceColor): DotIndicator; @@ -608,7 +608,7 @@ declare class DotIndicator extends Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedColor(value: ResourceColor): DotIndicator; @@ -620,7 +620,7 @@ declare class DotIndicator extends Indicator { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ maxDisplayCount(maxDisplayCount: number): DotIndicator; @@ -633,7 +633,7 @@ declare class DotIndicator extends Indicator { * @crossplatform * @form * @atomicservice - * @since 19 + * @since 19 dynamic */ space(space: LengthMetrics): DotIndicator; } @@ -662,7 +662,7 @@ declare class DotIndicator extends Indicator { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface SwiperAutoFill { /** @@ -678,7 +678,7 @@ declare interface SwiperAutoFill { * @type { VP } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @form */ minSize: VP; @@ -701,7 +701,7 @@ declare interface SwiperAutoFill { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class DigitIndicator extends Indicator { /** @@ -719,7 +719,7 @@ declare class DigitIndicator extends Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -742,7 +742,7 @@ declare class DigitIndicator extends Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor(value: ResourceColor): DigitIndicator; @@ -766,7 +766,7 @@ declare class DigitIndicator extends Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedFontColor(value: ResourceColor): DigitIndicator; @@ -795,7 +795,7 @@ declare class DigitIndicator extends Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ digitFont(value: Font): DigitIndicator; @@ -819,7 +819,7 @@ declare class DigitIndicator extends Indicator { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedDigitFont(value: Font): DigitIndicator; } @@ -838,7 +838,7 @@ declare class DigitIndicator extends Indicator { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ArrowStyle { /** @@ -857,7 +857,7 @@ declare interface ArrowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showBackground?: boolean; @@ -879,7 +879,7 @@ declare interface ArrowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ isSidebarMiddle?: boolean; @@ -901,7 +901,7 @@ declare interface ArrowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ backgroundSize?: Length; @@ -921,7 +921,7 @@ declare interface ArrowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ backgroundColor?: ResourceColor; @@ -945,7 +945,7 @@ declare interface ArrowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ arrowSize?: Length; @@ -965,7 +965,7 @@ declare interface ArrowStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ arrowColor?: ResourceColor; } @@ -994,7 +994,7 @@ declare interface ArrowStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum SwiperDisplayMode { /** @@ -1002,7 +1002,7 @@ declare enum SwiperDisplayMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead SwiperDisplayMode#STRETCH */ @@ -1013,7 +1013,7 @@ declare enum SwiperDisplayMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead SwiperDisplayMode#AUTO_LINEAR */ @@ -1034,7 +1034,7 @@ declare enum SwiperDisplayMode { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ STRETCH, @@ -1053,7 +1053,7 @@ declare enum SwiperDisplayMode { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead Scroller#scrollTo */ @@ -1084,7 +1084,7 @@ declare enum SwiperDisplayMode { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface SwiperInterface { @@ -1115,7 +1115,7 @@ interface SwiperInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (controller?: SwiperController): SwiperAttribute; } @@ -1125,7 +1125,7 @@ interface SwiperInterface { * * @interface IndicatorStyle * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ declare interface IndicatorStyle { @@ -1134,7 +1134,7 @@ declare interface IndicatorStyle { * * @type { ?Length } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ left?: Length; @@ -1144,7 +1144,7 @@ declare interface IndicatorStyle { * * @type { ?Length } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ top?: Length; @@ -1154,7 +1154,7 @@ declare interface IndicatorStyle { * * @type { ?Length } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ right?: Length; @@ -1164,7 +1164,7 @@ declare interface IndicatorStyle { * * @type { ?Length } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ bottom?: Length; @@ -1174,7 +1174,7 @@ declare interface IndicatorStyle { * * @type { ?Length } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ size?: Length; @@ -1184,7 +1184,7 @@ declare interface IndicatorStyle { * * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ mask?: boolean; @@ -1194,7 +1194,7 @@ declare interface IndicatorStyle { * * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ color?: ResourceColor; @@ -1204,7 +1204,7 @@ declare interface IndicatorStyle { * * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ selectedColor?: ResourceColor; @@ -1225,7 +1225,7 @@ declare interface IndicatorStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface SwiperAnimationEvent { /** @@ -1244,7 +1244,7 @@ declare interface SwiperAnimationEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ currentOffset: number; @@ -1264,7 +1264,7 @@ declare interface SwiperAnimationEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ targetOffset: number; @@ -1284,7 +1284,7 @@ declare interface SwiperAnimationEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ velocity: number; } @@ -1297,7 +1297,7 @@ declare interface SwiperAnimationEvent { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface AutoPlayOptions { /** @@ -1309,7 +1309,7 @@ declare interface AutoPlayOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ stopWhenTouched: boolean; } @@ -1320,7 +1320,7 @@ declare interface AutoPlayOptions { * @enum { number } SwiperNestedScrollMode * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum SwiperNestedScrollMode { /** @@ -1329,7 +1329,7 @@ declare enum SwiperNestedScrollMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ SELF_ONLY = 0, @@ -1338,7 +1338,7 @@ declare enum SwiperNestedScrollMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ SELF_FIRST = 1, } @@ -1351,7 +1351,7 @@ declare enum SwiperNestedScrollMode { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ declare enum SwiperAnimationMode { /** @@ -1361,7 +1361,7 @@ declare enum SwiperAnimationMode { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ NO_ANIMATION = 0, @@ -1372,7 +1372,7 @@ declare enum SwiperAnimationMode { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ DEFAULT_ANIMATION = 1, @@ -1384,7 +1384,7 @@ declare enum SwiperAnimationMode { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ FAST_ANIMATION = 2, } @@ -1400,7 +1400,7 @@ declare enum SwiperAnimationMode { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnSwiperAnimationStartCallback = (index: number, targetIndex: number, extraInfo: SwiperAnimationEvent) => void; @@ -1414,7 +1414,7 @@ declare type OnSwiperAnimationStartCallback = (index: number, targetIndex: numbe * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnSwiperAnimationEndCallback = (index: number, extraInfo: SwiperAnimationEvent) => void; @@ -1427,7 +1427,7 @@ declare type OnSwiperAnimationEndCallback = (index: number, extraInfo: SwiperAni * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnSwiperGestureSwipeCallback = (index: number, extraInfo: SwiperAnimationEvent) => void; @@ -1455,7 +1455,7 @@ declare type OnSwiperGestureSwipeCallback = (index: number, extraInfo: SwiperAni * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class SwiperAttribute extends CommonMethod { @@ -1488,7 +1488,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ index(value: number): SwiperAttribute; @@ -1526,7 +1526,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ autoPlay(value: boolean): SwiperAttribute; @@ -1549,7 +1549,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ autoPlay(autoPlay: boolean, options: AutoPlayOptions): SwiperAttribute; @@ -1581,7 +1581,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ interval(value: number): SwiperAttribute; @@ -1613,7 +1613,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ indicator(value: DotIndicator | DigitIndicator | boolean): SwiperAttribute; @@ -1627,7 +1627,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ indicator(indicator: IndicatorComponentController | DotIndicator | DigitIndicator | boolean): SwiperAttribute; @@ -1650,7 +1650,7 @@ declare class SwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ displayArrow(value: ArrowStyle | boolean, isHoverShow?: boolean): SwiperAttribute; @@ -1681,7 +1681,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ loop(value: boolean): SwiperAttribute; @@ -1711,7 +1711,7 @@ declare class SwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ duration(value: number): SwiperAttribute; @@ -1742,7 +1742,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ vertical(value: boolean): SwiperAttribute; @@ -1780,7 +1780,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ itemSpace(value: number | string): SwiperAttribute; @@ -1813,7 +1813,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ displayMode(value: SwiperDisplayMode): SwiperAttribute; @@ -1850,7 +1850,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ cachedCount(value: number): SwiperAttribute; @@ -1866,7 +1866,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ cachedCount(count: number, isShown: boolean): SwiperAttribute; @@ -1905,7 +1905,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ displayCount(value: number | string | SwiperAutoFill, swipeByGroup?: boolean): SwiperAttribute; @@ -1941,7 +1941,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ effectMode(value: EdgeEffect): SwiperAttribute; @@ -1972,7 +1972,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ disableSwipe(value: boolean): SwiperAttribute; @@ -2008,7 +2008,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ curve(value: Curve | string | ICurve): SwiperAttribute; @@ -2051,7 +2051,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onChange(event: Callback): SwiperAttribute; @@ -2064,7 +2064,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onSelected(event: Callback): SwiperAttribute; @@ -2074,7 +2074,7 @@ declare class SwiperAttribute extends CommonMethod { * @param { IndicatorStyle } value * @returns { SwiperAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ indicatorStyle(value?: IndicatorStyle): SwiperAttribute; @@ -2119,7 +2119,7 @@ declare class SwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ prevMargin(value: Length, ignoreBlank?: boolean): SwiperAttribute; @@ -2163,7 +2163,7 @@ declare class SwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ nextMargin(value: Length, ignoreBlank?: boolean): SwiperAttribute; @@ -2176,7 +2176,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onUnselected(event: Callback): SwiperAttribute; @@ -2189,7 +2189,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ onScrollStateChanged(event: Callback): SwiperAttribute @@ -2238,7 +2238,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onAnimationStart(event: OnSwiperAnimationStartCallback): SwiperAttribute; @@ -2285,7 +2285,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ onAnimationEnd(event: OnSwiperAnimationEndCallback): SwiperAttribute; @@ -2321,7 +2321,7 @@ declare class SwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onGestureSwipe(event: OnSwiperGestureSwipeCallback): SwiperAttribute; @@ -2340,7 +2340,7 @@ declare class SwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ nestedScroll(value: SwiperNestedScrollMode): SwiperAttribute; @@ -2361,7 +2361,7 @@ declare class SwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ customContentTransition(transition: SwiperContentAnimatedTransition): SwiperAttribute; @@ -2386,7 +2386,7 @@ declare class SwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onContentDidScroll(handler: ContentDidScrollCallback): SwiperAttribute; @@ -2398,7 +2398,7 @@ declare class SwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ indicatorInteractive(value: boolean): SwiperAttribute; @@ -2411,7 +2411,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ pageFlipMode(mode: Optional): SwiperAttribute; @@ -2424,7 +2424,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ onContentWillScroll(handler: ContentWillScrollCallback): SwiperAttribute; @@ -2438,7 +2438,7 @@ declare class SwiperAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ maintainVisibleContentPosition(enabled: boolean): SwiperAttribute; } @@ -2450,7 +2450,7 @@ declare class SwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface SwiperContentAnimatedTransition { /** @@ -2462,7 +2462,7 @@ declare interface SwiperContentAnimatedTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ timeout?: number; @@ -2473,7 +2473,7 @@ declare interface SwiperContentAnimatedTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ transition: Callback; } @@ -2485,7 +2485,7 @@ declare interface SwiperContentAnimatedTransition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface SwiperContentTransitionProxy { /** @@ -2495,7 +2495,7 @@ declare interface SwiperContentTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedIndex: number; @@ -2506,7 +2506,7 @@ declare interface SwiperContentTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ index: number; @@ -2517,7 +2517,7 @@ declare interface SwiperContentTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ position: number; @@ -2528,7 +2528,7 @@ declare interface SwiperContentTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ mainAxisLength: number; @@ -2538,7 +2538,7 @@ declare interface SwiperContentTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ finishTransition(): void; } @@ -2551,7 +2551,7 @@ declare interface SwiperContentTransitionProxy { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ declare interface SwiperContentWillScrollResult { /** @@ -2562,7 +2562,7 @@ declare interface SwiperContentWillScrollResult { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ currentIndex: number; @@ -2574,7 +2574,7 @@ declare interface SwiperContentWillScrollResult { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ comingIndex: number; @@ -2587,7 +2587,7 @@ declare interface SwiperContentWillScrollResult { * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ offset: number; } @@ -2603,7 +2603,7 @@ declare interface SwiperContentWillScrollResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type ContentDidScrollCallback = (selectedIndex: number, index: number, position: number, mainAxisLength: number) => void; @@ -2617,7 +2617,7 @@ declare type ContentDidScrollCallback = (selectedIndex: number, index: number, p * @crossplatform * @form * @atomicservice - * @since 15 + * @since 15 dynamic */ declare type ContentWillScrollCallback = (result: SwiperContentWillScrollResult) => boolean; @@ -2642,7 +2642,7 @@ declare type ContentWillScrollCallback = (result: SwiperContentWillScrollResult) * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Swiper: SwiperInterface; @@ -2668,7 +2668,7 @@ declare const Swiper: SwiperInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const SwiperInstance: SwiperAttribute; diff --git a/api/@internal/component/ets/symbol_span.d.ts b/api/@internal/component/ets/symbol_span.d.ts index 45a7e9e37f..d4140c10a1 100644 --- a/api/@internal/component/ets/symbol_span.d.ts +++ b/api/@internal/component/ets/symbol_span.d.ts @@ -42,7 +42,7 @@ * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ interface SymbolSpanInterface { @@ -73,7 +73,7 @@ interface SymbolSpanInterface { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ (value: Resource): SymbolSpanAttribute; } @@ -102,7 +102,7 @@ interface SymbolSpanInterface { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare class SymbolSpanAttribute extends CommonMethod { @@ -133,7 +133,7 @@ declare class SymbolSpanAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ fontSize(value: number | string | Resource): SymbolSpanAttribute; @@ -164,7 +164,7 @@ declare class SymbolSpanAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ fontColor(value: Array): SymbolSpanAttribute; @@ -195,7 +195,7 @@ declare class SymbolSpanAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ fontWeight(value: number | FontWeight | string): SymbolSpanAttribute; @@ -226,7 +226,7 @@ declare class SymbolSpanAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ effectStrategy(value: SymbolEffectStrategy): SymbolSpanAttribute; @@ -257,7 +257,7 @@ declare class SymbolSpanAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ renderingStrategy(value: SymbolRenderingStrategy): SymbolSpanAttribute; @@ -278,7 +278,7 @@ declare class SymbolSpanAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ attributeModifier(modifier: AttributeModifier): SymbolSpanAttribute; } @@ -304,7 +304,7 @@ declare class SymbolSpanAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare const SymbolSpan: SymbolSpanInterface; @@ -330,7 +330,7 @@ declare const SymbolSpan: SymbolSpanInterface; * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare const SymbolSpanInstance: SymbolSpanAttribute; diff --git a/api/@internal/component/ets/symbolglyph.d.ts b/api/@internal/component/ets/symbolglyph.d.ts index a3ee1ee6ed..1afff12dc9 100644 --- a/api/@internal/component/ets/symbolglyph.d.ts +++ b/api/@internal/component/ets/symbolglyph.d.ts @@ -42,7 +42,7 @@ * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ interface SymbolGlyphInterface { @@ -73,7 +73,7 @@ interface SymbolGlyphInterface { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ (value?: Resource): SymbolGlyphAttribute; } @@ -102,7 +102,7 @@ interface SymbolGlyphInterface { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum SymbolRenderingStrategy { /** @@ -126,7 +126,7 @@ declare enum SymbolRenderingStrategy { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ SINGLE = 0, @@ -151,7 +151,7 @@ declare enum SymbolRenderingStrategy { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ MULTIPLE_COLOR = 1, @@ -176,7 +176,7 @@ declare enum SymbolRenderingStrategy { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ MULTIPLE_OPACITY = 2, } @@ -205,7 +205,7 @@ declare enum SymbolRenderingStrategy { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum SymbolEffectStrategy { /** @@ -229,7 +229,7 @@ declare enum SymbolEffectStrategy { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ NONE = 0, @@ -254,7 +254,7 @@ declare enum SymbolEffectStrategy { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ SCALE = 1, @@ -279,7 +279,7 @@ declare enum SymbolEffectStrategy { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ HIERARCHICAL = 2, } @@ -301,7 +301,7 @@ declare enum SymbolEffectStrategy { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum EffectDirection { /** @@ -319,7 +319,7 @@ declare enum EffectDirection { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ DOWN = 0, /** @@ -337,7 +337,7 @@ declare enum EffectDirection { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ UP = 1, } @@ -359,7 +359,7 @@ declare enum EffectDirection { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum EffectScope { /** @@ -377,7 +377,7 @@ declare enum EffectScope { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ LAYER = 0, /** @@ -395,7 +395,7 @@ declare enum EffectScope { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ WHOLE = 1, } @@ -417,7 +417,7 @@ declare enum EffectScope { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum EffectFillStyle { /** @@ -435,7 +435,7 @@ declare enum EffectFillStyle { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ CUMULATIVE = 0, @@ -454,7 +454,7 @@ declare enum EffectFillStyle { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ ITERATIVE = 1, } @@ -474,7 +474,7 @@ declare enum EffectFillStyle { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class SymbolEffect { } @@ -496,7 +496,7 @@ declare class SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class ScaleSymbolEffect extends SymbolEffect { /** @@ -518,7 +518,7 @@ declare class ScaleSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ constructor(scope?: EffectScope, direction?: EffectDirection); @@ -539,7 +539,7 @@ declare class ScaleSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ scope?: EffectScope; @@ -560,7 +560,7 @@ declare class ScaleSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ direction?: EffectDirection; } @@ -582,7 +582,7 @@ declare class ScaleSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class HierarchicalSymbolEffect extends SymbolEffect { /** @@ -602,7 +602,7 @@ declare class HierarchicalSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ constructor(fillStyle?: EffectFillStyle); @@ -623,7 +623,7 @@ declare class HierarchicalSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ fillStyle?: EffectFillStyle; } @@ -645,7 +645,7 @@ declare class HierarchicalSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class AppearSymbolEffect extends SymbolEffect { /** @@ -665,7 +665,7 @@ declare class AppearSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ constructor(scope?: EffectScope); @@ -686,7 +686,7 @@ declare class AppearSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ scope?: EffectScope; } @@ -708,7 +708,7 @@ declare class AppearSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class DisappearSymbolEffect extends SymbolEffect { /** @@ -728,7 +728,7 @@ declare class DisappearSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ constructor(scope?: EffectScope); @@ -749,7 +749,7 @@ declare class DisappearSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ scope?: EffectScope; } @@ -771,7 +771,7 @@ declare class DisappearSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class BounceSymbolEffect extends SymbolEffect { /** @@ -793,7 +793,7 @@ declare class BounceSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ constructor(scope?: EffectScope, direction?: EffectDirection); @@ -814,7 +814,7 @@ declare class BounceSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ scope?: EffectScope; @@ -835,7 +835,7 @@ declare class BounceSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ direction?: EffectDirection; } @@ -857,7 +857,7 @@ declare class BounceSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class ReplaceSymbolEffect extends SymbolEffect { /** @@ -877,7 +877,7 @@ declare class ReplaceSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ constructor(scope?: EffectScope); @@ -898,7 +898,7 @@ declare class ReplaceSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ scope?: EffectScope; } @@ -910,7 +910,7 @@ declare class ReplaceSymbolEffect extends SymbolEffect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class PulseSymbolEffect extends SymbolEffect { } @@ -922,7 +922,7 @@ declare class PulseSymbolEffect extends SymbolEffect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class DisableSymbolEffect extends SymbolEffect { /** @@ -932,7 +932,7 @@ declare class DisableSymbolEffect extends SymbolEffect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ constructor(scope?: EffectScope); @@ -943,7 +943,7 @@ declare class DisableSymbolEffect extends SymbolEffect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ scope?: EffectScope; } @@ -955,7 +955,7 @@ declare class DisableSymbolEffect extends SymbolEffect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class QuickReplaceSymbolEffect extends SymbolEffect { /** @@ -965,7 +965,7 @@ declare class QuickReplaceSymbolEffect extends SymbolEffect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ constructor(scope?: EffectScope); @@ -976,7 +976,7 @@ declare class QuickReplaceSymbolEffect extends SymbolEffect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ scope?: EffectScope; } @@ -1005,7 +1005,7 @@ declare class QuickReplaceSymbolEffect extends SymbolEffect { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare class SymbolGlyphAttribute extends CommonMethod { @@ -1036,7 +1036,7 @@ declare class SymbolGlyphAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ fontSize(value: number | string | Resource): SymbolGlyphAttribute; @@ -1067,7 +1067,7 @@ declare class SymbolGlyphAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ fontColor(value: Array): SymbolGlyphAttribute; @@ -1078,7 +1078,7 @@ declare class SymbolGlyphAttribute extends CommonMethod { * @returns { SymbolGlyphAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ shaderStyle(shaders: Array): SymbolGlyphAttribute; @@ -1109,7 +1109,7 @@ declare class SymbolGlyphAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ fontWeight(value: number | FontWeight | string): SymbolGlyphAttribute; @@ -1140,7 +1140,7 @@ declare class SymbolGlyphAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ effectStrategy(value: SymbolEffectStrategy): SymbolGlyphAttribute; @@ -1171,7 +1171,7 @@ declare class SymbolGlyphAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ renderingStrategy(value: SymbolRenderingStrategy): SymbolGlyphAttribute; @@ -1196,7 +1196,7 @@ declare class SymbolGlyphAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolEffect(symbolEffect: SymbolEffect, isActive?: boolean): SymbolGlyphAttribute; @@ -1221,7 +1221,7 @@ declare class SymbolGlyphAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolEffect(symbolEffect: SymbolEffect, triggerValue?: number): SymbolGlyphAttribute; @@ -1242,7 +1242,7 @@ declare class SymbolGlyphAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ minFontScale(scale: Optional): SymbolGlyphAttribute; @@ -1263,7 +1263,7 @@ declare class SymbolGlyphAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ maxFontScale(scale: Optional): SymbolGlyphAttribute; @@ -1279,7 +1279,7 @@ declare class SymbolGlyphAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolShadow(shadow: Optional): SymbolGlyphAttribute; } @@ -1305,7 +1305,7 @@ declare class SymbolGlyphAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare const SymbolGlyph: SymbolGlyphInterface; @@ -1331,7 +1331,7 @@ declare const SymbolGlyph: SymbolGlyphInterface; * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare const SymbolGlyphInstance: SymbolGlyphAttribute; diff --git a/api/@internal/component/ets/tab_content.d.ts b/api/@internal/component/ets/tab_content.d.ts index 89af3678c4..5f5368e8ca 100644 --- a/api/@internal/component/ets/tab_content.d.ts +++ b/api/@internal/component/ets/tab_content.d.ts @@ -33,7 +33,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum SelectedMode { /** @@ -49,7 +49,7 @@ declare enum SelectedMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ INDICATOR, @@ -66,7 +66,7 @@ declare enum SelectedMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ BOARD } @@ -86,7 +86,7 @@ declare enum SelectedMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum LayoutMode { @@ -103,7 +103,7 @@ declare enum LayoutMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ AUTO = 0, /** @@ -119,7 +119,7 @@ declare enum LayoutMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ VERTICAL = 1, @@ -136,7 +136,7 @@ declare enum LayoutMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ HORIZONTAL = 2 } @@ -159,7 +159,7 @@ declare enum LayoutMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface IndicatorStyle { /** @@ -178,7 +178,7 @@ interface IndicatorStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ color?: ResourceColor; @@ -198,7 +198,7 @@ interface IndicatorStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ height?: Length; @@ -221,7 +221,7 @@ interface IndicatorStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ width?: Length; @@ -242,7 +242,7 @@ interface IndicatorStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ borderRadius?: Length; @@ -263,7 +263,7 @@ interface IndicatorStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ marginTop?: Length; } @@ -283,7 +283,7 @@ interface IndicatorStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface BoardStyle { /** @@ -301,7 +301,7 @@ interface BoardStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ borderRadius?: Length; } @@ -321,7 +321,7 @@ interface BoardStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface LabelStyle { /** @@ -340,7 +340,7 @@ declare interface LabelStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ overflow?: TextOverflow; @@ -360,7 +360,7 @@ declare interface LabelStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maxLines?: number; @@ -379,7 +379,7 @@ declare interface LabelStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ minFontSize?: number | ResourceStr; @@ -398,7 +398,7 @@ declare interface LabelStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maxFontSize?: number | ResourceStr; @@ -418,7 +418,7 @@ declare interface LabelStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ heightAdaptivePolicy?: TextHeightAdaptivePolicy; @@ -437,7 +437,7 @@ declare interface LabelStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ font?: Font; @@ -449,7 +449,7 @@ declare interface LabelStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedColor?: ResourceColor; @@ -461,7 +461,7 @@ declare interface LabelStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ unselectedColor?: ResourceColor; } @@ -473,7 +473,7 @@ declare interface LabelStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TabBarIconStyle { /** @@ -483,7 +483,7 @@ declare interface TabBarIconStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedColor?: ResourceColor; @@ -494,7 +494,7 @@ declare interface TabBarIconStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ unselectedColor?: ResourceColor; } @@ -512,7 +512,7 @@ declare interface TabBarIconStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare class TabBarSymbol { @@ -533,7 +533,7 @@ declare class TabBarSymbol { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ normal: SymbolGlyphModifier; @@ -554,7 +554,7 @@ declare class TabBarSymbol { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ selected?: SymbolGlyphModifier; } @@ -566,7 +566,7 @@ declare class TabBarSymbol { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface TabBarOptions { /** @@ -606,7 +606,7 @@ declare interface TabBarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ icon?: string | Resource; @@ -642,7 +642,7 @@ declare interface TabBarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ text?: string | Resource } @@ -666,7 +666,7 @@ declare interface TabBarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class SubTabBarStyle { /** @@ -691,7 +691,7 @@ declare class SubTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(content: ResourceStr); /** @@ -701,7 +701,7 @@ declare class SubTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(content: ResourceStr | ComponentContent); @@ -724,7 +724,7 @@ declare class SubTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ static of(content: ResourceStr): SubTabBarStyle; /** @@ -736,7 +736,7 @@ declare class SubTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static of(content: ResourceStr | ComponentContent): SubTabBarStyle; @@ -757,7 +757,7 @@ declare class SubTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ indicator(value: IndicatorStyle): SubTabBarStyle; @@ -782,7 +782,7 @@ declare class SubTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedMode(value: SelectedMode): SubTabBarStyle; @@ -807,7 +807,7 @@ declare class SubTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ board(value: BoardStyle): SubTabBarStyle; @@ -828,7 +828,7 @@ declare class SubTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ labelStyle(value: LabelStyle): SubTabBarStyle; @@ -854,7 +854,7 @@ declare class SubTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ padding(value: Padding | Dimension): SubTabBarStyle; @@ -870,7 +870,7 @@ declare class SubTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ padding(padding: LocalizedPadding): SubTabBarStyle; @@ -891,7 +891,7 @@ declare class SubTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ id(value: string): SubTabBarStyle; } @@ -915,7 +915,7 @@ declare class SubTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class BottomTabBarStyle { /** @@ -953,7 +953,7 @@ declare class BottomTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(icon: ResourceStr | TabBarSymbol, text: ResourceStr); @@ -990,7 +990,7 @@ declare class BottomTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static of(icon: ResourceStr | TabBarSymbol, text: ResourceStr): BottomTabBarStyle; @@ -1011,7 +1011,7 @@ declare class BottomTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ labelStyle(value: LabelStyle): BottomTabBarStyle; @@ -1048,7 +1048,7 @@ declare class BottomTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ padding(value: Padding | Dimension | LocalizedPadding): BottomTabBarStyle; @@ -1070,7 +1070,7 @@ declare class BottomTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ layoutMode(value: LayoutMode): BottomTabBarStyle; @@ -1092,7 +1092,7 @@ declare class BottomTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ verticalAlign(value: VerticalAlign): BottomTabBarStyle; @@ -1118,7 +1118,7 @@ declare class BottomTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ symmetricExtensible(value: boolean): BottomTabBarStyle; @@ -1139,7 +1139,7 @@ declare class BottomTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ id(value: string): BottomTabBarStyle; @@ -1151,7 +1151,7 @@ declare class BottomTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iconStyle(style: TabBarIconStyle): BottomTabBarStyle; } @@ -1178,7 +1178,7 @@ declare class BottomTabBarStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface TabContentInterface { @@ -1204,7 +1204,7 @@ interface TabContentInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (): TabContentAttribute; } @@ -1231,7 +1231,7 @@ interface TabContentInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class TabContentAttribute extends CommonMethod { @@ -1283,7 +1283,7 @@ declare class TabContentAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ tabBar(options: string | Resource | CustomBuilder | TabBarOptions): TabContentAttribute; @@ -1317,7 +1317,7 @@ declare class TabContentAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ tabBar(value: SubTabBarStyle | BottomTabBarStyle): TabContentAttribute; @@ -1337,7 +1337,7 @@ declare class TabContentAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ tabBar(content: ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): TabContentAttribute; @@ -1351,7 +1351,7 @@ declare class TabContentAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillShow(event: VoidCallback): TabContentAttribute; @@ -1364,7 +1364,7 @@ declare class TabContentAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillHide(event: VoidCallback): TabContentAttribute; } @@ -1388,7 +1388,7 @@ declare class TabContentAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TabContent: TabContentInterface; @@ -1412,7 +1412,7 @@ declare const TabContent: TabContentInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TabContentInstance: TabContentAttribute; diff --git a/api/@internal/component/ets/tabs.d.ts b/api/@internal/component/ets/tabs.d.ts index 486ee7f689..766d399108 100644 --- a/api/@internal/component/ets/tabs.d.ts +++ b/api/@internal/component/ets/tabs.d.ts @@ -25,7 +25,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic * @noninterop */ declare type CommonModifier = import('../api/arkui/CommonModifier').CommonModifier; @@ -52,7 +52,7 @@ declare type CommonModifier = import('../api/arkui/CommonModifier').CommonModifi * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum BarMode { /** @@ -76,7 +76,7 @@ declare enum BarMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Scrollable = 0, @@ -100,7 +100,7 @@ declare enum BarMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Fixed = 1 } @@ -112,7 +112,7 @@ declare enum BarMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum AnimationMode { /** @@ -121,7 +121,7 @@ declare enum AnimationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ CONTENT_FIRST = 0, @@ -131,7 +131,7 @@ declare enum AnimationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ACTION_FIRST = 1, @@ -141,7 +141,7 @@ declare enum AnimationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NO_ANIMATION = 2, @@ -152,7 +152,7 @@ declare enum AnimationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ CONTENT_FIRST_WITH_JUMP = 3, @@ -163,7 +163,7 @@ declare enum AnimationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ ACTION_FIRST_WITH_JUMP = 4, } @@ -190,7 +190,7 @@ declare enum AnimationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum BarPosition { /** @@ -212,7 +212,7 @@ declare enum BarPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Start, @@ -235,7 +235,7 @@ declare enum BarPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ End, } @@ -255,7 +255,7 @@ declare enum BarPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum LayoutStyle { /** @@ -272,7 +272,7 @@ declare enum LayoutStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ ALWAYS_CENTER = 0, /** @@ -289,7 +289,7 @@ declare enum LayoutStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ ALWAYS_AVERAGE_SPLIT = 1, /** @@ -309,7 +309,7 @@ declare enum LayoutStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ SPACE_BETWEEN_OR_CENTER = 2 } @@ -321,7 +321,7 @@ declare enum LayoutStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare enum TabsCacheMode { /** @@ -330,7 +330,7 @@ declare enum TabsCacheMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ CACHE_BOTH_SIDE = 0, @@ -340,7 +340,7 @@ declare enum TabsCacheMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ CACHE_LATEST_SWITCHED = 1 } @@ -364,7 +364,7 @@ declare enum TabsCacheMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class TabsController { /** @@ -386,7 +386,7 @@ declare class TabsController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -413,7 +413,7 @@ declare class TabsController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ changeIndex(value: number): void; @@ -429,7 +429,7 @@ declare class TabsController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ preloadItems(indices: Optional>): Promise; @@ -440,7 +440,7 @@ declare class TabsController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ setTabBarTranslate(translate: TranslateOptions): void; @@ -451,7 +451,7 @@ declare class TabsController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ setTabBarOpacity(opacity: number): void; } @@ -463,7 +463,7 @@ declare class TabsController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic * @noninterop */ declare interface TabsOptions { @@ -489,7 +489,7 @@ declare interface TabsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ barPosition?: BarPosition; @@ -515,7 +515,7 @@ declare interface TabsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ index?: number; @@ -541,7 +541,7 @@ declare interface TabsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ controller?: TabsController; @@ -552,7 +552,7 @@ declare interface TabsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ barModifier?: CommonModifier } @@ -579,7 +579,7 @@ declare interface TabsOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface TabsInterface { @@ -618,7 +618,7 @@ interface TabsInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ (options?: TabsOptions): TabsAttribute; } @@ -640,7 +640,7 @@ interface TabsInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface DividerStyle { @@ -661,7 +661,7 @@ interface DividerStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeWidth: Length; @@ -681,7 +681,7 @@ interface DividerStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ color?: ResourceColor; @@ -702,7 +702,7 @@ interface DividerStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ startMargin?: Length; @@ -723,7 +723,7 @@ interface DividerStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ endMargin?: Length; } @@ -743,7 +743,7 @@ interface DividerStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TabsAnimationEvent { /** @@ -763,7 +763,7 @@ declare interface TabsAnimationEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ currentOffset: number; @@ -784,7 +784,7 @@ declare interface TabsAnimationEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ targetOffset: number; @@ -805,7 +805,7 @@ declare interface TabsAnimationEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ velocity: number; } @@ -825,7 +825,7 @@ declare interface TabsAnimationEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface BarGridColumnOptions { /** @@ -845,7 +845,7 @@ interface BarGridColumnOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ sm?: number; @@ -866,7 +866,7 @@ interface BarGridColumnOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ md?: number; @@ -887,7 +887,7 @@ interface BarGridColumnOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ lg?: number; @@ -907,7 +907,7 @@ interface BarGridColumnOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ margin?: Dimension; @@ -927,7 +927,7 @@ interface BarGridColumnOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ gutter?: Dimension; } @@ -947,7 +947,7 @@ interface BarGridColumnOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ScrollableBarModeOptions { /** @@ -966,7 +966,7 @@ interface ScrollableBarModeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ margin?: Dimension; @@ -986,7 +986,7 @@ interface ScrollableBarModeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ nonScrollableLayoutStyle?: LayoutStyle; } @@ -1001,7 +1001,7 @@ interface ScrollableBarModeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnTabsAnimationStartCallback = (index: number, targetIndex: number, extraInfo: TabsAnimationEvent) => void; @@ -1014,7 +1014,7 @@ declare type OnTabsAnimationStartCallback = (index: number, targetIndex: number, * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnTabsAnimationEndCallback = (index: number, extraInfo: TabsAnimationEvent) => void; @@ -1027,7 +1027,7 @@ declare type OnTabsAnimationEndCallback = (index: number, extraInfo: TabsAnimati * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnTabsGestureSwipeCallback = (index: number, extraInfo: TabsAnimationEvent) => void; @@ -1041,7 +1041,7 @@ declare type OnTabsGestureSwipeCallback = (index: number, extraInfo: TabsAnimati * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type TabsCustomContentTransitionCallback = (from: number, to: number) => TabContentAnimatedTransition | undefined; @@ -1057,7 +1057,7 @@ declare type TabsCustomContentTransitionCallback = (from: number, to: number) => * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnTabsContentWillChangeCallback = (currentIndex: number, comingIndex: number) => boolean; @@ -1083,7 +1083,7 @@ declare type OnTabsContentWillChangeCallback = (currentIndex: number, comingInde * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class TabsAttribute extends CommonMethod { @@ -1112,7 +1112,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ vertical(value: boolean): TabsAttribute; @@ -1141,7 +1141,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ barPosition(value: BarPosition): TabsAttribute; @@ -1170,7 +1170,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scrollable(value: boolean): TabsAttribute; @@ -1192,7 +1192,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ barMode(value: BarMode.Fixed): TabsAttribute; @@ -1218,7 +1218,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ barMode(value: BarMode.Scrollable, options: ScrollableBarModeOptions): TabsAttribute; @@ -1250,7 +1250,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ barMode(value: BarMode, options?: ScrollableBarModeOptions): TabsAttribute; @@ -1292,7 +1292,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ barWidth(value: Length): TabsAttribute; @@ -1334,7 +1334,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ barHeight(value: Length): TabsAttribute; @@ -1349,7 +1349,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ barHeight(height: Length, noMinHeightLimit: boolean): TabsAttribute; @@ -1367,7 +1367,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ animationCurve(curve: Curve | ICurve): TabsAttribute; @@ -1397,7 +1397,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ animationDuration(value: number): TabsAttribute; @@ -1411,7 +1411,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ animationMode(mode: Optional): TabsAttribute; @@ -1424,7 +1424,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ edgeEffect(edgeEffect: Optional): TabsAttribute; @@ -1472,7 +1472,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onChange(event: Callback): TabsAttribute; @@ -1484,7 +1484,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onUnselected(event: Callback): TabsAttribute; @@ -1516,7 +1516,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onTabBarClick(event: Callback): TabsAttribute; @@ -1554,7 +1554,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onAnimationStart(handler: OnTabsAnimationStartCallback): TabsAttribute; @@ -1590,7 +1590,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onAnimationEnd(handler: OnTabsAnimationEndCallback): TabsAttribute; @@ -1626,7 +1626,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onGestureSwipe(handler: OnTabsGestureSwipeCallback): TabsAttribute; @@ -1653,7 +1653,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fadingEdge(value: boolean): TabsAttribute; @@ -1674,7 +1674,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ divider(value: DividerStyle | null): TabsAttribute; @@ -1694,7 +1694,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ barOverlap(value: boolean): TabsAttribute; @@ -1715,7 +1715,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ barBackgroundColor(value: ResourceColor): TabsAttribute; @@ -1740,7 +1740,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ barGridAlign(value: BarGridColumnOptions): TabsAttribute; @@ -1798,7 +1798,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ customContentTransition(delegate: TabsCustomContentTransitionCallback): TabsAttribute; @@ -1810,7 +1810,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ barBackgroundBlurStyle(value: BlurStyle): TabsAttribute; @@ -1822,7 +1822,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ pageFlipMode(mode: Optional): TabsAttribute; @@ -1835,7 +1835,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ barBackgroundBlurStyle(style: BlurStyle, options: BackgroundBlurStyleOptions): TabsAttribute; @@ -1847,7 +1847,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ barBackgroundEffect(options: BackgroundEffectOptions): TabsAttribute; @@ -1860,7 +1860,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ cachedMaxCount(count: number, mode: TabsCacheMode): TabsAttribute; @@ -1897,7 +1897,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onContentWillChange(handler: OnTabsContentWillChangeCallback): TabsAttribute; @@ -1909,7 +1909,7 @@ declare class TabsAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onSelected(event: Callback): TabsAttribute; } @@ -1931,7 +1931,7 @@ declare class TabsAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TabContentAnimatedTransition { /** @@ -1955,7 +1955,7 @@ declare interface TabContentAnimatedTransition { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ timeout?: number; @@ -1987,7 +1987,7 @@ declare interface TabContentAnimatedTransition { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ transition: Callback; } @@ -2009,7 +2009,7 @@ declare interface TabContentAnimatedTransition { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TabContentTransitionProxy { /** @@ -2029,7 +2029,7 @@ declare interface TabContentTransitionProxy { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ from: number; @@ -2050,7 +2050,7 @@ declare interface TabContentTransitionProxy { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ to: number; @@ -2069,7 +2069,7 @@ declare interface TabContentTransitionProxy { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ finishTransition(): void; } @@ -2093,7 +2093,7 @@ declare interface TabContentTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Tabs: TabsInterface; @@ -2117,7 +2117,7 @@ declare const Tabs: TabsInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TabsInstance: TabsAttribute; diff --git a/api/@internal/component/ets/text.d.ts b/api/@internal/component/ets/text.d.ts index c39a69db6e..bfb372e974 100644 --- a/api/@internal/component/ets/text.d.ts +++ b/api/@internal/component/ets/text.d.ts @@ -27,7 +27,7 @@ * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface TextOverflowOptions { /** @@ -74,7 +74,7 @@ declare interface TextOverflowOptions { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ overflow: TextOverflow; } @@ -111,7 +111,7 @@ declare interface TextOverflowOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface TextInterface { @@ -155,7 +155,7 @@ interface TextInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ (content?: string | Resource, value?: TextOptions): TextAttribute; } @@ -184,7 +184,7 @@ interface TextInterface { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class TextAttribute extends CommonMethod { @@ -205,7 +205,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ font(value: Font): TextAttribute; @@ -223,7 +223,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ font(fontValue: Font, options?: FontSettingOptions): TextAttribute; @@ -263,7 +263,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor(value: ResourceColor): TextAttribute; @@ -307,7 +307,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontSize(value: number | string | Resource): TextAttribute; @@ -359,7 +359,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ minFontSize(value: number | string | Resource): TextAttribute; @@ -411,7 +411,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ maxFontSize(value: number | string | Resource): TextAttribute; @@ -446,7 +446,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ minFontScale(scale: number | Resource): TextAttribute; @@ -479,7 +479,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ maxFontScale(scale: number | Resource): TextAttribute; @@ -519,7 +519,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontStyle(value: FontStyle): TextAttribute; @@ -579,7 +579,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ fontWeight(value: number | FontWeight | ResourceStr): TextAttribute; @@ -614,7 +614,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ fontWeight(weight: number | FontWeight | ResourceStr, options?: FontSettingOptions): TextAttribute; @@ -630,7 +630,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lineSpacing(value: LengthMetrics): TextAttribute; @@ -643,7 +643,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ lineSpacing(value: LengthMetrics, options?: LineSpacingOptions): TextAttribute; @@ -695,7 +695,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ textAlign(value: TextAlign): TextAttribute; @@ -707,7 +707,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ textVerticalAlign(textVerticalAlign: Optional): TextAttribute; @@ -753,7 +753,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ lineHeight(value: number | string | Resource): TextAttribute; @@ -821,7 +821,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 18 + * @since 18 dynamic */ textOverflow(options: TextOverflowOptions): TextAttribute; @@ -867,7 +867,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontFamily(value: string | Resource): TextAttribute; @@ -913,7 +913,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ maxLines(value: number): TextAttribute; @@ -968,7 +968,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ decoration(value: DecorationStyleInterface): TextAttribute; @@ -1026,7 +1026,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ letterSpacing(value: number | ResourceStr): TextAttribute; @@ -1066,7 +1066,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ textCase(value: TextCase): TextAttribute; @@ -1122,7 +1122,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ baselineOffset(value: number | ResourceStr): TextAttribute; @@ -1160,7 +1160,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ copyOption(value: CopyOptions): TextAttribute; @@ -1196,7 +1196,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ draggable(value: boolean): TextAttribute; @@ -1223,7 +1223,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ textShadow(value: ShadowOptions | Array): TextAttribute; @@ -1264,7 +1264,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ heightAdaptivePolicy(value: TextHeightAdaptivePolicy): TextAttribute; @@ -1285,7 +1285,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textIndent(value: Length): TextAttribute; @@ -1302,7 +1302,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ wordBreak(value: WordBreak): TextAttribute; @@ -1319,7 +1319,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lineBreakStrategy(strategy: LineBreakStrategy): TextAttribute; @@ -1332,7 +1332,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onCopy(callback: (value: string) => void): TextAttribute; @@ -1357,7 +1357,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selection(selectionStart: number, selectionEnd: number): TextAttribute; @@ -1369,7 +1369,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ caretColor(color: ResourceColor): TextAttribute; @@ -1381,7 +1381,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ selectedBackgroundColor(color: ResourceColor): TextAttribute; @@ -1393,7 +1393,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ shaderStyle(shader: ShaderStyle): TextAttribute; @@ -1420,7 +1420,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ellipsisMode(value: EllipsisMode): TextAttribute; @@ -1461,7 +1461,7 @@ declare class TextAttribute extends CommonMethod { * @returns { TextAttribute } The attribute of the text. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ enableDataDetector(enable: boolean): TextAttribute; @@ -1492,7 +1492,7 @@ declare class TextAttribute extends CommonMethod { * @returns { TextAttribute } The attribute of the text. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ dataDetectorConfig(config: TextDataDetectorConfig): TextAttribute; @@ -1526,7 +1526,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ bindSelectionMenu(spanType: TextSpanType, content: CustomBuilder, responseType: TextResponseType, options?: SelectionMenuOptions): TextAttribute; @@ -1548,7 +1548,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onTextSelectionChange(callback: (selectionStart: number, selectionEnd: number) => void): TextAttribute; @@ -1565,7 +1565,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ fontFeature(value: string): TextAttribute; @@ -1577,7 +1577,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ marqueeOptions(options: Optional): TextAttribute; @@ -1589,7 +1589,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onMarqueeStateChange(callback: Callback): TextAttribute; @@ -1607,7 +1607,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ privacySensitive(supported: boolean): TextAttribute; @@ -1619,7 +1619,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textSelectable(mode: TextSelectableMode): TextAttribute; @@ -1633,7 +1633,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ editMenuOptions(editMenu: EditMenuOptions): TextAttribute; @@ -1650,7 +1650,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ halfLeading(halfLeading: boolean): TextAttribute; @@ -1662,7 +1662,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ trimSpace(trim: Optional): TextAttribute; @@ -1674,7 +1674,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ enableHapticFeedback(isEnabled: boolean): TextAttribute; @@ -1686,7 +1686,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ optimizeTrailingSpace(optimize: Optional): TextAttribute; @@ -1698,7 +1698,7 @@ declare class TextAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ enableAutoSpacing(enabled: Optional): TextAttribute; @@ -1709,7 +1709,7 @@ declare class TextAttribute extends CommonMethod { * @returns { TextAttribute } returns the instance of the TextAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ contentTransition(transition: Optional): TextAttribute; } @@ -1742,7 +1742,7 @@ declare class TextAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TextInstance: TextAttribute; @@ -1775,7 +1775,7 @@ declare const TextInstance: TextAttribute; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Text: TextInterface; @@ -1806,7 +1806,7 @@ declare const Text: TextInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum TextSpanType { /** @@ -1822,7 +1822,7 @@ declare enum TextSpanType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ TEXT = 0, @@ -1839,7 +1839,7 @@ declare enum TextSpanType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ IMAGE = 1, @@ -1856,7 +1856,7 @@ declare enum TextSpanType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ MIXED = 2, @@ -1868,7 +1868,7 @@ declare enum TextSpanType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ DEFAULT = 3, } @@ -1899,7 +1899,7 @@ declare enum TextSpanType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum TextResponseType { /** @@ -1915,7 +1915,7 @@ declare enum TextResponseType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ RIGHT_CLICK = 0, @@ -1932,7 +1932,7 @@ declare enum TextResponseType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ LONG_PRESS = 1, @@ -1949,7 +1949,7 @@ declare enum TextResponseType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SELECT = 2, @@ -1961,7 +1961,7 @@ declare enum TextResponseType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ DEFAULT = 3, } @@ -1973,7 +1973,7 @@ declare enum TextResponseType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare enum MarqueeState { /** @@ -1982,7 +1982,7 @@ declare enum MarqueeState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ START = 0, @@ -1992,7 +1992,7 @@ declare enum MarqueeState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ BOUNCE = 1, @@ -2002,7 +2002,7 @@ declare enum MarqueeState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ FINISH = 2, } @@ -2014,7 +2014,7 @@ declare enum MarqueeState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare enum MarqueeStartPolicy { /** @@ -2023,7 +2023,7 @@ declare enum MarqueeStartPolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ DEFAULT = 0, @@ -2033,7 +2033,7 @@ declare enum MarqueeStartPolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ ON_FOCUS = 1, } @@ -2053,7 +2053,7 @@ declare enum MarqueeStartPolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TextOptions { /** @@ -2071,7 +2071,7 @@ declare interface TextOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ controller: TextController; } @@ -2083,7 +2083,7 @@ declare interface TextOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface TextMarqueeOptions { /** @@ -2093,7 +2093,7 @@ declare interface TextMarqueeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ start: boolean; @@ -2104,7 +2104,7 @@ declare interface TextMarqueeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ step?: number; @@ -2115,7 +2115,7 @@ declare interface TextMarqueeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ loop?: number; @@ -2126,7 +2126,7 @@ declare interface TextMarqueeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fromStart?: boolean; @@ -2137,7 +2137,7 @@ declare interface TextMarqueeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ delay?: number; @@ -2148,7 +2148,7 @@ declare interface TextMarqueeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fadeout?: boolean; @@ -2159,7 +2159,7 @@ declare interface TextMarqueeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ marqueeStartPolicy?: MarqueeStartPolicy; } @@ -2177,7 +2177,7 @@ declare interface TextMarqueeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class TextController { /** @@ -2193,7 +2193,7 @@ declare class TextController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ closeSelectionMenu(): void; @@ -2208,7 +2208,7 @@ declare class TextController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setStyledString(value: StyledString): void; @@ -2219,7 +2219,7 @@ declare class TextController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getLayoutManager(): LayoutManager; } diff --git a/api/@internal/component/ets/text_area.d.ts b/api/@internal/component/ets/text_area.d.ts index d330e3dc16..81917a6fc7 100644 --- a/api/@internal/component/ets/text_area.d.ts +++ b/api/@internal/component/ets/text_area.d.ts @@ -39,7 +39,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class TextAreaController extends TextContentControllerBase { /** @@ -62,7 +62,7 @@ declare class TextAreaController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -88,7 +88,7 @@ declare class TextAreaController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ caretPosition(value: number): void; @@ -132,7 +132,7 @@ declare class TextAreaController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setTextSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void; @@ -149,7 +149,7 @@ declare class TextAreaController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ stopEditing(): void; } @@ -176,7 +176,7 @@ declare class TextAreaController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface TextAreaOptions { /** @@ -207,7 +207,7 @@ declare interface TextAreaOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ placeholder?: ResourceStr; @@ -238,7 +238,7 @@ declare interface TextAreaOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ text?: ResourceStr; @@ -264,7 +264,7 @@ declare interface TextAreaOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ controller?: TextAreaController; } @@ -291,7 +291,7 @@ declare interface TextAreaOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface TextAreaInterface { @@ -320,7 +320,7 @@ interface TextAreaInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (value?: TextAreaOptions): TextAreaAttribute; } @@ -340,7 +340,7 @@ interface TextAreaInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum TextAreaType { /** @@ -356,7 +356,7 @@ declare enum TextAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NORMAL = 0, @@ -373,7 +373,7 @@ declare enum TextAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NUMBER = 2, @@ -391,7 +391,7 @@ declare enum TextAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PHONE_NUMBER = 3, @@ -409,7 +409,7 @@ declare enum TextAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ EMAIL = 5, @@ -419,7 +419,7 @@ declare enum TextAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NUMBER_DECIMAL = 12, @@ -429,7 +429,7 @@ declare enum TextAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ URL = 13, @@ -438,7 +438,7 @@ declare enum TextAreaType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ ONE_TIME_CODE = 14, } @@ -453,7 +453,7 @@ declare enum TextAreaType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare type TextAreaSubmitCallback = (enterKeyType: EnterKeyType, event?: SubmitEvent) => void; @@ -479,7 +479,7 @@ declare type TextAreaSubmitCallback = (enterKeyType: EnterKeyType, event?: Submi * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class TextAreaAttribute extends CommonMethod { @@ -508,7 +508,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ placeholderColor(value: ResourceColor): TextAreaAttribute; @@ -538,7 +538,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ placeholderFont(value: Font): TextAreaAttribute; @@ -559,7 +559,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enterKeyType(value: EnterKeyType): TextAreaAttribute; @@ -599,7 +599,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textAlign(value: TextAlign): TextAreaAttribute; @@ -632,7 +632,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ caretColor(value: ResourceColor): TextAreaAttribute; @@ -661,7 +661,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor(value: ResourceColor): TextAreaAttribute; @@ -692,7 +692,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontSize(value: Length): TextAreaAttribute; @@ -721,7 +721,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontStyle(value: FontStyle): TextAreaAttribute; @@ -768,7 +768,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ fontWeight(value: number | FontWeight | ResourceStr): TextAreaAttribute; @@ -802,7 +802,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontFamily(value: ResourceStr): TextAreaAttribute; @@ -823,7 +823,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textOverflow(value: TextOverflow): TextAreaAttribute; @@ -835,7 +835,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textIndent(value: Dimension): TextAreaAttribute; @@ -873,7 +873,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ inputFilter(value: ResourceStr, error?: (value: string) => void): TextAreaAttribute; @@ -885,7 +885,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ caretStyle(value: CaretStyle): TextAreaAttribute; @@ -898,7 +898,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedBackgroundColor(value: ResourceColor): TextAreaAttribute; @@ -919,7 +919,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onSubmit(callback: (enterKey: EnterKeyType) => void): TextAreaAttribute; /** @@ -932,7 +932,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ onSubmit(callback: TextAreaSubmitCallback): TextAreaAttribute; @@ -977,7 +977,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onChange(callback: EditableTextOnChangeCallback): TextAreaAttribute; @@ -999,7 +999,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onTextSelectionChange(callback: (selectionStart: number, selectionEnd: number) => void): TextAreaAttribute; @@ -1022,7 +1022,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onContentScroll(callback: (totalOffsetX: number, totalOffsetY: number) => void): TextAreaAttribute; @@ -1046,7 +1046,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onEditChange(callback: (isEditing: boolean) => void): TextAreaAttribute; @@ -1075,7 +1075,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onCopy(callback: (value: string) => void): TextAreaAttribute; @@ -1104,7 +1104,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onCut(callback: (value: string) => void): TextAreaAttribute; @@ -1136,7 +1136,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onPaste(callback: (value: string, event: PasteEvent) => void): TextAreaAttribute; @@ -1171,7 +1171,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ copyOption(value: CopyOptions): TextAreaAttribute; @@ -1192,7 +1192,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enableKeyboardOnFocus(value: boolean): TextAreaAttribute; @@ -1218,7 +1218,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maxLength(value: number): TextAreaAttribute; @@ -1257,7 +1257,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showCounter(value: boolean, options?: InputCounterOptions): TextAreaAttribute; @@ -1281,7 +1281,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ style(value: TextContentStyle): TextAreaAttribute; @@ -1300,7 +1300,7 @@ declare class TextAreaAttribute extends CommonMethod { * @returns { TextAreaAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ barState(value: BarState): TextAreaAttribute; @@ -1330,7 +1330,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectionMenuHidden(value: boolean): TextAreaAttribute; @@ -1348,7 +1348,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ minFontSize(value: number | string | Resource): TextAreaAttribute; @@ -1366,7 +1366,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ maxFontSize(value: number | string | Resource): TextAreaAttribute; @@ -1403,7 +1403,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ minFontScale(scale: Optional): TextAreaAttribute; @@ -1436,7 +1436,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ maxFontScale(scale: Optional): TextAreaAttribute; @@ -1467,7 +1467,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ heightAdaptivePolicy(value: TextHeightAdaptivePolicy): TextAreaAttribute; @@ -1499,7 +1499,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maxLines(value: number): TextAreaAttribute; @@ -1512,7 +1512,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ maxLines(lines: number, options: MaxLinesOptions): TextAreaAttribute; @@ -1524,7 +1524,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ minLines(lines: Optional): TextAreaAttribute; @@ -1542,7 +1542,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ wordBreak(value: WordBreak): TextAreaAttribute; @@ -1558,7 +1558,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lineBreakStrategy(strategy: LineBreakStrategy): TextAreaAttribute; @@ -1603,7 +1603,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ customKeyboard(value: CustomBuilder, options?: KeyboardOptions): TextAreaAttribute; @@ -1615,7 +1615,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ decoration(value: TextDecorationOptions): TextAreaAttribute; @@ -1634,7 +1634,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ letterSpacing(value: number | string | Resource): TextAreaAttribute; @@ -1650,7 +1650,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lineSpacing(value: LengthMetrics): TextAreaAttribute; @@ -1663,7 +1663,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ lineSpacing(value: LengthMetrics, options?: LineSpacingOptions): TextAreaAttribute; @@ -1680,7 +1680,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lineHeight(value: number | string | Resource): TextAreaAttribute; @@ -1701,7 +1701,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type(value: TextAreaType): TextAreaAttribute; @@ -1712,7 +1712,7 @@ declare class TextAreaAttribute extends CommonMethod { * @returns { TextAreaAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ enableAutoFill(value: boolean): TextAreaAttribute; @@ -1723,7 +1723,7 @@ declare class TextAreaAttribute extends CommonMethod { * @returns { TextAreaAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ contentType(contentType: ContentType): TextAreaAttribute; @@ -1739,7 +1739,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontFeature(value: string): TextAreaAttribute; @@ -1757,7 +1757,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillInsert(callback: Callback): TextAreaAttribute; @@ -1773,7 +1773,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidInsert(callback: Callback): TextAreaAttribute; @@ -1791,7 +1791,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillDelete(callback: Callback): TextAreaAttribute; @@ -1807,7 +1807,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidDelete(callback: Callback): TextAreaAttribute; @@ -1821,7 +1821,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ editMenuOptions(editMenu: EditMenuOptions): TextAreaAttribute; @@ -1838,7 +1838,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enablePreviewText(enable: boolean): TextAreaAttribute; @@ -1862,7 +1862,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ enableHapticFeedback(isEnabled: boolean): TextAreaAttribute; @@ -1874,7 +1874,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ autoCapitalizationMode(mode: AutoCapitalizationMode): TextAreaAttribute; @@ -1886,7 +1886,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ halfLeading(halfLeading: Optional): TextAreaAttribute; @@ -1904,7 +1904,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ ellipsisMode(mode: Optional): TextAreaAttribute; @@ -1915,7 +1915,7 @@ declare class TextAreaAttribute extends CommonMethod { * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ stopBackPress(isStopped: Optional): TextAreaAttribute; @@ -1932,7 +1932,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ onWillChange(callback: Callback): TextAreaAttribute; @@ -1943,7 +1943,7 @@ declare class TextAreaAttribute extends CommonMethod { * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ keyboardAppearance(appearance: Optional): TextAreaAttribute; @@ -1955,7 +1955,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ strokeWidth(width: Optional): TextAreaAttribute; @@ -1967,7 +1967,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ strokeColor(color: Optional): TextAreaAttribute; @@ -1979,7 +1979,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ enableAutoSpacing(enabled: Optional): TextAreaAttribute; } @@ -2003,7 +2003,7 @@ declare class TextAreaAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TextArea: TextAreaInterface; @@ -2027,7 +2027,7 @@ declare const TextArea: TextAreaInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TextAreaInstance: TextAreaAttribute; diff --git a/api/@internal/component/ets/text_clock.d.ts b/api/@internal/component/ets/text_clock.d.ts index 63dbe46ca0..ba14b7bf3a 100644 --- a/api/@internal/component/ets/text_clock.d.ts +++ b/api/@internal/component/ets/text_clock.d.ts @@ -38,7 +38,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class TextClockController { /** @@ -61,7 +61,7 @@ declare class TextClockController { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); /** @@ -84,7 +84,7 @@ declare class TextClockController { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ start(); /** @@ -107,7 +107,7 @@ declare class TextClockController { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ stop(); } @@ -120,7 +120,7 @@ declare class TextClockController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TextClockConfiguration extends CommonConfiguration { /** @@ -132,7 +132,7 @@ declare interface TextClockConfiguration extends CommonConfiguration { @@ -411,7 +411,7 @@ declare class TextClockAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ format(value: ResourceStr): TextClockAttribute; @@ -458,7 +458,7 @@ declare class TextClockAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onDateChange(event: (value: number) => void): TextClockAttribute; @@ -488,7 +488,7 @@ declare class TextClockAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor(value: ResourceColor): TextClockAttribute; @@ -518,7 +518,7 @@ declare class TextClockAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontSize(value: Length): TextClockAttribute; @@ -548,7 +548,7 @@ declare class TextClockAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontStyle(value: FontStyle): TextClockAttribute; @@ -578,7 +578,7 @@ declare class TextClockAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontWeight(value: number | FontWeight | string): TextClockAttribute; @@ -608,7 +608,7 @@ declare class TextClockAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontFamily(value: ResourceStr): TextClockAttribute; @@ -631,7 +631,7 @@ declare class TextClockAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ textShadow(value: ShadowOptions | Array): TextClockAttribute; @@ -660,7 +660,7 @@ declare class TextClockAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ fontFeature(value: string): TextClockAttribute; @@ -672,7 +672,7 @@ declare class TextClockAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentModifier(modifier: ContentModifier): TextClockAttribute; @@ -685,7 +685,7 @@ declare class TextClockAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ dateTimeOptions(dateTimeOptions: Optional): TextClockAttribute; } @@ -710,7 +710,7 @@ declare class TextClockAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TextClock: TextClockInterface; @@ -735,7 +735,7 @@ declare const TextClock: TextClockInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TextClockInstance: TextClockAttribute; diff --git a/api/@internal/component/ets/text_common.d.ts b/api/@internal/component/ets/text_common.d.ts index 4f75e5b57c..28346d5db9 100644 --- a/api/@internal/component/ets/text_common.d.ts +++ b/api/@internal/component/ets/text_common.d.ts @@ -31,7 +31,7 @@ * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum TextDataDetectorType { /** @@ -45,7 +45,7 @@ declare enum TextDataDetectorType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ PHONE_NUMBER = 0, @@ -60,7 +60,7 @@ declare enum TextDataDetectorType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ URL = 1, @@ -75,7 +75,7 @@ declare enum TextDataDetectorType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ EMAIL = 2, @@ -90,7 +90,7 @@ declare enum TextDataDetectorType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ ADDRESS = 3, @@ -99,7 +99,7 @@ declare enum TextDataDetectorType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ DATE_TIME = 4, } @@ -117,7 +117,7 @@ declare enum TextDataDetectorType { * @interface TextDataDetectorConfig * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TextDataDetectorConfig { /** @@ -133,7 +133,7 @@ declare interface TextDataDetectorConfig { * @type { TextDataDetectorType[] } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ types: TextDataDetectorType[] @@ -150,7 +150,7 @@ declare interface TextDataDetectorConfig { * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onDetectResultUpdate?: (result: string) => void @@ -160,7 +160,7 @@ declare interface TextDataDetectorConfig { * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ color?: ResourceColor, @@ -170,7 +170,7 @@ declare interface TextDataDetectorConfig { * @type { ?DecorationStyleInterface } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ decoration?: DecorationStyleInterface; @@ -180,7 +180,7 @@ declare interface TextDataDetectorConfig { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ enablePreviewMenu?: boolean; } @@ -192,7 +192,7 @@ declare interface TextDataDetectorConfig { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TextRange { /** @@ -203,7 +203,7 @@ declare interface TextRange { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ start?: number; @@ -215,7 +215,7 @@ declare interface TextRange { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ end?: number; } @@ -227,7 +227,7 @@ declare interface TextRange { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface InsertValue { /** @@ -237,7 +237,7 @@ declare interface InsertValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ insertOffset: number; @@ -248,7 +248,7 @@ declare interface InsertValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ insertValue: string; } @@ -260,7 +260,7 @@ declare interface InsertValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum TextDeleteDirection { /** @@ -269,7 +269,7 @@ declare enum TextDeleteDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ BACKWARD = 0, @@ -279,7 +279,7 @@ declare enum TextDeleteDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FORWARD = 1, } @@ -291,7 +291,7 @@ declare enum TextDeleteDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum SuperscriptStyle { /** @@ -300,7 +300,7 @@ declare enum SuperscriptStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ NORMAL = 0, @@ -310,7 +310,7 @@ declare enum SuperscriptStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ SUPERSCRIPT = 1, @@ -320,7 +320,7 @@ declare enum SuperscriptStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ SUBSCRIPT = 2, } @@ -332,7 +332,7 @@ declare enum SuperscriptStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ declare enum MenuType { /** @@ -341,7 +341,7 @@ declare enum MenuType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ SELECTION_MENU = 0, @@ -351,7 +351,7 @@ declare enum MenuType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ PREVIEW_MENU = 1, } @@ -363,7 +363,7 @@ declare enum MenuType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum AutoCapitalizationMode { /** @@ -372,7 +372,7 @@ declare enum AutoCapitalizationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ NONE = 0, @@ -382,7 +382,7 @@ declare enum AutoCapitalizationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ WORDS = 1, @@ -392,7 +392,7 @@ declare enum AutoCapitalizationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ SENTENCES = 2, @@ -402,7 +402,7 @@ declare enum AutoCapitalizationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ ALL_CHARACTERS = 3, } @@ -414,7 +414,7 @@ declare enum AutoCapitalizationMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface DeleteValue { /** @@ -424,7 +424,7 @@ declare interface DeleteValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ deleteOffset: number; @@ -435,7 +435,7 @@ declare interface DeleteValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ direction: TextDeleteDirection; @@ -446,7 +446,7 @@ declare interface DeleteValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ deleteValue: string; } @@ -460,7 +460,7 @@ declare interface DeleteValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type OnDidChangeCallback = (rangeBefore: TextRange, rangeAfter: TextRange) => void; @@ -485,7 +485,7 @@ declare type OnDidChangeCallback = (rangeBefore: TextRange, rangeAfter: TextRang * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare type EditableTextOnChangeCallback = (value: string, previewText?: PreviewText, options?: TextChangeOptions) => void; @@ -496,7 +496,7 @@ declare type EditableTextOnChangeCallback = (value: string, previewText?: Previe * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TextBaseController { /** @@ -508,7 +508,7 @@ declare interface TextBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void; @@ -518,7 +518,7 @@ declare interface TextBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ closeSelectionMenu(): void; @@ -529,7 +529,7 @@ declare interface TextBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getLayoutManager(): LayoutManager; } @@ -542,7 +542,7 @@ declare interface TextBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TextEditControllerEx extends TextBaseController { /** @@ -552,7 +552,7 @@ declare interface TextEditControllerEx extends TextBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isEditing(): boolean; @@ -562,7 +562,7 @@ declare interface TextEditControllerEx extends TextBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ stopEditing(): void; @@ -574,7 +574,7 @@ declare interface TextEditControllerEx extends TextBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setCaretOffset(offset: number): boolean; @@ -585,7 +585,7 @@ declare interface TextEditControllerEx extends TextBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getCaretOffset(): number; @@ -596,7 +596,7 @@ declare interface TextEditControllerEx extends TextBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getPreviewText?(): PreviewText; } @@ -607,7 +607,7 @@ declare interface TextEditControllerEx extends TextBaseController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface PreviewText { /** @@ -617,7 +617,7 @@ declare interface PreviewText { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ offset: number; @@ -628,7 +628,7 @@ declare interface PreviewText { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ value: string; } @@ -640,7 +640,7 @@ declare interface PreviewText { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface StyledStringController { /** @@ -650,7 +650,7 @@ declare interface StyledStringController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setStyledString(styledString: StyledString): void; @@ -661,7 +661,7 @@ declare interface StyledStringController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getStyledString(): MutableStyledString; } @@ -673,7 +673,7 @@ declare interface StyledStringController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface StyledStringChangedListener { /** @@ -683,7 +683,7 @@ declare interface StyledStringChangedListener { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillChange?: Callback; @@ -694,7 +694,7 @@ declare interface StyledStringChangedListener { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidChange?: OnDidChangeCallback; } @@ -706,7 +706,7 @@ declare interface StyledStringChangedListener { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface StyledStringChangeValue { /** @@ -716,7 +716,7 @@ interface StyledStringChangeValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ range: TextRange; @@ -727,7 +727,7 @@ interface StyledStringChangeValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ replacementString: StyledString; @@ -738,7 +738,7 @@ interface StyledStringChangeValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ previewText?: StyledString; } @@ -750,7 +750,7 @@ interface StyledStringChangeValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface LayoutManager { /** @@ -760,7 +760,7 @@ declare interface LayoutManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getLineCount(): number; @@ -773,7 +773,7 @@ declare interface LayoutManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getGlyphPositionAtCoordinate(x: number, y: number): PositionWithAffinity; @@ -785,7 +785,7 @@ declare interface LayoutManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getLineMetrics(lineNumber: number): LineMetrics; @@ -798,7 +798,7 @@ declare interface LayoutManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getRectsForRange(range: TextRange, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array; } @@ -810,7 +810,7 @@ declare interface LayoutManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface PositionWithAffinity { /** @@ -820,7 +820,7 @@ interface PositionWithAffinity { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ position: number; @@ -831,7 +831,7 @@ interface PositionWithAffinity { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ affinity: Affinity; } @@ -843,7 +843,7 @@ interface PositionWithAffinity { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type Affinity = import('../api/@ohos.graphics.text').default.Affinity; @@ -854,7 +854,7 @@ declare type Affinity = import('../api/@ohos.graphics.text').default.Affinity; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type LineMetrics = import('../api/@ohos.graphics.text').default.LineMetrics; @@ -865,7 +865,7 @@ declare type LineMetrics = import('../api/@ohos.graphics.text').default.LineMetr * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare type RectWidthStyle = import('../api/@ohos.graphics.text').default.RectWidthStyle; @@ -876,7 +876,7 @@ declare type RectWidthStyle = import('../api/@ohos.graphics.text').default.RectW * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare type RectHeightStyle = import('../api/@ohos.graphics.text').default.RectHeightStyle; @@ -887,7 +887,7 @@ declare type RectHeightStyle = import('../api/@ohos.graphics.text').default.Rect * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare type TextBox = import('../api/@ohos.graphics.text').default.TextBox; @@ -906,7 +906,7 @@ declare type TextBox = import('../api/@ohos.graphics.text').default.TextBox; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface CaretStyle { /** @@ -924,7 +924,7 @@ interface CaretStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ width?: Length, @@ -943,7 +943,7 @@ interface CaretStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ color?: ResourceColor, } @@ -954,7 +954,7 @@ interface CaretStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class TextMenuItemId { /** @@ -966,7 +966,7 @@ declare class TextMenuItemId { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static of(id: ResourceStr): TextMenuItemId; @@ -978,7 +978,7 @@ declare class TextMenuItemId { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ equals(id: TextMenuItemId): boolean; @@ -990,7 +990,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ static readonly CUT: TextMenuItemId; @@ -1002,7 +1002,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ static readonly COPY: TextMenuItemId; @@ -1014,7 +1014,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ static readonly PASTE: TextMenuItemId; @@ -1026,7 +1026,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ static readonly SELECT_ALL: TextMenuItemId; @@ -1038,7 +1038,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ static readonly COLLABORATION_SERVICE: TextMenuItemId; @@ -1050,7 +1050,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ static readonly CAMERA_INPUT: TextMenuItemId; @@ -1062,7 +1062,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ static readonly AI_WRITER: TextMenuItemId; @@ -1074,7 +1074,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ static readonly TRANSLATE: TextMenuItemId; @@ -1086,7 +1086,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ static readonly SEARCH: TextMenuItemId; @@ -1098,7 +1098,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ static readonly SHARE: TextMenuItemId; @@ -1110,7 +1110,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ static readonly url: TextMenuItemId; @@ -1122,7 +1122,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ static readonly email: TextMenuItemId; @@ -1134,7 +1134,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ static readonly phoneNumber: TextMenuItemId; @@ -1146,7 +1146,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ static readonly address: TextMenuItemId; @@ -1158,7 +1158,7 @@ declare class TextMenuItemId { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ static readonly dateTime: TextMenuItemId; } @@ -1170,7 +1170,7 @@ declare class TextMenuItemId { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TextMenuItem { /** @@ -1180,7 +1180,7 @@ declare interface TextMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ content: ResourceStr; /** @@ -1190,7 +1190,7 @@ declare interface TextMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ icon?: ResourceStr; /** @@ -1200,7 +1200,7 @@ declare interface TextMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ id: TextMenuItemId; /** @@ -1210,7 +1210,7 @@ declare interface TextMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ labelInfo?: ResourceStr; } @@ -1224,7 +1224,7 @@ declare interface TextMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ type OnPrepareMenuCallback = (menuItems: Array) => Array; @@ -1235,7 +1235,7 @@ type OnPrepareMenuCallback = (menuItems: Array) => Array): Array; /** @@ -1258,7 +1258,7 @@ declare interface EditMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onMenuItemClick(menuItem: TextMenuItem, range: TextRange): boolean; /** @@ -1268,7 +1268,7 @@ declare interface EditMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onPrepareMenu?: OnPrepareMenuCallback; } @@ -1280,7 +1280,7 @@ declare interface EditMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface DecorationStyleResult { /** @@ -1290,7 +1290,7 @@ interface DecorationStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type: TextDecorationType; @@ -1301,7 +1301,7 @@ interface DecorationStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ color: ResourceColor; @@ -1312,7 +1312,7 @@ interface DecorationStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ style?: TextDecorationStyle; @@ -1323,7 +1323,7 @@ interface DecorationStyleResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ thicknessScale?: number; } @@ -1336,7 +1336,7 @@ interface DecorationStyleResult { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface FontSettingOptions { /** @@ -1347,7 +1347,7 @@ declare interface FontSettingOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ enableVariableFontWeight?: boolean; } @@ -1358,7 +1358,7 @@ declare interface FontSettingOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare interface TextChangeOptions { /** @@ -1368,7 +1368,7 @@ declare interface TextChangeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ rangeBefore: TextRange; @@ -1379,7 +1379,7 @@ declare interface TextChangeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ rangeAfter: TextRange; @@ -1390,7 +1390,7 @@ declare interface TextChangeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ oldContent: string; @@ -1401,7 +1401,7 @@ declare interface TextChangeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ oldPreviewText: PreviewText; } @@ -1413,7 +1413,7 @@ declare interface TextChangeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ interface EditableTextChangeValue { /** @@ -1423,7 +1423,7 @@ interface EditableTextChangeValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ content: string; @@ -1434,7 +1434,7 @@ interface EditableTextChangeValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ previewText?: PreviewText; @@ -1445,7 +1445,7 @@ interface EditableTextChangeValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ options?: TextChangeOptions; } @@ -1457,7 +1457,7 @@ interface EditableTextChangeValue { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 16 + * @since 16 dynamic */ declare enum TextMenuShowMode { /** @@ -1466,7 +1466,7 @@ declare enum TextMenuShowMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 16 + * @since 16 dynamic */ DEFAULT = 0, @@ -1477,7 +1477,7 @@ declare enum TextMenuShowMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 16 + * @since 16 dynamic */ PREFER_WINDOW = 1, } @@ -1489,7 +1489,7 @@ declare enum TextMenuShowMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 16 + * @since 16 dynamic */ declare interface TextMenuOptions { /** @@ -1499,7 +1499,7 @@ declare interface TextMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 16 + * @since 16 dynamic */ showMode?: TextMenuShowMode; } @@ -1509,7 +1509,7 @@ declare interface TextMenuOptions { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ declare enum KeyboardAppearance { /** @@ -1517,7 +1517,7 @@ declare enum KeyboardAppearance { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ NONE_IMMERSIVE = 0, @@ -1526,7 +1526,7 @@ declare enum KeyboardAppearance { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ IMMERSIVE = 1, @@ -1535,7 +1535,7 @@ declare enum KeyboardAppearance { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ LIGHT_IMMERSIVE = 2, @@ -1544,7 +1544,7 @@ declare enum KeyboardAppearance { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ DARK_IMMERSIVE = 3, } @@ -1555,7 +1555,7 @@ declare enum KeyboardAppearance { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class ShaderStyle { } @@ -1567,7 +1567,7 @@ declare class ShaderStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class LinearGradientStyle extends ShaderStyle { /** @@ -1577,7 +1577,7 @@ declare class LinearGradientStyle extends ShaderStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ constructor(options: LinearGradientOptions); @@ -1592,7 +1592,7 @@ declare class LinearGradientStyle extends ShaderStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ options: LinearGradientOptions; } @@ -1604,7 +1604,7 @@ declare class LinearGradientStyle extends ShaderStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class RadialGradientStyle extends ShaderStyle { /** @@ -1614,7 +1614,7 @@ declare class RadialGradientStyle extends ShaderStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ constructor(options: RadialGradientOptions); @@ -1629,7 +1629,7 @@ declare class RadialGradientStyle extends ShaderStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ options: RadialGradientOptions; } @@ -1640,7 +1640,7 @@ declare class RadialGradientStyle extends ShaderStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class ColorShaderStyle extends ShaderStyle { /** @@ -1650,7 +1650,7 @@ declare class ColorShaderStyle extends ShaderStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ constructor(color: ResourceColor); @@ -1661,7 +1661,7 @@ declare class ColorShaderStyle extends ShaderStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ color: ResourceColor; } @@ -1671,7 +1671,7 @@ declare class ColorShaderStyle extends ShaderStyle { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class ContentTransition {} @@ -1681,7 +1681,7 @@ declare class ContentTransition {} * @extends ContentTransition * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ declare class NumericTextTransition extends ContentTransition { /** @@ -1690,7 +1690,7 @@ declare class NumericTextTransition extends ContentTransition { * @param { NumericTextTransitionOptions } [options] - The options of numeric text transition. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ constructor(options?: NumericTextTransitionOptions); @@ -1700,7 +1700,7 @@ declare class NumericTextTransition extends ContentTransition { * @type { ?FlipDirection } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ flipDirection?: FlipDirection; @@ -1710,7 +1710,7 @@ declare class NumericTextTransition extends ContentTransition { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ enableBlur?: boolean; } @@ -1721,7 +1721,7 @@ declare class NumericTextTransition extends ContentTransition { * @interface NumericTextTransitionOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface NumericTextTransitionOptions { /** @@ -1730,7 +1730,7 @@ declare interface NumericTextTransitionOptions { * @type { ?FlipDirection } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ flipDirection?: FlipDirection; @@ -1740,7 +1740,7 @@ declare interface NumericTextTransitionOptions { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ enableBlur?: boolean; } @@ -1751,7 +1751,7 @@ declare interface NumericTextTransitionOptions { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum FlipDirection { /** @@ -1759,7 +1759,7 @@ declare enum FlipDirection { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ DOWN = 0, @@ -1768,7 +1768,7 @@ declare enum FlipDirection { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ UP = 1, } @@ -1779,7 +1779,7 @@ declare enum FlipDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface LineSpacingOptions { /** @@ -1789,7 +1789,7 @@ declare interface LineSpacingOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onlyBetweenLines?: boolean; } @@ -1800,7 +1800,7 @@ declare interface LineSpacingOptions { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum TextChangeReason { /** @@ -1808,7 +1808,7 @@ declare enum TextChangeReason { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ UNKNOWN = 0, @@ -1817,7 +1817,7 @@ declare enum TextChangeReason { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ INPUT = 1, @@ -1826,7 +1826,7 @@ declare enum TextChangeReason { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ PASTE = 2, @@ -1835,7 +1835,7 @@ declare enum TextChangeReason { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ CUT = 3, @@ -1844,7 +1844,7 @@ declare enum TextChangeReason { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ DRAG = 4, @@ -1853,7 +1853,7 @@ declare enum TextChangeReason { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ AUTO_FILL = 5, @@ -1862,7 +1862,7 @@ declare enum TextChangeReason { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ AI_WRITE = 6, @@ -1871,7 +1871,7 @@ declare enum TextChangeReason { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ REDO = 7, @@ -1880,7 +1880,7 @@ declare enum TextChangeReason { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ UNDO = 8, @@ -1889,7 +1889,7 @@ declare enum TextChangeReason { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ CONTROLLER = 9, @@ -1898,7 +1898,7 @@ declare enum TextChangeReason { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ ACCESSIBILITY = 10, @@ -1907,7 +1907,7 @@ declare enum TextChangeReason { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ COLLABORATION = 11, @@ -1916,7 +1916,7 @@ declare enum TextChangeReason { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ STYLUS = 12 } @@ -1928,7 +1928,7 @@ declare enum TextChangeReason { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum TextVerticalAlign { /** @@ -1937,7 +1937,7 @@ declare enum TextVerticalAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ BASELINE = 0, @@ -1947,7 +1947,7 @@ declare enum TextVerticalAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ BOTTOM = 1, @@ -1957,7 +1957,7 @@ declare enum TextVerticalAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ CENTER = 2, @@ -1967,7 +1967,7 @@ declare enum TextVerticalAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ TOP = 3, } @@ -1978,7 +1978,7 @@ declare enum TextVerticalAlign { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface MaxLinesOptions { /** @@ -1988,7 +1988,7 @@ declare interface MaxLinesOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ overflowMode?: MaxLinesMode; } @@ -2000,7 +2000,7 @@ declare interface MaxLinesOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum MaxLinesMode { /** @@ -2009,7 +2009,7 @@ declare enum MaxLinesMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ CLIP = 0, @@ -2019,7 +2019,7 @@ declare enum MaxLinesMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ SCROLL = 1, } @@ -2030,7 +2030,7 @@ declare enum MaxLinesMode { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ declare enum KeyboardGradientMode { /** @@ -2038,7 +2038,7 @@ declare enum KeyboardGradientMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ NONE = 0, @@ -2047,7 +2047,7 @@ declare enum KeyboardGradientMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ LINEAR_GRADIENT = 1, } @@ -2058,7 +2058,7 @@ declare enum KeyboardGradientMode { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ declare enum KeyboardFluidLightMode { /** @@ -2066,7 +2066,7 @@ declare enum KeyboardFluidLightMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ NONE = 0, @@ -2075,7 +2075,7 @@ declare enum KeyboardFluidLightMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ BACKGROUND_FLUID_LIGHT = 1, } @@ -2086,7 +2086,7 @@ declare enum KeyboardFluidLightMode { * @interface KeyboardAppearanceConfig * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ declare interface KeyboardAppearanceConfig { /** @@ -2095,7 +2095,7 @@ declare interface KeyboardAppearanceConfig { * @type { ?KeyboardGradientMode } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ gradientMode?: KeyboardGradientMode; @@ -2105,7 +2105,7 @@ declare interface KeyboardAppearanceConfig { * @type { ?KeyboardFluidLightMode } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ fluidLightMode?: KeyboardFluidLightMode; } @@ -2117,7 +2117,7 @@ declare interface KeyboardAppearanceConfig { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface IMEClient { /** @@ -2127,7 +2127,7 @@ declare interface IMEClient { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ nodeId: number; } @@ -2137,7 +2137,7 @@ declare interface IMEClient { * * @interface TextLayoutOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 dynamic */ declare interface TextLayoutOptions { /** @@ -2145,7 +2145,7 @@ declare interface TextLayoutOptions { * * @type { ?LengthMetrics } constraintWidth * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 dynamic */ constraintWidth?: LengthMetrics; } \ No newline at end of file diff --git a/api/@internal/component/ets/text_input.d.ts b/api/@internal/component/ets/text_input.d.ts index 2cab7513ff..1bb0bbc9ee 100644 --- a/api/@internal/component/ets/text_input.d.ts +++ b/api/@internal/component/ets/text_input.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum InputType { /** @@ -62,7 +62,7 @@ declare enum InputType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Normal, @@ -85,7 +85,7 @@ declare enum InputType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Number, @@ -108,7 +108,7 @@ declare enum InputType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ PhoneNumber, @@ -136,7 +136,7 @@ declare enum InputType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Email, @@ -167,7 +167,7 @@ declare enum InputType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Password, @@ -191,7 +191,7 @@ declare enum InputType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NUMBER_PASSWORD = 8, @@ -200,7 +200,7 @@ declare enum InputType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ SCREEN_LOCK_PASSWORD = 9, @@ -219,7 +219,7 @@ declare enum InputType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ USER_NAME = 10, @@ -241,7 +241,7 @@ declare enum InputType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ NEW_PASSWORD = 11, @@ -255,7 +255,7 @@ declare enum InputType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ NUMBER_DECIMAL = 12, @@ -265,7 +265,7 @@ declare enum InputType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ URL = 13, @@ -274,7 +274,7 @@ declare enum InputType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ ONE_TIME_CODE = 14, } @@ -285,7 +285,7 @@ declare enum InputType { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum ContentType { /** @@ -294,7 +294,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ USER_NAME = 0, @@ -304,7 +304,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ PASSWORD = 1, @@ -314,7 +314,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ NEW_PASSWORD = 2, @@ -325,7 +325,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ FULL_STREET_ADDRESS = 3, @@ -336,7 +336,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ HOUSE_NUMBER = 4, @@ -347,7 +347,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ DISTRICT_ADDRESS = 5, @@ -358,7 +358,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ CITY_ADDRESS = 6, @@ -369,7 +369,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ PROVINCE_ADDRESS = 7, @@ -380,7 +380,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ COUNTRY_ADDRESS = 8, @@ -391,7 +391,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ PERSON_FULL_NAME = 9, @@ -402,7 +402,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ PERSON_LAST_NAME = 10, @@ -413,7 +413,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ PERSON_FIRST_NAME = 11, @@ -424,7 +424,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ PHONE_NUMBER = 12, @@ -435,7 +435,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ PHONE_COUNTRY_CODE = 13, @@ -446,7 +446,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ FULL_PHONE_NUMBER = 14, @@ -457,7 +457,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ EMAIL_ADDRESS = 15, @@ -468,7 +468,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ BANK_CARD_NUMBER = 16, @@ -479,7 +479,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ ID_CARD_NUMBER = 17, @@ -490,7 +490,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ NICKNAME = 23, @@ -501,7 +501,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ DETAIL_INFO_WITHOUT_STREET = 24, @@ -512,7 +512,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ FORMAT_ADDRESS = 25, @@ -523,7 +523,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ PASSPORT_NUMBER = 26, @@ -534,7 +534,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ VALIDITY = 27, @@ -545,7 +545,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ ISSUE_AT = 28, @@ -556,7 +556,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ ORGANIZATION = 29, @@ -567,7 +567,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ TAX_ID = 30, @@ -578,7 +578,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ ADDRESS_CITY_AND_STATE = 31, @@ -588,7 +588,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ FLIGHT_NUMBER = 32, @@ -598,7 +598,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ LICENSE_NUMBER = 33, @@ -608,7 +608,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ LICENSE_FILE_NUMBER = 34, @@ -619,7 +619,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ LICENSE_PLATE = 35, @@ -629,7 +629,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ ENGINE_NUMBER = 36, @@ -639,7 +639,7 @@ declare enum ContentType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ LICENSE_CHASSIS_NUMBER = 37 } @@ -666,7 +666,7 @@ declare enum ContentType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum EnterKeyType { /** @@ -688,7 +688,7 @@ declare enum EnterKeyType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Go = 2, @@ -711,7 +711,7 @@ declare enum EnterKeyType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Search = 3, @@ -734,7 +734,7 @@ declare enum EnterKeyType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Send = 4, @@ -757,7 +757,7 @@ declare enum EnterKeyType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Next = 5, @@ -780,7 +780,7 @@ declare enum EnterKeyType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Done = 6, @@ -797,7 +797,7 @@ declare enum EnterKeyType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ PREVIOUS = 7, @@ -814,7 +814,7 @@ declare enum EnterKeyType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NEW_LINE = 8, } @@ -826,7 +826,7 @@ declare enum EnterKeyType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface UnderlineColor { /** @@ -841,7 +841,7 @@ declare interface UnderlineColor { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ typing?: ResourceColor | undefined; /** @@ -856,7 +856,7 @@ declare interface UnderlineColor { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ normal?: ResourceColor | undefined; /** @@ -873,7 +873,7 @@ declare interface UnderlineColor { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ error?: ResourceColor | undefined; /** @@ -888,7 +888,7 @@ declare interface UnderlineColor { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ disable?: ResourceColor | undefined; } @@ -900,7 +900,7 @@ declare interface UnderlineColor { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface SubmitEvent { /** @@ -909,7 +909,7 @@ declare interface SubmitEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ keepEditableState(): void; @@ -920,7 +920,7 @@ declare interface SubmitEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ text: string; } @@ -946,7 +946,7 @@ declare interface SubmitEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class TextInputController extends TextContentControllerBase { /** @@ -969,7 +969,7 @@ declare class TextInputController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -1000,7 +1000,7 @@ declare class TextInputController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ caretPosition(value: number): void; @@ -1040,7 +1040,7 @@ declare class TextInputController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setTextSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void; @@ -1057,7 +1057,7 @@ declare class TextInputController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ stopEditing(): void; } @@ -1084,7 +1084,7 @@ declare class TextInputController extends TextContentControllerBase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface TextInputOptions { /** @@ -1109,7 +1109,7 @@ declare interface TextInputOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ placeholder?: ResourceStr; @@ -1142,7 +1142,7 @@ declare interface TextInputOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ text?: ResourceStr; @@ -1168,7 +1168,7 @@ declare interface TextInputOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ controller?: TextInputController; } @@ -1195,7 +1195,7 @@ declare interface TextInputOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum TextInputStyle { /** @@ -1222,7 +1222,7 @@ declare enum TextInputStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Default, @@ -1253,7 +1253,7 @@ declare enum TextInputStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Inline } @@ -1280,7 +1280,7 @@ declare enum TextInputStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface TextInputInterface { @@ -1309,7 +1309,7 @@ interface TextInputInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (value?: TextInputOptions): TextInputAttribute; } @@ -1328,7 +1328,7 @@ interface TextInputInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface PasswordIcon { /** @@ -1350,7 +1350,7 @@ interface PasswordIcon { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onIconSrc?: string | Resource; @@ -1373,7 +1373,7 @@ interface PasswordIcon { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offIconSrc?: string | Resource; } @@ -1388,7 +1388,7 @@ interface PasswordIcon { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnSubmitCallback = (enterKey: EnterKeyType, event: SubmitEvent) => void; @@ -1402,7 +1402,7 @@ declare type OnSubmitCallback = (enterKey: EnterKeyType, event: SubmitEvent) => * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnTextSelectionChangeCallback = (selectionStart: number, selectionEnd: number) => void; @@ -1416,7 +1416,7 @@ declare type OnTextSelectionChangeCallback = (selectionStart: number, selectionE * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnContentScrollCallback = (totalOffsetX: number, totalOffsetY: number) => void; @@ -1431,7 +1431,7 @@ declare type OnContentScrollCallback = (totalOffsetX: number, totalOffsetY: numb * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnPasteCallback = (content: string, event: PasteEvent) => void; @@ -1457,7 +1457,7 @@ declare type OnPasteCallback = (content: string, event: PasteEvent) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class TextInputAttribute extends CommonMethod { @@ -1486,7 +1486,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ type(value: InputType): TextInputAttribute; @@ -1497,7 +1497,7 @@ declare class TextInputAttribute extends CommonMethod { * @returns { TextInputAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ contentType(value: ContentType): TextInputAttribute; @@ -1526,7 +1526,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ placeholderColor(value: ResourceColor): TextInputAttribute; @@ -1551,7 +1551,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textOverflow(value: TextOverflow): TextInputAttribute; @@ -1563,7 +1563,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textIndent(value: Dimension): TextInputAttribute; @@ -1597,7 +1597,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ placeholderFont(value?: Font): TextInputAttribute; @@ -1626,7 +1626,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enterKeyType(value: EnterKeyType): TextInputAttribute; @@ -1659,7 +1659,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ caretColor(value: ResourceColor): TextInputAttribute; @@ -1674,7 +1674,7 @@ declare class TextInputAttribute extends CommonMethod { * @param { function } callback - The value true indicates that the text box is in the editing state. * @returns { TextInputAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 8 * @useinstead onEditChange */ @@ -1723,7 +1723,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onEditChange(callback: Callback): TextInputAttribute; @@ -1763,7 +1763,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onSubmit(callback: OnSubmitCallback): TextInputAttribute; @@ -1807,7 +1807,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onChange(callback: EditableTextOnChangeCallback): TextInputAttribute; @@ -1839,7 +1839,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onTextSelectionChange(callback: OnTextSelectionChangeCallback): TextInputAttribute; @@ -1871,7 +1871,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onContentScroll(callback: OnContentScrollCallback): TextInputAttribute; @@ -1905,7 +1905,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maxLength(value: number): TextInputAttribute; @@ -1934,7 +1934,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor(value: ResourceColor): TextInputAttribute; @@ -1970,7 +1970,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontSize(value: Length): TextInputAttribute; @@ -1999,7 +1999,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontStyle(value: FontStyle): TextInputAttribute; @@ -2047,7 +2047,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ fontWeight(value: number | FontWeight | ResourceStr): TextInputAttribute; @@ -2082,7 +2082,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fontFamily(value: ResourceStr): TextInputAttribute; @@ -2135,7 +2135,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ inputFilter(value: ResourceStr, error?: Callback): TextInputAttribute; @@ -2175,7 +2175,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onCopy(callback: Callback): TextInputAttribute; @@ -2215,7 +2215,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onCut(callback: Callback): TextInputAttribute; @@ -2258,7 +2258,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onPaste(callback: OnPasteCallback): TextInputAttribute; @@ -2293,7 +2293,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ copyOption(value: CopyOptions): TextInputAttribute; @@ -2331,7 +2331,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showPasswordIcon(value: boolean): TextInputAttribute; @@ -2369,7 +2369,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textAlign(value: TextAlign): TextInputAttribute; @@ -2402,7 +2402,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ style(value: TextInputStyle | TextContentStyle): TextInputAttribute; @@ -2423,7 +2423,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ caretStyle(value: CaretStyle): TextInputAttribute; @@ -2448,7 +2448,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedBackgroundColor(value: ResourceColor): TextInputAttribute; @@ -2469,7 +2469,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ caretPosition(value: number): TextInputAttribute; @@ -2495,7 +2495,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enableKeyboardOnFocus(value: boolean): TextInputAttribute; @@ -2521,7 +2521,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ passwordIcon(value: PasswordIcon): TextInputAttribute; @@ -2559,7 +2559,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ showError(value?: ResourceStr | undefined): TextInputAttribute; @@ -2583,7 +2583,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showUnit(value: CustomBuilder): TextInputAttribute; @@ -2608,7 +2608,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showUnderline(value: boolean): TextInputAttribute; @@ -2627,7 +2627,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ underlineColor(value: ResourceColor | UnderlineColor | undefined): TextInputAttribute; @@ -2659,7 +2659,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectionMenuHidden(value: boolean): TextInputAttribute; @@ -2678,7 +2678,7 @@ declare class TextInputAttribute extends CommonMethod { * @returns { TextInputAttribute } returns the instance of the TextInputAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ barState(value: BarState): TextInputAttribute; @@ -2699,7 +2699,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maxLines(value: number): TextInputAttribute; @@ -2718,7 +2718,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ wordBreak(value: WordBreak): TextInputAttribute; @@ -2736,7 +2736,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lineBreakStrategy(strategy: LineBreakStrategy): TextInputAttribute; @@ -2782,7 +2782,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ customKeyboard(value: CustomBuilder, options?: KeyboardOptions): TextInputAttribute; @@ -2810,7 +2810,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showCounter(value: boolean, options?: InputCounterOptions): TextInputAttribute; @@ -2848,7 +2848,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ cancelButton(options: CancelButtonOptions): TextInputAttribute; @@ -2863,7 +2863,7 @@ declare class TextInputAttribute extends CommonMethod { * @returns { TextInputAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ cancelButton(symbolOptions: CancelButtonSymbolOptions): TextInputAttribute; @@ -2888,7 +2888,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectAll(value: boolean): TextInputAttribute; @@ -2908,7 +2908,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ minFontSize(value: number | string | Resource): TextInputAttribute; @@ -2928,7 +2928,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ maxFontSize(value: number | string | Resource): TextInputAttribute; @@ -2949,7 +2949,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ minFontScale(scale: Optional): TextInputAttribute; @@ -2970,7 +2970,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ maxFontScale(scale: Optional): TextInputAttribute; @@ -3000,7 +3000,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ heightAdaptivePolicy(value: TextHeightAdaptivePolicy): TextInputAttribute; @@ -3019,7 +3019,7 @@ declare class TextInputAttribute extends CommonMethod { * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ enableAutoFill(value: boolean): TextInputAttribute; @@ -3035,7 +3035,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ decoration(value: TextDecorationOptions): TextInputAttribute; @@ -3056,7 +3056,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ letterSpacing(value: number | string | Resource): TextInputAttribute; @@ -3074,7 +3074,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lineHeight(value: number | string | Resource): TextInputAttribute; @@ -3097,7 +3097,7 @@ declare class TextInputAttribute extends CommonMethod { * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ passwordRules(value: string): TextInputAttribute; @@ -3118,7 +3118,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontFeature(value: string): TextInputAttribute; @@ -3139,7 +3139,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ showPassword(visible: boolean): TextInputAttribute; @@ -3151,7 +3151,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onSecurityStateChange(callback: Callback): TextInputAttribute; @@ -3169,7 +3169,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillInsert(callback: Callback): TextInputAttribute; @@ -3185,7 +3185,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidInsert(callback: Callback): TextInputAttribute; @@ -3203,7 +3203,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillDelete(callback: Callback): TextInputAttribute; @@ -3219,7 +3219,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidDelete(callback: Callback): TextInputAttribute; @@ -3231,7 +3231,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onWillAttachIME(callback: Callback): TextInputAttribute; @@ -3245,7 +3245,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ editMenuOptions(editMenu: EditMenuOptions): TextInputAttribute; @@ -3262,7 +3262,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enablePreviewText(enable: boolean): TextInputAttribute; @@ -3274,7 +3274,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ enableHapticFeedback(isEnabled: boolean): TextInputAttribute; @@ -3286,7 +3286,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ autoCapitalizationMode(mode: AutoCapitalizationMode): TextInputAttribute; @@ -3298,7 +3298,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ halfLeading(halfLeading: Optional): TextInputAttribute; @@ -3310,7 +3310,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ ellipsisMode(mode: Optional): TextInputAttribute; @@ -3321,7 +3321,7 @@ declare class TextInputAttribute extends CommonMethod { * @returns { TextInputAttribute } returns the instance of the TextInputAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ stopBackPress(isStopped: Optional): TextInputAttribute; @@ -3333,7 +3333,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ onWillChange(callback: Callback): TextInputAttribute; @@ -3344,7 +3344,7 @@ declare class TextInputAttribute extends CommonMethod { * @returns { TextInputAttribute } returns the instance of the TextInputAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ keyboardAppearance(appearance: Optional): TextInputAttribute; @@ -3357,7 +3357,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ strokeWidth(width: Optional): TextInputAttribute; @@ -3369,7 +3369,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ strokeColor(color: Optional): TextInputAttribute; @@ -3380,7 +3380,7 @@ declare class TextInputAttribute extends CommonMethod { * @returns { TextInputAttribute } Returns the instance of the TextInputAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ enableAutoFillAnimation(enabled: Optional): TextInputAttribute; @@ -3392,7 +3392,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ enableAutoSpacing(enabled: Optional): TextInputAttribute; } @@ -3416,7 +3416,7 @@ declare class TextInputAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TextInput: TextInputInterface; @@ -3440,7 +3440,7 @@ declare const TextInput: TextInputInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TextInputInstance: TextInputAttribute; diff --git a/api/@internal/component/ets/text_picker.d.ts b/api/@internal/component/ets/text_picker.d.ts index a9a8cfc1c2..02e506fe81 100644 --- a/api/@internal/component/ets/text_picker.d.ts +++ b/api/@internal/component/ets/text_picker.d.ts @@ -33,7 +33,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface TextPickerRangeContent { /** @@ -53,7 +53,7 @@ declare interface TextPickerRangeContent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ icon: string | Resource; @@ -82,7 +82,7 @@ declare interface TextPickerRangeContent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ text?: string | Resource; } @@ -101,7 +101,7 @@ declare interface TextPickerRangeContent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface TextCascadePickerRangeContent { /** @@ -126,7 +126,7 @@ declare interface TextCascadePickerRangeContent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ text: string | Resource; @@ -144,7 +144,7 @@ declare interface TextCascadePickerRangeContent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ children?: TextCascadePickerRangeContent[]; } @@ -171,7 +171,7 @@ declare interface TextCascadePickerRangeContent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface TextPickerOptions { /** @@ -198,7 +198,7 @@ declare interface TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ range: string[] | string[][] | Resource | TextPickerRangeContent[] | TextCascadePickerRangeContent[]; @@ -255,7 +255,7 @@ declare interface TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ value?: ResourceStr | ResourceStr[]; @@ -291,7 +291,7 @@ declare interface TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selected?: number | number[]; @@ -306,7 +306,7 @@ declare interface TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ columnWidths?: LengthMetrics[]; } @@ -333,7 +333,7 @@ declare interface TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface TextPickerInterface { @@ -362,7 +362,7 @@ interface TextPickerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (options?: TextPickerOptions): TextPickerAttribute; } @@ -374,7 +374,7 @@ interface TextPickerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface DividerOptions { /** @@ -391,7 +391,7 @@ declare interface DividerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ strokeWidth?: Dimension; @@ -403,7 +403,7 @@ declare interface DividerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ color?: ResourceColor; @@ -420,7 +420,7 @@ declare interface DividerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ startMargin?: Dimension; @@ -437,7 +437,7 @@ declare interface DividerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ endMargin?: Dimension; } @@ -450,7 +450,7 @@ declare interface DividerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ declare interface TextPickerTextStyle extends PickerTextStyle { /** @@ -464,7 +464,7 @@ declare interface TextPickerTextStyle extends PickerTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ minFontSize?: number | string | Resource; @@ -475,7 +475,7 @@ declare interface TextPickerTextStyle extends PickerTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ maxFontSize?: number | string | Resource; @@ -490,7 +490,7 @@ declare interface TextPickerTextStyle extends PickerTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ overflow?: TextOverflow; } @@ -502,7 +502,7 @@ declare interface TextPickerTextStyle extends PickerTextStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface PickerBackgroundStyle { /** @@ -512,7 +512,7 @@ declare interface PickerBackgroundStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ color?: ResourceColor; @@ -523,7 +523,7 @@ declare interface PickerBackgroundStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ borderRadius?: LengthMetrics | BorderRadiuses | LocalizedBorderRadiuses; } @@ -537,7 +537,7 @@ declare interface PickerBackgroundStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare type TextPickerScrollStopCallback = (value: string | string[], index: number | number[]) => void; @@ -550,7 +550,7 @@ declare type TextPickerScrollStopCallback = (value: string | string[], index: nu * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnTextPickerChangeCallback = (selectItem: string | string[], index: number | number[]) => void; @@ -563,7 +563,7 @@ declare type OnTextPickerChangeCallback = (selectItem: string | string[], index: * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type TextPickerEnterSelectedAreaCallback = (value: string | string[], index: number | number[]) => void; @@ -589,7 +589,7 @@ declare type TextPickerEnterSelectedAreaCallback = (value: string | string[], in * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class TextPickerAttribute extends CommonMethod { @@ -620,7 +620,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ defaultPickerItemHeight(value: number | string): TextPickerAttribute; @@ -634,7 +634,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ defaultPickerItemHeight(height: Optional): TextPickerAttribute; @@ -654,7 +654,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ canLoop(value: boolean): TextPickerAttribute; @@ -667,7 +667,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ canLoop(isLoop: Optional): TextPickerAttribute; @@ -688,7 +688,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ disappearTextStyle(value: PickerTextStyle): TextPickerAttribute; @@ -701,7 +701,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ disappearTextStyle(style: Optional): TextPickerAttribute; @@ -713,7 +713,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ disappearTextStyle(style: Optional): TextPickerAttribute; @@ -735,7 +735,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textStyle(value: PickerTextStyle): TextPickerAttribute; @@ -749,7 +749,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ textStyle(style: Optional): TextPickerAttribute; @@ -761,7 +761,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ textStyle(style: Optional): TextPickerAttribute; @@ -782,7 +782,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedTextStyle(value: PickerTextStyle): TextPickerAttribute; @@ -795,7 +795,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedTextStyle(style: Optional): TextPickerAttribute; @@ -807,7 +807,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ selectedTextStyle(style: Optional): TextPickerAttribute; @@ -819,7 +819,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ disableTextStyleAnimation(disabled: boolean): TextPickerAttribute; @@ -831,7 +831,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ defaultTextStyle(style: TextPickerTextStyle): TextPickerAttribute; @@ -841,7 +841,7 @@ declare class TextPickerAttribute extends CommonMethod { * @param { function } callback * @returns { TextPickerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ onAccept(callback: (value: string, index: number) => void): TextPickerAttribute; @@ -852,7 +852,7 @@ declare class TextPickerAttribute extends CommonMethod { * @param { function } callback * @returns { TextPickerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ onCancel(callback: () => void): TextPickerAttribute; @@ -888,7 +888,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onChange(callback: (value: string | string[], index: number | number[]) => void): TextPickerAttribute; @@ -901,7 +901,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onChange(callback: Optional): TextPickerAttribute; @@ -916,7 +916,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ onScrollStop(callback: TextPickerScrollStopCallback): TextPickerAttribute; @@ -931,7 +931,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onScrollStop(callback: Optional): TextPickerAttribute; @@ -946,7 +946,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onEnterSelectedArea(callback: TextPickerEnterSelectedAreaCallback): TextPickerAttribute; @@ -973,7 +973,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedIndex(value: number | number[]): TextPickerAttribute; @@ -990,7 +990,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedIndex(index: Optional): TextPickerAttribute; @@ -1002,7 +1002,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ divider(value: DividerOptions | null): TextPickerAttribute; @@ -1014,7 +1014,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ divider(textDivider: Optional): TextPickerAttribute; @@ -1031,7 +1031,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ gradientHeight(value: Dimension): TextPickerAttribute; @@ -1042,7 +1042,7 @@ declare class TextPickerAttribute extends CommonMethod { * @returns { TextPickerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ enableHapticFeedback(enable: Optional): TextPickerAttribute; @@ -1061,7 +1061,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ gradientHeight(height: Optional): TextPickerAttribute; @@ -1073,7 +1073,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ digitalCrownSensitivity(sensitivity: Optional): TextPickerAttribute; @@ -1085,7 +1085,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ selectedBackgroundStyle(style: Optional): TextPickerAttribute; } @@ -1112,7 +1112,7 @@ declare class TextPickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface TextPickerResult { /** @@ -1139,7 +1139,7 @@ declare interface TextPickerResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ value: string | string[]; @@ -1165,7 +1165,7 @@ declare interface TextPickerResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ index: number | number[]; } @@ -1195,7 +1195,7 @@ declare interface TextPickerResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface TextPickerDialogOptions extends TextPickerOptions { /** @@ -1221,7 +1221,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ defaultPickerItemHeight?: number | string; @@ -1242,7 +1242,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ canLoop?: boolean; @@ -1261,7 +1261,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ disappearTextStyle?: PickerTextStyle; @@ -1280,7 +1280,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textStyle?: PickerTextStyle; @@ -1297,7 +1297,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ acceptButtonStyle?: PickerDialogButtonStyle; @@ -1314,7 +1314,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ cancelButtonStyle?: PickerDialogButtonStyle; @@ -1333,7 +1333,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedTextStyle?: PickerTextStyle; @@ -1347,7 +1347,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ disableTextStyleAnimation?: boolean; @@ -1362,7 +1362,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ defaultTextStyle?: TextPickerTextStyle; @@ -1388,7 +1388,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onAccept?: (value: TextPickerResult) => void; @@ -1414,7 +1414,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onCancel?: () => void; @@ -1440,7 +1440,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onChange?: (value: TextPickerResult) => void; @@ -1451,7 +1451,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ onScrollStop?: Callback; @@ -1474,7 +1474,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onEnterSelectedArea?: Callback; @@ -1495,7 +1495,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maskRect?: Rectangle; @@ -1515,7 +1515,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ alignment?: DialogAlignment; @@ -1535,7 +1535,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offset?: Offset; @@ -1556,7 +1556,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: ResourceColor; @@ -1577,7 +1577,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -1588,7 +1588,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -1599,7 +1599,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundEffect?: BackgroundEffectOptions; @@ -1620,7 +1620,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidAppear?: () => void; @@ -1636,7 +1636,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidDisappear?: () => void; @@ -1655,7 +1655,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @crossplatform * @atomicservice * - * @since 12 + * @since 12 dynamic */ onWillAppear?: () => void; @@ -1673,7 +1673,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillDisappear?: () => void; @@ -1686,7 +1686,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ shadow?: ShadowOptions | ShadowStyle; @@ -1698,7 +1698,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ enableHoverMode?: boolean; @@ -1710,7 +1710,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ hoverModeArea?: HoverModeAreaType; @@ -1729,7 +1729,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @default true * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ enableHapticFeedback?: boolean; @@ -1740,7 +1740,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @default { color: $r('sys.color.comp_background_tertiary'), borderRadius: $r('sys.float.corner_radius_level12') } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ selectedBackgroundStyle?: PickerBackgroundStyle; } @@ -1753,7 +1753,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { /** @@ -1763,7 +1763,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ defaultPickerItemHeight?: number | string; @@ -1775,7 +1775,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ canLoop?: boolean; @@ -1786,7 +1786,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ disappearTextStyle?: TextPickerTextStyle; @@ -1797,7 +1797,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ textStyle?: TextPickerTextStyle; @@ -1808,7 +1808,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ acceptButtonStyle?: PickerDialogButtonStyle; @@ -1819,7 +1819,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ cancelButtonStyle?: PickerDialogButtonStyle; @@ -1830,7 +1830,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ selectedTextStyle?: TextPickerTextStyle; @@ -1841,7 +1841,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ disableTextStyleAnimation?: boolean; @@ -1852,7 +1852,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ defaultTextStyle?: TextPickerTextStyle; @@ -1863,7 +1863,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onAccept?: Callback; @@ -1874,7 +1874,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onCancel?: VoidCallback; @@ -1885,7 +1885,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onChange?: Callback; @@ -1896,7 +1896,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onScrollStop?: Callback; @@ -1907,7 +1907,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onEnterSelectedArea?: Callback; @@ -1918,7 +1918,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ maskRect?: Rectangle; @@ -1929,7 +1929,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ alignment?: DialogAlignment; @@ -1940,7 +1940,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ offset?: Offset; @@ -1952,7 +1952,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ backgroundColor?: ResourceColor; @@ -1964,7 +1964,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -1975,7 +1975,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -1986,7 +1986,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ backgroundEffect?: BackgroundEffectOptions; @@ -1997,7 +1997,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onDidAppear?: VoidCallback; @@ -2008,7 +2008,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onDidDisappear?: VoidCallback; @@ -2019,7 +2019,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onWillAppear?: VoidCallback; @@ -2030,7 +2030,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onWillDisappear?: VoidCallback; @@ -2041,7 +2041,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ shadow?: ShadowOptions | ShadowStyle; @@ -2053,7 +2053,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ enableHoverMode?: boolean; @@ -2065,7 +2065,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ hoverModeArea?: HoverModeAreaType; @@ -2076,7 +2076,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @default true * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ enableHapticFeedback?: boolean; @@ -2087,7 +2087,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @default { color: $r('sys.color.comp_background_tertiary'), borderRadius: $r('sys.float.corner_radius_level12') } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ selectedBackgroundStyle?: PickerBackgroundStyle; } @@ -2111,7 +2111,7 @@ declare interface TextPickerDialogOptionsExt extends TextPickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class TextPickerDialog { /** @@ -2136,7 +2136,7 @@ declare class TextPickerDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#showTextPickerDialog */ @@ -2162,7 +2162,7 @@ declare class TextPickerDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TextPicker: TextPickerInterface; @@ -2186,7 +2186,7 @@ declare const TextPicker: TextPickerInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TextPickerInstance: TextPickerAttribute; diff --git a/api/@internal/component/ets/text_timer.d.ts b/api/@internal/component/ets/text_timer.d.ts index d6824fde8a..34f334afc1 100644 --- a/api/@internal/component/ets/text_timer.d.ts +++ b/api/@internal/component/ets/text_timer.d.ts @@ -38,7 +38,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class TextTimerController { /** @@ -63,7 +63,7 @@ declare class TextTimerController { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -88,7 +88,7 @@ declare class TextTimerController { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ start(); @@ -113,7 +113,7 @@ declare class TextTimerController { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ pause(); @@ -138,7 +138,7 @@ declare class TextTimerController { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ reset(); } @@ -151,7 +151,7 @@ declare class TextTimerController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface TextTimerConfiguration extends CommonConfiguration { /** @@ -169,7 +169,7 @@ declare interface TextTimerConfiguration extends CommonConfiguration { @@ -456,7 +456,7 @@ declare class TextTimerAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ format(value: string): TextTimerAttribute; @@ -487,7 +487,7 @@ declare class TextTimerAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontColor(value: ResourceColor): TextTimerAttribute; @@ -520,7 +520,7 @@ declare class TextTimerAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontSize(value: Length): TextTimerAttribute; @@ -551,7 +551,7 @@ declare class TextTimerAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontStyle(value: FontStyle): TextTimerAttribute; @@ -600,7 +600,7 @@ declare class TextTimerAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 20 + * @since 20 dynamic */ fontWeight(value: number | FontWeight | ResourceStr): TextTimerAttribute; @@ -631,7 +631,7 @@ declare class TextTimerAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ fontFamily(value: ResourceStr): TextTimerAttribute; @@ -664,7 +664,7 @@ declare class TextTimerAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onTimer(event: (utc: number, elapsedTime: number) => void): TextTimerAttribute; @@ -687,7 +687,7 @@ declare class TextTimerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textShadow(value: ShadowOptions | Array): TextTimerAttribute; @@ -699,7 +699,7 @@ declare class TextTimerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentModifier(modifier: ContentModifier): TextTimerAttribute; } @@ -725,7 +725,7 @@ declare class TextTimerAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TextTimer: TextTimerInterface; @@ -751,7 +751,7 @@ declare const TextTimer: TextTimerInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TextTimerInstance: TextTimerAttribute; diff --git a/api/@internal/component/ets/time_picker.d.ts b/api/@internal/component/ets/time_picker.d.ts index 97237b8b1f..8c6e91c751 100644 --- a/api/@internal/component/ets/time_picker.d.ts +++ b/api/@internal/component/ets/time_picker.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface TimePickerResult { /** @@ -65,7 +65,7 @@ declare interface TimePickerResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ hour: number; @@ -91,7 +91,7 @@ declare interface TimePickerResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ minute: number; @@ -102,7 +102,7 @@ declare interface TimePickerResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ second: number; } @@ -120,7 +120,7 @@ declare interface TimePickerResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum TimePickerFormat { /** @@ -134,7 +134,7 @@ declare enum TimePickerFormat { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ HOUR_MINUTE, @@ -149,7 +149,7 @@ declare enum TimePickerFormat { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ HOUR_MINUTE_SECOND, } @@ -176,7 +176,7 @@ declare enum TimePickerFormat { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface TimePickerOptions { /** @@ -201,7 +201,7 @@ declare interface TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selected?: Date; @@ -222,7 +222,7 @@ declare interface TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ format?: TimePickerFormat; @@ -233,7 +233,7 @@ declare interface TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ start?: Date; @@ -244,7 +244,7 @@ declare interface TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ end?: Date; } @@ -271,7 +271,7 @@ declare interface TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface TimePickerInterface { @@ -300,7 +300,7 @@ interface TimePickerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (options?: TimePickerOptions): TimePickerAttribute; } @@ -311,7 +311,7 @@ interface TimePickerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type DateTimeOptions = import('../api/@ohos.intl').default.DateTimeOptions @@ -322,7 +322,7 @@ declare type DateTimeOptions = import('../api/@ohos.intl').default.DateTimeOptio * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnTimePickerChangeCallback = (result: TimePickerResult) => void; @@ -348,7 +348,7 @@ declare type OnTimePickerChangeCallback = (result: TimePickerResult) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class TimePickerAttribute extends CommonMethod { @@ -377,7 +377,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ useMilitaryTime(value: boolean): TimePickerAttribute; @@ -389,7 +389,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ useMilitaryTime(isMilitaryTime: Optional): TimePickerAttribute; @@ -408,7 +408,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ loop(value: boolean): TimePickerAttribute; @@ -419,7 +419,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ loop(isLoop: Optional): TimePickerAttribute; @@ -440,7 +440,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ disappearTextStyle(value: PickerTextStyle): TimePickerAttribute; @@ -452,7 +452,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ disappearTextStyle(style: Optional): TimePickerAttribute; @@ -473,7 +473,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textStyle(value: PickerTextStyle): TimePickerAttribute; @@ -485,7 +485,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ textStyle(style: Optional): TimePickerAttribute; @@ -506,7 +506,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedTextStyle(value: PickerTextStyle): TimePickerAttribute; @@ -518,7 +518,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedTextStyle(style: Optional): TimePickerAttribute; @@ -530,7 +530,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dateTimeOptions(value: DateTimeOptions): TimePickerAttribute; @@ -542,7 +542,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ dateTimeOptions(timeFormat: Optional): TimePickerAttribute; @@ -571,7 +571,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onChange(callback: (value: TimePickerResult) => void): TimePickerAttribute; @@ -583,7 +583,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onChange(callback: Optional): TimePickerAttribute; @@ -595,7 +595,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onEnterSelectedArea(callback: Callback): TimePickerAttribute; @@ -606,7 +606,7 @@ declare class TimePickerAttribute extends CommonMethod { * @returns { TimePickerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ enableHapticFeedback(enable: boolean): TimePickerAttribute; @@ -617,7 +617,7 @@ declare class TimePickerAttribute extends CommonMethod { * @returns { TimePickerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ enableHapticFeedback(enable: Optional): TimePickerAttribute; @@ -629,7 +629,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ digitalCrownSensitivity(sensitivity: Optional): TimePickerAttribute; @@ -641,7 +641,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ enableCascade(enabled: boolean): TimePickerAttribute; } @@ -671,7 +671,7 @@ declare class TimePickerAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface TimePickerDialogOptions extends TimePickerOptions { /** @@ -696,7 +696,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ useMilitaryTime?: boolean; @@ -715,7 +715,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ disappearTextStyle?: PickerTextStyle; @@ -734,7 +734,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ textStyle?: PickerTextStyle; @@ -745,7 +745,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ acceptButtonStyle?: PickerDialogButtonStyle; @@ -756,7 +756,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ cancelButtonStyle?: PickerDialogButtonStyle; @@ -775,7 +775,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedTextStyle?: PickerTextStyle; @@ -794,7 +794,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ maskRect?: Rectangle; @@ -813,7 +813,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ alignment?: DialogAlignment; @@ -832,7 +832,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ offset?: Offset; @@ -858,7 +858,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onAccept?: (value: TimePickerResult) => void; @@ -884,7 +884,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onCancel?: () => void; @@ -910,7 +910,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onChange?: (value: TimePickerResult) => void; @@ -921,7 +921,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onEnterSelectedArea?: Callback; @@ -942,7 +942,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: ResourceColor; @@ -963,7 +963,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -974,7 +974,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -985,7 +985,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ backgroundEffect?: BackgroundEffectOptions; @@ -997,7 +997,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ enableCascade?: boolean; @@ -1008,7 +1008,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidAppear?: () => void; @@ -1019,7 +1019,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDidDisappear?: () => void; @@ -1030,7 +1030,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillAppear?: () => void; @@ -1041,7 +1041,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillDisappear?: () => void; @@ -1052,7 +1052,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ shadow?: ShadowOptions | ShadowStyle; @@ -1063,7 +1063,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dateTimeOptions?: DateTimeOptions; @@ -1075,7 +1075,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ enableHoverMode?: boolean; @@ -1087,7 +1087,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ hoverModeArea?: HoverModeAreaType; @@ -1098,7 +1098,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @default true * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ enableHapticFeedback?: boolean; } @@ -1122,7 +1122,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class TimePickerDialog { /** @@ -1147,7 +1147,7 @@ declare class TimePickerDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#showTimePickerDialog */ @@ -1173,7 +1173,7 @@ declare class TimePickerDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TimePicker: TimePickerInterface; @@ -1197,7 +1197,7 @@ declare const TimePicker: TimePickerInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const TimePickerInstance: TimePickerAttribute; diff --git a/api/@internal/component/ets/toggle.d.ts b/api/@internal/component/ets/toggle.d.ts index 048a22ffe3..3098c8e75a 100644 --- a/api/@internal/component/ets/toggle.d.ts +++ b/api/@internal/component/ets/toggle.d.ts @@ -50,7 +50,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum ToggleType { /** @@ -81,7 +81,7 @@ declare enum ToggleType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Checkbox, @@ -113,7 +113,7 @@ declare enum ToggleType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Switch, @@ -145,7 +145,7 @@ declare enum ToggleType { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ Button, } @@ -157,7 +157,7 @@ declare enum ToggleType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface SwitchStyle { /** @@ -167,7 +167,7 @@ declare interface SwitchStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pointRadius?: number | Resource; @@ -178,7 +178,7 @@ declare interface SwitchStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ unselectedColor?: ResourceColor; @@ -189,7 +189,7 @@ declare interface SwitchStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pointColor?: ResourceColor; @@ -200,7 +200,7 @@ declare interface SwitchStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ trackBorderRadius?: number | Resource; } @@ -213,7 +213,7 @@ declare interface SwitchStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface ToggleConfiguration extends CommonConfiguration { @@ -224,7 +224,7 @@ declare interface ToggleConfiguration extends CommonConfiguration; } @@ -259,7 +259,7 @@ declare interface ToggleConfiguration extends CommonConfiguration { @@ -518,7 +518,7 @@ declare class ToggleAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ onChange(callback: (isOn: boolean) => void): ToggleAttribute; @@ -530,7 +530,7 @@ declare class ToggleAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentModifier(modifier: ContentModifier): ToggleAttribute; @@ -570,7 +570,7 @@ declare class ToggleAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedColor(value: ResourceColor): ToggleAttribute; @@ -610,7 +610,7 @@ declare class ToggleAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ switchPointColor(color: ResourceColor): ToggleAttribute; @@ -622,7 +622,7 @@ declare class ToggleAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ switchStyle(value: SwitchStyle): ToggleAttribute; } @@ -655,7 +655,7 @@ declare class ToggleAttribute extends CommonMethod { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Toggle: ToggleInterface; @@ -688,7 +688,7 @@ declare const Toggle: ToggleInterface; * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const ToggleInstance: ToggleAttribute; diff --git a/api/@internal/component/ets/toolbar.d.ts b/api/@internal/component/ets/toolbar.d.ts index a874af7b58..b187598ce9 100644 --- a/api/@internal/component/ets/toolbar.d.ts +++ b/api/@internal/component/ets/toolbar.d.ts @@ -24,7 +24,7 @@ * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 dynamic */ declare enum ToolBarItemPlacement { /** @@ -32,7 +32,7 @@ declare enum ToolBarItemPlacement { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 dynamic */ TOP_BAR_LEADING = 0, @@ -41,7 +41,7 @@ declare enum ToolBarItemPlacement { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 dynamic */ TOP_BAR_TRAILING = 1, } @@ -52,7 +52,7 @@ declare enum ToolBarItemPlacement { * @interface ToolBarItemOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 dynamic */ interface ToolBarItemOptions { /** @@ -61,7 +61,7 @@ interface ToolBarItemOptions { * @type { ?ToolBarItemPlacement } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 dynamic */ placement?: ToolBarItemPlacement; } @@ -72,7 +72,7 @@ interface ToolBarItemOptions { * @interface ToolBarItemInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 dynamic */ interface ToolBarItemInterface { /** @@ -82,7 +82,7 @@ interface ToolBarItemInterface { * @returns { ToolBarItemAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 dynamic */ (options?: ToolBarItemOptions): ToolBarItemAttribute; } @@ -92,7 +92,7 @@ interface ToolBarItemInterface { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 dynamic */ declare class ToolBarItemAttribute { } @@ -102,7 +102,7 @@ declare class ToolBarItemAttribute { } * @type { ToolBarItemInterface } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 dynamic */ declare const ToolBarItem: ToolBarItemInterface; @@ -112,6 +112,6 @@ declare const ToolBarItem: ToolBarItemInterface; * @type { ToolBarItemAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 dynamic */ declare const ToolBarItemInstance: ToolBarItemAttribute; \ No newline at end of file diff --git a/api/@internal/component/ets/ui_extension_component.d.ts b/api/@internal/component/ets/ui_extension_component.d.ts index 513a4f2058..b8fb985bcf 100644 --- a/api/@internal/component/ets/ui_extension_component.d.ts +++ b/api/@internal/component/ets/ui_extension_component.d.ts @@ -24,7 +24,7 @@ * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ declare enum DpiFollowStrategy { /** @@ -32,7 +32,7 @@ declare enum DpiFollowStrategy { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ FOLLOW_HOST_DPI = 0, @@ -41,7 +41,7 @@ declare enum DpiFollowStrategy { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ FOLLOW_UI_EXTENSION_ABILITY_DPI = 1, } @@ -51,21 +51,21 @@ declare enum DpiFollowStrategy { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ declare enum WindowModeFollowStrategy { /** * Followed the host Window Mode. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ FOLLOW_HOST_WINDOW_MODE = 0, /** * Followed the UIExtensionAbility. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ FOLLOW_UI_EXTENSION_ABILITY_WINDOW_MODE = 1 } @@ -76,7 +76,7 @@ declare enum WindowModeFollowStrategy { * @interface UIExtensionOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ declare interface UIExtensionOptions { /** @@ -87,7 +87,7 @@ declare interface UIExtensionOptions { * @default false * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ isTransferringCaller?: boolean; @@ -98,7 +98,7 @@ declare interface UIExtensionOptions { * @type { ?ComponentContent } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ placeholder?: ComponentContent; @@ -110,7 +110,7 @@ declare interface UIExtensionOptions { * @type { ?Record } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 14 + * @since 14 dynamic */ areaChangePlaceholder?: Record; @@ -121,7 +121,7 @@ declare interface UIExtensionOptions { * @default DpiFollowStrategy.FOLLOW_UI_EXTENSION_ABILITY_DPI * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ dpiFollowStrategy?: DpiFollowStrategy; @@ -131,7 +131,7 @@ declare interface UIExtensionOptions { * @default WindowModeFollowStrategy.FOLLOW_UI_EXTENSION_ABILITY_WINDOW_MODE * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ windowModeFollowStrategy?: WindowModeFollowStrategy; } @@ -142,7 +142,7 @@ declare interface UIExtensionOptions { * @interface TerminationInfo * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ declare interface TerminationInfo { /** @@ -151,7 +151,7 @@ declare interface TerminationInfo { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ code: number; @@ -161,7 +161,7 @@ declare interface TerminationInfo { * @type { ?import('../api/@ohos.app.ability.Want').default } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ want?: import('../api/@ohos.app.ability.Want').default; } @@ -173,7 +173,7 @@ declare interface TerminationInfo { * @typedef { import('../api/@ohos.base').Callback> } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ declare type ReceiveCallback = import('../api/@ohos.base').Callback>; /** @@ -184,7 +184,7 @@ declare type ReceiveCallback = import('../api/@ohos.base').Callback } data * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ send(data: Record): void; @@ -227,7 +227,7 @@ declare interface UIExtensionProxy { * @throws { BusinessError } 100012 - Transferring data failed. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ sendSync(data: Record): Record; @@ -248,7 +248,7 @@ declare interface UIExtensionProxy { * @param { Callback } callback - Callback of the listened event. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ on(type: 'asyncReceiverRegister', callback: Callback): void; @@ -269,7 +269,7 @@ declare interface UIExtensionProxy { * @param { Callback } callback - Callback of the listened event. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ on(type: 'syncReceiverRegister', callback: Callback): void; @@ -290,7 +290,7 @@ declare interface UIExtensionProxy { * @param { Callback } [callback] - Callback of the listened event. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ off(type: 'asyncReceiverRegister', callback?: Callback): void; @@ -311,7 +311,7 @@ declare interface UIExtensionProxy { * @param { Callback } [callback] - Callback of the listened event. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ off(type: 'syncReceiverRegister', callback?: Callback): void; } @@ -323,7 +323,7 @@ declare interface UIExtensionProxy { * @interface UIExtensionComponentInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic * @noninterop */ interface UIExtensionComponentInterface { @@ -346,7 +346,7 @@ interface UIExtensionComponentInterface { * @returns { UIExtensionComponentAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 11 + * @since 11 dynamic */ ( want: import('../api/@ohos.app.ability.Want').default, @@ -360,7 +360,7 @@ interface UIExtensionComponentInterface { * @extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic * @noninterop */ declare class UIExtensionComponentAttribute extends CommonMethod { @@ -371,7 +371,7 @@ declare class UIExtensionComponentAttribute extends CommonMethod @@ -392,7 +392,7 @@ declare class UIExtensionComponentAttribute extends CommonMethod): UIExtensionComponentAttribute; @@ -457,7 +457,7 @@ declare class UIExtensionComponentAttribute extends CommonMethod): UIExtensionComponentAttribute; } @@ -467,7 +467,7 @@ declare class UIExtensionComponentAttribute extends CommonMethod void; @@ -1899,7 +1899,7 @@ declare type VoidCallback = () => void; * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type LengthMetricsUnit = import('../api/arkui/Graphics').LengthMetricsUnit; @@ -1910,7 +1910,7 @@ declare type LengthMetricsUnit = import('../api/arkui/Graphics').LengthMetricsUn * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type LengthMetrics = import('../api/arkui/Graphics').LengthMetrics; @@ -1921,7 +1921,7 @@ declare type LengthMetrics = import('../api/arkui/Graphics').LengthMetrics; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type ColorMetrics = import('../api/arkui/Graphics').ColorMetrics; @@ -1947,7 +1947,7 @@ declare type ColorMetrics = import('../api/arkui/Graphics').ColorMetrics; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface Font { /** @@ -1972,7 +1972,7 @@ declare interface Font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ size?: Length; @@ -1998,7 +1998,7 @@ declare interface Font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ weight?: FontWeight | number | string; @@ -2024,7 +2024,7 @@ declare interface Font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ family?: string | Resource; @@ -2050,7 +2050,7 @@ declare interface Font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ style?: FontStyle; } @@ -2087,7 +2087,7 @@ declare interface Font { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface Area { /** @@ -2122,7 +2122,7 @@ declare interface Area { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ width: Length; @@ -2158,7 +2158,7 @@ declare interface Area { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ height: Length; @@ -2194,7 +2194,7 @@ declare interface Area { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ position: Position; @@ -2230,7 +2230,7 @@ declare interface Area { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ globalPosition: Position; } @@ -2267,7 +2267,7 @@ declare interface Area { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface Position { /** @@ -2302,7 +2302,7 @@ declare interface Position { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ x?: Length; @@ -2338,7 +2338,7 @@ declare interface Position { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ y?: Length; } @@ -2350,7 +2350,7 @@ declare interface Position { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface LocalizedPosition { /** @@ -2360,7 +2360,7 @@ declare interface LocalizedPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ start?: LengthMetrics; @@ -2371,7 +2371,7 @@ declare interface LocalizedPosition { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ top?: LengthMetrics; } @@ -2384,7 +2384,7 @@ declare interface LocalizedPosition { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface Edges { /** @@ -2395,7 +2395,7 @@ declare interface Edges { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ top?: Dimension; @@ -2407,7 +2407,7 @@ declare interface Edges { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ left?: Dimension; @@ -2419,7 +2419,7 @@ declare interface Edges { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ bottom?: Dimension; @@ -2431,7 +2431,7 @@ declare interface Edges { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ right?: Dimension; } @@ -2443,7 +2443,7 @@ declare interface Edges { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface LocalizedEdges { /** @@ -2453,7 +2453,7 @@ declare interface LocalizedEdges { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ top?: LengthMetrics; @@ -2464,7 +2464,7 @@ declare interface LocalizedEdges { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ start?: LengthMetrics; @@ -2475,7 +2475,7 @@ declare interface LocalizedEdges { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ bottom?: LengthMetrics; @@ -2486,7 +2486,7 @@ declare interface LocalizedEdges { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ end?: LengthMetrics; } @@ -2508,7 +2508,7 @@ declare interface LocalizedEdges { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface Bias { /** @@ -2530,7 +2530,7 @@ declare interface Bias { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ horizontal?: number; @@ -2553,7 +2553,7 @@ declare interface Bias { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ vertical?: number; } @@ -2590,7 +2590,7 @@ declare interface Bias { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface ConstraintSizeOptions { /** @@ -2625,7 +2625,7 @@ declare interface ConstraintSizeOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ minWidth?: Length; @@ -2661,7 +2661,7 @@ declare interface ConstraintSizeOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ maxWidth?: Length; @@ -2697,7 +2697,7 @@ declare interface ConstraintSizeOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ minHeight?: Length; @@ -2733,7 +2733,7 @@ declare interface ConstraintSizeOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ maxHeight?: Length; } @@ -2770,7 +2770,7 @@ declare interface ConstraintSizeOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface SizeOptions { /** @@ -2805,7 +2805,7 @@ declare interface SizeOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ width?: Length; @@ -2841,7 +2841,7 @@ declare interface SizeOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ height?: Length; } @@ -2888,7 +2888,7 @@ declare interface SizeOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface BorderOptions { /** @@ -2933,7 +2933,7 @@ declare interface BorderOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ width?: EdgeWidths | Length | LocalizedEdgeWidths; @@ -2979,7 +2979,7 @@ declare interface BorderOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ color?: EdgeColors | ResourceColor | LocalizedEdgeColors; @@ -3025,7 +3025,7 @@ declare interface BorderOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ radius?: BorderRadiuses | Length | LocalizedBorderRadiuses; @@ -3061,7 +3061,7 @@ declare interface BorderOptions { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ style?: EdgeStyles | BorderStyle; @@ -3072,7 +3072,7 @@ declare interface BorderOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dashGap?: EdgeWidths | LengthMetrics | LocalizedEdgeWidths; @@ -3083,7 +3083,7 @@ declare interface BorderOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dashWidth?: EdgeWidths | LengthMetrics | LocalizedEdgeWidths; } @@ -3105,7 +3105,7 @@ declare interface BorderOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface OutlineOptions { /** @@ -3125,7 +3125,7 @@ declare interface OutlineOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ width?: EdgeOutlineWidths | Dimension; @@ -3146,7 +3146,7 @@ declare interface OutlineOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ color?: EdgeColors | ResourceColor | LocalizedEdgeColors; @@ -3167,7 +3167,7 @@ declare interface OutlineOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ radius?: OutlineRadiuses | Dimension; @@ -3188,7 +3188,7 @@ declare interface OutlineOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ style?: EdgeOutlineStyles | OutlineStyle; } @@ -3208,7 +3208,7 @@ declare interface OutlineOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface MarkStyle { /** @@ -3226,7 +3226,7 @@ declare interface MarkStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeColor?: ResourceColor; @@ -3245,7 +3245,7 @@ declare interface MarkStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ size?: Length; @@ -3264,7 +3264,7 @@ declare interface MarkStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ strokeWidth?: Length; } @@ -3291,7 +3291,7 @@ declare interface MarkStyle { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class ColorFilter { /** @@ -3319,7 +3319,7 @@ declare class ColorFilter { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(value: number[]); } @@ -3346,7 +3346,7 @@ declare class ColorFilter { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface TouchPoint { /** @@ -3371,7 +3371,7 @@ declare interface TouchPoint { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ x: Dimension; @@ -3397,7 +3397,7 @@ declare interface TouchPoint { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ y: Dimension; } @@ -3410,7 +3410,7 @@ declare interface TouchPoint { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface DirectionalEdgesT { /** @@ -3421,7 +3421,7 @@ declare interface DirectionalEdgesT { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ start: T; @@ -3433,7 +3433,7 @@ declare interface DirectionalEdgesT { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ end: T; @@ -3445,7 +3445,7 @@ declare interface DirectionalEdgesT { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ top: T; @@ -3457,7 +3457,7 @@ declare interface DirectionalEdgesT { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ bottom: T; } @@ -3469,7 +3469,7 @@ declare interface DirectionalEdgesT { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface DividerStyleOptions { /** @@ -3479,7 +3479,7 @@ declare interface DividerStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ strokeWidth?: LengthMetrics; @@ -3490,7 +3490,7 @@ declare interface DividerStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ color?: ResourceColor; @@ -3501,7 +3501,7 @@ declare interface DividerStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ startMargin?: LengthMetrics; @@ -3512,7 +3512,7 @@ declare interface DividerStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ endMargin?: LengthMetrics; @@ -3523,7 +3523,7 @@ declare interface DividerStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ mode?: DividerMode; } @@ -3535,7 +3535,7 @@ declare interface DividerStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare interface ChainWeightOptions { /** @@ -3545,7 +3545,7 @@ declare interface ChainWeightOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ horizontal?: number; @@ -3556,7 +3556,7 @@ declare interface ChainWeightOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ vertical?: number; } @@ -3568,7 +3568,7 @@ declare interface ChainWeightOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ declare interface AccessibilityOptions { /** @@ -3578,7 +3578,7 @@ declare interface AccessibilityOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityPreferred?: boolean; } @@ -3589,7 +3589,7 @@ declare interface AccessibilityOptions { * @interface ScrollBarMargin * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface ScrollBarMargin { /** @@ -3598,7 +3598,7 @@ declare interface ScrollBarMargin { * @type { ?LengthMetrics } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ start?: LengthMetrics; @@ -3608,7 +3608,7 @@ declare interface ScrollBarMargin { * @type { ?LengthMetrics } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ end?: LengthMetrics; } \ No newline at end of file diff --git a/api/@internal/component/ets/video.d.ts b/api/@internal/component/ets/video.d.ts index e1bb093a2e..7e5e492ccd 100644 --- a/api/@internal/component/ets/video.d.ts +++ b/api/@internal/component/ets/video.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum SeekMode { /** @@ -62,7 +62,7 @@ declare enum SeekMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ PreviousKeyframe, @@ -85,7 +85,7 @@ declare enum SeekMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ NextKeyframe, @@ -108,7 +108,7 @@ declare enum SeekMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ ClosestKeyframe, @@ -131,7 +131,7 @@ declare enum SeekMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Accurate, } @@ -158,7 +158,7 @@ declare enum SeekMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare enum PlaybackSpeed { /** @@ -180,7 +180,7 @@ declare enum PlaybackSpeed { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Speed_Forward_0_75_X, @@ -203,7 +203,7 @@ declare enum PlaybackSpeed { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Speed_Forward_1_00_X, @@ -226,7 +226,7 @@ declare enum PlaybackSpeed { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Speed_Forward_1_25_X, @@ -249,7 +249,7 @@ declare enum PlaybackSpeed { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Speed_Forward_1_75_X, @@ -272,7 +272,7 @@ declare enum PlaybackSpeed { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Speed_Forward_2_00_X, } @@ -284,7 +284,7 @@ declare enum PlaybackSpeed { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface FullscreenInfo { /** @@ -311,7 +311,7 @@ interface FullscreenInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fullscreen: boolean; } @@ -323,7 +323,7 @@ interface FullscreenInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface PreparedInfo { /** @@ -350,7 +350,7 @@ interface PreparedInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ duration: number; } @@ -362,7 +362,7 @@ interface PreparedInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface PlaybackInfo { /** @@ -389,7 +389,7 @@ interface PlaybackInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ time: number; } @@ -400,7 +400,7 @@ interface PlaybackInfo { * @interface PosterOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface PosterOptions { /** @@ -410,7 +410,7 @@ declare interface PosterOptions { * @default false * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ showFirstFrame?: boolean; } @@ -446,7 +446,7 @@ declare interface PosterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface VideoOptions { /** @@ -471,7 +471,7 @@ declare interface VideoOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ src?: string | Resource; @@ -497,7 +497,7 @@ declare interface VideoOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ currentProgressRate?: number | string | PlaybackSpeed; @@ -523,7 +523,7 @@ declare interface VideoOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ previewUri?: string | PixelMap | Resource; @@ -549,7 +549,7 @@ declare interface VideoOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ controller?: VideoController; @@ -559,7 +559,7 @@ declare interface VideoOptions { * @type { ?ImageAIOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ imageAIOptions?: ImageAIOptions; @@ -569,7 +569,7 @@ declare interface VideoOptions { * @type { ?PosterOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ posterOptions?: PosterOptions; } @@ -593,7 +593,7 @@ declare interface VideoOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class VideoController { /** @@ -615,7 +615,7 @@ declare class VideoController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -638,7 +638,7 @@ declare class VideoController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ start(); @@ -661,7 +661,7 @@ declare class VideoController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pause(); @@ -684,7 +684,7 @@ declare class VideoController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ stop(); @@ -710,7 +710,7 @@ declare class VideoController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ setCurrentTime(value: number); @@ -736,7 +736,7 @@ declare class VideoController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ requestFullscreen(value: boolean); @@ -759,7 +759,7 @@ declare class VideoController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ exitFullscreen(); @@ -788,7 +788,7 @@ declare class VideoController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ setCurrentTime(value: number, seekMode: SeekMode); @@ -797,7 +797,7 @@ declare class VideoController { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ reset(): void; } @@ -824,7 +824,7 @@ declare class VideoController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface VideoInterface { @@ -853,7 +853,7 @@ interface VideoInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (value: VideoOptions): VideoAttribute; } @@ -880,7 +880,7 @@ interface VideoInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class VideoAttribute extends CommonMethod { @@ -909,7 +909,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ muted(value: boolean): VideoAttribute; @@ -938,7 +938,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ autoPlay(value: boolean): VideoAttribute; @@ -967,7 +967,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ controls(value: boolean): VideoAttribute; @@ -996,7 +996,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ loop(value: boolean): VideoAttribute; @@ -1025,7 +1025,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ objectFit(value: ImageFit): VideoAttribute; @@ -1065,7 +1065,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onStart(event: VoidCallback): VideoAttribute; @@ -1105,7 +1105,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onPause(event: VoidCallback): VideoAttribute; @@ -1145,7 +1145,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onFinish(event: VoidCallback): VideoAttribute; @@ -1185,7 +1185,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onFullscreenChange(callback: Callback): VideoAttribute; @@ -1225,7 +1225,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onPrepared(callback: Callback): VideoAttribute; @@ -1265,7 +1265,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onSeeking(callback: Callback): VideoAttribute; @@ -1305,7 +1305,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onSeeked(callback: Callback): VideoAttribute; @@ -1345,7 +1345,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onUpdate(callback: Callback): VideoAttribute; @@ -1384,7 +1384,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onError(event: VoidCallback | import('../api/@ohos.base').ErrorCallback): VideoAttribute; @@ -1396,7 +1396,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onStop(event: Callback): VideoAttribute; @@ -1407,7 +1407,7 @@ declare class VideoAttribute extends CommonMethod { * @returns { VideoAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ enableAnalyzer(enable: boolean): VideoAttribute; @@ -1418,7 +1418,7 @@ declare class VideoAttribute extends CommonMethod { * @returns { VideoAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ analyzerConfig(config: ImageAnalyzerConfig): VideoAttribute; @@ -1429,7 +1429,7 @@ declare class VideoAttribute extends CommonMethod { * @returns { VideoAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 15 + * @since 15 dynamic */ surfaceBackgroundColor(color: ColorMetrics): VideoAttribute; @@ -1444,7 +1444,7 @@ declare class VideoAttribute extends CommonMethod { * @returns { VideoAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ enableShortcutKey(enabled: boolean): VideoAttribute; } @@ -1468,7 +1468,7 @@ declare class VideoAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Video: VideoInterface; @@ -1492,7 +1492,7 @@ declare const Video: VideoInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const VideoInstance: VideoAttribute; diff --git a/api/@internal/component/ets/water_flow.d.ts b/api/@internal/component/ets/water_flow.d.ts index 8c8a90fa55..0d17563e5d 100644 --- a/api/@internal/component/ets/water_flow.d.ts +++ b/api/@internal/component/ets/water_flow.d.ts @@ -27,7 +27,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type GetItemMainSizeByIndex = (index: number) => number; @@ -37,7 +37,7 @@ declare type GetItemMainSizeByIndex = (index: number) => number; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class SectionOptions { /** @@ -48,7 +48,7 @@ declare class SectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ itemsCount: number; @@ -61,7 +61,7 @@ declare class SectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ crossCount?: number; @@ -82,7 +82,7 @@ declare class SectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onGetItemMainSizeByIndex?: GetItemMainSizeByIndex; @@ -95,7 +95,7 @@ declare class SectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ columnsGap?: Dimension; @@ -108,7 +108,7 @@ declare class SectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ rowsGap?: Dimension; @@ -120,7 +120,7 @@ declare class SectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ margin?: Margin | Dimension; } @@ -131,7 +131,7 @@ declare class SectionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class WaterFlowSections { /** @@ -140,7 +140,7 @@ declare class WaterFlowSections { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(); @@ -164,7 +164,7 @@ declare class WaterFlowSections { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ splice(start: number, deleteCount?: number, sections?: Array): boolean; @@ -176,7 +176,7 @@ declare class WaterFlowSections { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ push(section: SectionOptions): boolean; @@ -192,7 +192,7 @@ declare class WaterFlowSections { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ update(sectionIndex:number, section: SectionOptions): boolean; @@ -203,7 +203,7 @@ declare class WaterFlowSections { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ values(): Array; @@ -214,7 +214,7 @@ declare class WaterFlowSections { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ length(): number; } @@ -226,7 +226,7 @@ declare class WaterFlowSections { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare enum WaterFlowLayoutMode { /** @@ -236,7 +236,7 @@ declare enum WaterFlowLayoutMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ALWAYS_TOP_DOWN = 0, @@ -260,7 +260,7 @@ declare enum WaterFlowLayoutMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SLIDING_WINDOW = 1, } @@ -287,7 +287,7 @@ declare enum WaterFlowLayoutMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface WaterFlowOptions { /** @@ -312,7 +312,7 @@ declare interface WaterFlowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ footer?: CustomBuilder; @@ -323,7 +323,7 @@ declare interface WaterFlowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ footerContent?: ComponentContent; @@ -353,7 +353,7 @@ declare interface WaterFlowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scroller?: Scroller; @@ -369,7 +369,7 @@ declare interface WaterFlowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ sections?: WaterFlowSections; @@ -381,7 +381,7 @@ declare interface WaterFlowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ layoutMode?: WaterFlowLayoutMode; } @@ -394,7 +394,7 @@ declare interface WaterFlowOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare interface UIWaterFlowEvent extends UIScrollableCommonEvent { /** @@ -404,7 +404,7 @@ declare interface UIWaterFlowEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnWillScroll(callback: OnWillScrollCallback | undefined): void; @@ -415,7 +415,7 @@ declare interface UIWaterFlowEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnDidScroll(callback: OnScrollCallback | undefined): void; @@ -427,7 +427,7 @@ declare interface UIWaterFlowEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ setOnScrollIndex(callback: OnWaterFlowScrollIndexCallback | undefined): void; } @@ -441,7 +441,7 @@ declare interface UIWaterFlowEvent extends UIScrollableCommonEvent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare type OnWaterFlowScrollIndexCallback = (first: number, last: number) => void; @@ -467,7 +467,7 @@ declare type OnWaterFlowScrollIndexCallback = (first: number, last: number) => v * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ interface WaterFlowInterface { @@ -496,7 +496,7 @@ interface WaterFlowInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (options?: WaterFlowOptions): WaterFlowAttribute; } @@ -523,7 +523,7 @@ interface WaterFlowInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare class WaterFlowAttribute extends ScrollableCommonMethod { @@ -552,7 +552,7 @@ declare class WaterFlowAttribute extends ScrollableCommonMethod void): WaterFlowAttribute; @@ -873,7 +873,7 @@ declare class WaterFlowAttribute extends ScrollableCommonMethod void): WaterFlowAttribute; @@ -905,7 +905,7 @@ declare class WaterFlowAttribute extends ScrollableCommonMethod void): WaterFlowAttribute; } @@ -954,7 +954,7 @@ declare class WaterFlowAttribute extends ScrollableCommonMethod void; @@ -83,8 +82,8 @@ type OnNavigationEntryCommittedCallback = (loadCommittedDetails: LoadCommittedDe * @param { SslErrorEvent } sslErrorEvent - callback information of onSslErrorEvent. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnSslErrorEventCallback = (sslErrorEvent: SslErrorEvent) => void; @@ -95,8 +94,8 @@ type OnSslErrorEventCallback = (sslErrorEvent: SslErrorEvent) => void; * @param { LargestContentfulPaint } largestContentfulPaint - callback information of onLargestContentfulPaint. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnLargestContentfulPaintCallback = (largestContentfulPaint: LargestContentfulPaint) => void; @@ -107,8 +106,8 @@ type OnLargestContentfulPaintCallback = (largestContentfulPaint: LargestContentf * @param { FirstMeaningfulPaint } firstMeaningfulPaint - callback information of onFirstMeaningfulPaint. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnFirstMeaningfulPaintCallback = (firstMeaningfulPaint: FirstMeaningfulPaint) => void; @@ -122,8 +121,8 @@ type OnFirstMeaningfulPaintCallback = (firstMeaningfulPaint: FirstMeaningfulPain * false causes the Web to continue loading the url as usual. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnOverrideUrlLoadingCallback = (webResourceRequest: WebResourceRequest) => boolean; @@ -134,8 +133,8 @@ type OnOverrideUrlLoadingCallback = (webResourceRequest: WebResourceRequest) => * @param { IntelligentTrackingPreventionDetails } details - callback information of onIntelligentTrackingPrevention. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnIntelligentTrackingPreventionCallback = (details: IntelligentTrackingPreventionDetails) => void; @@ -145,8 +144,8 @@ type OnIntelligentTrackingPreventionCallback = (details: IntelligentTrackingPrev * @typedef { function } OnNativeEmbedVisibilityChangeCallback * @param { NativeEmbedVisibilityInfo } nativeEmbedVisibilityInfo - callback information of onNativeEmbedVisibilityChange. * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnNativeEmbedVisibilityChangeCallback = (nativeEmbedVisibilityInfo: NativeEmbedVisibilityInfo) => void; @@ -156,8 +155,8 @@ type OnNativeEmbedVisibilityChangeCallback = (nativeEmbedVisibilityInfo: NativeE * @typedef NativeMediaPlayerConfig * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface NativeMediaPlayerConfig { /** @@ -168,8 +167,8 @@ declare interface NativeMediaPlayerConfig { * Deflault value: false. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enable: boolean; @@ -181,8 +180,8 @@ declare interface NativeMediaPlayerConfig { * Deflault value: false. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ shouldOverlay: boolean; } @@ -193,8 +192,8 @@ declare interface NativeMediaPlayerConfig { * @typedef { function } OnRenderProcessNotRespondingCallback * @param { RenderProcessNotRespondingData } data - details of onRenderProcessNotResponding. * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnRenderProcessNotRespondingCallback = (data : RenderProcessNotRespondingData) => void; @@ -203,8 +202,8 @@ type OnRenderProcessNotRespondingCallback = (data : RenderProcessNotRespondingDa * * @typedef { function } OnRenderProcessRespondingCallback * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnRenderProcessRespondingCallback = () => void; @@ -215,8 +214,8 @@ type OnRenderProcessRespondingCallback = () => void; * @param { ViewportFit } viewportFit - details of OnViewportFitChangedCallback. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnViewportFitChangedCallback = (viewportFit: ViewportFit) => void; @@ -227,8 +226,8 @@ type OnViewportFitChangedCallback = (viewportFit: ViewportFit) => void; * @param { AdsBlockedDetails } details - details of OnAdsBlockedCallback. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnAdsBlockedCallback = (details: AdsBlockedDetails) => void; @@ -238,8 +237,8 @@ type OnAdsBlockedCallback = (details: AdsBlockedDetails) => void; * @interface AdsBlockedDetails * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface AdsBlockedDetails { /** @@ -248,8 +247,8 @@ declare interface AdsBlockedDetails { * @type { string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ url: string; @@ -259,8 +258,8 @@ declare interface AdsBlockedDetails { * @type { Array } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ adsBlocked: Array; } @@ -271,8 +270,8 @@ declare interface AdsBlockedDetails { * @interface WebKeyboardOptions * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface WebKeyboardOptions { /** @@ -281,8 +280,8 @@ declare interface WebKeyboardOptions { * @type { boolean } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ useSystemKeyboard: boolean; @@ -292,8 +291,8 @@ declare interface WebKeyboardOptions { * @type { ?int } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enterKeyType?: int; @@ -303,8 +302,8 @@ declare interface WebKeyboardOptions { * @type { ?CustomBuilder } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ customKeyboard?: CustomBuilder; } @@ -314,8 +313,8 @@ declare interface WebKeyboardOptions { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare class WebKeyboardController { /** @@ -323,8 +322,8 @@ declare class WebKeyboardController { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(); @@ -333,8 +332,8 @@ declare class WebKeyboardController { * * @param { string } text - text which will be inserted. * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ insertText(text: string): void; @@ -343,8 +342,8 @@ declare class WebKeyboardController { * * @param { int } length - length of text, which will be deleted from back to front. * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deleteForward(length: int): void; @@ -353,8 +352,8 @@ declare class WebKeyboardController { * * @param { int } length - length of text, which will be deleted from front to back. * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deleteBackward(length: int): void; @@ -363,8 +362,8 @@ declare class WebKeyboardController { * * @param { int } key - action indicates the "enter" key related to the {@link inputMethodEngine} * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sendFunctionKey(key: int): void; @@ -372,8 +371,8 @@ declare class WebKeyboardController { * Close the custom keyboard. * * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ close(): void; } @@ -384,8 +383,8 @@ declare class WebKeyboardController { * @interface WebKeyboardCallbackInfo * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface WebKeyboardCallbackInfo { /** @@ -394,8 +393,8 @@ declare interface WebKeyboardCallbackInfo { * @type { WebKeyboardController } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ controller: WebKeyboardController; @@ -405,8 +404,8 @@ declare interface WebKeyboardCallbackInfo { * @type { Record } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ attributes: Record; } @@ -419,8 +418,8 @@ declare interface WebKeyboardCallbackInfo { * @returns { WebKeyboardOptions } Return the web keyboard options of this web component. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type WebKeyboardCallback = (keyboardCallbackInfo: WebKeyboardCallbackInfo) => WebKeyboardOptions; @@ -438,8 +437,8 @@ type WebKeyboardCallback = (keyboardCallbackInfo: WebKeyboardCallbackInfo) => We * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum MessageLevel { /** @@ -454,8 +453,8 @@ declare enum MessageLevel { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Debug, @@ -471,8 +470,8 @@ declare enum MessageLevel { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Error, @@ -488,8 +487,8 @@ declare enum MessageLevel { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Info, @@ -505,8 +504,8 @@ declare enum MessageLevel { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Log, @@ -522,8 +521,8 @@ declare enum MessageLevel { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Warn } @@ -550,8 +549,8 @@ declare enum MessageLevel { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ declare enum MixedMode { /** @@ -573,8 +572,8 @@ declare enum MixedMode { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ All = 0, @@ -597,8 +596,8 @@ declare enum MixedMode { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ Compatible = 1, @@ -621,8 +620,8 @@ declare enum MixedMode { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ None = 2 } @@ -634,8 +633,8 @@ declare enum MixedMode { * @param { ThreatType } threatType - callback information of onSafeBrowsingCheckResult. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type OnSafeBrowsingCheckResultCallback = (threatType: ThreatType) => void; @@ -652,8 +651,8 @@ type OnSafeBrowsingCheckResultCallback = (threatType: ThreatType) => void; * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum HitTestType { /** @@ -667,8 +666,8 @@ declare enum HitTestType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ EditText = 0, @@ -683,8 +682,8 @@ declare enum HitTestType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Email = 1, @@ -699,8 +698,8 @@ declare enum HitTestType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ HttpAnchor = 2, @@ -715,8 +714,8 @@ declare enum HitTestType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ HttpAnchorImg = 3, @@ -731,8 +730,8 @@ declare enum HitTestType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Img = 4, @@ -747,8 +746,8 @@ declare enum HitTestType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Map = 5, @@ -763,8 +762,8 @@ declare enum HitTestType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Phone = 6, @@ -779,8 +778,8 @@ declare enum HitTestType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Unknown = 7 } @@ -807,8 +806,8 @@ declare enum HitTestType { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ declare enum CacheMode { /** @@ -830,8 +829,8 @@ declare enum CacheMode { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ Default = 0, @@ -854,8 +853,8 @@ declare enum CacheMode { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ None = 1, @@ -878,8 +877,8 @@ declare enum CacheMode { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ Online = 2, @@ -902,8 +901,8 @@ declare enum CacheMode { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ Only = 3 } @@ -914,8 +913,8 @@ declare enum CacheMode { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum OverScrollMode { /** @@ -923,8 +922,8 @@ declare enum OverScrollMode { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NEVER = 0, @@ -933,8 +932,8 @@ declare enum OverScrollMode { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ALWAYS = 1 } @@ -945,8 +944,8 @@ declare enum OverScrollMode { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ declare enum BlurOnKeyboardHideMode { /** @@ -954,8 +953,8 @@ declare enum BlurOnKeyboardHideMode { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ SILENT = 0, @@ -964,8 +963,8 @@ declare enum BlurOnKeyboardHideMode { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ BLUR = 1 } @@ -983,8 +982,8 @@ declare enum BlurOnKeyboardHideMode { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum WebDarkMode { /** @@ -998,8 +997,8 @@ declare enum WebDarkMode { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Off = 0, @@ -1014,8 +1013,8 @@ declare enum WebDarkMode { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ On = 1, @@ -1030,8 +1029,8 @@ declare enum WebDarkMode { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Auto = 2 } @@ -1049,8 +1048,8 @@ declare enum WebDarkMode { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum WebCaptureMode { /** @@ -1062,8 +1061,8 @@ declare enum WebCaptureMode { * Capture of the home screen. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ HOME_SCREEN = 0 } @@ -1074,8 +1073,8 @@ declare enum WebCaptureMode { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum ThreatType { /** @@ -1083,8 +1082,8 @@ declare enum ThreatType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ THREAT_ILLEGAL = 0, @@ -1093,8 +1092,8 @@ declare enum ThreatType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ THREAT_FRAUD = 1, @@ -1103,8 +1102,8 @@ declare enum ThreatType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ THREAT_RISK = 2, @@ -1114,8 +1113,8 @@ declare enum ThreatType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ THREAT_WARNING = 3 } @@ -1141,8 +1140,8 @@ declare enum ThreatType { * @typedef WebMediaOptions * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface WebMediaOptions { /** @@ -1160,8 +1159,8 @@ declare interface WebMediaOptions { * @type { ?int } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ resumeInterval?: int; @@ -1178,8 +1177,8 @@ declare interface WebMediaOptions { * @type { ?boolean } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ audioExclusive?: boolean; @@ -1188,8 +1187,7 @@ declare interface WebMediaOptions { * * @type { ?AudioSessionType } * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ audioSessionType?: AudioSessionType; } @@ -1215,8 +1213,8 @@ declare interface WebMediaOptions { * @typedef ScreenCaptureConfig * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface ScreenCaptureConfig { /** @@ -1232,8 +1230,8 @@ declare interface ScreenCaptureConfig { * @type { WebCaptureMode } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ captureMode: WebCaptureMode; } @@ -1257,8 +1255,8 @@ declare interface ScreenCaptureConfig { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ declare class FullScreenExitHandler { /** @@ -1280,8 +1278,8 @@ declare class FullScreenExitHandler { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ constructor(); @@ -1304,8 +1302,8 @@ declare class FullScreenExitHandler { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ exitFullScreen(): void; } @@ -1325,8 +1323,8 @@ declare class FullScreenExitHandler { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ declare interface FullScreenEnterEvent { /** @@ -1344,8 +1342,8 @@ declare interface FullScreenEnterEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ handler: FullScreenExitHandler; @@ -1364,8 +1362,8 @@ declare interface FullScreenEnterEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ videoWidth?: number; @@ -1384,8 +1382,8 @@ declare interface FullScreenEnterEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ videoHeight?: number; } @@ -1407,8 +1405,8 @@ declare interface FullScreenEnterEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ type OnFullScreenEnterCallback = (event: FullScreenEnterEvent) => void; @@ -1419,7 +1417,7 @@ type OnFullScreenEnterCallback = (event: FullScreenEnterEvent) => void; * @typedef { function } MouseInfoCallback * @param { NativeEmbedMouseInfo } event - callback information of mouse event in native embed area. * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ type MouseInfoCallback = (event: NativeEmbedMouseInfo) => void; @@ -1436,8 +1434,8 @@ type MouseInfoCallback = (event: NativeEmbedMouseInfo) => void; * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum RenderExitReason { /** @@ -1451,8 +1449,8 @@ declare enum RenderExitReason { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ProcessAbnormalTermination = 0, @@ -1467,8 +1465,8 @@ declare enum RenderExitReason { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ProcessWasKilled = 1, @@ -1483,8 +1481,8 @@ declare enum RenderExitReason { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ProcessCrashed = 2, @@ -1499,8 +1497,8 @@ declare enum RenderExitReason { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ProcessOom = 3, @@ -1515,8 +1513,8 @@ declare enum RenderExitReason { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ProcessExitUnknown = 4 } @@ -1527,8 +1525,8 @@ declare enum RenderExitReason { * @typedef { function } OnContextMenuHideCallback * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type OnContextMenuHideCallback = () => void; @@ -1545,8 +1543,8 @@ type OnContextMenuHideCallback = () => void; * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum SslError { /** @@ -1560,8 +1558,8 @@ declare enum SslError { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Invalid = 0, @@ -1576,8 +1574,8 @@ declare enum SslError { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ HostMismatch = 1, @@ -1592,8 +1590,8 @@ declare enum SslError { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DateInvalid = 2, @@ -1608,8 +1606,8 @@ declare enum SslError { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Untrusted = 3 } @@ -1628,8 +1626,8 @@ declare enum SslError { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum FileSelectorMode { /** @@ -1644,8 +1642,8 @@ declare enum FileSelectorMode { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FileOpenMode = 0, @@ -1661,8 +1659,8 @@ declare enum FileSelectorMode { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FileOpenMultipleMode = 1, @@ -1678,8 +1676,8 @@ declare enum FileSelectorMode { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FileOpenFolderMode = 2, @@ -1695,8 +1693,8 @@ declare enum FileSelectorMode { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FileSaveMode = 3 } @@ -1707,8 +1705,8 @@ declare enum FileSelectorMode { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum WebLayoutMode { /** @@ -1716,8 +1714,8 @@ declare enum WebLayoutMode { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NONE = 0, @@ -1726,8 +1724,8 @@ declare enum WebLayoutMode { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FIT_CONTENT = 1 } @@ -1737,16 +1735,16 @@ declare enum WebLayoutMode { * * @enum { number } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare enum RenderProcessNotRespondingReason { /** * Timeout for input sent to render process. * * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INPUT_TIMEOUT = 0, @@ -1754,8 +1752,8 @@ declare enum RenderProcessNotRespondingReason { * The new webpage loading navigation response timed out. * * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NAVIGATION_COMMIT_TIMEOUT = 1 } @@ -1772,8 +1770,8 @@ declare enum RenderProcessNotRespondingReason { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class FileSelectorParam { /** @@ -1788,8 +1786,8 @@ declare class FileSelectorParam { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -1805,8 +1803,8 @@ declare class FileSelectorParam { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getTitle(): string; @@ -1822,8 +1820,8 @@ declare class FileSelectorParam { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getMode(): FileSelectorMode; @@ -1839,8 +1837,8 @@ declare class FileSelectorParam { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getAcceptType(): Array; @@ -1858,8 +1856,8 @@ declare class FileSelectorParam { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isCapture(): boolean; @@ -1867,8 +1865,8 @@ declare class FileSelectorParam { * Gets an array of raw acceptable MIME type. * @returns { Array } Return an array of raw acceptable MIME type. * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getMimeTypes(): Array; } @@ -1885,8 +1883,8 @@ declare class FileSelectorParam { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class JsResult { /** @@ -1901,8 +1899,8 @@ declare class JsResult { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -1918,8 +1916,8 @@ declare class JsResult { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ handleCancel(): void; @@ -1935,8 +1933,8 @@ declare class JsResult { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ handleConfirm(): void; @@ -1954,8 +1952,8 @@ declare class JsResult { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ handlePromptConfirm(result: string): void; } @@ -1972,8 +1970,8 @@ declare class JsResult { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class FileSelectorResult { /** @@ -1988,8 +1986,8 @@ declare class FileSelectorResult { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -2007,8 +2005,8 @@ declare class FileSelectorResult { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ handleFileList(fileList: Array): void; } @@ -2025,8 +2023,8 @@ declare class FileSelectorResult { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class HttpAuthHandler { /** @@ -2041,8 +2039,8 @@ declare class HttpAuthHandler { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -2064,8 +2062,8 @@ declare class HttpAuthHandler { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ confirm(userName: string, password: string): boolean; @@ -2081,8 +2079,8 @@ declare class HttpAuthHandler { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ cancel(): void; @@ -2100,8 +2098,8 @@ declare class HttpAuthHandler { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isHttpAuthInfoSaved(): boolean; } @@ -2117,8 +2115,8 @@ declare class HttpAuthHandler { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class SslErrorHandler { /** @@ -2132,8 +2130,8 @@ declare class SslErrorHandler { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -2148,8 +2146,8 @@ declare class SslErrorHandler { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ handleConfirm(): void; @@ -2164,8 +2162,8 @@ declare class SslErrorHandler { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ handleCancel(): void; @@ -2179,7 +2177,7 @@ declare class SslErrorHandler { * error page is enabled, the default error page will be shown instead. * The default value is false. * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ handleCancel(abortLoading: boolean): void; } @@ -2195,8 +2193,8 @@ declare class SslErrorHandler { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class ClientAuthenticationHandler { /** @@ -2210,8 +2208,8 @@ declare class ClientAuthenticationHandler { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -2230,8 +2228,8 @@ declare class ClientAuthenticationHandler { * @param { string } certChainFile - The file that store client certificate chain. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ confirm(priKeyFile: string, certChainFile: string): void; @@ -2248,8 +2246,8 @@ declare class ClientAuthenticationHandler { * @param { string } authUri is the key of credentials.The credentials contain sign info and client certificates info. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ confirm(authUri: string): void; @@ -2264,8 +2262,8 @@ declare class ClientAuthenticationHandler { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ cancel(): void; @@ -2280,8 +2278,8 @@ declare class ClientAuthenticationHandler { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ignore(): void; } @@ -2300,8 +2298,8 @@ declare class ClientAuthenticationHandler { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum ProtectedResourceType { /** @@ -2315,8 +2313,8 @@ declare enum ProtectedResourceType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MidiSysex = 'TYPE_MIDI_SYSEX', @@ -2332,8 +2330,8 @@ declare enum ProtectedResourceType { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ VIDEO_CAPTURE = 'TYPE_VIDEO_CAPTURE', @@ -2349,8 +2347,8 @@ declare enum ProtectedResourceType { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ AUDIO_CAPTURE = 'TYPE_AUDIO_CAPTURE', @@ -2359,8 +2357,8 @@ declare enum ProtectedResourceType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SENSOR = 'TYPE_SENSOR' } @@ -2377,8 +2375,8 @@ declare enum ProtectedResourceType { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class PermissionRequest { /** @@ -2393,8 +2391,8 @@ declare class PermissionRequest { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -2410,8 +2408,8 @@ declare class PermissionRequest { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ deny(): void; @@ -2429,8 +2427,8 @@ declare class PermissionRequest { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getOrigin(): string; @@ -2448,8 +2446,8 @@ declare class PermissionRequest { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getAccessibleResource(): Array; @@ -2467,8 +2465,8 @@ declare class PermissionRequest { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ grant(resources: Array): void; } @@ -2482,8 +2480,8 @@ declare class PermissionRequest { * Defines the onScreenCapture callback, related to {@link onScreenCapture} method. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class ScreenCaptureHandler { /** @@ -2495,8 +2493,8 @@ declare class ScreenCaptureHandler { * Constructor. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -2513,8 +2511,8 @@ declare class ScreenCaptureHandler { * @returns { string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getOrigin(): string; @@ -2529,8 +2527,8 @@ declare class ScreenCaptureHandler { * @param { ScreenCaptureConfig } config The screen capture configuration. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ grant(config: ScreenCaptureConfig): void; @@ -2543,8 +2541,8 @@ declare class ScreenCaptureHandler { * Rejects this screen capture request. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ deny(): void; } @@ -2560,8 +2558,8 @@ declare class ScreenCaptureHandler { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class DataResubmissionHandler { /** @@ -2575,8 +2573,8 @@ declare class DataResubmissionHandler { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -2591,8 +2589,8 @@ declare class DataResubmissionHandler { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ resend(): void; @@ -2607,8 +2605,8 @@ declare class DataResubmissionHandler { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ cancel(): void; } @@ -2624,8 +2622,8 @@ declare class DataResubmissionHandler { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class ControllerHandler { /** @@ -2639,8 +2637,8 @@ declare class ControllerHandler { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -2657,8 +2655,8 @@ declare class ControllerHandler { * @param { WebviewController } controller * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setWebController(controller: WebviewController): void; } @@ -2676,8 +2674,8 @@ declare class ControllerHandler { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum ContextMenuSourceType { /** @@ -2691,8 +2689,8 @@ declare enum ContextMenuSourceType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ None = 0, @@ -2707,8 +2705,8 @@ declare enum ContextMenuSourceType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Mouse = 1, @@ -2723,8 +2721,8 @@ declare enum ContextMenuSourceType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ LongPress = 2 } @@ -2742,8 +2740,8 @@ declare enum ContextMenuSourceType { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum ContextMenuMediaType { /** @@ -2757,8 +2755,8 @@ declare enum ContextMenuMediaType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ None = 0, @@ -2773,8 +2771,8 @@ declare enum ContextMenuMediaType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Image = 1 } @@ -2792,8 +2790,8 @@ declare enum ContextMenuMediaType { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum ContextMenuInputFieldType { /** @@ -2807,8 +2805,8 @@ declare enum ContextMenuInputFieldType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ None = 0, @@ -2823,8 +2821,8 @@ declare enum ContextMenuInputFieldType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PlainText = 1, @@ -2839,8 +2837,8 @@ declare enum ContextMenuInputFieldType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Password = 2, @@ -2855,8 +2853,8 @@ declare enum ContextMenuInputFieldType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Number = 3, @@ -2871,8 +2869,8 @@ declare enum ContextMenuInputFieldType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Telephone = 4, @@ -2887,8 +2885,8 @@ declare enum ContextMenuInputFieldType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Other = 5 } @@ -2902,8 +2900,8 @@ declare enum ContextMenuInputFieldType { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum NativeEmbedStatus { /** @@ -2911,8 +2909,8 @@ declare enum NativeEmbedStatus { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CREATE = 0, @@ -2921,8 +2919,8 @@ declare enum NativeEmbedStatus { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UPDATE = 1, @@ -2931,8 +2929,8 @@ declare enum NativeEmbedStatus { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DESTROY = 2, @@ -2941,8 +2939,8 @@ declare enum NativeEmbedStatus { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ENTER_BFCACHE = 3, @@ -2951,8 +2949,8 @@ declare enum NativeEmbedStatus { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LEAVE_BFCACHE = 4 } @@ -2970,8 +2968,8 @@ declare enum NativeEmbedStatus { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum ContextMenuEditStateFlags { /** @@ -2985,8 +2983,8 @@ declare enum ContextMenuEditStateFlags { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NONE = 0, @@ -3001,8 +2999,8 @@ declare enum ContextMenuEditStateFlags { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CAN_CUT = 1 << 0, @@ -3017,8 +3015,8 @@ declare enum ContextMenuEditStateFlags { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CAN_COPY = 1 << 1, @@ -3033,8 +3031,8 @@ declare enum ContextMenuEditStateFlags { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CAN_PASTE = 1 << 2, @@ -3049,8 +3047,8 @@ declare enum ContextMenuEditStateFlags { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CAN_SELECT_ALL = 1 << 3 } @@ -3061,8 +3059,8 @@ declare enum ContextMenuEditStateFlags { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum WebNavigationType { /** @@ -3070,8 +3068,8 @@ declare enum WebNavigationType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNKNOWN = 0, @@ -3083,8 +3081,8 @@ declare enum WebNavigationType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MAIN_FRAME_NEW_ENTRY = 1, @@ -3097,8 +3095,8 @@ declare enum WebNavigationType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MAIN_FRAME_EXISTING_ENTRY = 2, @@ -3107,8 +3105,8 @@ declare enum WebNavigationType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NAVIGATION_TYPE_NEW_SUBFRAME = 4, @@ -3117,8 +3115,8 @@ declare enum WebNavigationType { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NAVIGATION_TYPE_AUTO_SUBFRAME = 5 } @@ -3130,8 +3128,8 @@ declare enum WebNavigationType { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare enum RenderMode { /** @@ -3141,8 +3139,8 @@ declare enum RenderMode { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ASYNC_RENDER = 0, @@ -3153,8 +3151,8 @@ declare enum RenderMode { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SYNC_RENDER = 1 } @@ -3165,8 +3163,8 @@ declare enum RenderMode { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare enum ViewportFit { /** @@ -3174,8 +3172,8 @@ declare enum ViewportFit { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUTO = 0, @@ -3185,8 +3183,8 @@ declare enum ViewportFit { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONTAINS = 1, @@ -3196,8 +3194,8 @@ declare enum ViewportFit { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COVER = 2 } @@ -3213,8 +3211,8 @@ declare enum ViewportFit { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class WebContextMenuParam { /** @@ -3228,8 +3226,8 @@ declare class WebContextMenuParam { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -3248,8 +3246,8 @@ declare class WebContextMenuParam { * Unit: vp. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ x(): int; @@ -3268,8 +3266,8 @@ declare class WebContextMenuParam { * Unit: vp. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ y(): int; @@ -3286,8 +3284,8 @@ declare class WebContextMenuParam { * @returns { string } If relate to a link return link url, else return null. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getLinkUrl(): string; @@ -3304,8 +3302,8 @@ declare class WebContextMenuParam { * @returns { string } If relate to a link return unfiltered link url, else return null. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getUnfilteredLinkUrl(): string; @@ -3322,8 +3320,8 @@ declare class WebContextMenuParam { * @returns { string } If this context menu is "src" attribute, return link url, else return null. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getSourceUrl(): string; @@ -3340,8 +3338,8 @@ declare class WebContextMenuParam { * @returns { boolean } Return whether this context menu has image content. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ existsImageContents(): boolean; @@ -3358,8 +3356,8 @@ declare class WebContextMenuParam { * @returns { ContextMenuMediaType } Returns the type of context node. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getMediaType(): ContextMenuMediaType; @@ -3376,8 +3374,8 @@ declare class WebContextMenuParam { * @returns { string } Returns the text of the selection, or return null if no text is selected. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getSelectionText(): string; @@ -3394,8 +3392,8 @@ declare class WebContextMenuParam { * @returns { ContextMenuSourceType } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getSourceType(): ContextMenuSourceType; @@ -3412,8 +3410,8 @@ declare class WebContextMenuParam { * @returns { ContextMenuInputFieldType } Input field type if the context menu was invoked on an input field. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getInputFieldType(): ContextMenuInputFieldType; @@ -3430,8 +3428,8 @@ declare class WebContextMenuParam { * @returns { boolean } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isEditable(): boolean; @@ -3448,8 +3446,8 @@ declare class WebContextMenuParam { * @returns { int } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getEditStateFlags(): int; @@ -3458,8 +3456,8 @@ declare class WebContextMenuParam { * * @returns { int } The preview menu width. * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getPreviewWidth(): int; @@ -3468,8 +3466,8 @@ declare class WebContextMenuParam { * * @returns { int } The preview menu height. * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getPreviewHeight(): int; } @@ -3485,8 +3483,8 @@ declare class WebContextMenuParam { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class WebContextMenuResult { /** @@ -3500,8 +3498,8 @@ declare class WebContextMenuResult { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -3518,8 +3516,8 @@ declare class WebContextMenuResult { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ closeContextMenu(): void; @@ -3536,8 +3534,8 @@ declare class WebContextMenuResult { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ copyImage(): void; @@ -3552,8 +3550,8 @@ declare class WebContextMenuResult { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ copy(): void; @@ -3572,8 +3570,8 @@ declare class WebContextMenuResult { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ paste(): void; @@ -3588,8 +3586,8 @@ declare class WebContextMenuResult { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ cut(): void; @@ -3604,8 +3602,8 @@ declare class WebContextMenuResult { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ selectAll(): void; @@ -3613,7 +3611,7 @@ declare class WebContextMenuResult { * Executes the redo operation related to this context menu. * * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ redo(): void; @@ -3621,7 +3619,7 @@ declare class WebContextMenuResult { * Executes the undo operation related to this context menu. * * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ undo(): void; @@ -3629,7 +3627,7 @@ declare class WebContextMenuResult { * Executes the paste and match style operation related to this context menu. * * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ pasteAndMatchStyle(): void; } @@ -3646,8 +3644,8 @@ declare class WebContextMenuResult { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class ConsoleMessage { /** @@ -3658,7 +3656,7 @@ declare class ConsoleMessage { * @param { number } lineNumber - The line number of the console message. * @param { MessageLevel } messageLevel - The console log level. * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.ConsoleMessage#constructor */ @@ -3676,8 +3674,8 @@ declare class ConsoleMessage { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -3695,8 +3693,8 @@ declare class ConsoleMessage { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getMessage(): string; @@ -3722,8 +3720,8 @@ declare class ConsoleMessage { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getSourceId(): string; @@ -3749,8 +3747,8 @@ declare class ConsoleMessage { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getLineNumber(): int; @@ -3768,8 +3766,8 @@ declare class ConsoleMessage { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getMessageLevel(): MessageLevel; } @@ -3799,8 +3797,8 @@ declare class ConsoleMessage { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class WebResourceRequest { /** @@ -3822,8 +3820,8 @@ declare class WebResourceRequest { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -3849,8 +3847,8 @@ declare class WebResourceRequest { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getRequestHeader(): Array
; @@ -3876,8 +3874,8 @@ declare class WebResourceRequest { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getRequestUrl(): string; @@ -3903,8 +3901,8 @@ declare class WebResourceRequest { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ isRequestGesture(): boolean; @@ -3930,8 +3928,8 @@ declare class WebResourceRequest { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ isMainFrame(): boolean; @@ -3957,8 +3955,8 @@ declare class WebResourceRequest { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ isRedirect(): boolean; @@ -3984,8 +3982,8 @@ declare class WebResourceRequest { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getRequestMethod(): string; } @@ -4002,8 +4000,8 @@ declare class WebResourceRequest { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class WebResourceResponse { /** @@ -4018,8 +4016,8 @@ declare class WebResourceResponse { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -4045,8 +4043,8 @@ declare class WebResourceResponse { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getResponseData(): string; @@ -4071,8 +4069,8 @@ declare class WebResourceResponse { * ArrayBuffer type indicate binary data. * @syscap SystemCapability.Web.Webview.Core * @crossplatform - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getResponseDataEx(): string | int | ArrayBuffer | Resource | undefined; @@ -4090,8 +4088,8 @@ declare class WebResourceResponse { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getResponseEncoding(): string; @@ -4109,8 +4107,8 @@ declare class WebResourceResponse { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getResponseMimeType(): string; @@ -4136,8 +4134,8 @@ declare class WebResourceResponse { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getReasonMessage(): string; @@ -4163,8 +4161,8 @@ declare class WebResourceResponse { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getResponseHeader(): Array
; @@ -4182,8 +4180,8 @@ declare class WebResourceResponse { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getResponseCode(): int; @@ -4214,8 +4212,8 @@ declare class WebResourceResponse { * ArrayBuffer type indicate binary data. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setResponseData(data: string | int | Resource | ArrayBuffer): void; @@ -4240,8 +4238,8 @@ declare class WebResourceResponse { * @param { string } encoding the response encoding. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setResponseEncoding(encoding: string): void; @@ -4266,8 +4264,8 @@ declare class WebResourceResponse { * @param { string } mimeType the response MIME type. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setResponseMimeType(mimeType: string): void; @@ -4292,8 +4290,8 @@ declare class WebResourceResponse { * @param { string } reason the reason message. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setReasonMessage(reason: string): void; @@ -4318,8 +4316,8 @@ declare class WebResourceResponse { * @param { Array
} header the response headers. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setResponseHeader(header: Array
): void; @@ -4344,8 +4342,8 @@ declare class WebResourceResponse { * @param { int } code the response code. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setResponseCode(code: int): void; @@ -4370,8 +4368,8 @@ declare class WebResourceResponse { * @param { boolean } IsReady whether the response is ready. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setResponseIsReady(IsReady: boolean): void; @@ -4388,8 +4386,8 @@ declare class WebResourceResponse { * @returns { boolean } True indicates the response data is ready and false is not ready. * @syscap SystemCapability.Web.Webview.Core * @crossplatform - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getResponseIsReady(): boolean; } @@ -4424,8 +4422,8 @@ declare class WebResourceResponse { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ declare interface Header { /** @@ -4450,8 +4448,8 @@ declare interface Header { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ headerKey: string; @@ -4477,8 +4475,8 @@ declare interface Header { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ headerValue: string; } @@ -4502,8 +4500,8 @@ declare interface Header { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class WebResourceError { /** @@ -4525,8 +4523,8 @@ declare class WebResourceError { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -4552,8 +4550,8 @@ declare class WebResourceError { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getErrorInfo(): string; @@ -4579,8 +4577,8 @@ declare class WebResourceError { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getErrorCode(): int; } @@ -4597,8 +4595,8 @@ declare class WebResourceError { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class JsGeolocation { /** @@ -4613,8 +4611,8 @@ declare class JsGeolocation { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); @@ -4641,8 +4639,8 @@ declare class JsGeolocation { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ invoke(origin: string, allow: boolean, retain: boolean): void; } @@ -4658,7 +4656,7 @@ declare class JsGeolocation { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ declare class WebCookie { /** @@ -4672,7 +4670,7 @@ declare class WebCookie { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(); @@ -4680,7 +4678,7 @@ declare class WebCookie { * Sets the cookie. * * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebCookieManager#setCookie */ @@ -4690,7 +4688,7 @@ declare class WebCookie { * Saves the cookies. * * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebCookieManager#saveCookieAsync */ @@ -4706,8 +4704,8 @@ declare class WebCookie { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare class EventResult { /** @@ -4715,8 +4713,8 @@ declare class EventResult { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(); @@ -4729,8 +4727,8 @@ declare class EventResult { * Default value: true. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setGestureEventResult(result: boolean): void; @@ -4747,8 +4745,8 @@ declare class EventResult { * {@code false} Indicates the propagation of events farther along. * Default value: true. * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ setGestureEventResult(result: boolean, stopPropagation: boolean): void; @@ -4765,7 +4763,7 @@ declare class EventResult { * {@code false} Indicates the propagation of events farther along. * Default value: true. * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ setMouseEventResult(result: boolean, stopPropagation?: boolean): void; } @@ -4774,7 +4772,7 @@ declare class EventResult { * Defines the Web controller. * * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController */ @@ -4783,7 +4781,7 @@ declare class WebController { * Constructor. * * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ constructor(); @@ -4793,7 +4791,7 @@ declare class WebController { * It is no longer maintained since API version 9, and it is recommended to use {@link onInactive} instead. * * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#onInactive */ @@ -4804,7 +4802,7 @@ declare class WebController { * It is no longer maintained since API version 9, and it is recommended to use {@link onActive} instead. * * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#onActive */ @@ -4815,7 +4813,7 @@ declare class WebController { * * @param { number } factor The zoom factor. * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#zoom */ @@ -4825,7 +4823,7 @@ declare class WebController { * Clears the history in the Web. * * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#clearHistory */ @@ -4843,7 +4841,7 @@ declare class WebController { * * @param { object } options The options with a piece of code and a callback. * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#runJavaScript */ @@ -4854,7 +4852,7 @@ declare class WebController { * * @param { object } options The options with the data or URL and other information. * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#loadData */ @@ -4865,7 +4863,7 @@ declare class WebController { * * @param { object } options The options with the URL and other information. * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#loadUrl */ @@ -4875,7 +4873,7 @@ declare class WebController { * refreshes the current URL. * * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#refresh */ @@ -4885,7 +4883,7 @@ declare class WebController { * Stops the current load. * * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#stop */ @@ -4896,7 +4894,7 @@ declare class WebController { * * @param { object } options - The option with the JavaScript object and method list. * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#registerJavaScriptProxy */ @@ -4907,7 +4905,7 @@ declare class WebController { * * @param { string } name - The name of a registered JavaScript object to be deleted. * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#deleteJavaScriptRegister */ @@ -4918,7 +4916,7 @@ declare class WebController { * * @returns { HitTestType } The type of HitTest. * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#getHitTest */ @@ -4928,7 +4926,7 @@ declare class WebController { * Gets the request focus. * * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#requestFocus */ @@ -4939,7 +4937,7 @@ declare class WebController { * * @returns { boolean } Whether the web page can go back. * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#accessBackward */ @@ -4950,7 +4948,7 @@ declare class WebController { * * @returns { boolean } * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#accessForward */ @@ -4962,7 +4960,7 @@ declare class WebController { * @param { number } step The number of steps. * @returns { boolean } * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#accessStep */ @@ -4972,7 +4970,7 @@ declare class WebController { * Goes back in the history of the web page. * * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#backward */ @@ -4982,7 +4980,7 @@ declare class WebController { * Goes forward in the history of the web page. * * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.webview.WebviewController#forward */ @@ -4993,7 +4991,7 @@ declare class WebController { * * @returns { WebCookie } * @syscap SystemCapability.Web.Webview.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 9 * @useinstead ohos.web.webview.WebCookieManager */ @@ -5031,8 +5029,8 @@ declare class WebController { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface WebOptions { /** @@ -5061,8 +5059,8 @@ declare interface WebOptions { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ src: string | Resource; @@ -5097,7 +5095,7 @@ declare interface WebOptions { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ controller: WebController | WebviewController; @@ -5107,8 +5105,7 @@ declare interface WebOptions { * @type { WebviewController } * @syscap SystemCapability.Web.Webview.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ controller: WebviewController; @@ -5120,8 +5117,8 @@ declare interface WebOptions { * @type { ?RenderMode } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ renderMode? : RenderMode; @@ -5144,8 +5141,8 @@ declare interface WebOptions { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ incognitoMode? : boolean; @@ -5158,8 +5155,8 @@ declare interface WebOptions { * * @type { ?string } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sharedRenderProcessToken? : string; } @@ -5178,8 +5175,8 @@ declare interface WebOptions { * @typedef ScriptItem * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface ScriptItem { /** @@ -5188,8 +5185,8 @@ declare interface ScriptItem { * @type { string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ script: string; @@ -5199,8 +5196,8 @@ declare interface ScriptItem { * @type { Array } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ scriptRules: Array; } @@ -5219,8 +5216,8 @@ declare interface ScriptItem { * @typedef LoadCommittedDetails * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface LoadCommittedDetails { /** @@ -5229,8 +5226,8 @@ declare interface LoadCommittedDetails { * @type { boolean } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isMainFrame: boolean; @@ -5244,8 +5241,8 @@ declare interface LoadCommittedDetails { * @type { boolean } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isSameDocument: boolean; @@ -5257,8 +5254,8 @@ declare interface LoadCommittedDetails { * @type { boolean } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ didReplaceEntry: boolean; @@ -5268,8 +5265,8 @@ declare interface LoadCommittedDetails { * @type { WebNavigationType } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ navigationType: WebNavigationType; @@ -5279,8 +5276,8 @@ declare interface LoadCommittedDetails { * @type { string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ url: string; } @@ -5291,8 +5288,8 @@ declare interface LoadCommittedDetails { * @typedef IntelligentTrackingPreventionDetails * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface IntelligentTrackingPreventionDetails { /** @@ -5301,8 +5298,8 @@ declare interface IntelligentTrackingPreventionDetails { * @type { string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ host: string; @@ -5312,8 +5309,8 @@ declare interface IntelligentTrackingPreventionDetails { * @type { string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ trackerHost: string; } @@ -5349,8 +5346,8 @@ declare interface IntelligentTrackingPreventionDetails { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static * @noninterop */ interface WebInterface { @@ -5379,8 +5376,8 @@ interface WebInterface { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ (value: WebOptions): WebAttribute; } @@ -5399,8 +5396,8 @@ interface WebInterface { * @typedef NativeEmbedInfo * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface NativeEmbedInfo { /** @@ -5409,8 +5406,8 @@ declare interface NativeEmbedInfo { * @type { ?string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ id?: string; @@ -5420,8 +5417,8 @@ declare interface NativeEmbedInfo { * @type { ?string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type?: string; @@ -5431,8 +5428,8 @@ declare interface NativeEmbedInfo { * @type { ?string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ src?: string; @@ -5442,8 +5439,8 @@ declare interface NativeEmbedInfo { * @type { ?Position } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ position?: Position; @@ -5453,8 +5450,8 @@ declare interface NativeEmbedInfo { * @type { ?int } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ width?: int; @@ -5464,8 +5461,8 @@ declare interface NativeEmbedInfo { * @type { ?int } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ height?: int; @@ -5475,8 +5472,8 @@ declare interface NativeEmbedInfo { * @type { ?string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ url?: string; @@ -5486,8 +5483,8 @@ declare interface NativeEmbedInfo { * @type { ?string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ tag?: string; @@ -5497,8 +5494,8 @@ declare interface NativeEmbedInfo { * @type { ?Map } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ params?: Map; } @@ -5517,8 +5514,8 @@ declare interface NativeEmbedInfo { * @typedef NativeEmbedDataInfo * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface NativeEmbedDataInfo { /** @@ -5527,8 +5524,8 @@ declare interface NativeEmbedDataInfo { * @type { ?NativeEmbedStatus } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ status?: NativeEmbedStatus; @@ -5538,8 +5535,8 @@ declare interface NativeEmbedDataInfo { * @type { ?string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ surfaceId?: string; @@ -5549,8 +5546,8 @@ declare interface NativeEmbedDataInfo { * @type { ?string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ embedId?: string; @@ -5560,8 +5557,8 @@ declare interface NativeEmbedDataInfo { * @type { ?NativeEmbedInfo } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ info?: NativeEmbedInfo; } @@ -5571,8 +5568,8 @@ declare interface NativeEmbedDataInfo { * * @typedef NativeEmbedVisibilityInfo * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface NativeEmbedVisibilityInfo { /** @@ -5580,8 +5577,8 @@ declare interface NativeEmbedVisibilityInfo { * * @type { boolean } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ visibility: boolean; @@ -5590,8 +5587,8 @@ declare interface NativeEmbedVisibilityInfo { * * @type { string } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ embedId: string; } @@ -5610,8 +5607,8 @@ declare interface NativeEmbedVisibilityInfo { * @typedef NativeEmbedTouchInfo * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface NativeEmbedTouchInfo { /** @@ -5620,8 +5617,8 @@ declare interface NativeEmbedTouchInfo { * @type { ?string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ embedId?: string; @@ -5631,8 +5628,8 @@ declare interface NativeEmbedTouchInfo { * @type { ?TouchEvent } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ touchEvent?: TouchEvent; @@ -5642,8 +5639,8 @@ declare interface NativeEmbedTouchInfo { * @type { ?EventResult } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ result?: EventResult; } @@ -5653,7 +5650,7 @@ declare interface NativeEmbedTouchInfo { * * @typedef NativeEmbedMouseInfo * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ declare interface NativeEmbedMouseInfo { /** @@ -5661,7 +5658,7 @@ declare interface NativeEmbedMouseInfo { * * @type { ?string } * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ embedId?: string; @@ -5670,7 +5667,7 @@ declare interface NativeEmbedMouseInfo { * * @type { ?MouseEvent } * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ mouseEvent?: MouseEvent; @@ -5679,7 +5676,7 @@ declare interface NativeEmbedMouseInfo { * * @type { ?EventResult } * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ result?: EventResult; } @@ -5690,8 +5687,8 @@ declare interface NativeEmbedMouseInfo { * @typedef FirstMeaningfulPaint * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface FirstMeaningfulPaint { /** @@ -5700,8 +5697,8 @@ declare interface FirstMeaningfulPaint { * @type { ?long } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ navigationStartTime?: long; @@ -5711,8 +5708,8 @@ declare interface FirstMeaningfulPaint { * @type { ?long } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ firstMeaningfulPaintTime?: long; } @@ -5723,8 +5720,8 @@ declare interface FirstMeaningfulPaint { * @typedef LargestContentfulPaint * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface LargestContentfulPaint { /** @@ -5733,8 +5730,8 @@ declare interface LargestContentfulPaint { * @type { ?long } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ navigationStartTime?: long; @@ -5744,8 +5741,8 @@ declare interface LargestContentfulPaint { * @type { ?long } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ largestImagePaintTime?: long; @@ -5755,8 +5752,8 @@ declare interface LargestContentfulPaint { * @type { ?long } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ largestTextPaintTime?: long; @@ -5766,8 +5763,8 @@ declare interface LargestContentfulPaint { * @type { ?double } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ imageBPP?: double; @@ -5777,8 +5774,8 @@ declare interface LargestContentfulPaint { * @type { ?long } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ largestImageLoadStartTime?: long; @@ -5788,8 +5785,8 @@ declare interface LargestContentfulPaint { * @type { ?long } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ largestImageLoadEndTime?: long; } @@ -5799,8 +5796,8 @@ declare interface LargestContentfulPaint { * * @interface RenderProcessNotRespondingData * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface RenderProcessNotRespondingData { /** @@ -5808,8 +5805,8 @@ declare interface RenderProcessNotRespondingData { * * @type { string } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ jsStack: string; @@ -5818,8 +5815,8 @@ declare interface RenderProcessNotRespondingData { * * @type { int } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pid: int; @@ -5828,8 +5825,8 @@ declare interface RenderProcessNotRespondingData { * * @type { RenderProcessNotRespondingReason } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ reason: RenderProcessNotRespondingReason; } @@ -5841,8 +5838,8 @@ declare interface RenderProcessNotRespondingData { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnPageEndEvent { /** @@ -5852,8 +5849,8 @@ declare interface OnPageEndEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ url: string; } @@ -5865,8 +5862,8 @@ declare interface OnPageEndEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnPageBeginEvent { /** @@ -5876,8 +5873,8 @@ declare interface OnPageBeginEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ url: string; } @@ -5887,8 +5884,7 @@ declare interface OnPageBeginEvent { * * @typedef OnLoadStartedEvent * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ declare interface OnLoadStartedEvent { /** @@ -5896,8 +5892,7 @@ declare interface OnLoadStartedEvent { * * @type { string } * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ url: string; } @@ -5907,8 +5902,7 @@ declare interface OnLoadStartedEvent { * * @typedef OnLoadFinishedEvent * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ declare interface OnLoadFinishedEvent { /** @@ -5916,8 +5910,7 @@ declare interface OnLoadFinishedEvent { * * @type { string } * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ url: string; } @@ -5929,8 +5922,8 @@ declare interface OnLoadFinishedEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnProgressChangeEvent { /** @@ -5940,8 +5933,8 @@ declare interface OnProgressChangeEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ newProgress: int; } @@ -5953,8 +5946,8 @@ declare interface OnProgressChangeEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnTitleReceiveEvent { /** @@ -5964,8 +5957,8 @@ declare interface OnTitleReceiveEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ title: string; @@ -5975,8 +5968,7 @@ declare interface OnTitleReceiveEvent { * * @type { ?boolean } * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ isRealTitle?: boolean; } @@ -5988,8 +5980,8 @@ declare interface OnTitleReceiveEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnGeolocationShowEvent { /** @@ -5999,8 +5991,8 @@ declare interface OnGeolocationShowEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ origin: string; @@ -6011,8 +6003,8 @@ declare interface OnGeolocationShowEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ geolocation: JsGeolocation; } @@ -6024,8 +6016,8 @@ declare interface OnGeolocationShowEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnAlertEvent { /** @@ -6035,8 +6027,8 @@ declare interface OnAlertEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ url: string; @@ -6047,8 +6039,8 @@ declare interface OnAlertEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ message: string; @@ -6059,8 +6051,8 @@ declare interface OnAlertEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ result: JsResult; } @@ -6080,8 +6072,8 @@ declare interface OnAlertEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ declare interface OnBeforeUnloadEvent { /** @@ -6099,8 +6091,8 @@ declare interface OnBeforeUnloadEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ url: string; @@ -6119,8 +6111,8 @@ declare interface OnBeforeUnloadEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ message: string; @@ -6139,8 +6131,8 @@ declare interface OnBeforeUnloadEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ result: JsResult; @@ -6150,8 +6142,7 @@ declare interface OnBeforeUnloadEvent { * * @type { ?boolean } * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ isReload?: boolean; } @@ -6163,8 +6154,8 @@ declare interface OnBeforeUnloadEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnConfirmEvent { /** @@ -6174,8 +6165,8 @@ declare interface OnConfirmEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ url: string; @@ -6186,8 +6177,8 @@ declare interface OnConfirmEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ message: string; @@ -6198,8 +6189,8 @@ declare interface OnConfirmEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ result: JsResult; } @@ -6211,8 +6202,8 @@ declare interface OnConfirmEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnPromptEvent { /** @@ -6222,8 +6213,8 @@ declare interface OnPromptEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ url: string; @@ -6234,8 +6225,8 @@ declare interface OnPromptEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ message: string; @@ -6246,8 +6237,8 @@ declare interface OnPromptEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ value: string; @@ -6258,8 +6249,8 @@ declare interface OnPromptEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ result: JsResult; } @@ -6271,8 +6262,8 @@ declare interface OnPromptEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnConsoleEvent { /** @@ -6282,8 +6273,8 @@ declare interface OnConsoleEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ message: ConsoleMessage; } @@ -6295,8 +6286,8 @@ declare interface OnConsoleEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnErrorReceiveEvent { /** @@ -6306,8 +6297,8 @@ declare interface OnErrorReceiveEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ request: WebResourceRequest; @@ -6318,8 +6309,8 @@ declare interface OnErrorReceiveEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ error: WebResourceError; } @@ -6331,8 +6322,8 @@ declare interface OnErrorReceiveEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnHttpErrorReceiveEvent { /** @@ -6342,8 +6333,8 @@ declare interface OnHttpErrorReceiveEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ request: WebResourceRequest; @@ -6354,8 +6345,8 @@ declare interface OnHttpErrorReceiveEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ response: WebResourceResponse; } @@ -6367,8 +6358,8 @@ declare interface OnHttpErrorReceiveEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnDownloadStartEvent { /** @@ -6378,8 +6369,8 @@ declare interface OnDownloadStartEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ url: string; @@ -6390,8 +6381,8 @@ declare interface OnDownloadStartEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ userAgent: string; @@ -6410,8 +6401,8 @@ declare interface OnDownloadStartEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ contentDisposition: string; @@ -6422,8 +6413,8 @@ declare interface OnDownloadStartEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ mimetype: string; @@ -6434,8 +6425,8 @@ declare interface OnDownloadStartEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ contentLength: long; } @@ -6455,8 +6446,8 @@ declare interface OnDownloadStartEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ declare interface OnRefreshAccessedHistoryEvent { /** @@ -6474,8 +6465,8 @@ declare interface OnRefreshAccessedHistoryEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ url: string; @@ -6494,8 +6485,8 @@ declare interface OnRefreshAccessedHistoryEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ isRefreshed: boolean; } @@ -6506,8 +6497,8 @@ declare interface OnRefreshAccessedHistoryEvent { * @typedef OnRenderExitedEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnRenderExitedEvent { /** @@ -6516,8 +6507,8 @@ declare interface OnRenderExitedEvent { * @type { RenderExitReason } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ renderExitReason: RenderExitReason; } @@ -6529,8 +6520,8 @@ declare interface OnRenderExitedEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnShowFileSelectorEvent { /** @@ -6540,8 +6531,8 @@ declare interface OnShowFileSelectorEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ result: FileSelectorResult; @@ -6552,8 +6543,8 @@ declare interface OnShowFileSelectorEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fileSelector: FileSelectorParam; } @@ -6564,8 +6555,8 @@ declare interface OnShowFileSelectorEvent { * @typedef OnResourceLoadEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnResourceLoadEvent { /** @@ -6574,8 +6565,8 @@ declare interface OnResourceLoadEvent { * @type { string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ url: string; } @@ -6587,8 +6578,8 @@ declare interface OnResourceLoadEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnScaleChangeEvent { /** @@ -6598,8 +6589,8 @@ declare interface OnScaleChangeEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ oldScale: double; @@ -6610,8 +6601,8 @@ declare interface OnScaleChangeEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ newScale: double; } @@ -6623,8 +6614,8 @@ declare interface OnScaleChangeEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnHttpAuthRequestEvent { /** @@ -6634,8 +6625,8 @@ declare interface OnHttpAuthRequestEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ handler: HttpAuthHandler; @@ -6646,8 +6637,8 @@ declare interface OnHttpAuthRequestEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ host: string; @@ -6658,8 +6649,8 @@ declare interface OnHttpAuthRequestEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ realm: string; } @@ -6670,8 +6661,8 @@ declare interface OnHttpAuthRequestEvent { * @typedef OnInterceptRequestEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnInterceptRequestEvent { /** @@ -6680,8 +6671,8 @@ declare interface OnInterceptRequestEvent { * @type { WebResourceRequest } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ request: WebResourceRequest; } @@ -6694,8 +6685,8 @@ declare interface OnInterceptRequestEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnPermissionRequestEvent { /** @@ -6705,8 +6696,8 @@ declare interface OnPermissionRequestEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ request: PermissionRequest; } @@ -6718,8 +6709,8 @@ declare interface OnPermissionRequestEvent { * @typedef OnScreenCaptureRequestEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnScreenCaptureRequestEvent { /** @@ -6728,8 +6719,8 @@ declare interface OnScreenCaptureRequestEvent { * @type { ScreenCaptureHandler } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ handler: ScreenCaptureHandler; } @@ -6740,8 +6731,8 @@ declare interface OnScreenCaptureRequestEvent { * @typedef OnContextMenuShowEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnContextMenuShowEvent { /** @@ -6750,8 +6741,8 @@ declare interface OnContextMenuShowEvent { * @type { WebContextMenuParam } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ param: WebContextMenuParam; @@ -6761,8 +6752,8 @@ declare interface OnContextMenuShowEvent { * @type { WebContextMenuResult } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ result: WebContextMenuResult; } @@ -6773,8 +6764,8 @@ declare interface OnContextMenuShowEvent { * @typedef OnSearchResultReceiveEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnSearchResultReceiveEvent { /** @@ -6783,8 +6774,8 @@ declare interface OnSearchResultReceiveEvent { * @type { int } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ activeMatchOrdinal: int; @@ -6794,8 +6785,8 @@ declare interface OnSearchResultReceiveEvent { * @type { int } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ numberOfMatches: int; @@ -6805,8 +6796,8 @@ declare interface OnSearchResultReceiveEvent { * @type { boolean } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isDoneCounting: boolean; } @@ -6818,8 +6809,8 @@ declare interface OnSearchResultReceiveEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnScrollEvent { /** @@ -6829,8 +6820,8 @@ declare interface OnScrollEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ xOffset: double; @@ -6841,8 +6832,8 @@ declare interface OnScrollEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ yOffset: double; } @@ -6853,8 +6844,8 @@ declare interface OnScrollEvent { * @typedef OnSslErrorEventReceiveEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnSslErrorEventReceiveEvent { /** @@ -6863,8 +6854,8 @@ declare interface OnSslErrorEventReceiveEvent { * @type { SslErrorHandler } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ handler: SslErrorHandler; @@ -6874,8 +6865,8 @@ declare interface OnSslErrorEventReceiveEvent { * @type { SslError } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ error: SslError; @@ -6884,8 +6875,8 @@ declare interface OnSslErrorEventReceiveEvent { * * @type { ?Array } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ certChainData?: Array; } @@ -6896,8 +6887,8 @@ declare interface OnSslErrorEventReceiveEvent { * @typedef OnClientAuthenticationEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnClientAuthenticationEvent { /** @@ -6906,8 +6897,8 @@ declare interface OnClientAuthenticationEvent { * @type { ClientAuthenticationHandler } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ handler : ClientAuthenticationHandler; @@ -6917,8 +6908,8 @@ declare interface OnClientAuthenticationEvent { * @type { string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ host : string; @@ -6928,8 +6919,8 @@ declare interface OnClientAuthenticationEvent { * @type { int } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ port : int; @@ -6939,8 +6930,8 @@ declare interface OnClientAuthenticationEvent { * @type { Array } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ keyTypes : Array; @@ -6950,8 +6941,8 @@ declare interface OnClientAuthenticationEvent { * @type { Array } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ issuers : Array; } @@ -6962,8 +6953,8 @@ declare interface OnClientAuthenticationEvent { * @typedef OnWindowNewEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnWindowNewEvent { /** @@ -6972,8 +6963,8 @@ declare interface OnWindowNewEvent { * @type { boolean } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isAlert: boolean; @@ -6983,8 +6974,8 @@ declare interface OnWindowNewEvent { * @type { boolean } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isUserTrigger: boolean; @@ -6994,8 +6985,8 @@ declare interface OnWindowNewEvent { * @type { string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ targetUrl: string; @@ -7005,8 +6996,8 @@ declare interface OnWindowNewEvent { * @type { ControllerHandler } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ handler: ControllerHandler; } @@ -7017,8 +7008,8 @@ declare interface OnWindowNewEvent { * @typedef OnTouchIconUrlReceivedEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnTouchIconUrlReceivedEvent { /** @@ -7027,8 +7018,8 @@ declare interface OnTouchIconUrlReceivedEvent { * @type { string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ url: string; @@ -7038,8 +7029,8 @@ declare interface OnTouchIconUrlReceivedEvent { * @type { boolean } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ precomposed: boolean; } @@ -7050,8 +7041,8 @@ declare interface OnTouchIconUrlReceivedEvent { * @typedef OnFaviconReceivedEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnFaviconReceivedEvent { /** @@ -7060,7 +7051,7 @@ declare interface OnFaviconReceivedEvent { * @type { PixelMap } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ favicon: PixelMap; @@ -7069,8 +7060,7 @@ declare interface OnFaviconReceivedEvent { * * @type { image.PixelMap } * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ favicon: image.PixelMap; } @@ -7082,8 +7072,8 @@ declare interface OnFaviconReceivedEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnPageVisibleEvent { /** @@ -7093,8 +7083,8 @@ declare interface OnPageVisibleEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ url: string; } @@ -7105,8 +7095,8 @@ declare interface OnPageVisibleEvent { * @typedef OnDataResubmittedEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnDataResubmittedEvent { /** @@ -7115,8 +7105,8 @@ declare interface OnDataResubmittedEvent { * @type { DataResubmissionHandler } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ handler: DataResubmissionHandler; } @@ -7127,8 +7117,8 @@ declare interface OnDataResubmittedEvent { * @typedef OnAudioStateChangedEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnAudioStateChangedEvent { /** @@ -7137,8 +7127,8 @@ declare interface OnAudioStateChangedEvent { * @type { boolean } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ playing: boolean; } @@ -7149,8 +7139,8 @@ declare interface OnAudioStateChangedEvent { * @typedef OnFirstContentfulPaintEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnFirstContentfulPaintEvent { /** @@ -7159,8 +7149,8 @@ declare interface OnFirstContentfulPaintEvent { * @type { long } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ navigationStartTick: long; @@ -7170,8 +7160,8 @@ declare interface OnFirstContentfulPaintEvent { * @type { long } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ firstContentfulPaintMs: long; } @@ -7183,8 +7173,8 @@ declare interface OnFirstContentfulPaintEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnLoadInterceptEvent { /** @@ -7194,8 +7184,8 @@ declare interface OnLoadInterceptEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ data: WebResourceRequest; } @@ -7206,8 +7196,8 @@ declare interface OnLoadInterceptEvent { * @typedef OnOverScrollEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface OnOverScrollEvent { /** @@ -7217,8 +7207,8 @@ declare interface OnOverScrollEvent { * @type { double } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ xOffset: double; @@ -7229,8 +7219,8 @@ declare interface OnOverScrollEvent { * @type { double } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ yOffset: double; } @@ -7250,8 +7240,7 @@ declare interface OnOverScrollEvent { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ declare interface JavaScriptProxy { /** @@ -7269,7 +7258,7 @@ declare interface JavaScriptProxy { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ object: object; @@ -7279,8 +7268,7 @@ declare interface JavaScriptProxy { * @type { object } * @syscap SystemCapability.Web.Webview.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ jsObject: object; @@ -7301,8 +7289,7 @@ declare interface JavaScriptProxy { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ name: string; @@ -7323,8 +7310,7 @@ declare interface JavaScriptProxy { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ methodList: Array; @@ -7343,7 +7329,7 @@ declare interface JavaScriptProxy { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ controller: WebController | WebviewController; @@ -7353,8 +7339,7 @@ declare interface JavaScriptProxy { * @type { WebviewController } * @syscap SystemCapability.Web.Webview.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ controller: WebviewController; @@ -7373,8 +7358,7 @@ declare interface JavaScriptProxy { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ asyncMethodList?: Array; @@ -7385,8 +7369,8 @@ declare interface JavaScriptProxy { * @type { ?string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ permission?: string; } @@ -7397,8 +7381,8 @@ declare interface JavaScriptProxy { * @enum { number } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare enum WebKeyboardAvoidMode { /** @@ -7406,8 +7390,8 @@ declare enum WebKeyboardAvoidMode { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RESIZE_VISUAL = 0, @@ -7417,8 +7401,8 @@ declare enum WebKeyboardAvoidMode { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RESIZE_CONTENT = 1, @@ -7427,8 +7411,8 @@ declare enum WebKeyboardAvoidMode { * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OVERLAYS_CONTENT = 2 } @@ -7438,16 +7422,16 @@ declare enum WebKeyboardAvoidMode { * * @enum { number } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ declare enum WebElementType { /** * Image,corresponding HTML image type. * * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ IMAGE = 1, @@ -7455,8 +7439,7 @@ declare enum WebElementType { * Link,corresponding link type. * * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ LINK = 2 } @@ -7466,16 +7449,16 @@ declare enum WebElementType { * * @enum { number } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ declare enum WebResponseType { /** * Long press. * * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ LONG_PRESS = 1 } @@ -7485,14 +7468,14 @@ declare enum WebResponseType { * * @enum { number } * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ declare enum WebBypassVsyncCondition { /** * Not bypass vsync. * * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ NONE = 0, @@ -7500,7 +7483,7 @@ declare enum WebBypassVsyncCondition { * bypass vsync. * * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ SCROLLBY_FROM_ZERO_OFFSET = 1 } @@ -7510,8 +7493,7 @@ declare enum WebBypassVsyncCondition { * * @enum { number } * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ declare enum AudioSessionType { /** @@ -7519,8 +7501,7 @@ declare enum AudioSessionType { * This is useful in some special cases such as when the user wants to mix audios from multiple pages. * * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ AMBIENT=3 } @@ -7530,8 +7511,7 @@ declare enum AudioSessionType { * * @interface PreviewMenuOptions * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ declare interface PreviewMenuOptions { /** @@ -7539,8 +7519,7 @@ declare interface PreviewMenuOptions { * * @type { ?HapticFeedbackMode } * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ hapticFeedbackMode?: HapticFeedbackMode; } @@ -7550,8 +7529,8 @@ declare interface PreviewMenuOptions { * * @typedef SelectionMenuOptionsExt * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ declare interface SelectionMenuOptionsExt { /** @@ -7559,8 +7538,8 @@ declare interface SelectionMenuOptionsExt { * * @type { ?Callback } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ onAppear?: Callback; @@ -7569,8 +7548,8 @@ declare interface SelectionMenuOptionsExt { * * @type { ?Callback } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ onDisappear?: Callback; @@ -7579,8 +7558,8 @@ declare interface SelectionMenuOptionsExt { * * @type { ?CustomBuilder } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ preview?: CustomBuilder; @@ -7589,8 +7568,8 @@ declare interface SelectionMenuOptionsExt { * * @type { ?MenuType } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ menuType?: MenuType; @@ -7599,8 +7578,7 @@ declare interface SelectionMenuOptionsExt { * * @type { ?PreviewMenuOptions } * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ previewMenuOptions?: PreviewMenuOptions; } @@ -7627,8 +7605,8 @@ declare interface SelectionMenuOptionsExt { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static * @noninterop */ declare class WebAttribute extends CommonMethod { @@ -7660,8 +7638,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ javaScriptAccess(javaScriptAccess: boolean): WebAttribute; @@ -7698,8 +7676,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fileAccess(fileAccess: boolean): WebAttribute; @@ -7734,8 +7712,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ onlineImageAccess(onlineImageAccess: boolean): WebAttribute; @@ -7767,8 +7745,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ domStorageAccess(domStorageAccess: boolean): WebAttribute; @@ -7801,8 +7779,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ imageAccess(imageAccess: boolean): WebAttribute; @@ -7833,8 +7811,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ mixedMode(mixedMode: MixedMode): WebAttribute; @@ -7866,8 +7844,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ zoomAccess(zoomAccess: boolean): WebAttribute; @@ -7891,8 +7869,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ geolocationAccess(geolocationAccess: boolean): WebAttribute; @@ -7957,8 +7935,7 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ javaScriptProxy(javaScriptProxy: JavaScriptProxy): WebAttribute; @@ -7968,7 +7945,7 @@ declare class WebAttribute extends CommonMethod { * @param { boolean } password - {@code true} means the Web can save the password; {@code false} otherwise. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ password(password: boolean): WebAttribute; @@ -7998,8 +7975,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ cacheMode(cacheMode: CacheMode): WebAttribute; @@ -8022,8 +7999,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ darkMode(mode: WebDarkMode): WebAttribute; @@ -8046,8 +8023,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ forceDarkAccess(access: boolean): WebAttribute; @@ -8076,8 +8053,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ mediaOptions(options: WebMediaOptions): WebAttribute; @@ -8087,7 +8064,7 @@ declare class WebAttribute extends CommonMethod { * @param { boolean } tableData {@code true} means the Web can save the table data; {@code false} otherwise. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ tableData(tableData: boolean): WebAttribute; @@ -8098,7 +8075,7 @@ declare class WebAttribute extends CommonMethod { * @param { boolean } wideViewModeAccess {@code true} means the Web access meta 'viewport' in HTML; {@code false} otherwise. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamic * @deprecated since 10 */ wideViewModeAccess(wideViewModeAccess: boolean): WebAttribute; @@ -8123,8 +8100,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ overviewModeAccess(overviewModeAccess: boolean): WebAttribute; @@ -8138,8 +8115,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ overScrollMode(mode: OverScrollMode): WebAttribute; @@ -8150,8 +8127,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ blurOnKeyboardHideMode(mode: BlurOnKeyboardHideMode): WebAttribute; @@ -8161,7 +8138,7 @@ declare class WebAttribute extends CommonMethod { * @param { number } textZoomAtio The ratio of the text zoom. The default value is 100, ranging from 1 to +∞. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.WebAttribute#textZoomRatio */ @@ -8182,8 +8159,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ textZoomRatio(textZoomRatio: int): WebAttribute; @@ -8206,8 +8183,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ databaseAccess(databaseAccess: boolean): WebAttribute; @@ -8228,8 +8205,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ initialScale(percent: double): WebAttribute; @@ -8239,7 +8216,7 @@ declare class WebAttribute extends CommonMethod { * @param { string } userAgent The Web's user agent. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 10 * @useinstead ohos.web.webview.webview.WebviewController#setCustomUserAgent */ @@ -8272,8 +8249,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ metaViewport(enabled: boolean): WebAttribute; @@ -8312,8 +8289,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onPageEnd(callback: Callback): WebAttribute; @@ -8353,8 +8330,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onPageBegin(callback: Callback): WebAttribute; @@ -8371,8 +8348,7 @@ declare class WebAttribute extends CommonMethod { * @param { Callback } callback The triggered function at the begin of web page loading. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ onLoadStarted(callback: Callback): WebAttribute; @@ -8386,8 +8362,7 @@ declare class WebAttribute extends CommonMethod { * @param { Callback } callback The triggered function at the end of web page loading. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ onLoadFinished(callback: Callback): WebAttribute; @@ -8417,8 +8392,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onProgressChange(callback: Callback): WebAttribute; @@ -8450,8 +8425,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onTitleReceive(callback: Callback): WebAttribute; @@ -8472,8 +8447,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onGeolocationHide(callback: () => void): WebAttribute; @@ -8503,8 +8478,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onGeolocationShow(callback: Callback): WebAttribute; @@ -8523,8 +8498,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onRequestSelected(callback: () => void): WebAttribute; @@ -8558,8 +8533,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onAlert(callback: Callback): WebAttribute; @@ -8597,8 +8572,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ onBeforeUnload(callback: Callback): WebAttribute; @@ -8631,8 +8606,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onConfirm(callback: Callback): WebAttribute; @@ -8665,8 +8640,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onPrompt(callback: Callback): WebAttribute; @@ -8698,8 +8673,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onConsole(callback: Callback): WebAttribute; @@ -8738,8 +8713,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onErrorReceive(callback: Callback): WebAttribute; @@ -8769,8 +8744,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onHttpErrorReceive(callback: Callback): WebAttribute; @@ -8800,8 +8775,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onDownloadStart(callback: Callback): WebAttribute; @@ -8839,8 +8814,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ onRefreshAccessedHistory(callback: Callback): WebAttribute; @@ -8850,7 +8825,7 @@ declare class WebAttribute extends CommonMethod { * @param { function } callback The triggered callback when the URL loading is intercepted. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 10 * @useinstead ohos.web.WebAttribute#onLoadIntercept */ @@ -8862,7 +8837,7 @@ declare class WebAttribute extends CommonMethod { * @param { function } callback The triggered callback when the Web page receives an ssl Error. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.WebAttribute#onSslErrorEventReceive */ @@ -8895,8 +8870,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onRenderExited(callback: Callback): WebAttribute; @@ -8931,8 +8906,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onShowFileSelector(callback: Callback): WebAttribute; @@ -8942,7 +8917,7 @@ declare class WebAttribute extends CommonMethod { * @param { function } callback The triggered when the render process exits. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.WebAttribute#onRenderExited */ @@ -8954,7 +8929,7 @@ declare class WebAttribute extends CommonMethod { * @param { function } callback The triggered when the file selector shows. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.web.WebAttribute#onShowFileSelector */ @@ -8984,8 +8959,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onResourceLoad(callback: Callback): WebAttribute; @@ -9014,8 +8989,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ onFullScreenExit(callback: () => void): WebAttribute; @@ -9053,8 +9028,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ onFullScreenEnter(callback: OnFullScreenEnterCallback): WebAttribute; @@ -9084,8 +9059,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onScaleChange(callback: Callback): WebAttribute; @@ -9115,8 +9090,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onHttpAuthRequest(callback: Callback): WebAttribute; @@ -9144,8 +9119,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } If the response value is null, the Web will continue to load the resources. Otherwise, the response value will be used * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onInterceptRequest(callback: Callback): WebAttribute; @@ -9177,8 +9152,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onPermissionRequest(callback: Callback): WebAttribute; @@ -9206,8 +9181,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onScreenCaptureRequest(callback: Callback): WebAttribute; @@ -9237,8 +9212,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } If custom display return true.Otherwise, default display return false. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onContextMenuShow(callback: Callback): WebAttribute; @@ -9249,8 +9224,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onContextMenuHide(callback: OnContextMenuHideCallback): WebAttribute; @@ -9273,8 +9248,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ mediaPlayGestureAccess(access: boolean): WebAttribute; @@ -9305,8 +9280,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onSearchResultReceive(callback: Callback): WebAttribute; @@ -9336,8 +9311,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onScroll(callback: Callback): WebAttribute; @@ -9366,8 +9341,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onSslErrorEventReceive(callback: Callback): WebAttribute; @@ -9379,8 +9354,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onSslErrorEvent(callback: OnSslErrorEventCallback): WebAttribute; @@ -9408,8 +9383,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onClientAuthenticationRequest(callback: Callback): WebAttribute; @@ -9446,8 +9421,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onWindowNew(callback: Callback): WebAttribute; @@ -9467,8 +9442,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onWindowExit(callback: () => void): WebAttribute; @@ -9489,8 +9464,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ multiWindowAccess(multiWindow: boolean): WebAttribute; @@ -9509,8 +9484,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } True if the application consumes key events else false. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onInterceptKeyEvent(callback: (event: KeyEvent) => boolean): WebAttribute; @@ -9530,8 +9505,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ webStandardFont(family: string): WebAttribute; @@ -9551,8 +9526,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ webSerifFont(family: string): WebAttribute; @@ -9572,8 +9547,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ webSansSerifFont(family: string): WebAttribute; @@ -9593,8 +9568,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ webFixedFont(family: string): WebAttribute; @@ -9614,8 +9589,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ webFantasyFont(family: string): WebAttribute; @@ -9635,8 +9610,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ webCursiveFont(family: string): WebAttribute; @@ -9658,8 +9633,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ defaultFixedFontSize(size: int): WebAttribute; @@ -9680,8 +9655,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ defaultFontSize(size: int): WebAttribute; @@ -9704,8 +9679,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ minFontSize(size: int): WebAttribute; @@ -9727,8 +9702,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ minLogicalFontSize(size: int): WebAttribute; @@ -9739,8 +9714,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ defaultTextEncodingFormat(textEncodingFormat: string): WebAttribute; @@ -9751,8 +9726,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ forceDisplayScrollBar(enabled: boolean): WebAttribute; @@ -9781,8 +9756,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ blockNetwork(block: boolean): WebAttribute; @@ -9809,8 +9784,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ horizontalScrollBarAccess(horizontalScrollBar: boolean): WebAttribute; @@ -9837,8 +9812,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ verticalScrollBarAccess(verticalScrollBar: boolean): WebAttribute; @@ -9869,8 +9844,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onTouchIconUrlReceived(callback: Callback): WebAttribute; @@ -9901,8 +9876,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onFaviconReceived(callback: Callback): WebAttribute; @@ -9935,8 +9910,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onPageVisible(callback: Callback): WebAttribute; @@ -9964,8 +9939,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onDataResubmitted(callback: Callback): WebAttribute; @@ -9987,8 +9962,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ pinchSmooth(isEnabled: boolean): WebAttribute; @@ -10028,8 +10003,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ allowWindowOpenMethod(flag: boolean): WebAttribute; @@ -10057,8 +10032,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onAudioStateChanged(callback: Callback): WebAttribute; @@ -10086,8 +10061,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onFirstContentfulPaint(callback: Callback): WebAttribute; @@ -10098,8 +10073,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onFirstMeaningfulPaint(callback: OnFirstMeaningfulPaintCallback): WebAttribute; @@ -10110,8 +10085,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onLargestContentfulPaint(callback: OnLargestContentfulPaintCallback): WebAttribute; @@ -10141,8 +10116,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onLoadIntercept(callback: Callback): WebAttribute; @@ -10166,8 +10141,8 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onControllerAttached(callback: () => void): WebAttribute; @@ -10192,8 +10167,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onOverScroll(callback: Callback): WebAttribute; @@ -10204,8 +10179,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onSafeBrowsingCheckResult(callback: OnSafeBrowsingCheckResultCallback): WebAttribute; @@ -10216,8 +10191,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onNavigationEntryCommitted(callback: OnNavigationEntryCommittedCallback): WebAttribute; @@ -10228,8 +10203,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onIntelligentTrackingPreventionResult(callback: OnIntelligentTrackingPreventionCallback): WebAttribute; @@ -10250,8 +10225,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ javaScriptOnDocumentStart(scripts: Array): WebAttribute; @@ -10272,8 +10247,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ javaScriptOnDocumentEnd(scripts: Array): WebAttribute; @@ -10301,8 +10276,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ layoutMode(mode: WebLayoutMode): WebAttribute; @@ -10336,8 +10311,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } the attribute of the scroll. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ nestedScroll(value: NestedScrollOptions | NestedScrollOptionsExt): WebAttribute; @@ -10354,8 +10329,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enableNativeEmbedMode(mode: boolean): WebAttribute; @@ -10374,8 +10349,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ registerNativeEmbedRule(tag: string, type:string): WebAttribute; @@ -10392,8 +10367,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onNativeEmbedLifecycleChange(callback: (event: NativeEmbedDataInfo) => void): WebAttribute; @@ -10408,8 +10383,8 @@ declare class WebAttribute extends CommonMethod { * @param { OnNativeEmbedVisibilityChangeCallback } callback - Callback triggered when embed visibility changes. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onNativeEmbedVisibilityChange(callback: OnNativeEmbedVisibilityChangeCallback): WebAttribute; @@ -10426,8 +10401,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onNativeEmbedGestureEvent(callback: (event: NativeEmbedTouchInfo) => void): WebAttribute; @@ -10437,7 +10412,7 @@ declare class WebAttribute extends CommonMethod { * @param { MouseInfoCallback } callback - callback Triggered when mouse effect on embed tag. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ onNativeEmbedMouseEvent(callback: MouseInfoCallback): WebAttribute; @@ -10448,8 +10423,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } the attribute of the scroll. * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ copyOptions(value: CopyOptions): WebAttribute; @@ -10461,8 +10436,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onOverrideUrlLoading(callback: OnOverrideUrlLoadingCallback): WebAttribute; @@ -10476,8 +10451,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ textAutosizing(textAutosizing: boolean): WebAttribute; @@ -10491,8 +10466,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enableNativeMediaPlayer(config: NativeMediaPlayerConfig): WebAttribute; @@ -10507,8 +10482,8 @@ declare class WebAttribute extends CommonMethod { * @param { OnRenderProcessNotRespondingCallback } callback The triggered function when render process not responding. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onRenderProcessNotResponding(callback: OnRenderProcessNotRespondingCallback): WebAttribute; @@ -10519,8 +10494,8 @@ declare class WebAttribute extends CommonMethod { * @param { OnRenderProcessRespondingCallback } callback The triggered function when the unresponsive render process becomes responsive. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onRenderProcessResponding(callback: OnRenderProcessRespondingCallback): WebAttribute; @@ -10538,7 +10513,7 @@ declare class WebAttribute extends CommonMethod { * icon size are consistent with the ArkUI Menu component. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead ohos.web.WebAttribute#editMenuOptions */ @@ -10552,8 +10527,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onViewportFitChanged(callback: OnViewportFitChangedCallback): WebAttribute; @@ -10568,8 +10543,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onInterceptKeyboardAttach(callback: WebKeyboardCallback): WebAttribute; @@ -10582,8 +10557,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onAdsBlocked(callback: OnAdsBlockedCallback): WebAttribute; @@ -10597,8 +10572,8 @@ declare class WebAttribute extends CommonMethod { * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ keyboardAvoidMode(mode: WebKeyboardAvoidMode): WebAttribute; @@ -10624,8 +10599,8 @@ declare class WebAttribute extends CommonMethod { * and the input value is -1. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ editMenuOptions(editMenu: EditMenuOptions): WebAttribute; @@ -10635,8 +10610,8 @@ declare class WebAttribute extends CommonMethod { * @param { boolean } enabled - Default value is true, set false to disable haptic feedback. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enableHapticFeedback(enabled: boolean): WebAttribute; @@ -10649,8 +10624,8 @@ declare class WebAttribute extends CommonMethod { * @param { SelectionMenuOptionsExt } [options] - Indicates the options of selection menu. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ bindSelectionMenu(elementType: WebElementType, content: CustomBuilder, responseType: WebResponseType, options?: SelectionMenuOptionsExt): WebAttribute; @@ -10661,8 +10636,8 @@ declare class WebAttribute extends CommonMethod { * @param { boolean} optimizeParserBudget Default value is false, set true to enable optimize parser budget. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ optimizeParserBudget(optimizeParserBudget: boolean): WebAttribute; @@ -10672,8 +10647,8 @@ declare class WebAttribute extends CommonMethod { * @param { boolean } follow The value true means to follow the system font weight, and false means the opposite. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enableFollowSystemFontWeight(follow: boolean): WebAttribute; @@ -10683,8 +10658,8 @@ declare class WebAttribute extends CommonMethod { * @param { boolean } enabled Whether to enable AVSession. The value true means to enable AVSession, and false means the opposite. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enableWebAVSession(enabled: boolean): WebAttribute; @@ -10694,8 +10669,8 @@ declare class WebAttribute extends CommonMethod { * @param { Array } scripts - The JavaScripts executed in array order. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ runJavaScriptOnDocumentStart(scripts: Array): WebAttribute; @@ -10705,8 +10680,8 @@ declare class WebAttribute extends CommonMethod { * @param { Array } scripts - The JavaScripts executed in array order. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ runJavaScriptOnDocumentEnd(scripts: Array): WebAttribute; @@ -10716,8 +10691,8 @@ declare class WebAttribute extends CommonMethod { * @param { Array } scripts - The JavaScripts executed in array order. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ runJavaScriptOnHeadEnd(scripts: Array): WebAttribute; @@ -10727,8 +10702,8 @@ declare class WebAttribute extends CommonMethod { * @param { EmbedOptions } options The embed options, which can be {@link EmbedOptions}. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ nativeEmbedOptions(options?: EmbedOptions): WebAttribute; @@ -10739,7 +10714,7 @@ declare class WebAttribute extends CommonMethod { * The default value is false. * @returns { WebAttribute } The attribute of the web. * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ enableDataDetector(enable: boolean): WebAttribute; @@ -10749,7 +10724,7 @@ declare class WebAttribute extends CommonMethod { * @param { TextDataDetectorConfig } config - The config of text data detector. * @returns { WebAttribute } The attribute of the web. * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ dataDetectorConfig(config: TextDataDetectorConfig): WebAttribute; @@ -10759,7 +10734,7 @@ declare class WebAttribute extends CommonMethod { * @param { Callback } callback the triggered function when the web page is activated for window.open called by other web component. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ onActivateContent(callback: Callback): WebAttribute; @@ -10771,7 +10746,7 @@ declare class WebAttribute extends CommonMethod { * @param { WebBypassVsyncCondition } condition - The condition to bypass render vsync. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ bypassVsyncCondition(condition: WebBypassVsyncCondition): WebAttribute; @@ -10785,7 +10760,7 @@ declare class WebAttribute extends CommonMethod { * The default value is FocusMode.DEFAULT. * @returns { WebAttribute } * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ gestureFocusMode(mode: GestureFocusMode): WebAttribute; } @@ -10819,7 +10794,7 @@ declare class WebAttribute extends CommonMethod { * @syscap SystemCapability.Web.Webview.Core * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const Web: WebInterface; @@ -10835,7 +10810,7 @@ declare const Web: WebInterface; * * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ declare const WebInstance: WebAttribute; @@ -10846,8 +10821,8 @@ declare const WebInstance: WebAttribute; * @typedef SslErrorEvent * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface SslErrorEvent { /** @@ -10856,8 +10831,8 @@ declare interface SslErrorEvent { * @type { SslErrorHandler } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ handler: SslErrorHandler; @@ -10867,8 +10842,8 @@ declare interface SslErrorEvent { * @type { SslError } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ error: SslError; @@ -10878,8 +10853,8 @@ declare interface SslErrorEvent { * @type { string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ url: string; @@ -10889,8 +10864,8 @@ declare interface SslErrorEvent { * @type { string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ originalUrl: string; @@ -10900,8 +10875,8 @@ declare interface SslErrorEvent { * @type { string } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ referrer: string; @@ -10911,8 +10886,8 @@ declare interface SslErrorEvent { * @type { boolean } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isFatalError: boolean; @@ -10922,8 +10897,8 @@ declare interface SslErrorEvent { * @type { boolean } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isMainFrame: boolean; } @@ -10934,7 +10909,7 @@ declare interface SslErrorEvent { * @interface ExpandedMenuItemOptions * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since 12 + * @since 12 dynamic * @deprecated since 20 */ declare interface ExpandedMenuItemOptions { @@ -10944,7 +10919,7 @@ declare interface ExpandedMenuItemOptions { * @type { ResourceStr } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since 12 + * @since 12 dynamic * @deprecated since 20 */ content: ResourceStr; @@ -10955,7 +10930,7 @@ declare interface ExpandedMenuItemOptions { * @type { ?ResourceStr } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since 12 + * @since 12 dynamic * @deprecated since 20 */ startIcon?: ResourceStr; @@ -10966,7 +10941,7 @@ declare interface ExpandedMenuItemOptions { * @type { function } * @syscap SystemCapability.Web.Webview.Core * @atomicservice - * @since 12 + * @since 12 dynamic * @deprecated since 20 */ action: (selectedText: {plainText: string}) => void; @@ -10977,8 +10952,8 @@ declare interface ExpandedMenuItemOptions { * * @interface NestedScrollOptionsExt * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ declare interface NestedScrollOptionsExt { /** @@ -10986,8 +10961,8 @@ declare interface NestedScrollOptionsExt { * * @type { ?NestedScrollMode } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ scrollUp?: NestedScrollMode; @@ -10996,8 +10971,8 @@ declare interface NestedScrollOptionsExt { * * @type { ?NestedScrollMode } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ scrollDown?: NestedScrollMode; @@ -11006,8 +10981,8 @@ declare interface NestedScrollOptionsExt { * * @type { ?NestedScrollMode } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ scrollRight?: NestedScrollMode; @@ -11016,8 +10991,8 @@ declare interface NestedScrollOptionsExt { * * @type { ?NestedScrollMode } * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ scrollLeft?: NestedScrollMode; } @@ -11027,8 +11002,8 @@ declare interface NestedScrollOptionsExt { * * @typedef EmbedOptions * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ declare interface EmbedOptions { /** @@ -11040,8 +11015,8 @@ declare interface EmbedOptions { * @type { ?boolean } * @default false * @syscap SystemCapability.Web.Webview.Core - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ supportDefaultIntrinsicSize?: boolean; @@ -11054,7 +11029,7 @@ declare interface EmbedOptions { * @type { ?boolean } * @default false * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ supportCssDisplayChange?: boolean; } @@ -11064,7 +11039,7 @@ declare interface EmbedOptions { * * @enum { number } * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ declare enum GestureFocusMode { /** @@ -11072,7 +11047,7 @@ declare enum GestureFocusMode { * will cause the web component to acquire focus on touch down. * * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ DEFAULT = 0, @@ -11081,7 +11056,7 @@ declare enum GestureFocusMode { * while gestures such as scrolling, zooming, etc., do not request focus. * * @syscap SystemCapability.Web.Webview.Core - * @since 20 + * @since 20 dynamic */ GESTURE_TAP_AND_LONG_PRESS = 1 } diff --git a/api/@internal/component/ets/window_scene.d.ts b/api/@internal/component/ets/window_scene.d.ts index ae1d897fd8..abafbbcfe6 100644 --- a/api/@internal/component/ets/window_scene.d.ts +++ b/api/@internal/component/ets/window_scene.d.ts @@ -18,7 +18,7 @@ * @kit ArkUI */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { Position } from './units' import { CommonMethod } from './common' /*** endif */ @@ -29,8 +29,8 @@ import { CommonMethod } from './common' * @interface WindowSceneInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static * @noninterop */ interface WindowSceneInterface { @@ -41,8 +41,8 @@ interface WindowSceneInterface { * @returns { WindowSceneAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ (persistentId: number): WindowSceneAttribute; } @@ -53,8 +53,8 @@ interface WindowSceneInterface { * @extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static * @noninterop */ declare class WindowSceneAttribute extends CommonMethod { @@ -68,8 +68,8 @@ declare class WindowSceneAttribute extends CommonMethod { * @returns { WindowSceneAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ attractionEffect(destination: Position, fraction: number): WindowSceneAttribute; } @@ -79,7 +79,7 @@ declare class WindowSceneAttribute extends CommonMethod { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic * @noninterop */ declare const WindowScene: WindowSceneInterface; @@ -89,7 +89,7 @@ declare const WindowScene: WindowSceneInterface; * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic * @noninterop */ declare const WindowSceneInstance: WindowSceneAttribute; diff --git a/api/@internal/component/ets/with_theme.d.ts b/api/@internal/component/ets/with_theme.d.ts index a25661f83d..b736fb0925 100644 --- a/api/@internal/component/ets/with_theme.d.ts +++ b/api/@internal/component/ets/with_theme.d.ts @@ -25,7 +25,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type CustomTheme = import('../api/@ohos.arkui.theme').CustomTheme; @@ -36,7 +36,7 @@ declare type CustomTheme = import('../api/@ohos.arkui.theme').CustomTheme; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface WithThemeOptions { /** @@ -46,7 +46,7 @@ declare interface WithThemeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ theme?: CustomTheme; @@ -57,7 +57,7 @@ declare interface WithThemeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ colorMode?: ThemeColorMode; } @@ -71,7 +71,7 @@ declare interface WithThemeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice -* @since 12 +* @since 12 dynamic * @noninterop */ declare type WithThemeInterface = (options: WithThemeOptions) => WithThemeAttribute; @@ -82,7 +82,7 @@ declare type WithThemeInterface = (options: WithThemeOptions) => WithThemeAttrib * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice -* @since 12 +* @since 12 dynamic * @noninterop */ declare class WithThemeAttribute { @@ -94,7 +94,7 @@ declare class WithThemeAttribute { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice -* @since 12 +* @since 12 dynamic * @noninterop */ declare const WithTheme: WithThemeInterface; @@ -105,7 +105,7 @@ declare const WithTheme: WithThemeInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice -* @since 12 +* @since 12 dynamic * @noninterop */ declare const WithThemeInstance: WithThemeAttribute; \ No newline at end of file diff --git a/api/@internal/component/ets/xcomponent.d.ts b/api/@internal/component/ets/xcomponent.d.ts index 60f347cb22..76c7681ee6 100644 --- a/api/@internal/component/ets/xcomponent.d.ts +++ b/api/@internal/component/ets/xcomponent.d.ts @@ -33,7 +33,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface SurfaceRect { /** @@ -53,7 +53,7 @@ declare interface SurfaceRect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ offsetX?: number; @@ -74,7 +74,7 @@ declare interface SurfaceRect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ offsetY?: number; @@ -94,7 +94,7 @@ declare interface SurfaceRect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ surfaceWidth: number; @@ -114,7 +114,7 @@ declare interface SurfaceRect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ surfaceHeight: number; } @@ -134,7 +134,7 @@ declare interface SurfaceRect { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface SurfaceRotationOptions { /** @@ -153,7 +153,7 @@ declare interface SurfaceRotationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ lock?: boolean; } @@ -172,7 +172,7 @@ declare interface SurfaceRotationOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class XComponentController { /** @@ -187,7 +187,7 @@ declare class XComponentController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(); @@ -207,7 +207,7 @@ declare class XComponentController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getXComponentSurfaceId(): string; @@ -229,7 +229,7 @@ declare class XComponentController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getXComponentContext(): Object; @@ -239,7 +239,7 @@ declare class XComponentController { * * @param { object } value - Width and Height of the surface held by the XComponent. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 9 + * @since 9 dynamiconly * @deprecated since 12 * @useinstead setXComponentSurfaceRect */ @@ -264,7 +264,7 @@ declare class XComponentController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ setXComponentSurfaceRect(rect: SurfaceRect): void; @@ -284,7 +284,7 @@ declare class XComponentController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ getXComponentSurfaceRect(): SurfaceRect; @@ -304,7 +304,7 @@ declare class XComponentController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ setXComponentSurfaceRotation(rotationOptions: SurfaceRotationOptions): void; @@ -324,7 +324,7 @@ declare class XComponentController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ getXComponentSurfaceRotation(): Required; @@ -344,7 +344,7 @@ declare class XComponentController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onSurfaceCreated(surfaceId: string): void; @@ -366,7 +366,7 @@ declare class XComponentController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onSurfaceChanged(surfaceId: string, rect: SurfaceRect): void; @@ -386,7 +386,7 @@ declare class XComponentController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onSurfaceDestroyed(surfaceId: string): void; @@ -403,7 +403,7 @@ declare class XComponentController { * @throws { BusinessError } 110003 - Image analysis is stopped. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ startImageAnalyzer(config: ImageAnalyzerConfig): Promise; @@ -413,7 +413,7 @@ declare class XComponentController { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ stopImageAnalyzer(): void; @@ -424,7 +424,7 @@ declare class XComponentController { * Returns null if the surface is not available. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ lockCanvas(): DrawingCanvas | null; @@ -434,7 +434,7 @@ declare class XComponentController { * @param { DrawingCanvas } canvas - The canvas previously obtained from lockCanvas. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ unlockCanvasAndPost(canvas: DrawingCanvas):void; } @@ -454,7 +454,7 @@ declare class XComponentController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface XComponentOptions { /** @@ -472,7 +472,7 @@ declare interface XComponentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ type: XComponentType; @@ -492,7 +492,7 @@ declare interface XComponentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ controller: XComponentController; @@ -503,7 +503,7 @@ declare interface XComponentOptions { * @type { ?ImageAIOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ imageAIOptions?: ImageAIOptions; @@ -513,7 +513,7 @@ declare interface XComponentOptions { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 17 + * @since 17 dynamic */ screenId?: number; } @@ -524,7 +524,7 @@ declare interface XComponentOptions { * @interface NativeXComponentParameters * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 19 + * @since 19 dynamic */ declare interface NativeXComponentParameters { /** @@ -533,7 +533,7 @@ declare interface NativeXComponentParameters { * @type { XComponentType } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 19 + * @since 19 dynamic */ type: XComponentType; @@ -543,7 +543,7 @@ declare interface NativeXComponentParameters { * @type { ?ImageAIOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 19 + * @since 19 dynamic */ imageAIOptions?: ImageAIOptions; } @@ -562,7 +562,7 @@ declare interface NativeXComponentParameters { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ interface XComponentInterface { @@ -572,7 +572,7 @@ interface XComponentInterface { * @param { object } value - Indicates the options of the xcomponent. * @returns { XComponentAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 12 */ (value: { id: string; type: string; libraryname?: string; controller?: XComponentController }): XComponentAttribute; @@ -593,7 +593,7 @@ interface XComponentInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ (value: { id: string; type: XComponentType; libraryname?: string; controller?: XComponentController }): XComponentAttribute; @@ -614,7 +614,7 @@ interface XComponentInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ (options: XComponentOptions): XComponentAttribute; @@ -625,7 +625,7 @@ interface XComponentInterface { * @returns { XComponentAttribute } The attribute of the xcomponent. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 19 + * @since 19 dynamic */ (params: NativeXComponentParameters): XComponentAttribute; } @@ -639,7 +639,7 @@ interface XComponentInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnNativeLoadCallback = (event?: object) => void; @@ -657,7 +657,7 @@ declare type OnNativeLoadCallback = (event?: object) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class XComponentAttribute extends CommonMethod { @@ -688,7 +688,7 @@ declare class XComponentAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onLoad(callback: OnNativeLoadCallback): XComponentAttribute; @@ -719,7 +719,7 @@ declare class XComponentAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onDestroy(event: VoidCallback): XComponentAttribute; @@ -733,7 +733,7 @@ declare class XComponentAttribute extends CommonMethod { * @returns { XComponentAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ enableAnalyzer(enable: boolean): XComponentAttribute; @@ -744,7 +744,7 @@ declare class XComponentAttribute extends CommonMethod { * @returns { XComponentAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ enableSecure(isSecure: boolean): XComponentAttribute; @@ -764,7 +764,7 @@ declare class XComponentAttribute extends CommonMethod { * @returns { XComponentAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ hdrBrightness(brightness: number): XComponentAttribute; @@ -775,7 +775,7 @@ declare class XComponentAttribute extends CommonMethod { * @returns { XComponentAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ enableTransparentLayer(enabled: boolean): XComponentAttribute; } @@ -792,7 +792,7 @@ declare class XComponentAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const XComponent: XComponentInterface; @@ -809,7 +809,7 @@ declare const XComponent: XComponentInterface; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare const XComponentInstance: XComponentAttribute; diff --git a/api/@internal/ets/global.d.ts b/api/@internal/ets/global.d.ts index 3606e6f958..9422c117f4 100644 --- a/api/@internal/ets/global.d.ts +++ b/api/@internal/ets/global.d.ts @@ -47,7 +47,7 @@ * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ export declare class console { /** @@ -86,7 +86,7 @@ export declare class console { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static debug(message: string, ...arguments: any[]): void; @@ -126,7 +126,7 @@ export declare class console { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static log(message: string, ...arguments: any[]): void; @@ -166,7 +166,7 @@ export declare class console { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static info(message: string, ...arguments: any[]): void; @@ -206,7 +206,7 @@ export declare class console { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static warn(message: string, ...arguments: any[]): void; @@ -246,7 +246,7 @@ export declare class console { * @crossplatform * @form * @atomicservice - * @since 11 + * @since 11 dynamic */ static error(message: string, ...arguments: any[]): void; @@ -274,7 +274,7 @@ export declare class console { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static assert(value?: Object, ...arguments: Object[]): void; @@ -302,7 +302,7 @@ export declare class console { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static count(label?: string): void; @@ -328,7 +328,7 @@ export declare class console { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static countReset(label?: string): void; @@ -350,7 +350,7 @@ export declare class console { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static dir(dir?: Object): void; @@ -374,7 +374,7 @@ export declare class console { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static dirxml(...arguments: Object[]): void; @@ -396,7 +396,7 @@ export declare class console { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static group(...arguments: Object[]): void; @@ -418,7 +418,7 @@ export declare class console { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static groupCollapsed(...arguments: Object[]): void; @@ -437,7 +437,7 @@ export declare class console { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static groupEnd(): void; @@ -459,7 +459,7 @@ export declare class console { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static table(tableData?: Object): void; @@ -486,7 +486,7 @@ export declare class console { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static time(label?: string): void; @@ -512,7 +512,7 @@ export declare class console { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static timeEnd(label?: string): void; @@ -540,7 +540,7 @@ export declare class console { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static timeLog(label?: string, ...arguments: Object[]): void; @@ -562,7 +562,7 @@ export declare class console { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static trace(...arguments: Object[]): void; @@ -573,7 +573,7 @@ export declare class console { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static traceHybridStack(): void; } @@ -616,7 +616,7 @@ export declare class console { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export declare function setInterval(handler: Function | string, delay: number, ...arguments: any[]): number; @@ -664,7 +664,7 @@ export declare function setInterval(handler: Function | string, delay: number, . * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export declare function setTimeout(handler: Function | string, delay?: number, ...arguments: any[]): number; @@ -691,7 +691,7 @@ export declare function setTimeout(handler: Function | string, delay?: number, . * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export declare function clearInterval(intervalID?: number): void; @@ -718,7 +718,7 @@ export declare function clearInterval(intervalID?: number): void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export declare function clearTimeout(timeoutID?: number): void; @@ -747,7 +747,7 @@ export declare function clearTimeout(timeoutID?: number): void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export declare function canIUse(syscap: string): boolean; @@ -762,7 +762,7 @@ export declare function canIUse(syscap: string): boolean; * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @example * if (isApiVersionGreaterOrEqual("20.1")) { * // Use 20.1 APIs. @@ -800,7 +800,7 @@ export declare function isApiVersionGreaterOrEqual(apiVersion: string): boolean; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ export declare function getInspectorByKey(id: string): string; @@ -829,7 +829,7 @@ export declare function getInspectorByKey(id: string): string; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ export declare function getInspectorTree(): Object; @@ -867,7 +867,7 @@ export declare function getInspectorTree(): Object; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ export declare function sendEventByKey(id: string, action: number, params: string): boolean; @@ -899,7 +899,7 @@ export declare function sendEventByKey(id: string, action: number, params: strin * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ export declare function sendTouchEvent(event: TouchObject): boolean; @@ -931,7 +931,7 @@ export declare function sendTouchEvent(event: TouchObject): boolean; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ export declare function sendKeyEvent(event: KeyEvent): boolean; @@ -963,7 +963,7 @@ export declare function sendKeyEvent(event: KeyEvent): boolean; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ export declare function sendMouseEvent(event: MouseEvent): boolean; @@ -976,7 +976,7 @@ export declare function sendMouseEvent(event: MouseEvent): boolean; * @syscap SystemCapability.Utils.Lang * @systemapi * @stagemodelonly - * @since 10 + * @since 10 dynamic */ export declare function markModuleCollectable(namespace: Object): void; @@ -990,6 +990,6 @@ export declare function markModuleCollectable(namespace: Object): void; * @syscap SystemCapability.Utils.Lang * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare function loadNativeModule(moduleName: string): Object; \ No newline at end of file diff --git a/api/@internal/ets/lifecycle.d.ts b/api/@internal/ets/lifecycle.d.ts index ad88c51a84..008d535027 100644 --- a/api/@internal/ets/lifecycle.d.ts +++ b/api/@internal/ets/lifecycle.d.ts @@ -38,7 +38,7 @@ import { AsyncCallback } from '../../@ohos.base'; * @interface LifecycleForm * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ export declare interface LifecycleForm { /** @@ -53,7 +53,7 @@ export declare interface LifecycleForm { * @returns { formBindingData.FormBindingData } Returns the created {@link formBindingData#FormBindingData} object. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 8 + * @since 8 dynamiconly */ onCreate?(want: Want): formBindingData.FormBindingData; @@ -63,7 +63,7 @@ export declare interface LifecycleForm { * @param { string } formId - Indicates the ID of the form. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 8 + * @since 8 dynamiconly */ onCastToNormal?(formId: string): void; @@ -73,7 +73,7 @@ export declare interface LifecycleForm { * @param { string } formId - Indicates the ID of the form to update. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 8 + * @since 8 dynamiconly */ onUpdate?(formId: string): void; @@ -106,7 +106,7 @@ export declare interface LifecycleForm { * means that the form becomes invisible. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 11 + * @since 11 dynamiconly */ onVisibilityChange?(newStatus: Record): void; @@ -120,7 +120,7 @@ export declare interface LifecycleForm { * is used to identify the specific component on which the event is triggered. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 8 + * @since 8 dynamiconly */ onEvent?(formId: string, message: string): void; @@ -131,7 +131,7 @@ export declare interface LifecycleForm { * @param { string } formId - Indicates the ID of the deleted form. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 8 + * @since 8 dynamiconly */ onDestroy?(formId: string): void; @@ -146,7 +146,7 @@ export declare interface LifecycleForm { * @returns { formInfo.FormState } Returns the {@link formInfo#FormState} object. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 8 + * @since 8 dynamiconly */ onAcquireFormState?(want: Want): formInfo.FormState; @@ -158,7 +158,7 @@ export declare interface LifecycleForm { * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @systemapi * @FAModelOnly - * @since 9 + * @since 9 dynamiconly */ onShare?(formId: string): { [key: string]: any }; @@ -171,7 +171,7 @@ export declare interface LifecycleForm { * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @systemapi * @FAModelOnly - * @since 11 + * @since 11 dynamiconly */ onShareForm?(formId: string): Record; } @@ -182,7 +182,7 @@ export declare interface LifecycleForm { * @interface LifecycleApp * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ export declare interface LifecycleApp { /** @@ -190,7 +190,7 @@ export declare interface LifecycleApp { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onShow?(): void; @@ -199,7 +199,7 @@ export declare interface LifecycleApp { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onHide?(): void; @@ -208,7 +208,7 @@ export declare interface LifecycleApp { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onDestroy?(): void; @@ -217,7 +217,7 @@ export declare interface LifecycleApp { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onCreate?(): void; @@ -232,7 +232,7 @@ export declare interface LifecycleApp { * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @systemapi * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onWindowDisplayModeChanged?(isShownInMultiWindow: boolean, newConfig: resourceManager.Configuration): void; @@ -242,7 +242,7 @@ export declare interface LifecycleApp { * @returns { boolean } Returns {@code true} if the user allows the migration; returns {@code false} otherwise. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onStartContinuation?(): boolean; @@ -255,7 +255,7 @@ export declare interface LifecycleApp { * @returns { boolean } Returns {@code true} if the data is successfully saved; returns {@code false} otherwise. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onSaveData?(data: Object): boolean; @@ -268,7 +268,7 @@ export declare interface LifecycleApp { * successful, and {@code -1} indicates that the migration fails. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onCompleteContinuation?(result: number): void; @@ -280,7 +280,7 @@ export declare interface LifecycleApp { * @param { Object } data - Indicates the user data to restore. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onRestoreData?(data: Object): void; @@ -290,7 +290,7 @@ export declare interface LifecycleApp { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onRemoteTerminated?(): void; @@ -303,7 +303,7 @@ export declare interface LifecycleApp { * parameter cannot be null. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onSaveAbilityState?(outState: PacMap): void; @@ -316,7 +316,7 @@ export declare interface LifecycleApp { * parameter can not be null. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onRestoreAbilityState?(inState: PacMap): void; @@ -326,7 +326,7 @@ export declare interface LifecycleApp { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onInactive?(): void; @@ -335,7 +335,7 @@ export declare interface LifecycleApp { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onActive?(): void; @@ -345,7 +345,7 @@ export declare interface LifecycleApp { * @param { Want } want - Indicates the new {@code want} containing information about the ability. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onNewWant?(want: Want): void; @@ -356,7 +356,7 @@ export declare interface LifecycleApp { * @param { number } level - Indicates the memory trim level, which shows the current memory usage status. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onMemoryLevel?(level: number): void; } @@ -367,7 +367,7 @@ export declare interface LifecycleApp { * @interface LifecycleService * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ export declare interface LifecycleService { /** @@ -376,7 +376,7 @@ export declare interface LifecycleService { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onStart?(): void; @@ -389,7 +389,7 @@ export declare interface LifecycleService { * has been started for six times. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onCommand?(want: Want, startId: number): void; @@ -398,7 +398,7 @@ export declare interface LifecycleService { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onStop?(): void; @@ -409,7 +409,7 @@ export declare interface LifecycleService { * @returns { rpc.RemoteObject } Returns the proxy of the Service ability. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onConnect?(want: Want): rpc.RemoteObject; @@ -419,7 +419,7 @@ export declare interface LifecycleService { * @param { Want } want - Indicates disconnection information about the Service ability. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onDisconnect?(want: Want): void; @@ -432,7 +432,7 @@ export declare interface LifecycleService { * @param { Want } want - Indicates the want of the Service ability being connected. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onReconnect?(want: Want): void; } @@ -443,7 +443,7 @@ export declare interface LifecycleService { * @interface LifecycleData * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ export declare interface LifecycleData { /** @@ -457,7 +457,7 @@ export declare interface LifecycleData { * call this function to return the result to framework. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ update?( uri: string, @@ -478,7 +478,7 @@ export declare interface LifecycleData { * should call this function to return the result to framework. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ query?( uri: string, @@ -497,7 +497,7 @@ export declare interface LifecycleData { * call this function to return the result to framework. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ delete?(uri: string, predicates: dataAbility.DataAbilityPredicates, callback: AsyncCallback): void; @@ -511,7 +511,7 @@ export declare interface LifecycleData { * should call this function to return the result to framework. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ normalizeUri?(uri: string, callback: AsyncCallback): void; @@ -524,7 +524,7 @@ export declare interface LifecycleData { * call this function to return the result to framework. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ batchInsert?(uri: string, valueBuckets: Array, callback: AsyncCallback): void; @@ -537,7 +537,7 @@ export declare interface LifecycleData { * should call this function to return the result to framework. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ denormalizeUri?(uri: string, callback: AsyncCallback): void; @@ -550,7 +550,7 @@ export declare interface LifecycleData { * should call this function to return the result to framework. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ insert?(uri: string, valueBucket: rdb.ValuesBucket, callback: AsyncCallback): void; @@ -567,7 +567,7 @@ export declare interface LifecycleData { * call this function to return the result to framework. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ openFile?(uri: string, mode: string, callback: AsyncCallback): void; @@ -584,7 +584,7 @@ export declare interface LifecycleData { * should call this function to return the result to framework. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ getFileTypes?(uri: string, mimeTypeFilter: string, callback: AsyncCallback>): void; @@ -594,7 +594,7 @@ export declare interface LifecycleData { * @param { AbilityInfo } info - Indicates the {@code AbilityInfo} object containing information about this ability. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ onInitialized?(info: AbilityInfo): void; @@ -608,7 +608,7 @@ export declare interface LifecycleData { * call this function to return the result to framework. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ getType?(uri: string, callback: AsyncCallback): void; @@ -622,7 +622,7 @@ export declare interface LifecycleData { * the result to framework. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ executeBatch?(ops: Array, callback: AsyncCallback>): void; @@ -636,7 +636,7 @@ export declare interface LifecycleData { * should call this function to return the result to framework. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ call?(method: string, arg: string, extras: PacMap, callback: AsyncCallback): void; } diff --git a/api/@ohos.InputMethodExtensionAbility.d.ts b/api/@ohos.InputMethodExtensionAbility.d.ts index 2d8202b562..226c12236c 100644 --- a/api/@ohos.InputMethodExtensionAbility.d.ts +++ b/api/@ohos.InputMethodExtensionAbility.d.ts @@ -26,7 +26,7 @@ import type InputMethodExtensionContext from './@ohos.InputMethodExtensionContex * * @syscap SystemCapability.MiscServices.InputMethodFramework * @StageModelOnly - * @since 9 + * @since 9 dynamic */ export default class InputMethodExtensionAbility { /** @@ -35,7 +35,7 @@ export default class InputMethodExtensionAbility { * @type { InputMethodExtensionContext } * @syscap SystemCapability.MiscServices.InputMethodFramework * @StageModelOnly - * @since 9 + * @since 9 dynamic */ context: InputMethodExtensionContext; @@ -45,7 +45,7 @@ export default class InputMethodExtensionAbility { * @param { Want } want - Indicates the want of created service extension. * @syscap SystemCapability.MiscServices.InputMethodFramework * @StageModelOnly - * @since 9 + * @since 9 dynamic */ onCreate(want: Want): void; @@ -54,7 +54,7 @@ export default class InputMethodExtensionAbility { * * @syscap SystemCapability.MiscServices.InputMethodFramework * @StageModelOnly - * @since 9 + * @since 9 dynamic */ onDestroy(): void; } diff --git a/api/@ohos.InputMethodExtensionContext.d.ts b/api/@ohos.InputMethodExtensionContext.d.ts index 5d581c9632..8044e75b2c 100644 --- a/api/@ohos.InputMethodExtensionContext.d.ts +++ b/api/@ohos.InputMethodExtensionContext.d.ts @@ -28,7 +28,7 @@ import ExtensionContext from './application/ExtensionContext'; * @extends ExtensionContext * @syscap SystemCapability.MiscServices.InputMethodFramework * @StageModelOnly - * @since 9 + * @since 9 dynamic */ export default class InputMethodExtensionContext extends ExtensionContext { /** @@ -37,7 +37,7 @@ export default class InputMethodExtensionContext extends ExtensionContext { * @param { AsyncCallback } callback - the callback of destroy. * @syscap SystemCapability.MiscServices.InputMethodFramework * @StageModelOnly - * @since 9 + * @since 9 dynamic */ destroy(callback: AsyncCallback): void; @@ -47,7 +47,7 @@ export default class InputMethodExtensionContext extends ExtensionContext { * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.MiscServices.InputMethodFramework * @StageModelOnly - * @since 9 + * @since 9 dynamic */ destroy(): Promise; @@ -79,7 +79,7 @@ export default class InputMethodExtensionContext extends ExtensionContext { * @throws { BusinessError } 16200001 - The caller has been released. * @syscap SystemCapability.MiscServices.InputMethodFramework * @StageModelOnly - * @since 12 + * @since 12 dynamic */ startAbility(want: Want): Promise; } diff --git a/api/@ohos.InputMethodSubtype.d.ts b/api/@ohos.InputMethodSubtype.d.ts index 1cb08c348e..fed9dea5d7 100644 --- a/api/@ohos.InputMethodSubtype.d.ts +++ b/api/@ohos.InputMethodSubtype.d.ts @@ -23,8 +23,8 @@ * * @interface InputMethodSubtype * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export default interface InputMethodSubtype { /** @@ -33,8 +33,8 @@ export default interface InputMethodSubtype { * @type { ?string } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly label?: string; @@ -44,8 +44,8 @@ export default interface InputMethodSubtype { * @type { ?double } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ readonly labelId?: double; @@ -55,8 +55,8 @@ export default interface InputMethodSubtype { * @type { string } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly name: string; @@ -66,8 +66,8 @@ export default interface InputMethodSubtype { * @type { string } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly id: string; @@ -77,8 +77,8 @@ export default interface InputMethodSubtype { * @type { ?('upper' | 'lower') } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly mode?: 'upper' | 'lower'; @@ -88,8 +88,8 @@ export default interface InputMethodSubtype { * @type { string } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly locale: string; @@ -99,8 +99,8 @@ export default interface InputMethodSubtype { * @type { string } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly language: string; @@ -110,8 +110,8 @@ export default interface InputMethodSubtype { * @type { ?string } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly icon?: string; @@ -121,8 +121,8 @@ export default interface InputMethodSubtype { * @type { ?double } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly iconId?: double; @@ -138,8 +138,8 @@ export default interface InputMethodSubtype { * * @type { ?object } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ extra?: object; } \ No newline at end of file diff --git a/api/@ohos.WallpaperExtensionAbility.d.ts b/api/@ohos.WallpaperExtensionAbility.d.ts index 463fb536a1..a15ca7005e 100644 --- a/api/@ohos.WallpaperExtensionAbility.d.ts +++ b/api/@ohos.WallpaperExtensionAbility.d.ts @@ -24,7 +24,7 @@ * @syscap SystemCapability.MiscServices.Wallpaper * @systemapi Hide this for inner system use. * @StageModelOnly - * @since 10 + * @since 10 dynamic */ declare class WallpaperExtensionAbility { /** @@ -34,7 +34,7 @@ declare class WallpaperExtensionAbility { * @syscap SystemCapability.MiscServices.Wallpaper * @systemapi Hide this for inner system use. * @StageModelOnly - * @since 10 + * @since 10 dynamic */ onCreate(want: object): void; @@ -45,7 +45,7 @@ declare class WallpaperExtensionAbility { * @syscap SystemCapability.MiscServices.Wallpaper * @systemapi Hide this for inner system use. * @StageModelOnly - * @since 10 + * @since 10 dynamic */ onWallpaperChange(wallpaperType: number): void; @@ -55,7 +55,7 @@ declare class WallpaperExtensionAbility { * @syscap SystemCapability.MiscServices.Wallpaper * @systemapi Hide this for inner system use. * @StageModelOnly - * @since 10 + * @since 10 dynamic */ onDestroy(): void; } diff --git a/api/@ohos.WorkSchedulerExtensionAbility.d.ts b/api/@ohos.WorkSchedulerExtensionAbility.d.ts index 832b0c443e..9d7cf2d9b1 100644 --- a/api/@ohos.WorkSchedulerExtensionAbility.d.ts +++ b/api/@ohos.WorkSchedulerExtensionAbility.d.ts @@ -28,8 +28,8 @@ import _WorkSchedulerExtensionContext from './application/WorkSchedulerExtension * @typedef { _WorkSchedulerExtensionContext } * @syscap SystemCapability.ResourceSchedule.WorkScheduler * @StageModelOnly - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export type WorkSchedulerExtensionContext = _WorkSchedulerExtensionContext; @@ -37,8 +37,8 @@ export type WorkSchedulerExtensionContext = _WorkSchedulerExtensionContext; * Class of the work scheduler extension ability. * * @syscap SystemCapability.ResourceSchedule.WorkScheduler - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare class WorkSchedulerExtensionAbility { /** @@ -47,8 +47,8 @@ declare class WorkSchedulerExtensionAbility { * @type { WorkSchedulerExtensionContext } * @syscap SystemCapability.ResourceSchedule.WorkScheduler * @StageModelOnly - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ context: WorkSchedulerExtensionContext; @@ -58,8 +58,8 @@ declare class WorkSchedulerExtensionAbility { * @param {workScheduler.WorkInfo} work - The info of work. * @syscap SystemCapability.ResourceSchedule.WorkScheduler * @StageModelOnly - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onWorkStart(work: workScheduler.WorkInfo): void; @@ -69,8 +69,8 @@ declare class WorkSchedulerExtensionAbility { * @param {workScheduler.WorkInfo} work - The info of work. * @syscap SystemCapability.ResourceSchedule.WorkScheduler * @StageModelOnly - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onWorkStop(work: workScheduler.WorkInfo): void; } @@ -80,7 +80,7 @@ declare class WorkSchedulerExtensionAbility { * * @syscap SystemCapability.ResourceSchedule.WorkScheduler * @StageModelOnly - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export default WorkSchedulerExtensionAbility; \ No newline at end of file diff --git a/api/@ohos.ability.ability.d.ts b/api/@ohos.ability.ability.d.ts index f09a89c828..351dcfde1a 100644 --- a/api/@ohos.ability.ability.d.ts +++ b/api/@ohos.ability.ability.d.ts @@ -39,7 +39,7 @@ import { StartAbilityParameter as _StartAbilityParameter } from './ability/start * * @namespace ability * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore - * @since 11 + * @since 11 dynamic */ declare namespace ability { /** @@ -48,7 +48,7 @@ declare namespace ability { * @typedef { _DataAbilityHelper } * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 9 + * @since 9 dynamiconly */ export type DataAbilityHelper = _DataAbilityHelper; @@ -65,7 +65,7 @@ declare namespace ability { * * @typedef { _PacMap } * @syscap SystemCapability.Ability.AbilityRuntime.FAModel - * @since 11 + * @since 11 dynamic */ export type PacMap = _PacMap; @@ -76,7 +76,7 @@ declare namespace ability { * @typedef { _DataAbilityOperation } * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 9 + * @since 9 dynamiconly */ export type DataAbilityOperation = _DataAbilityOperation; @@ -88,7 +88,7 @@ declare namespace ability { * @typedef { _DataAbilityResult } * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 9 + * @since 9 dynamiconly */ export type DataAbilityResult = _DataAbilityResult; @@ -101,7 +101,7 @@ declare namespace ability { * @typedef { _AbilityResult } * @syscap SystemCapability.Ability.AbilityBase * @FAModelOnly - * @since 9 + * @since 9 dynamiconly */ export type AbilityResult = _AbilityResult; @@ -112,7 +112,7 @@ declare namespace ability { * @typedef { _ConnectOptions } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @FAModelOnly - * @since 9 + * @since 9 dynamiconly */ export type ConnectOptions = _ConnectOptions; @@ -123,7 +123,7 @@ declare namespace ability { * @typedef { _StartAbilityParameter } * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 9 + * @since 9 dynamiconly */ export type StartAbilityParameter = _StartAbilityParameter; } diff --git a/api/@ohos.ability.errorCode.d.ts b/api/@ohos.ability.errorCode.d.ts index 83418a702b..9ca2ee12fe 100644 --- a/api/@ohos.ability.errorCode.d.ts +++ b/api/@ohos.ability.errorCode.d.ts @@ -23,16 +23,16 @@ * * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'6', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 6 dynamic + * @since 20 static */ export enum ErrorCode { /** * Permission denied. * * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'6', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 6 dynamic + * @since 20 static */ PERMISSION_DENY = -3, @@ -40,8 +40,8 @@ export enum ErrorCode { * Ability not found. * * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'6', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 6 dynamic + * @since 20 static */ ABILITY_NOT_FOUND = -2, @@ -49,8 +49,8 @@ export enum ErrorCode { * Invalid parameter. * * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'6', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 6 dynamic + * @since 20 static */ INVALID_PARAMETER = -1, @@ -58,8 +58,8 @@ export enum ErrorCode { * No error. * * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'6', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 6 dynamic + * @since 20 static */ NO_ERROR = 0 } diff --git a/api/@ohos.ability.featureAbility.d.ts b/api/@ohos.ability.featureAbility.d.ts index 5c9e8c779c..ce0b735242 100644 --- a/api/@ohos.ability.featureAbility.d.ts +++ b/api/@ohos.ability.featureAbility.d.ts @@ -36,7 +36,7 @@ import window from './@ohos.window'; * @namespace featureAbility * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 6 + * @since 6 dynamiconly */ declare namespace featureAbility { /** @@ -45,7 +45,7 @@ declare namespace featureAbility { * @param { AsyncCallback } callback - Indicates the ability to start. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 6 + * @since 6 dynamiconly */ function getWant(callback: AsyncCallback): void; @@ -55,7 +55,7 @@ declare namespace featureAbility { * @returns { Promise } The promise form returns the Want result * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 6 + * @since 6 dynamiconly */ function getWant(): Promise; @@ -66,7 +66,7 @@ declare namespace featureAbility { * @param { AsyncCallback } callback - Returns the result of starting Ability in the form of callback. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 6 + * @since 6 dynamiconly */ function startAbility(parameter: StartAbilityParameter, callback: AsyncCallback): void; @@ -77,7 +77,7 @@ declare namespace featureAbility { * @returns { Promise } The promise form returns the Ability result * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 6 + * @since 6 dynamiconly */ function startAbility(parameter: StartAbilityParameter): Promise; @@ -87,7 +87,7 @@ declare namespace featureAbility { * @returns { Context } Returns the application context. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 6 + * @since 6 dynamiconly */ function getContext(): Context; @@ -98,7 +98,7 @@ declare namespace featureAbility { * @param { AsyncCallback } callback - Returns the result of starting Ability in the form of callback. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function startAbilityForResult(parameter: StartAbilityParameter, callback: AsyncCallback): void; @@ -109,7 +109,7 @@ declare namespace featureAbility { * @returns { Promise } Returns the {@link AbilityResult}. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function startAbilityForResult(parameter: StartAbilityParameter): Promise; @@ -120,7 +120,7 @@ declare namespace featureAbility { * @param { AsyncCallback } callback - Return the result of stopping Ability in the form of callback. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback): void; @@ -131,7 +131,7 @@ declare namespace featureAbility { * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function terminateSelfWithResult(parameter: AbilityResult): Promise; @@ -141,7 +141,7 @@ declare namespace featureAbility { * @param { AsyncCallback } callback - Returns the stop ability result in the form of a callback. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function terminateSelf(callback: AsyncCallback): void; @@ -151,7 +151,7 @@ declare namespace featureAbility { * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function terminateSelf(): Promise; @@ -162,7 +162,7 @@ declare namespace featureAbility { * @returns { DataAbilityHelper } Returns the dataAbilityHelper. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function acquireDataAbilityHelper(uri: string): DataAbilityHelper; @@ -173,7 +173,7 @@ declare namespace featureAbility { * has window focus,return true otherwise,return false. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function hasWindowFocus(callback: AsyncCallback): void; @@ -184,7 +184,7 @@ declare namespace featureAbility { * returns {@code false} otherwise. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function hasWindowFocus(): Promise; @@ -196,7 +196,7 @@ declare namespace featureAbility { * @returns { number } Returns the number code of the ability connected * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function connectAbility(request: Want, options: ConnectOptions): number; @@ -207,7 +207,7 @@ declare namespace featureAbility { * @param { AsyncCallback } callback - Returns the disconnection result in the form of callback. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function disconnectAbility(connection: number, callback: AsyncCallback): void; @@ -218,7 +218,7 @@ declare namespace featureAbility { * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function disconnectAbility(connection: number): Promise; @@ -229,7 +229,7 @@ declare namespace featureAbility { * in the form of callback. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function getWindow(callback: AsyncCallback): void; @@ -239,7 +239,7 @@ declare namespace featureAbility { * @returns { Promise } Returns the window corresponding to the current ability. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function getWindow(): Promise; @@ -249,7 +249,7 @@ declare namespace featureAbility { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ export enum AbilityWindowConfiguration { /** @@ -257,7 +257,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ WINDOW_MODE_UNDEFINED = 0, @@ -266,7 +266,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ WINDOW_MODE_FULLSCREEN = 1, @@ -276,7 +276,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ WINDOW_MODE_SPLIT_PRIMARY = 100, @@ -286,7 +286,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ WINDOW_MODE_SPLIT_SECONDARY = 101, @@ -295,7 +295,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ WINDOW_MODE_FLOATING = 102 } @@ -306,7 +306,7 @@ declare namespace featureAbility { * @enum { string } * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ export enum AbilityStartSetting { /** @@ -314,7 +314,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ BOUNDS_KEY = 'abilityBounds', @@ -323,7 +323,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ WINDOW_MODE_KEY = 'windowMode', @@ -332,7 +332,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ DISPLAY_ID_KEY = 'displayId' } @@ -343,7 +343,7 @@ declare namespace featureAbility { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ export enum ErrorCode { /** @@ -351,7 +351,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ NO_ERROR = 0, @@ -360,7 +360,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ INVALID_PARAMETER = -1, @@ -369,7 +369,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ ABILITY_NOT_FOUND = -2, @@ -378,7 +378,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ PERMISSION_DENY = -3 } @@ -389,7 +389,7 @@ declare namespace featureAbility { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ export enum DataAbilityOperationType { /** @@ -397,7 +397,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ TYPE_INSERT = 1, @@ -406,7 +406,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ TYPE_UPDATE = 2, @@ -415,7 +415,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ TYPE_DELETE = 3, @@ -424,7 +424,7 @@ declare namespace featureAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ TYPE_ASSERT = 4 } @@ -437,7 +437,7 @@ declare namespace featureAbility { * @typedef { _Context } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @FAModelOnly - * @since 9 + * @since 9 dynamiconly */ export type Context = _Context; @@ -447,7 +447,7 @@ declare namespace featureAbility { * @typedef { _AppVersionInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @FAModelOnly - * @since 9 + * @since 9 dynamiconly */ export type AppVersionInfo = _AppVersionInfo; @@ -457,7 +457,7 @@ declare namespace featureAbility { * @typedef { _ProcessInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @FAModelOnly - * @since 9 + * @since 9 dynamiconly */ export type ProcessInfo = _ProcessInfo; } diff --git a/api/@ohos.ability.particleAbility.d.ts b/api/@ohos.ability.particleAbility.d.ts index 9f9e18cfdc..a52082d9c0 100644 --- a/api/@ohos.ability.particleAbility.d.ts +++ b/api/@ohos.ability.particleAbility.d.ts @@ -31,7 +31,7 @@ import Want from './@ohos.app.ability.Want'; * @namespace particleAbility * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ declare namespace particleAbility { /** @@ -41,7 +41,7 @@ declare namespace particleAbility { * @param { AsyncCallback } callback - Returns the result of starting Ability in the form of callback. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function startAbility(parameter: StartAbilityParameter, callback: AsyncCallback): void; @@ -52,7 +52,7 @@ declare namespace particleAbility { * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function startAbility(parameter: StartAbilityParameter): Promise; @@ -62,7 +62,7 @@ declare namespace particleAbility { * @param { AsyncCallback } callback - Return the result of stopping Ability in the form of callback. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function terminateSelf(callback: AsyncCallback): void; @@ -72,7 +72,7 @@ declare namespace particleAbility { * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function terminateSelf(): Promise; @@ -83,7 +83,7 @@ declare namespace particleAbility { * @returns { DataAbilityHelper } Returns the dataAbilityHelper. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function acquireDataAbilityHelper(uri: string): DataAbilityHelper; @@ -97,7 +97,7 @@ declare namespace particleAbility { * @param { AsyncCallback } callback - returns the result of starting a long-term task in the form of callback. * @syscap SystemCapability.ResourceSchedule.BackgroundTaskManager.ContinuousTask * @FAModelOnly - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#startBackgroundRunning */ @@ -113,7 +113,7 @@ declare namespace particleAbility { * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.ResourceSchedule.BackgroundTaskManager.ContinuousTask * @FAModelOnly - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#startBackgroundRunning */ @@ -125,7 +125,7 @@ declare namespace particleAbility { * @param { AsyncCallback } callback - Returns the result of canceling a long-term task in the form of callback. * @syscap SystemCapability.ResourceSchedule.BackgroundTaskManager.ContinuousTask * @FAModelOnly - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#stopBackgroundRunning */ @@ -137,7 +137,7 @@ declare namespace particleAbility { * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.ResourceSchedule.BackgroundTaskManager.ContinuousTask * @FAModelOnly - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#stopBackgroundRunning */ @@ -152,7 +152,7 @@ declare namespace particleAbility { * @returns { number } unique identifier of the connection between the client and the service side. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function connectAbility(request: Want, options: ConnectOptions): number; @@ -163,7 +163,7 @@ declare namespace particleAbility { * @param { AsyncCallback } callback - Returns the disconnection result in the form of callback. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function disconnectAbility(connection: number, callback: AsyncCallback): void; @@ -174,7 +174,7 @@ declare namespace particleAbility { * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ function disconnectAbility(connection: number): Promise; @@ -184,7 +184,7 @@ declare namespace particleAbility { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ export enum ErrorCode { /** @@ -192,7 +192,7 @@ declare namespace particleAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.FAModel * @FAModelOnly - * @since 7 + * @since 7 dynamiconly */ INVALID_PARAMETER = -1 } diff --git a/api/@ohos.ability.screenLockFileManager.d.ts b/api/@ohos.ability.screenLockFileManager.d.ts index 4f7ac113b1..7b11aad526 100644 --- a/api/@ohos.ability.screenLockFileManager.d.ts +++ b/api/@ohos.ability.screenLockFileManager.d.ts @@ -23,8 +23,8 @@ * * @namespace screenLockFileManager * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace screenLockFileManager { /** @@ -32,16 +32,16 @@ declare namespace screenLockFileManager { * * @enum { number } * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum DataType { /** * Media photo and video data. * * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MEDIA_DATA = 0x00000001, @@ -49,8 +49,8 @@ declare namespace screenLockFileManager { * All data type. * * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ALL_DATA = 0xffffffff } @@ -60,16 +60,16 @@ declare namespace screenLockFileManager { * * @enum { number } * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum AccessStatus { /** * Acquire the access of data failed. * * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ACCESS_DENIED = -1, @@ -77,8 +77,8 @@ declare namespace screenLockFileManager { * Acquire the access of data success. * * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ACCESS_GRANTED = 0 } @@ -88,16 +88,16 @@ declare namespace screenLockFileManager { * * @enum { number } * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum ReleaseStatus { /** * Release the access of data failed. * * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RELEASE_DENIED = -1, @@ -105,8 +105,8 @@ declare namespace screenLockFileManager { * Release the access of data success. * * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RELEASE_GRANTED = 0 } @@ -116,16 +116,16 @@ declare namespace screenLockFileManager { * * @enum { number } * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export enum KeyStatus { /** * The application is not enabled the data protection under lock screen. * * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ KEY_NOT_EXIST = -2, @@ -133,8 +133,8 @@ declare namespace screenLockFileManager { * AppKey has been released. * * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ KEY_RELEASED = -1, @@ -142,8 +142,8 @@ declare namespace screenLockFileManager { * AppKey exists. * * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ KEY_EXIST = 0 } @@ -157,8 +157,8 @@ declare namespace screenLockFileManager { * @throws { BusinessError } 29300003 - The application is not enabled the data protection under lock screen. * @throws { BusinessError } 29300004 - File access is denied. * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function acquireAccess(): AccessStatus; @@ -178,8 +178,8 @@ declare namespace screenLockFileManager { * @throws { BusinessError } 29300004 - File access is denied. * @syscap SystemCapability.Security.ScreenLockFileManager * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function acquireAccess(dataType: DataType): AccessStatus; @@ -192,8 +192,8 @@ declare namespace screenLockFileManager { * @throws { BusinessError } 29300003 - The application is not enabled the data protection under lock screen. * @throws { BusinessError } 29300005 - File access was not acquired. * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function releaseAccess(): ReleaseStatus; @@ -213,8 +213,8 @@ declare namespace screenLockFileManager { * @throws { BusinessError } 29300005 - File access was not acquired. * @syscap SystemCapability.Security.ScreenLockFileManager * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function releaseAccess(dataType: DataType): ReleaseStatus; @@ -225,8 +225,8 @@ declare namespace screenLockFileManager { * @throws { BusinessError } 801 - The specified SystemCapability name was not found. * @throws { BusinessError } 29300002 - The system ability work abnormally. * @syscap SystemCapability.Security.ScreenLockFileManager - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function queryAppKeyState(): KeyStatus; @@ -244,8 +244,8 @@ declare namespace screenLockFileManager { * @throws { BusinessError } 29300002 - The system ability work abnormally. * @syscap SystemCapability.Security.ScreenLockFileManager * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function queryAppKeyState(dataType: DataType): KeyStatus; } diff --git a/api/@ohos.abilityAccessCtrl.d.ts b/api/@ohos.abilityAccessCtrl.d.ts index 51a8c101b2..01b5505199 100644 --- a/api/@ohos.abilityAccessCtrl.d.ts +++ b/api/@ohos.abilityAccessCtrl.d.ts @@ -39,8 +39,8 @@ import type _PermissionRequestResult from './security/PermissionRequestResult'; * @syscap SystemCapability.Security.AccessToken * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace abilityAccessCtrl { /** @@ -65,8 +65,8 @@ declare namespace abilityAccessCtrl { * @syscap SystemCapability.Security.AccessToken * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function createAtManager(): AtManager; @@ -83,8 +83,8 @@ declare namespace abilityAccessCtrl { * @interface AtManager * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface AtManager { /** @@ -94,8 +94,8 @@ declare namespace abilityAccessCtrl { * @param { Permissions } permissionName - Name of the permission to be verified. The Permissions type supports only valid permission names. * @returns { Promise } Returns permission verify result. * @syscap SystemCapability.Security.AccessToken - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ verifyAccessToken(tokenID: int, permissionName: Permissions): Promise; @@ -106,7 +106,7 @@ declare namespace abilityAccessCtrl { * @param { string } permissionName - Name of the permission to be verified. * @returns { Promise } Returns permission verify result. * @syscap SystemCapability.Security.AccessToken - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.abilityAccessCtrl.AtManager#checkAccessToken */ @@ -121,8 +121,8 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @throws { BusinessError } 12100001 - Invalid parameter. The tokenID is 0, or the permissionName exceeds 256 characters. * @syscap SystemCapability.Security.AccessToken - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ verifyAccessTokenSync(tokenID: int, permissionName: Permissions): GrantStatus; @@ -162,8 +162,8 @@ declare namespace abilityAccessCtrl { * @syscap SystemCapability.Security.AccessToken * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ checkAccessToken(tokenID: int, permissionName: Permissions): Promise; @@ -192,8 +192,8 @@ declare namespace abilityAccessCtrl { * @syscap SystemCapability.Security.AccessToken * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ checkAccessTokenSync(tokenID: int, permissionName: Permissions): GrantStatus; @@ -237,8 +237,8 @@ declare namespace abilityAccessCtrl { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ requestPermissionsFromUser( context: Context, @@ -286,8 +286,8 @@ declare namespace abilityAccessCtrl { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ requestPermissionsFromUser(context: Context, permissionList: Array): Promise; @@ -311,8 +311,8 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 12100007 - The service is abnormal. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ grantUserGrantedPermission(tokenID: int, permissionName: Permissions, permissionFlags: int): Promise; @@ -336,8 +336,8 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 12100007 - The service is abnormal. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ grantUserGrantedPermission( tokenID: int, @@ -366,8 +366,8 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 12100007 - The service is abnormal. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ revokeUserGrantedPermission(tokenID: int, permissionName: Permissions, permissionFlags: int): Promise; @@ -391,8 +391,8 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 12100007 - The service is abnormal. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ revokeUserGrantedPermission( tokenID: int, @@ -418,8 +418,8 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 12100007 - The service is abnormal. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ getPermissionFlags(tokenID: int, permissionName: Permissions): Promise; @@ -439,8 +439,8 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 12100007 - The service is abnormal. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setPermissionRequestToggleStatus(permissionName: Permissions, status: PermissionRequestToggleStatus): Promise; @@ -458,8 +458,8 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 12100007 - The service is abnormal. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getPermissionRequestToggleStatus(permissionName: Permissions): Promise; @@ -470,8 +470,8 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 202 - Not System App. Interface caller is not a system app. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ getVersion(): Promise; @@ -490,8 +490,8 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 12100007 - The service is abnormal. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getPermissionsStatus(tokenID: int, permissionList: Array): Promise>; @@ -518,8 +518,8 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 12100008 - Out of memory. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ on( type: 'permissionStateChange', @@ -548,8 +548,8 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 12100007 - The service is abnormal. * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ on( type: 'selfPermissionStateChange', @@ -576,8 +576,8 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 12100008 - Out of memory. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ off( type: 'permissionStateChange', @@ -599,8 +599,8 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 12100007 - The service is abnormal. * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off( type: 'selfPermissionStateChange', @@ -624,8 +624,8 @@ declare namespace abilityAccessCtrl { * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ requestPermissionOnSetting(context: Context, permissionList: Array): Promise>; @@ -643,8 +643,8 @@ declare namespace abilityAccessCtrl { * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ requestGlobalSwitch(context: Context, type: SwitchType): Promise; @@ -659,8 +659,8 @@ declare namespace abilityAccessCtrl { * @syscap SystemCapability.Security.AccessToken * @systemapi * @stagemodelonly - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ requestPermissionOnApplicationSetting(tokenID: int): Promise; @@ -673,8 +673,7 @@ declare namespace abilityAccessCtrl { * @throws { BusinessError } 12100007 - The service is abnormal. * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getSelfPermissionStatus(permissionName: Permissions): PermissionStatus; } @@ -701,8 +700,8 @@ declare namespace abilityAccessCtrl { * @syscap SystemCapability.Security.AccessToken * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum GrantStatus { /** @@ -724,8 +723,8 @@ declare namespace abilityAccessCtrl { * @syscap SystemCapability.Security.AccessToken * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PERMISSION_DENIED = -1, /** @@ -747,8 +746,8 @@ declare namespace abilityAccessCtrl { * @syscap SystemCapability.Security.AccessToken * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PERMISSION_GRANTED = 0 } @@ -759,8 +758,8 @@ declare namespace abilityAccessCtrl { * @enum { int } * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export enum PermissionStateChangeType { /** @@ -768,8 +767,8 @@ declare namespace abilityAccessCtrl { * * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ PERMISSION_REVOKED_OPER = 0, /** @@ -777,8 +776,8 @@ declare namespace abilityAccessCtrl { * * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ PERMISSION_GRANTED_OPER = 1 } @@ -789,8 +788,8 @@ declare namespace abilityAccessCtrl { * @enum { int } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum PermissionRequestToggleStatus { /** @@ -798,8 +797,8 @@ declare namespace abilityAccessCtrl { * * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CLOSED = 0, /** @@ -807,8 +806,8 @@ declare namespace abilityAccessCtrl { * * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPEN = 1, } @@ -819,8 +818,8 @@ declare namespace abilityAccessCtrl { * @interface PermissionStateChangeInfo * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static * @name PermissionStateChangeInfo */ interface PermissionStateChangeInfo { @@ -830,8 +829,8 @@ declare namespace abilityAccessCtrl { * @type { PermissionStateChangeType } * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ change: PermissionStateChangeType; @@ -841,8 +840,8 @@ declare namespace abilityAccessCtrl { * @type { int } * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ tokenID: int; @@ -852,8 +851,8 @@ declare namespace abilityAccessCtrl { * @type { Permissions } * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ permissionName: Permissions; } @@ -864,8 +863,7 @@ declare namespace abilityAccessCtrl { * @enum { int } * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export enum PermissionStatus { /** @@ -873,8 +871,7 @@ declare namespace abilityAccessCtrl { * * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DENIED = -1, /** @@ -882,8 +879,7 @@ declare namespace abilityAccessCtrl { * * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GRANTED = 0, /** @@ -891,8 +887,7 @@ declare namespace abilityAccessCtrl { * * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ NOT_DETERMINED = 1, /** @@ -900,8 +895,7 @@ declare namespace abilityAccessCtrl { * * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ INVALID = 2, /** @@ -909,8 +903,7 @@ declare namespace abilityAccessCtrl { * * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ RESTRICTED = 3 } @@ -921,8 +914,8 @@ declare namespace abilityAccessCtrl { * @enum { int } * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum SwitchType { /** @@ -930,8 +923,8 @@ declare namespace abilityAccessCtrl { * * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CAMERA = 0, /** @@ -939,8 +932,8 @@ declare namespace abilityAccessCtrl { * * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MICROPHONE = 1, /** @@ -948,8 +941,8 @@ declare namespace abilityAccessCtrl { * * @syscap SystemCapability.Security.AccessToken * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOCATION = 2, } @@ -974,8 +967,8 @@ export { Permissions }; * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type PermissionRequestResult = _PermissionRequestResult; /** @@ -995,7 +988,7 @@ export type PermissionRequestResult = _PermissionRequestResult; * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type Context = _Context; diff --git a/api/@ohos.accessibility.GesturePath.d.ts b/api/@ohos.accessibility.GesturePath.d.ts index 7e5758735f..e69c0a9706 100644 --- a/api/@ohos.accessibility.GesturePath.d.ts +++ b/api/@ohos.accessibility.GesturePath.d.ts @@ -24,7 +24,7 @@ import type { GesturePoint } from './@ohos.accessibility.GesturePoint'; * Indicates the path of the gesture. * * @syscap SystemCapability.BarrierFree.Accessibility.Core - * @since 9 + * @since 9 dynamiconly */ export declare class GesturePath { /** @@ -32,7 +32,7 @@ export declare class GesturePath { * * @param { number } durationTime - Indicates the duration of the gesture. * @syscap SystemCapability.BarrierFree.Accessibility.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 12 */ constructor(durationTime: number); @@ -41,7 +41,7 @@ export declare class GesturePath { * * @type { Array } * @syscap SystemCapability.BarrierFree.Accessibility.Core - * @since 9 + * @since 9 dynamiconly */ points: Array; /** @@ -49,7 +49,7 @@ export declare class GesturePath { * * @type { number } * @syscap SystemCapability.BarrierFree.Accessibility.Core - * @since 9 + * @since 9 dynamiconly */ durationTime: number; } diff --git a/api/@ohos.accessibility.GesturePoint.d.ts b/api/@ohos.accessibility.GesturePoint.d.ts index c6d9afb51d..b27661ccfe 100644 --- a/api/@ohos.accessibility.GesturePoint.d.ts +++ b/api/@ohos.accessibility.GesturePoint.d.ts @@ -22,7 +22,7 @@ * Indicates the point of the gesture. * * @syscap SystemCapability.BarrierFree.Accessibility.Core - * @since 9 + * @since 9 dynamiconly */ export declare class GesturePoint { /** @@ -31,7 +31,7 @@ export declare class GesturePoint { * @param { number } positionX - Indicates the X coordinate of point. * @param { number } positionY - Indicates the Y coordinate of point. * @syscap SystemCapability.BarrierFree.Accessibility.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 12 */ constructor(positionX: number, positionY: number); @@ -40,7 +40,7 @@ export declare class GesturePoint { * * @type { number } * @syscap SystemCapability.BarrierFree.Accessibility.Core - * @since 9 + * @since 9 dynamiconly */ positionX: number; /** @@ -48,7 +48,7 @@ export declare class GesturePoint { * * @type { number } * @syscap SystemCapability.BarrierFree.Accessibility.Core - * @since 9 + * @since 9 dynamiconly */ positionY: number; } diff --git a/api/@ohos.ai.intelligentVoice.d.ts b/api/@ohos.ai.intelligentVoice.d.ts index 2b8c50f0f0..ea12981f1c 100755 --- a/api/@ohos.ai.intelligentVoice.d.ts +++ b/api/@ohos.ai.intelligentVoice.d.ts @@ -24,7 +24,7 @@ import type { AsyncCallback, Callback } from './@ohos.base'; * @namespace intelligentVoice * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ declare namespace intelligentVoice { /** @@ -36,7 +36,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700101 - No memory. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ function getIntelligentVoiceManager(): IntelligentVoiceManager; @@ -45,7 +45,7 @@ declare namespace intelligentVoice { * @typedef IntelligentVoiceManager * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ interface IntelligentVoiceManager { /** @@ -56,7 +56,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getCapabilityInfo(): Array; /** @@ -69,7 +69,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ on(type: 'serviceChange', callback: Callback): void; /** @@ -81,7 +81,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ off(type: 'serviceChange', callback?: Callback): void; } @@ -91,7 +91,7 @@ declare namespace intelligentVoice { * @typedef WakeupManager * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ interface WakeupManager { /** @@ -107,7 +107,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700107 - System error. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ setParameter(key: string, value: string): Promise; /** @@ -122,7 +122,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700107 - System error. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ getParameter(key: string): Promise; /** @@ -138,7 +138,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700107 - System error. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ getUploadFiles (maxCount: number): Promise>; /** @@ -151,7 +151,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700107 - System error. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ getWakeupSourceFiles(): Promise>; /** @@ -168,7 +168,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700107 - System error. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ enrollWithWakeupFilesForResult(wakeupFiles: Array, wakeupInfo: string): Promise; /** @@ -180,7 +180,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700107 - System error. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ clearUserData(): Promise; } @@ -190,21 +190,21 @@ declare namespace intelligentVoice { * @enum {number} * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ enum UploadFileType { /** * Enroll file. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ ENROLL_FILE = 0, /** * Wakeup file. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ WAKEUP_FILE = 1, } @@ -214,7 +214,7 @@ declare namespace intelligentVoice { * @typedef UploadFile * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ interface UploadFile { /** @@ -222,7 +222,7 @@ declare namespace intelligentVoice { * @type { UploadFileType } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ type: UploadFileType; /** @@ -230,7 +230,7 @@ declare namespace intelligentVoice { * @type { string } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ filesDescription: string; /** @@ -238,7 +238,7 @@ declare namespace intelligentVoice { * @type { Array } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ filesContent: Array; } @@ -248,7 +248,7 @@ declare namespace intelligentVoice { * @typedef WakeupSourceFile * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ interface WakeupSourceFile { /** @@ -256,7 +256,7 @@ declare namespace intelligentVoice { * @type { string } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ filePath: string; /** @@ -264,7 +264,7 @@ declare namespace intelligentVoice { * @type { ArrayBuffer } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ fileContent: ArrayBuffer; } @@ -274,14 +274,14 @@ declare namespace intelligentVoice { * @enum {number} * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ enum ServiceChangeType { /** * Service unavailable. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ SERVICE_UNAVAILABLE = 0, } @@ -291,28 +291,28 @@ declare namespace intelligentVoice { * @enum {number} * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ enum IntelligentVoiceEngineType { /** * Enroll engine. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ ENROLL_ENGINE_TYPE = 0, /** * Wakeup engine. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ WAKEUP_ENGINE_TYPE = 1, /** * Update engine. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ UPDATE_ENGINE_TYPE = 2, } @@ -322,7 +322,7 @@ declare namespace intelligentVoice { * @typedef EnrollIntelligentVoiceEngineDescriptor * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ interface EnrollIntelligentVoiceEngineDescriptor { /** @@ -330,7 +330,7 @@ declare namespace intelligentVoice { * @type { string } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ wakeupPhrase: string; } @@ -340,7 +340,7 @@ declare namespace intelligentVoice { * @typedef WakeupIntelligentVoiceEngineDescriptor * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ interface WakeupIntelligentVoiceEngineDescriptor { /** @@ -348,7 +348,7 @@ declare namespace intelligentVoice { * @type { boolean } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ needReconfirm: boolean; /** @@ -356,7 +356,7 @@ declare namespace intelligentVoice { * @type { string } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ wakeupPhrase: string; } @@ -366,105 +366,105 @@ declare namespace intelligentVoice { * @enum {number} * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ enum EvaluationResultCode { /** * Unknown. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ UNKNOWN = 0, /** * Pass. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ PASS = 1, /** * Word is empty. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ WORD_EMPTY = 2, /** * Only chinese is supported. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ CHINESE_ONLY = 3, /** * Invalid length. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ INVALID_LENGTH = 4, /** * Unusual word. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ UNUSUAL_WORD = 5, /** * Consecutive same word. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ CONSECUTIVE_SAME_WORD = 6, /** * Too few phonemes. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ TOO_FEW_PHONEMES = 7, /** * Too many phonemes. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ TOO_MANY_PHONEMES = 8, /** * Contain common instruction. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ COMMON_INSTRUCTION = 9, /** * Contain common spoken language. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ COMMON_SPOKEN_LANGUAGE = 10, /** * Contain sensitive word. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ SENSITIVE_WORD = 11, /** * Two consecutive words without initial consonant. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ NO_INITIAL_CONSONANT = 12, /** * Contain repeated phoneme. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ REPEATED_PHONEME = 13, } @@ -474,7 +474,7 @@ declare namespace intelligentVoice { * @typedef EvaluationResult * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ interface EvaluationResult { /** @@ -482,7 +482,7 @@ declare namespace intelligentVoice { * @type { number } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ score: number; /** @@ -490,7 +490,7 @@ declare namespace intelligentVoice { * @type { EvaluationResultCode } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ resultCode: EvaluationResultCode; } @@ -505,7 +505,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700107 - System error. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ function getWakeupManager(): WakeupManager; @@ -521,7 +521,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ function createEnrollIntelligentVoiceEngine(descriptor: EnrollIntelligentVoiceEngineDescriptor, callback: AsyncCallback): void; @@ -537,7 +537,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ function createEnrollIntelligentVoiceEngine(descriptor: EnrollIntelligentVoiceEngineDescriptor): Promise; @@ -553,7 +553,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ function createWakeupIntelligentVoiceEngine(descriptor: WakeupIntelligentVoiceEngineDescriptor, callback: AsyncCallback): void; @@ -569,7 +569,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ function createWakeupIntelligentVoiceEngine(descriptor: WakeupIntelligentVoiceEngineDescriptor): Promise; @@ -578,7 +578,7 @@ declare namespace intelligentVoice { * @typedef EnrollEngineConfig * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ interface EnrollEngineConfig { /** @@ -586,7 +586,7 @@ declare namespace intelligentVoice { * @type { string } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ language: string; /** @@ -594,7 +594,7 @@ declare namespace intelligentVoice { * @type { string } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ region: string; } @@ -604,28 +604,28 @@ declare namespace intelligentVoice { * @enum {number} * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ enum SensibilityType { /** * Low sensibility. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ LOW_SENSIBILITY = 1, /** * Middle sensibility. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ MIDDLE_SENSIBILITY = 2, /** * High sensibility. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ HIGH_SENSIBILITY = 3, } @@ -635,7 +635,7 @@ declare namespace intelligentVoice { * @typedef WakeupHapInfo * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ interface WakeupHapInfo { /** @@ -643,7 +643,7 @@ declare namespace intelligentVoice { * @type { string } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ bundleName: string; /** @@ -651,7 +651,7 @@ declare namespace intelligentVoice { * @type { string } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ abilityName: string; } @@ -661,28 +661,28 @@ declare namespace intelligentVoice { * @enum {number} * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ enum WakeupIntelligentVoiceEventType { /** * Wakeup None. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ INTELLIGENT_VOICE_EVENT_WAKEUP_NONE = 0, /** * Recognize complete. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ INTELLIGENT_VOICE_EVENT_RECOGNIZE_COMPLETE = 1, /** * Headset Recognize complete. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ INTELLIGENT_VOICE_EVENT_HEADSET_RECOGNIZE_COMPLETE = 2, } @@ -692,56 +692,56 @@ declare namespace intelligentVoice { * @enum {number} * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ enum IntelligentVoiceErrorCode { /** * No memory. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ INTELLIGENT_VOICE_NO_MEMORY = 22700101, /** * Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ INTELLIGENT_VOICE_INVALID_PARAM = 22700102, /** * Init failed. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ INTELLIGENT_VOICE_INIT_FAILED = 22700103, /** * Failed to commit the enrollment. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ INTELLIGENT_VOICE_COMMIT_ENROLL_FAILED = 22700104, /** * Start capturer failed. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ INTELLIGENT_VOICE_START_CAPTURER_FAILED = 22700105, /** * Read failed. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ INTELLIGENT_VOICE_READ_FAILED = 22700106, /** * System error. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ INTELLIGENT_VOICE_SYSTEM_ERROR = 22700107, } @@ -751,63 +751,63 @@ declare namespace intelligentVoice { * @enum {number} * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ enum EnrollResult { /** * Success. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ SUCCESS = 0, /** * Vpr train failed. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ VPR_TRAIN_FAILED = -1, /** * Wakeup phrase not match. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ WAKEUP_PHRASE_NOT_MATCH = -2, /** * Too noisy. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ TOO_NOISY = -3, /** * Too loud. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ TOO_LOUD = -4, /** * Interval large. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ INTERVAL_LARGE = -5, /** * Different person. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ DIFFERENT_PERSON = -6, /** * Unknown error. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ UNKNOWN_ERROR = -100, } @@ -817,35 +817,35 @@ declare namespace intelligentVoice { * @enum {number} * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ enum CapturerChannel { /** * Capturer channel 1. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ CAPTURER_CHANNEL_1 = 0x1 << 0, /** * Capturer channel 2. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ CAPTURER_CHANNEL_2 = 0x1 << 1, /** * Capturer channel 3. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ CAPTURER_CHANNEL_3 = 0x1 << 2, /** * Capturer channel 4. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ CAPTURER_CHANNEL_4 = 0x1 << 3, } @@ -855,7 +855,7 @@ declare namespace intelligentVoice { * @typedef EnrollCallbackInfo * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ interface EnrollCallbackInfo { /** @@ -863,7 +863,7 @@ declare namespace intelligentVoice { * @type { EnrollResult } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ result: EnrollResult; /** @@ -871,7 +871,7 @@ declare namespace intelligentVoice { * @type { string } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ context: string; } @@ -881,7 +881,7 @@ declare namespace intelligentVoice { * @typedef WakeupIntelligentVoiceEngineCallbackInfo * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ interface WakeupIntelligentVoiceEngineCallbackInfo { /** @@ -889,7 +889,7 @@ declare namespace intelligentVoice { * @type { WakeupIntelligentVoiceEventType } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ eventId: WakeupIntelligentVoiceEventType; /** @@ -897,7 +897,7 @@ declare namespace intelligentVoice { * @type { boolean } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ isSuccess: boolean; /** @@ -905,7 +905,7 @@ declare namespace intelligentVoice { * @type { string } * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ context: string; } @@ -915,7 +915,7 @@ declare namespace intelligentVoice { * @typedef EnrollIntelligentVoiceEngine * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ interface EnrollIntelligentVoiceEngine { /** @@ -926,7 +926,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getSupportedRegions(callback: AsyncCallback>): void; /** @@ -937,7 +937,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getSupportedRegions(): Promise>; /** @@ -952,7 +952,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700103 - Init failed. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ init(config: EnrollEngineConfig, callback: AsyncCallback): void; /** @@ -967,7 +967,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700103 - Init failed. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ init(config: EnrollEngineConfig): Promise; /** @@ -980,7 +980,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ enrollForResult(isLast: boolean, callback: AsyncCallback): void; /** @@ -993,7 +993,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ enrollForResult(isLast: boolean): Promise; /** @@ -1004,7 +1004,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ stop(callback: AsyncCallback): void; /** @@ -1015,7 +1015,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ stop(): Promise; /** @@ -1027,7 +1027,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700104 - Failed to commit the enrollment. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ commit(callback: AsyncCallback): void; /** @@ -1039,7 +1039,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700104 - Failed to commit the enrollment. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ commit(): Promise; /** @@ -1053,7 +1053,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setWakeupHapInfo(info: WakeupHapInfo, callback: AsyncCallback): void; /** @@ -1067,7 +1067,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setWakeupHapInfo(info: WakeupHapInfo): Promise; /** @@ -1081,7 +1081,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setSensibility(sensibility: SensibilityType, callback: AsyncCallback): void; /** @@ -1095,7 +1095,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setSensibility(sensibility: SensibilityType): Promise; /** @@ -1110,7 +1110,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setParameter(key: string, value: string, callback: AsyncCallback): void; /** @@ -1125,7 +1125,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setParameter(key: string, value: string): Promise; /** @@ -1139,7 +1139,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getParameter(key: string, callback: AsyncCallback): void; /** @@ -1153,7 +1153,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getParameter(key: string): Promise; /** @@ -1167,7 +1167,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700107 - System error. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ evaluateForResult(word: string): Promise; /** @@ -1178,7 +1178,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ release(callback: AsyncCallback): void; /** @@ -1189,7 +1189,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ release(): Promise; } @@ -1199,7 +1199,7 @@ declare namespace intelligentVoice { * @typedef WakeupIntelligentVoiceEngine * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ interface WakeupIntelligentVoiceEngine { /** @@ -1210,7 +1210,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getSupportedRegions(callback: AsyncCallback>): void; /** @@ -1221,7 +1221,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getSupportedRegions(): Promise>; /** @@ -1235,7 +1235,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setWakeupHapInfo(info: WakeupHapInfo, callback: AsyncCallback): void; /** @@ -1249,7 +1249,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setWakeupHapInfo(info: WakeupHapInfo): Promise; /** @@ -1263,7 +1263,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setSensibility(sensibility: SensibilityType, callback: AsyncCallback): void; /** @@ -1277,7 +1277,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setSensibility(sensibility: SensibilityType): Promise; /** @@ -1292,7 +1292,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setParameter(key: string, value: string, callback: AsyncCallback): void; /** @@ -1307,7 +1307,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setParameter(key: string, value: string): Promise; /** @@ -1321,7 +1321,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getParameter(key: string, callback: AsyncCallback): void; /** @@ -1335,7 +1335,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700102 - Invalid parameter. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getParameter(key: string): Promise; /** @@ -1348,7 +1348,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700107 - System error. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ getPcm(): Promise; /** @@ -1364,7 +1364,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700107 - System error. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ startCapturer(channels: number): Promise; /** @@ -1378,7 +1378,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700107 - System error. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ read(): Promise; /** @@ -1390,7 +1390,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 22700107 - System error. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 12 + * @since 12 dynamic */ stopCapturer(): Promise; /** @@ -1401,7 +1401,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ release(callback: AsyncCallback): void; /** @@ -1412,7 +1412,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ release(): Promise; /** @@ -1425,7 +1425,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ on(type: 'wakeupIntelligentVoiceEvent', callback: Callback): void; /** @@ -1437,7 +1437,7 @@ declare namespace intelligentVoice { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.AI.IntelligentVoice.Core * @systemapi - * @since 10 + * @since 10 dynamic */ off(type: 'wakeupIntelligentVoiceEvent', callback?: Callback): void; } diff --git a/api/@ohos.animation.windowAnimationManager.d.ts b/api/@ohos.animation.windowAnimationManager.d.ts index 50cd5bd398..c811261afc 100644 --- a/api/@ohos.animation.windowAnimationManager.d.ts +++ b/api/@ohos.animation.windowAnimationManager.d.ts @@ -26,8 +26,8 @@ import { AsyncCallback } from './@ohos.base'; * @namespace windowAnimationManager * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace windowAnimationManager { /** @@ -36,8 +36,8 @@ declare namespace windowAnimationManager { * @param { WindowAnimationController } controller - Window animation controller. * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setController(controller: WindowAnimationController): void; @@ -48,8 +48,8 @@ declare namespace windowAnimationManager { * @param { AsyncCallback } callback - Returns the animation finished callback. * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function minimizeWindowWithAnimation(windowTarget: WindowAnimationTarget, callback: AsyncCallback): void; @@ -61,8 +61,8 @@ declare namespace windowAnimationManager { * @returns { Promise } Promise used to return the animation finished callback. * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function minimizeWindowWithAnimation(windowTarget: WindowAnimationTarget): Promise; @@ -72,8 +72,8 @@ declare namespace windowAnimationManager { * @interface RRect * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface RRect { /** @@ -81,8 +81,8 @@ declare namespace windowAnimationManager { * @type { double } * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ left: double; @@ -91,8 +91,8 @@ declare namespace windowAnimationManager { * @type { double } * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ top: double; @@ -101,8 +101,8 @@ declare namespace windowAnimationManager { * @type { double } * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ width: double; @@ -111,8 +111,8 @@ declare namespace windowAnimationManager { * @type { double } * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ height: double; @@ -121,8 +121,8 @@ declare namespace windowAnimationManager { * @type { double } * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ radius: double; } @@ -133,8 +133,8 @@ declare namespace windowAnimationManager { * @interface WindowAnimationTarget * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface WindowAnimationTarget { /** @@ -143,8 +143,8 @@ declare namespace windowAnimationManager { * @readonly * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly bundleName: string; @@ -154,8 +154,8 @@ declare namespace windowAnimationManager { * @readonly * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly abilityName: string; @@ -165,8 +165,8 @@ declare namespace windowAnimationManager { * @readonly * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly windowBounds: RRect; @@ -176,8 +176,8 @@ declare namespace windowAnimationManager { * @readonly * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly missionId: int; } @@ -188,8 +188,8 @@ declare namespace windowAnimationManager { * @interface WindowAnimationFinishedCallback * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface WindowAnimationFinishedCallback { /** @@ -197,8 +197,8 @@ declare namespace windowAnimationManager { * * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onAnimationFinish(): void; } @@ -211,8 +211,7 @@ declare namespace windowAnimationManager { * @param { WindowAnimationFinishedCallback } finishCallback - Animation finished callback. * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since 22 - * @arkts 1.1&1.2 + * @since 22 dynamic&static */ type AppStartCallback = (startingWindowTarget: WindowAnimationTarget, finishCallback: WindowAnimationFinishedCallback) => void; @@ -226,8 +225,7 @@ declare namespace windowAnimationManager { * @param { WindowAnimationFinishedCallback } finishCallback - Animation finished callback. * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since 22 - * @arkts 1.1&1.2 + * @since 22 dynamic&static */ type AppTransitionCallback = (fromWindowTarget: WindowAnimationTarget, toWindowTarget: WindowAnimationTarget, finishCallback: WindowAnimationFinishedCallback) => void; @@ -240,8 +238,7 @@ declare namespace windowAnimationManager { * @param { WindowAnimationFinishedCallback } finishCallback - Animation finished callback. * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since 22 - * @arkts 1.1&1.2 + * @since 22 dynamic&static */ type WindowMinimizationCallback = (minimizingWindowTarget: WindowAnimationTarget, finishCallback: WindowAnimationFinishedCallback) => void; @@ -254,8 +251,7 @@ declare namespace windowAnimationManager { * @param { WindowAnimationFinishedCallback } finishCallback - Animation finished callback. * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since 22 - * @arkts 1.1&1.2 + * @since 22 dynamic&static */ type WindowCloseCallback = (closingWindowTarget: WindowAnimationTarget, finishCallback: WindowAnimationFinishedCallback) => void; @@ -267,8 +263,7 @@ declare namespace windowAnimationManager { * @param {WindowAnimationFinishedCallback } finishCallback - Animation finished callback. * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since 22 - * @arkts 1.1&1.2 + * @since 22 dynamic&static */ type ScreenUnlockCallback = (finishCallback: WindowAnimationFinishedCallback) => void; @@ -280,8 +275,7 @@ declare namespace windowAnimationManager { * @param { Array } floatingWindowTargets - All the floating window targets. * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since 22 - * @arkts 1.1&1.2 + * @since 22 dynamic&static */ type WindowAnimationTargetsUpdationCallback = (fullScreenWindowTarget: WindowAnimationTarget, floatingWindowTargets: Array) => void; @@ -292,8 +286,8 @@ declare namespace windowAnimationManager { * @interface WindowAnimationController * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface WindowAnimationController { /** @@ -311,8 +305,7 @@ declare namespace windowAnimationManager { * @type { ?AppStartCallback } * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since 22 - * @arkts 1.1&1.2 + * @since 22 dynamic&static */ onStartAppFromLauncher?: AppStartCallback; @@ -331,8 +324,7 @@ declare namespace windowAnimationManager { * @type { ?AppStartCallback } * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since 22 - * @arkts 1.1&1.2 + * @since 22 dynamic&static */ onStartAppFromRecent?: AppStartCallback; @@ -351,8 +343,7 @@ declare namespace windowAnimationManager { * @type { ?AppStartCallback } * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since 22 - * @arkts 1.1&1.2 + * @since 22 dynamic&static */ onStartAppFromOther?: AppStartCallback; @@ -372,8 +363,7 @@ declare namespace windowAnimationManager { * @type { ?AppTransitionCallback } * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since 22 - * @arkts 1.1&1.2 + * @since 22 dynamic&static */ onAppTransition?: AppTransitionCallback; @@ -392,8 +382,7 @@ declare namespace windowAnimationManager { * @type { ?WindowMinimizationCallback } * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since 22 - * @arkts 1.1&1.2 + * @since 22 dynamic&static */ onMinimizeWindow?: WindowMinimizationCallback; @@ -412,8 +401,7 @@ declare namespace windowAnimationManager { * @type { ?WindowCloseCallback } * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since 22 - * @arkts 1.1&1.2 + * @since 22 dynamic&static */ onCloseWindow?: WindowCloseCallback; @@ -430,8 +418,7 @@ declare namespace windowAnimationManager { * @type { ?ScreenUnlockCallback } * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since 22 - * @arkts 1.1&1.2 + * @since 22 dynamic&static */ onScreenUnlock?: ScreenUnlockCallback; @@ -450,8 +437,7 @@ declare namespace windowAnimationManager { * @type { ?WindowAnimationTargetsUpdationCallback } * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since 22 - * @arkts 1.1&1.2 + * @since 22 dynamic&static */ onWindowAnimationTargetsUpdate?: WindowAnimationTargetsUpdationCallback; } diff --git a/api/@ohos.animator.d.ts b/api/@ohos.animator.d.ts index 296ec868c8..a4c68bf8fc 100644 --- a/api/@ohos.animator.d.ts +++ b/api/@ohos.animator.d.ts @@ -37,7 +37,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export interface AnimatorOptions { /** @@ -62,7 +62,7 @@ export interface AnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ duration: number; @@ -134,7 +134,7 @@ export interface AnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ easing: string; @@ -160,7 +160,7 @@ export interface AnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ delay: number; @@ -189,7 +189,7 @@ export interface AnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fill: "none" | "forwards" | "backwards" | "both"; @@ -215,7 +215,7 @@ export interface AnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ direction: "normal" | "reverse" | "alternate" | "alternate-reverse"; @@ -241,7 +241,7 @@ export interface AnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ iterations: number; @@ -267,7 +267,7 @@ export interface AnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ begin: number; @@ -293,7 +293,7 @@ export interface AnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ end: number; } @@ -304,7 +304,7 @@ export interface AnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ export declare class SimpleAnimatorOptions { /** @@ -315,7 +315,7 @@ export declare class SimpleAnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(begin: number, end: number); @@ -327,7 +327,7 @@ export declare class SimpleAnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ duration(duration: number): SimpleAnimatorOptions; @@ -353,7 +353,7 @@ export declare class SimpleAnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ easing(curve: string): SimpleAnimatorOptions; @@ -365,7 +365,7 @@ export declare class SimpleAnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ delay(delay: number): SimpleAnimatorOptions; @@ -377,7 +377,7 @@ export declare class SimpleAnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fill(fillMode: FillMode): SimpleAnimatorOptions; @@ -389,7 +389,7 @@ export declare class SimpleAnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ direction(direction: PlayMode): SimpleAnimatorOptions; @@ -401,7 +401,7 @@ export declare class SimpleAnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ iterations(iterations: number): SimpleAnimatorOptions; } @@ -425,14 +425,14 @@ export declare class SimpleAnimatorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export interface AnimatorResult { /** * Update the options for current animator. * @param { AnimatorOptions } options - Options. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.animator.reset */ @@ -472,7 +472,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ reset(options: AnimatorOptions): void; @@ -487,7 +487,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ reset(options: AnimatorOptions | SimpleAnimatorOptions): void; @@ -507,7 +507,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ play(): void; @@ -527,7 +527,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ finish(): void; @@ -547,7 +547,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pause(): void; @@ -567,7 +567,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ cancel(): void; @@ -588,7 +588,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ reverse(): void; @@ -608,7 +608,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.animator.onFrame */ @@ -621,7 +621,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onFrame: (progress: number) => void; @@ -641,7 +641,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.animator.onFinish */ @@ -654,7 +654,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onFinish: () => void; @@ -674,7 +674,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.animator.onCancel */ @@ -687,7 +687,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onCancel: () => void; @@ -707,7 +707,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.animator.onRepeat */ @@ -720,7 +720,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onRepeat: () => void; @@ -729,7 +729,7 @@ export interface AnimatorResult { * @param { ExpectedFrameRateRange } rateRange - Indicates ExpectedFrameRateRange. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ setExpectedFrameRateRange(rateRange: ExpectedFrameRateRange): void; } @@ -750,7 +750,7 @@ export interface AnimatorResult { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export default class Animator { /** @@ -758,7 +758,7 @@ export default class Animator { * @param { AnimatorOptions } options - Options. * @returns { AnimatorResult } animator result * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.animator.create */ @@ -798,7 +798,7 @@ export default class Animator { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIContext#createAnimator */ @@ -815,7 +815,7 @@ export default class Animator { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ static create(options: AnimatorOptions | SimpleAnimatorOptions): AnimatorResult; } diff --git a/api/@ohos.animator.static.d.ets b/api/@ohos.animator.static.d.ets index 1579d77922..5327689b6d 100644 --- a/api/@ohos.animator.static.d.ets +++ b/api/@ohos.animator.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { FillMode, PlayMode } from '@ohos.arkui.component'; @@ -28,7 +27,7 @@ import { ExpectedFrameRateRange } from '@ohos.arkui.component'; * Defines the animator options. * @interface AnimatorOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface AnimatorOptions { @@ -38,7 +37,7 @@ export interface AnimatorOptions { * The default value is 0. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ duration: number; @@ -64,7 +63,7 @@ export interface AnimatorOptions { * The default value is ease. * @type {string} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ easing: string; @@ -74,7 +73,7 @@ export interface AnimatorOptions { * The default value is 0. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ delay: number; @@ -85,7 +84,7 @@ export interface AnimatorOptions { * forwards: The state at the end of the animation (defined in the last key frame) is retained after the animation is executed. * @type {"none" | "forwards" | "backwards" | "both"} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fill: "none" | "forwards" | "backwards" | "both"; @@ -95,7 +94,7 @@ export interface AnimatorOptions { * The default value is "normal". * @type {"normal" | "reverse" | "alternate" | "alternate-reverse"} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ direction: "normal" | "reverse" | "alternate" | "alternate-reverse"; @@ -105,7 +104,7 @@ export interface AnimatorOptions { * The default value is 1. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ iterations: number; @@ -115,7 +114,7 @@ export interface AnimatorOptions { * The default value is 0. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ begin: number; @@ -125,7 +124,7 @@ export interface AnimatorOptions { * The default value is 1. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ end: number; } @@ -133,7 +132,7 @@ export interface AnimatorOptions { * Defines the SimpleAnimatorOptions class. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class SimpleAnimatorOptions { /** @@ -142,7 +141,7 @@ export declare class SimpleAnimatorOptions { * @param { number } begin - Starting point of animator interpolation. * @param { number } end - Ending point of animator interpolation. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ constructor(begin: number, end: number); /** @@ -151,7 +150,7 @@ export declare class SimpleAnimatorOptions { * @param { number } duration - if not set, default is 1000. * @returns { SimpleAnimatorOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ duration(duration: number): SimpleAnimatorOptions; /** @@ -174,7 +173,7 @@ export declare class SimpleAnimatorOptions { * @param { string } curve - if not set, default is ease. * @returns { SimpleAnimatorOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ easing(curve: string): SimpleAnimatorOptions; /** @@ -183,7 +182,7 @@ export declare class SimpleAnimatorOptions { * @param { number } delay - if not set, default is 0. * @returns { SimpleAnimatorOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ delay(delay: number): SimpleAnimatorOptions; /** @@ -192,7 +191,7 @@ export declare class SimpleAnimatorOptions { * @param { FillMode } fillMode - if not set, default is FillMode.Forwards. * @returns { SimpleAnimatorOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fill(fillMode: FillMode): SimpleAnimatorOptions; /** @@ -201,7 +200,7 @@ export declare class SimpleAnimatorOptions { * @param { PlayMode } direction - if not set, default is PlayMode.Normal. * @returns { SimpleAnimatorOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ direction(direction: PlayMode): SimpleAnimatorOptions; /** @@ -210,7 +209,7 @@ export declare class SimpleAnimatorOptions { * @param { number } iterations - if not set, default is 1. * @returns { SimpleAnimatorOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ iterations(iterations: number): SimpleAnimatorOptions; } @@ -220,7 +219,7 @@ export declare class SimpleAnimatorOptions { * Defines the Animator result interface. * @interface AnimatorResult * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface AnimatorResult { @@ -234,7 +233,7 @@ export interface AnimatorResult { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - The specified page is not found or the object property list is not obtained. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ reset(options: AnimatorOptions): void; /** @@ -246,7 +245,7 @@ export interface AnimatorResult { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - The specified page is not found or the object property list is not obtained. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ reset(options: AnimatorOptions | SimpleAnimatorOptions): void; @@ -254,7 +253,7 @@ export interface AnimatorResult { /** * Starts the animation. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ play(): void; @@ -262,7 +261,7 @@ export interface AnimatorResult { /** * Ends the animation. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ finish(): void; @@ -270,7 +269,7 @@ export interface AnimatorResult { /** * Pauses the animation. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pause(): void; @@ -278,7 +277,7 @@ export interface AnimatorResult { /** * Cancels the animation. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ cancel(): void; @@ -287,7 +286,7 @@ export interface AnimatorResult { * Plays the animation in reverse direction. * Invalid when using interpolating-spring curve. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ reverse(): void; /** @@ -295,7 +294,7 @@ export interface AnimatorResult { * * @type { function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onFrame: (progress: number) => void; /** @@ -303,7 +302,7 @@ export interface AnimatorResult { * * @type { function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onFinish: () => void; /** @@ -311,7 +310,7 @@ export interface AnimatorResult { * * @type { function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onCancel: () => void; /** @@ -319,14 +318,14 @@ export interface AnimatorResult { * * @type { function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onRepeat: () => void; /** * The expected frame rate of dynamical of rate range. * @param { ExpectedFrameRateRange } rateRange - Indicates ExpectedFrameRateRange. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setExpectedFrameRateRange(rateRange: ExpectedFrameRateRange): void; } @@ -336,7 +335,7 @@ export interface AnimatorResult { /** * Defines the Animator class. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ declare class Animator { /** @@ -348,7 +347,7 @@ declare class Animator { *
2. Incorrect parameters types. *
3. Parameter verification failed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ static create(options: AnimatorOptions | SimpleAnimatorOptions): AnimatorResult; } diff --git a/api/@ohos.app.ability.Ability.d.ts b/api/@ohos.app.ability.Ability.d.ts index 514342c4b6..7da3613072 100644 --- a/api/@ohos.app.ability.Ability.d.ts +++ b/api/@ohos.app.ability.Ability.d.ts @@ -36,8 +36,8 @@ import { Configuration } from './@ohos.app.ability.Configuration'; * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class Ability { /** @@ -55,8 +55,8 @@ declare class Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly * @atomicservice - * @since arkts{'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onConfigurationUpdate(newConfig: Configuration): void; @@ -79,8 +79,8 @@ declare class Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly * @atomicservice - * @since arkts{'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onMemoryLevel(level: AbilityConstant.MemoryLevel): void; } diff --git a/api/@ohos.app.ability.AbilityConstant.d.ts b/api/@ohos.app.ability.AbilityConstant.d.ts index e8323d9e7c..42db0b378c 100644 --- a/api/@ohos.app.ability.AbilityConstant.d.ts +++ b/api/@ohos.app.ability.AbilityConstant.d.ts @@ -18,7 +18,7 @@ * @kit AbilityKit */ -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type appManager from './@ohos.app.ability.appManager'; /*** endif */ @@ -48,8 +48,8 @@ import type appManager from './@ohos.app.ability.appManager'; * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace AbilityConstant { /** @@ -59,7 +59,7 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityBase * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamic */ const REASON_MESSAGE_DESKTOP_SHORTCUT = 'ReasonMessage_DesktopShortcut'; /** @@ -89,8 +89,8 @@ declare namespace AbilityConstant { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface LaunchParam { /** @@ -118,8 +118,8 @@ declare namespace AbilityConstant { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ launchReason: LaunchReason; @@ -130,8 +130,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ launchReasonMessage?: string; @@ -160,8 +160,8 @@ declare namespace AbilityConstant { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ lastExitReason: LastExitReason; @@ -172,8 +172,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ lastExitMessage: string; @@ -184,8 +184,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ lastExitDetailInfo?: LastExitDetailInfo; } @@ -197,8 +197,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export interface LastExitDetailInfo { /** @@ -208,8 +208,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ pid: int; @@ -220,8 +220,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ processName: string; @@ -232,8 +232,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ uid: int; @@ -244,8 +244,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ exitSubReason: int; @@ -256,8 +256,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ exitMsg: string; @@ -268,8 +268,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ rss: int; @@ -280,8 +280,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ pss: int; @@ -292,8 +292,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ timestamp: long; @@ -304,7 +304,7 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamic */ processState?: appManager.ProcessState; } @@ -336,8 +336,8 @@ declare namespace AbilityConstant { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum LaunchReason { /** @@ -360,8 +360,8 @@ declare namespace AbilityConstant { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNKNOWN = 0, @@ -378,8 +378,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ START_ABILITY = 1, @@ -396,8 +396,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CALL = 2, @@ -414,8 +414,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CONTINUATION = 3, @@ -432,8 +432,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ APP_RECOVERY = 4, @@ -450,8 +450,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SHARE = 5, @@ -460,8 +460,8 @@ declare namespace AbilityConstant { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ AUTO_STARTUP = 8, @@ -471,8 +471,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ INSIGHT_INTENT = 9, @@ -482,8 +482,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PREPARE_CONTINUATION = 10, @@ -493,8 +493,7 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ PRELOAD = 11, } @@ -526,8 +525,8 @@ declare namespace AbilityConstant { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum LastExitReason { /** @@ -554,8 +553,8 @@ declare namespace AbilityConstant { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNKNOWN = 0, @@ -564,7 +563,7 @@ declare namespace AbilityConstant { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead AbilityConstant.LastExitReason#APP_FREEZE */ @@ -583,8 +582,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NORMAL = 2, @@ -601,8 +600,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CPP_CRASH = 3, @@ -620,8 +619,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ JS_ERROR = 4, @@ -638,8 +637,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ APP_FREEZE = 5, @@ -656,8 +655,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PERFORMANCE_CONTROL = 6, @@ -681,8 +680,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ RESOURCE_CONTROL = 7, @@ -699,8 +698,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UPGRADE = 8, @@ -711,8 +710,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ USER_REQUEST = 9, @@ -722,8 +721,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SIGNAL = 10 } @@ -745,8 +744,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum OnContinueResult { /** @@ -762,8 +761,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ AGREE = 0, @@ -782,8 +781,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ REJECT = 1, @@ -802,8 +801,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MISMATCH = 2 } @@ -824,8 +823,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum MemoryLevel { /** @@ -841,8 +840,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MEMORY_LEVEL_MODERATE = 0, @@ -859,8 +858,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MEMORY_LEVEL_LOW = 1, @@ -877,8 +876,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MEMORY_LEVEL_CRITICAL = 2 } @@ -890,8 +889,8 @@ declare namespace AbilityConstant { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum WindowMode { /** @@ -900,8 +899,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WINDOW_MODE_UNDEFINED = 0, @@ -910,8 +909,8 @@ declare namespace AbilityConstant { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WINDOW_MODE_FULLSCREEN = 1, @@ -922,8 +921,8 @@ declare namespace AbilityConstant { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WINDOW_MODE_SPLIT_PRIMARY = 100, @@ -934,8 +933,8 @@ declare namespace AbilityConstant { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WINDOW_MODE_SPLIT_SECONDARY = 101, @@ -945,8 +944,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WINDOW_MODE_FLOATING = 102 } @@ -967,8 +966,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum OnSaveResult { /** @@ -984,8 +983,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ALL_AGREE = 0, @@ -1002,8 +1001,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CONTINUATION_REJECT = 1, @@ -1020,8 +1019,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CONTINUATION_MISMATCH = 2, @@ -1038,8 +1037,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ RECOVERY_AGREE = 3, @@ -1056,8 +1055,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ RECOVERY_REJECT = 4, @@ -1074,8 +1073,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ALL_REJECT } @@ -1096,8 +1095,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum StateType { /** @@ -1113,8 +1112,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CONTINUATION = 0, @@ -1131,8 +1130,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ APP_RECOVERY = 1 } @@ -1153,8 +1152,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum ContinueState { /** @@ -1170,8 +1169,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ACTIVE = 0, @@ -1188,8 +1187,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ INACTIVE = 1 } @@ -1203,8 +1202,8 @@ declare namespace AbilityConstant { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export enum CollaborateResult { /** @@ -1212,8 +1211,8 @@ declare namespace AbilityConstant { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ ACCEPT = 0, @@ -1222,8 +1221,8 @@ declare namespace AbilityConstant { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ REJECT = 1, } @@ -1236,8 +1235,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ export enum PrepareTermination { /** @@ -1246,8 +1245,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ TERMINATE_IMMEDIATELY = 0, @@ -1257,8 +1256,8 @@ declare namespace AbilityConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ CANCEL = 1 } diff --git a/api/@ohos.app.ability.AbilityLifecycleCallback.d.ts b/api/@ohos.app.ability.AbilityLifecycleCallback.d.ts index 95bf42caf8..1f39bceb81 100644 --- a/api/@ohos.app.ability.AbilityLifecycleCallback.d.ts +++ b/api/@ohos.app.ability.AbilityLifecycleCallback.d.ts @@ -21,7 +21,7 @@ import UIAbility from './@ohos.app.ability.UIAbility'; import window from './@ohos.window'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ /** * The ability lifecycle callback. * @@ -44,12 +44,12 @@ import window from './@ohos.window'; * @StageModelOnly * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export default class AbilityLifecycleCallback { /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ /** * The ability lifecycle callback. * @@ -58,8 +58,7 @@ export default class AbilityLifecycleCallback { * @StageModelOnly * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ declare interface AbilityLifecycleCallback { /*** endif */ @@ -88,8 +87,8 @@ declare interface AbilityLifecycleCallback { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onAbilityCreate(ability: UIAbility): void; @@ -100,7 +99,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onAbilityWillCreate?(ability: UIAbility): void; @@ -132,8 +131,8 @@ declare interface AbilityLifecycleCallback { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onWindowStageCreate(ability: UIAbility, windowStage: window.WindowStage): void; @@ -145,7 +144,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onWindowStageWillCreate?(ability: UIAbility, windowStage: window.WindowStage): void; @@ -156,7 +155,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onWillNewWant?(ability: UIAbility): void; @@ -167,7 +166,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onNewWant?(ability: UIAbility): void; @@ -188,7 +187,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly * @atomicservice - * @since 11 + * @since 11 dynamic */ onWindowStageActive(ability: UIAbility, windowStage: window.WindowStage): void; @@ -209,7 +208,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly * @atomicservice - * @since 11 + * @since 11 dynamic */ onWindowStageInactive(ability: UIAbility, windowStage: window.WindowStage): void; @@ -241,8 +240,8 @@ declare interface AbilityLifecycleCallback { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onWindowStageDestroy(ability: UIAbility, windowStage: window.WindowStage): void; @@ -254,7 +253,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onWindowStageWillDestroy?(ability: UIAbility, windowStage: window.WindowStage): void; @@ -283,8 +282,8 @@ declare interface AbilityLifecycleCallback { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onAbilityDestroy(ability: UIAbility): void; @@ -295,7 +294,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onAbilityWillDestroy?(ability: UIAbility): void; @@ -324,8 +323,8 @@ declare interface AbilityLifecycleCallback { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onAbilityForeground(ability: UIAbility): void; @@ -336,7 +335,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onAbilityWillForeground?(ability: UIAbility): void; @@ -365,8 +364,8 @@ declare interface AbilityLifecycleCallback { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onAbilityBackground(ability: UIAbility): void; @@ -377,7 +376,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onAbilityWillBackground?(ability: UIAbility): void; @@ -396,7 +395,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly * @atomicservice - * @since 11 + * @since 11 dynamic */ onAbilityContinue(ability: UIAbility): void; @@ -407,7 +406,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onAbilityWillContinue?(ability: UIAbility): void; @@ -419,7 +418,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onWindowStageWillRestore?(ability: UIAbility, windowStage: window.WindowStage): void; @@ -431,7 +430,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onWindowStageRestore?(ability: UIAbility, windowStage: window.WindowStage): void; @@ -442,7 +441,7 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onAbilityWillSaveState?(ability: UIAbility): void; @@ -453,11 +452,11 @@ declare interface AbilityLifecycleCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onAbilitySaveState?(ability: UIAbility): void; } -/*** if arkts 1.2 */ +/*** if arkts static */ export default AbilityLifecycleCallback; /*** endif */ \ No newline at end of file diff --git a/api/@ohos.app.ability.AbilityStage.d.ts b/api/@ohos.app.ability.AbilityStage.d.ts index 2e07da4418..7a1202b4c1 100644 --- a/api/@ohos.app.ability.AbilityStage.d.ts +++ b/api/@ohos.app.ability.AbilityStage.d.ts @@ -47,8 +47,8 @@ import { Configuration } from './@ohos.app.ability.Configuration'; * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class AbilityStage { /** @@ -77,8 +77,8 @@ declare class AbilityStage { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ context: AbilityStageContext; @@ -108,8 +108,8 @@ declare class AbilityStage { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onCreate(): void; @@ -137,8 +137,8 @@ declare class AbilityStage { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onAcceptWant(want: Want): string; @@ -152,8 +152,7 @@ declare class AbilityStage { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ onAcceptWantAsync(want: Want): Promise; @@ -183,8 +182,7 @@ declare class AbilityStage { * runs in the process. Otherwise, a new process is created and the ability runs in it. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ onNewProcessRequest(want: Want): string; @@ -197,8 +195,7 @@ declare class AbilityStage { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ onNewProcessRequestAsync(want: Want): Promise; @@ -233,8 +230,8 @@ declare class AbilityStage { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onConfigurationUpdate(newConfig: Configuration): void; @@ -263,8 +260,8 @@ declare class AbilityStage { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onMemoryLevel(level: AbilityConstant.MemoryLevel): void; @@ -279,8 +276,8 @@ declare class AbilityStage { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onDestroy(): void; @@ -301,8 +298,8 @@ declare class AbilityStage { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ onPrepareTermination(): AbilityConstant.PrepareTermination; @@ -324,8 +321,8 @@ declare class AbilityStage { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ onPrepareTerminationAsync(): Promise; } diff --git a/api/@ohos.app.ability.ActionExtensionAbility.d.ts b/api/@ohos.app.ability.ActionExtensionAbility.d.ts index bfa54a6e04..7f42934285 100644 --- a/api/@ohos.app.ability.ActionExtensionAbility.d.ts +++ b/api/@ohos.app.ability.ActionExtensionAbility.d.ts @@ -26,8 +26,8 @@ import UIExtensionAbility from './@ohos.app.ability.UIExtensionAbility'; * @extends UIExtensionAbility * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export default class ActionExtensionAbility extends UIExtensionAbility { } \ No newline at end of file diff --git a/api/@ohos.app.ability.AppServiceExtensionAbility.d.ts b/api/@ohos.app.ability.AppServiceExtensionAbility.d.ts index 4293980bea..c37bb42283 100644 --- a/api/@ohos.app.ability.AppServiceExtensionAbility.d.ts +++ b/api/@ohos.app.ability.AppServiceExtensionAbility.d.ts @@ -29,7 +29,7 @@ import ExtensionAbility from './@ohos.app.ability.ExtensionAbility'; * @extends ExtensionAbility * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ export default class AppServiceExtensionAbility extends ExtensionAbility { /** @@ -38,7 +38,7 @@ export default class AppServiceExtensionAbility extends ExtensionAbility { * @type { AppServiceExtensionContext } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ context: AppServiceExtensionContext; @@ -48,7 +48,7 @@ export default class AppServiceExtensionAbility extends ExtensionAbility { * @param { Want } want - Indicates the want of created app service extension. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ onCreate(want: Want): void; @@ -57,7 +57,7 @@ export default class AppServiceExtensionAbility extends ExtensionAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ onDestroy(): void; @@ -69,7 +69,7 @@ export default class AppServiceExtensionAbility extends ExtensionAbility { * The {@code startId} is incremented by 1 every time the app service extension is started. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ onRequest(want: Want, startId: number): void; @@ -80,7 +80,7 @@ export default class AppServiceExtensionAbility extends ExtensionAbility { * @returns { rpc.RemoteObject } A RemoteObject for communication between the client and server. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ onConnect(want: Want): rpc.RemoteObject; @@ -90,7 +90,7 @@ export default class AppServiceExtensionAbility extends ExtensionAbility { * @param { Want } want - Indicates disconnection information about the app service extension. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ onDisconnect(want: Want): void; } diff --git a/api/@ohos.app.ability.ApplicationStateChangeCallback.d.ts b/api/@ohos.app.ability.ApplicationStateChangeCallback.d.ts index 2bcbc1885c..d0b7bfc31f 100644 --- a/api/@ohos.app.ability.ApplicationStateChangeCallback.d.ts +++ b/api/@ohos.app.ability.ApplicationStateChangeCallback.d.ts @@ -18,7 +18,7 @@ * @kit AbilityKit */ -/*** if arkts 1.1 */ +/*** if arkts dynamic */ /** * The application state change callback. * @@ -41,12 +41,12 @@ * @StageModelOnly * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ export default class ApplicationStateChangeCallback { /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ /** * The application state change callback. * @@ -72,8 +72,7 @@ export default class ApplicationStateChangeCallback { * @StageModelOnly * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ declare interface ApplicationStateChangeCallback { /*** endif */ @@ -99,8 +98,8 @@ declare interface ApplicationStateChangeCallback { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ onApplicationForeground(): void; @@ -126,12 +125,12 @@ declare interface ApplicationStateChangeCallback { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ onApplicationBackground(): void; } -/*** if arkts 1.2 */ +/*** if arkts static */ export default ApplicationStateChangeCallback; /*** endif */ \ No newline at end of file diff --git a/api/@ohos.app.ability.AtomicServiceOptions.d.ts b/api/@ohos.app.ability.AtomicServiceOptions.d.ts index 94b99e1cc2..518aa57b32 100644 --- a/api/@ohos.app.ability.AtomicServiceOptions.d.ts +++ b/api/@ohos.app.ability.AtomicServiceOptions.d.ts @@ -19,7 +19,7 @@ */ import StartOptions from './@ohos.app.ability.StartOptions'; -/*** if arkts 1.2 */ +/*** if arkts static */ import { RecordData } from './@ohos.base'; /*** endif */ @@ -30,8 +30,8 @@ import { RecordData } from './@ohos.base'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export default class AtomicServiceOptions extends StartOptions { /** @@ -41,8 +41,8 @@ export default class AtomicServiceOptions extends StartOptions { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ flags?: int; @@ -53,7 +53,7 @@ export default class AtomicServiceOptions extends StartOptions { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ parameters?: Record; @@ -63,8 +63,7 @@ export default class AtomicServiceOptions extends StartOptions { * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ parameters?: Record; } \ No newline at end of file diff --git a/api/@ohos.app.ability.AutoFillExtensionAbility.d.ts b/api/@ohos.app.ability.AutoFillExtensionAbility.d.ts index 97bdd0a9f9..e45ff92633 100644 --- a/api/@ohos.app.ability.AutoFillExtensionAbility.d.ts +++ b/api/@ohos.app.ability.AutoFillExtensionAbility.d.ts @@ -19,12 +19,12 @@ */ import ExtensionAbility from './@ohos.app.ability.ExtensionAbility'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type UIExtensionContentSession from './@ohos.app.ability.UIExtensionContentSession'; import type AutoFillExtensionContext from './application/AutoFillExtensionContext'; import type { FillRequest, SaveRequest, UpdateRequest, FillRequestCallback, SaveRequestCallback } from './application/AutoFillRequest'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import UIExtensionContentSession from './@ohos.app.ability.UIExtensionContentSession'; import AutoFillExtensionContext from './application/AutoFillExtensionContext'; import { FillRequest, SaveRequest, UpdateRequest, FillRequestCallback, SaveRequestCallback } from './application/AutoFillRequest'; @@ -37,8 +37,8 @@ import { FillRequest, SaveRequest, UpdateRequest, FillRequestCallback, SaveReque * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class AutoFillExtensionAbility extends ExtensionAbility { /** @@ -48,8 +48,8 @@ declare class AutoFillExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ context: AutoFillExtensionContext; @@ -59,8 +59,8 @@ declare class AutoFillExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onCreate(): void; @@ -73,8 +73,8 @@ declare class AutoFillExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onFillRequest(session: UIExtensionContentSession, request: FillRequest, callback: FillRequestCallback): void; @@ -87,8 +87,8 @@ declare class AutoFillExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onSaveRequest(session: UIExtensionContentSession, request: SaveRequest, callback: SaveRequestCallback): void; @@ -99,8 +99,8 @@ declare class AutoFillExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @StageModelOnly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onUpdateRequest(request: UpdateRequest): void; @@ -111,8 +111,8 @@ declare class AutoFillExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onSessionDestroy(session: UIExtensionContentSession): void; @@ -122,8 +122,8 @@ declare class AutoFillExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onForeground(): void; @@ -133,8 +133,8 @@ declare class AutoFillExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onBackground(): void; @@ -145,7 +145,7 @@ declare class AutoFillExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ onDestroy(): void | Promise; @@ -156,8 +156,7 @@ declare class AutoFillExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ onDestroy(): Promise | undefined; } diff --git a/api/@ohos.app.ability.ChildProcess.d.ts b/api/@ohos.app.ability.ChildProcess.d.ts index 7b9f0f6106..e4ac2181db 100644 --- a/api/@ohos.app.ability.ChildProcess.d.ts +++ b/api/@ohos.app.ability.ChildProcess.d.ts @@ -26,7 +26,7 @@ import type { ChildProcessArgs } from './@ohos.app.ability.ChildProcessArgs'; * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 11 + * @since 11 dynamic */ export default class ChildProcess { @@ -43,7 +43,7 @@ export default class ChildProcess { * @param { ChildProcessArgs } [args] - Indicates args passed to child process. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 12 + * @since 12 dynamic */ onStart(args?: ChildProcessArgs): void; } \ No newline at end of file diff --git a/api/@ohos.app.ability.ChildProcessArgs.d.ts b/api/@ohos.app.ability.ChildProcessArgs.d.ts index dd2473aedf..32b7ad3816 100644 --- a/api/@ohos.app.ability.ChildProcessArgs.d.ts +++ b/api/@ohos.app.ability.ChildProcessArgs.d.ts @@ -24,7 +24,7 @@ * @interface ChildProcessArgs * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export interface ChildProcessArgs { /** @@ -34,7 +34,7 @@ export interface ChildProcessArgs { * @type { ?string } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 12 + * @since 12 dynamic */ entryParams?: string; @@ -44,7 +44,7 @@ export interface ChildProcessArgs { * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 12 + * @since 12 dynamic */ fds?: Record; } \ No newline at end of file diff --git a/api/@ohos.app.ability.ChildProcessOptions.d.ts b/api/@ohos.app.ability.ChildProcessOptions.d.ts index e1b13c5625..ea09636827 100644 --- a/api/@ohos.app.ability.ChildProcessOptions.d.ts +++ b/api/@ohos.app.ability.ChildProcessOptions.d.ts @@ -24,7 +24,7 @@ * @interface ChildProcessOptions * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export interface ChildProcessOptions { /** @@ -33,7 +33,7 @@ export interface ChildProcessOptions { * @type { ?boolean } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 12 + * @since 12 dynamic */ isolationMode?: boolean; } \ No newline at end of file diff --git a/api/@ohos.app.ability.CompletionHandler.d.ts b/api/@ohos.app.ability.CompletionHandler.d.ts index ed48691a07..cc392d1383 100644 --- a/api/@ohos.app.ability.CompletionHandler.d.ts +++ b/api/@ohos.app.ability.CompletionHandler.d.ts @@ -28,8 +28,7 @@ import { ElementName } from './bundleManager/ElementName'; * @param { string } message - Indicates the message of the request result. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ type OnRequestSuccessFn = (elementName: ElementName, message: string) => void; /** @@ -40,8 +39,7 @@ type OnRequestSuccessFn = (elementName: ElementName, message: string) => void; * @param { string } message - Indicates the message of the request result. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ type OnRequestFailureFn = (elementName: ElementName, message: string) => void; @@ -51,8 +49,7 @@ type OnRequestFailureFn = (elementName: ElementName, message: string) => void; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ declare class CompletionHandler { /** @@ -63,7 +60,7 @@ declare class CompletionHandler { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamic */ onRequestSuccess(elementName: ElementName, message: string): void; @@ -75,7 +72,7 @@ declare class CompletionHandler { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamic */ onRequestFailure(elementName: ElementName, message: string): void; @@ -85,8 +82,7 @@ declare class CompletionHandler { * @type { OnRequestSuccessFn } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ onRequestSuccess: OnRequestSuccessFn; @@ -96,8 +92,7 @@ declare class CompletionHandler { * @type { OnRequestFailureFn } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ onRequestFailure: OnRequestFailureFn; } diff --git a/api/@ohos.app.ability.Configuration.d.ts b/api/@ohos.app.ability.Configuration.d.ts index 7fa39dcd8e..bdd22d03fe 100644 --- a/api/@ohos.app.ability.Configuration.d.ts +++ b/api/@ohos.app.ability.Configuration.d.ts @@ -42,8 +42,8 @@ import ConfigurationConstant from './@ohos.app.ability.ConfigurationConstant'; * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface Configuration { /** @@ -68,8 +68,8 @@ export interface Configuration { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ language?: string; @@ -95,8 +95,8 @@ export interface Configuration { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ colorMode?: ConfigurationConstant.ColorMode; @@ -122,8 +122,8 @@ export interface Configuration { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ direction?: ConfigurationConstant.Direction; @@ -149,8 +149,8 @@ export interface Configuration { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ screenDensity?: ConfigurationConstant.ScreenDensity; @@ -167,8 +167,8 @@ export interface Configuration { * @type { ?long } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ displayId?: long; @@ -185,8 +185,8 @@ export interface Configuration { * @type { ?boolean } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ hasPointerDevice?: boolean; @@ -196,8 +196,8 @@ export interface Configuration { * @type { ?string } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ fontId?: string; @@ -216,8 +216,8 @@ export interface Configuration { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ fontSizeScale?: double; @@ -227,8 +227,8 @@ export interface Configuration { * @type { ?double } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fontWeightScale?: double; @@ -238,8 +238,8 @@ export interface Configuration { * @type { ?string } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ mcc?: string; @@ -249,8 +249,8 @@ export interface Configuration { * @type { ?string } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ mnc?: string; @@ -260,8 +260,7 @@ export interface Configuration { * @type { ?Intl.Locale } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ locale?: Intl.Locale; } diff --git a/api/@ohos.app.ability.ConfigurationConstant.d.ts b/api/@ohos.app.ability.ConfigurationConstant.d.ts index 84c4264ac4..dede583d45 100644 --- a/api/@ohos.app.ability.ConfigurationConstant.d.ts +++ b/api/@ohos.app.ability.ConfigurationConstant.d.ts @@ -40,8 +40,8 @@ * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace ConfigurationConstant { /** @@ -66,8 +66,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum ColorMode { /** @@ -89,8 +89,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COLOR_MODE_NOT_SET = -1, @@ -113,8 +113,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COLOR_MODE_DARK = 0, @@ -137,8 +137,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COLOR_MODE_LIGHT = 1 } @@ -165,8 +165,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum Direction { /** @@ -188,8 +188,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DIRECTION_NOT_SET = -1, @@ -212,8 +212,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DIRECTION_VERTICAL = 0, @@ -236,8 +236,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DIRECTION_HORIZONTAL = 1 } @@ -264,8 +264,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export enum ScreenDensity { /** @@ -287,8 +287,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SCREEN_DENSITY_NOT_SET = 0, @@ -311,8 +311,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SCREEN_DENSITY_SDPI = 120, @@ -335,8 +335,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SCREEN_DENSITY_MDPI = 160, @@ -359,8 +359,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SCREEN_DENSITY_LDPI = 240, @@ -383,8 +383,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SCREEN_DENSITY_XLDPI = 320, @@ -407,8 +407,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SCREEN_DENSITY_XXLDPI = 480, @@ -431,8 +431,8 @@ declare namespace ConfigurationConstant { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SCREEN_DENSITY_XXXLDPI = 640 } diff --git a/api/@ohos.app.ability.DriverExtensionAbility.d.ts b/api/@ohos.app.ability.DriverExtensionAbility.d.ts index bd373b2c2d..69c68c589b 100644 --- a/api/@ohos.app.ability.DriverExtensionAbility.d.ts +++ b/api/@ohos.app.ability.DriverExtensionAbility.d.ts @@ -27,8 +27,8 @@ import _DriverExtensionContext from './application/DriverExtensionContext'; * * @typedef { _DriverExtensionContext } * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export type DriverExtensionContext = _DriverExtensionContext; @@ -36,8 +36,8 @@ export type DriverExtensionContext = _DriverExtensionContext; * class of driver extension ability. * @syscap SystemCapability.Driver.ExternalDevice * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare class DriverExtensionAbility { /** @@ -46,8 +46,8 @@ declare class DriverExtensionAbility { * @type { DriverExtensionContext } * @syscap SystemCapability.Driver.ExternalDevice * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ context: DriverExtensionContext; @@ -56,8 +56,8 @@ declare class DriverExtensionAbility { * @param { Want } want - Indicates the want of created driver extension. * @syscap SystemCapability.Driver.ExternalDevice * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onInit(want: Want): void; @@ -65,8 +65,8 @@ declare class DriverExtensionAbility { * Called back before a driver extension is destroyed. * @syscap SystemCapability.Driver.ExternalDevice * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onRelease(): void; @@ -76,8 +76,8 @@ declare class DriverExtensionAbility { * @returns { rpc.RemoteObject | Promise } Rpc remoteObject. * @syscap SystemCapability.Driver.ExternalDevice * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onConnect(want: Want): rpc.RemoteObject | Promise; @@ -97,8 +97,7 @@ declare class DriverExtensionAbility { * @returns { undefined | Promise } * @syscap SystemCapability.Driver.ExternalDevice * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ onDisconnect(want: Want): undefined | Promise; @@ -109,8 +108,8 @@ declare class DriverExtensionAbility { * @returns { Array } The dump info array. * @syscap SystemCapability.Driver.ExternalDevice * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onDump(params: Array): Array; } @@ -119,7 +118,7 @@ declare class DriverExtensionAbility { * class of driver extension ability. * @syscap SystemCapability.Driver.ExternalDevice * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export default DriverExtensionAbility; diff --git a/api/@ohos.app.ability.EmbeddableUIAbility.d.ts b/api/@ohos.app.ability.EmbeddableUIAbility.d.ts index 32db9fc4fc..8e0702c9a8 100644 --- a/api/@ohos.app.ability.EmbeddableUIAbility.d.ts +++ b/api/@ohos.app.ability.EmbeddableUIAbility.d.ts @@ -27,7 +27,7 @@ import type EmbeddableUIAbilityContext from './application/EmbeddableUIAbilityCo * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since 12 + * @since 12 dynamic */ export default class EmbeddableUIAbility extends UIAbility { /** @@ -37,7 +37,7 @@ export default class EmbeddableUIAbility extends UIAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since 12 + * @since 12 dynamic */ context: EmbeddableUIAbilityContext; } \ No newline at end of file diff --git a/api/@ohos.app.ability.EmbeddedUIExtensionAbility.d.ts b/api/@ohos.app.ability.EmbeddedUIExtensionAbility.d.ts index c8dbcf1250..9559cdbc6b 100644 --- a/api/@ohos.app.ability.EmbeddedUIExtensionAbility.d.ts +++ b/api/@ohos.app.ability.EmbeddedUIExtensionAbility.d.ts @@ -26,7 +26,7 @@ import UIExtensionAbility from './@ohos.app.ability.UIExtensionAbility'; * @extends UIExtensionAbility * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since 12 + * @since 12 dynamic */ export default class EmbeddedUIExtensionAbility extends UIExtensionAbility { } diff --git a/api/@ohos.app.ability.EnvironmentCallback.d.ts b/api/@ohos.app.ability.EnvironmentCallback.d.ts index 9f5a4b9013..e400720efd 100644 --- a/api/@ohos.app.ability.EnvironmentCallback.d.ts +++ b/api/@ohos.app.ability.EnvironmentCallback.d.ts @@ -21,7 +21,7 @@ import AbilityConstant from './@ohos.app.ability.AbilityConstant'; import { Configuration } from './@ohos.app.ability.Configuration'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ /** * The environment callback. * @@ -33,12 +33,12 @@ import { Configuration } from './@ohos.app.ability.Configuration'; * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ export default class EnvironmentCallback { /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ /** * The environment callback. * @@ -52,8 +52,7 @@ export default class EnvironmentCallback { * @typedef EnvironmentCallback * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ declare interface EnvironmentCallback { /*** endif */ @@ -72,8 +71,8 @@ declare interface EnvironmentCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onConfigurationUpdated(config: Configuration): void; @@ -94,12 +93,12 @@ declare interface EnvironmentCallback { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onMemoryLevel(level: AbilityConstant.MemoryLevel): void; } -/*** if arkts 1.2 */ +/*** if arkts static */ export default EnvironmentCallback; /*** endif */ \ No newline at end of file diff --git a/api/@ohos.app.ability.ExtensionAbility.d.ts b/api/@ohos.app.ability.ExtensionAbility.d.ts index 8540140a31..2a19a1d962 100644 --- a/api/@ohos.app.ability.ExtensionAbility.d.ts +++ b/api/@ohos.app.ability.ExtensionAbility.d.ts @@ -35,7 +35,7 @@ import Ability from './@ohos.app.ability.Ability'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export default class ExtensionAbility extends Ability {} diff --git a/api/@ohos.app.ability.FenceExtensionAbility.d.ts b/api/@ohos.app.ability.FenceExtensionAbility.d.ts index 8861f75dfe..22da9227e0 100644 --- a/api/@ohos.app.ability.FenceExtensionAbility.d.ts +++ b/api/@ohos.app.ability.FenceExtensionAbility.d.ts @@ -26,7 +26,7 @@ import geoLocationManager from './@ohos.geoLocationManager'; * * @syscap SystemCapability.Location.Location.Geofence * @stagemodelonly - * @since 14 + * @since 14 dynamic */ export default class FenceExtensionAbility { /** @@ -35,7 +35,7 @@ export default class FenceExtensionAbility { * @type { FenceExtensionContext } * @syscap SystemCapability.Location.Location.Geofence * @stagemodelonly - * @since 14 + * @since 14 dynamic */ context: FenceExtensionContext; @@ -46,7 +46,7 @@ export default class FenceExtensionAbility { * @param { Record } additions - Indicates additional information * @syscap SystemCapability.Location.Location.Geofence * @stagemodelonly - * @since 14 + * @since 14 dynamic */ onFenceStatusChange(transition: geoLocationManager.GeofenceTransition, additions: Record): void; @@ -55,7 +55,7 @@ export default class FenceExtensionAbility { * * @syscap SystemCapability.Location.Location.Geofence * @stagemodelonly - * @since 14 + * @since 14 dynamic */ onDestroy(): void; } diff --git a/api/@ohos.app.ability.FenceExtensionContext.d.ts b/api/@ohos.app.ability.FenceExtensionContext.d.ts index 2e589e5e9c..b7cbde785c 100644 --- a/api/@ohos.app.ability.FenceExtensionContext.d.ts +++ b/api/@ohos.app.ability.FenceExtensionContext.d.ts @@ -27,7 +27,7 @@ import type Want from './@ohos.app.ability.Want'; * @extends ExtensionContext * @syscap SystemCapability.Location.Location.Geofence * @stagemodelonly - * @since 14 + * @since 14 dynamic */ export default class FenceExtensionContext extends ExtensionContext { /** @@ -56,7 +56,7 @@ export default class FenceExtensionContext extends ExtensionContext { * @syscap SystemCapability.Location.Location.Geofence * @systemapi * @stagemodelonly - * @since 14 + * @since 14 dynamic */ startAbility(want: Want): Promise; } diff --git a/api/@ohos.app.ability.InsightIntentContext.d.ts b/api/@ohos.app.ability.InsightIntentContext.d.ts index d60333a727..9b694fedd5 100644 --- a/api/@ohos.app.ability.InsightIntentContext.d.ts +++ b/api/@ohos.app.ability.InsightIntentContext.d.ts @@ -27,8 +27,8 @@ import type Want from './@ohos.app.ability.Want'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class InsightIntentContext { /** @@ -57,8 +57,8 @@ declare class InsightIntentContext { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ startAbility(want: Want, callback: AsyncCallback): void; @@ -88,8 +88,8 @@ declare class InsightIntentContext { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ startAbility(want: Want): Promise; } diff --git a/api/@ohos.app.ability.InsightIntentDecorator.d.ts b/api/@ohos.app.ability.InsightIntentDecorator.d.ts index 120ed65cf6..d2478f644a 100644 --- a/api/@ohos.app.ability.InsightIntentDecorator.d.ts +++ b/api/@ohos.app.ability.InsightIntentDecorator.d.ts @@ -27,7 +27,7 @@ import insightIntent from './@ohos.app.ability.insightIntent'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ declare interface IntentDecoratorInfo { /** @@ -37,7 +37,7 @@ declare interface IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ intentName: string; @@ -48,7 +48,7 @@ declare interface IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ domain: string; @@ -59,7 +59,7 @@ declare interface IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ intentVersion: string; @@ -70,7 +70,7 @@ declare interface IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ displayName: string; @@ -81,7 +81,7 @@ declare interface IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ displayDescription?: string; @@ -92,7 +92,7 @@ declare interface IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ schema?: string; @@ -104,7 +104,7 @@ declare interface IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ icon?: ResourceStr; @@ -115,7 +115,7 @@ declare interface IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ llmDescription?: string; @@ -126,7 +126,7 @@ declare interface IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ keywords?: string[]; @@ -137,7 +137,7 @@ declare interface IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ parameters?: Record; @@ -148,7 +148,7 @@ declare interface IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ result?: Record; @@ -159,7 +159,7 @@ declare interface IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ example?: string; } @@ -172,7 +172,7 @@ declare interface IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ declare interface LinkIntentDecoratorInfo extends IntentDecoratorInfo { /** @@ -182,7 +182,7 @@ declare interface LinkIntentDecoratorInfo extends IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ uri: string; @@ -193,7 +193,7 @@ declare interface LinkIntentDecoratorInfo extends IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ paramMappings?: LinkIntentParamMapping[]; } @@ -208,7 +208,7 @@ declare interface LinkIntentDecoratorInfo extends IntentDecoratorInfo { * @systemapi * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ declare enum LinkParamCategory { /** @@ -218,7 +218,7 @@ declare enum LinkParamCategory { * @systemapi * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ LINK = 'link', @@ -229,7 +229,7 @@ declare enum LinkParamCategory { * @systemapi * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ WANT = 'want', } @@ -241,7 +241,7 @@ declare enum LinkParamCategory { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ declare interface LinkIntentParamMapping { /** @@ -251,7 +251,7 @@ declare interface LinkIntentParamMapping { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ paramName: string; @@ -262,7 +262,7 @@ declare interface LinkIntentParamMapping { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ paramMappingName?: string; @@ -273,7 +273,7 @@ declare interface LinkIntentParamMapping { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ paramCategory?: LinkParamCategory; } @@ -285,7 +285,7 @@ declare interface LinkIntentParamMapping { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ export declare const InsightIntentLink: ((intentInfo: LinkIntentDecoratorInfo) => ClassDecorator); @@ -297,7 +297,7 @@ export declare const InsightIntentLink: ((intentInfo: LinkIntentDecoratorInfo) = * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ declare interface PageIntentDecoratorInfo extends IntentDecoratorInfo { /** @@ -307,7 +307,7 @@ declare interface PageIntentDecoratorInfo extends IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ uiAbility?: string; @@ -318,7 +318,7 @@ declare interface PageIntentDecoratorInfo extends IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ pagePath: string; @@ -329,7 +329,7 @@ declare interface PageIntentDecoratorInfo extends IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ navigationId?: string; @@ -340,7 +340,7 @@ declare interface PageIntentDecoratorInfo extends IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ navDestinationName?: string; } @@ -352,7 +352,7 @@ declare interface PageIntentDecoratorInfo extends IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ export declare const InsightIntentPage: ((intentInfo: PageIntentDecoratorInfo) => ClassDecorator); @@ -364,7 +364,7 @@ export declare const InsightIntentPage: ((intentInfo: PageIntentDecoratorInfo) = * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ declare interface FunctionIntentDecoratorInfo extends IntentDecoratorInfo {} @@ -375,7 +375,7 @@ declare interface FunctionIntentDecoratorInfo extends IntentDecoratorInfo {} * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ export declare const InsightIntentFunctionMethod: ((intentInfo: FunctionIntentDecoratorInfo) => MethodDecorator); @@ -386,7 +386,7 @@ export declare const InsightIntentFunctionMethod: ((intentInfo: FunctionIntentDe * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ export declare const InsightIntentFunction: (() => ClassDecorator); @@ -398,7 +398,7 @@ export declare const InsightIntentFunction: (() => ClassDecorator); * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ declare interface FormIntentDecoratorInfo extends IntentDecoratorInfo { /** @@ -408,7 +408,7 @@ declare interface FormIntentDecoratorInfo extends IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ formName: string; } @@ -421,7 +421,7 @@ declare interface FormIntentDecoratorInfo extends IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ declare interface EntryIntentDecoratorInfo extends IntentDecoratorInfo { /** @@ -431,7 +431,7 @@ declare interface EntryIntentDecoratorInfo extends IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ abilityName: string; @@ -444,7 +444,7 @@ declare interface EntryIntentDecoratorInfo extends IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ executeMode: insightIntent.ExecuteMode[]; } @@ -456,7 +456,7 @@ declare interface EntryIntentDecoratorInfo extends IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ export declare const InsightIntentEntry: ((intentInfo: EntryIntentDecoratorInfo) => ClassDecorator); @@ -468,7 +468,7 @@ export declare const InsightIntentEntry: ((intentInfo: EntryIntentDecoratorInfo) * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ declare interface FormIntentDecoratorInfo extends IntentDecoratorInfo { /** @@ -478,7 +478,7 @@ declare interface FormIntentDecoratorInfo extends IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ formName: string; } @@ -490,7 +490,7 @@ declare interface FormIntentDecoratorInfo extends IntentDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ export declare const InsightIntentForm: ((intentInfo: FormIntentDecoratorInfo) => ClassDecorator); @@ -501,7 +501,7 @@ export declare const InsightIntentForm: ((intentInfo: FormIntentDecoratorInfo) = * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ declare interface IntentEntityDecoratorInfo { /** @@ -511,7 +511,7 @@ declare interface IntentEntityDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ entityCategory: string; @@ -522,7 +522,7 @@ declare interface IntentEntityDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ parameters?: Record; } @@ -534,6 +534,6 @@ declare interface IntentEntityDecoratorInfo { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ export declare const InsightIntentEntity: ((intentEntityInfo: IntentEntityDecoratorInfo) => ClassDecorator); diff --git a/api/@ohos.app.ability.InsightIntentEntryExecutor.d.ts b/api/@ohos.app.ability.InsightIntentEntryExecutor.d.ts index 3bdfb52373..5e2fd278aa 100644 --- a/api/@ohos.app.ability.InsightIntentEntryExecutor.d.ts +++ b/api/@ohos.app.ability.InsightIntentEntryExecutor.d.ts @@ -30,7 +30,7 @@ import UIExtensionContentSession from './@ohos.app.ability.UIExtensionContentSes * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ export default class InsightIntentEntryExecutor { /** @@ -40,7 +40,7 @@ export default class InsightIntentEntryExecutor { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ executeMode: insightIntent.ExecuteMode; @@ -51,7 +51,7 @@ export default class InsightIntentEntryExecutor { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ context: InsightIntentContext; @@ -62,7 +62,7 @@ export default class InsightIntentEntryExecutor { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ windowStage?: window.WindowStage; @@ -73,7 +73,7 @@ export default class InsightIntentEntryExecutor { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ uiExtensionSession?: UIExtensionContentSession; @@ -84,7 +84,7 @@ export default class InsightIntentEntryExecutor { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ onExecute(): Promise>; } \ No newline at end of file diff --git a/api/@ohos.app.ability.InsightIntentExecutor.d.ts b/api/@ohos.app.ability.InsightIntentExecutor.d.ts index 20b036f711..904e11e842 100644 --- a/api/@ohos.app.ability.InsightIntentExecutor.d.ts +++ b/api/@ohos.app.ability.InsightIntentExecutor.d.ts @@ -22,7 +22,7 @@ import type window from './@ohos.window'; import type insightIntent from './@ohos.app.ability.insightIntent'; import type InsightIntentContext from './@ohos.app.ability.InsightIntentContext'; import type UIExtensionContentSession from './@ohos.app.ability.UIExtensionContentSession'; -/*** if arkts 1.2 */ +/*** if arkts static */ import { RecordData } from './@ohos.base'; /*** endif */ @@ -32,8 +32,8 @@ import { RecordData } from './@ohos.base'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class InsightIntentExecutor { /** @@ -43,8 +43,8 @@ declare class InsightIntentExecutor { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ context: InsightIntentContext; @@ -58,7 +58,7 @@ declare class InsightIntentExecutor { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly * @atomicservice - * @since 11 + * @since 11 dynamic */ onExecuteInUIAbilityForegroundMode(name: string, param: Record, pageLoader: window.WindowStage): insightIntent.ExecuteResult | Promise; @@ -73,8 +73,7 @@ declare class InsightIntentExecutor { * insight intent execution, support promise. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ onExecuteInUIAbilityForegroundMode(name: string, param: Record, pageLoader: window.WindowStage): insightIntent.ExecuteResult | Promise; @@ -88,7 +87,7 @@ declare class InsightIntentExecutor { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly * @atomicservice - * @since 11 + * @since 11 dynamic */ onExecuteInUIAbilityBackgroundMode(name: string, param: Record): insightIntent.ExecuteResult | Promise; @@ -102,8 +101,7 @@ declare class InsightIntentExecutor { * insight intent execution, support promise. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ onExecuteInUIAbilityBackgroundMode(name: string, param: Record): insightIntent.ExecuteResult | Promise; @@ -117,7 +115,7 @@ declare class InsightIntentExecutor { * @returns { insightIntent.ExecuteResult | Promise } The result of insight intent execution, support promise. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since 11 + * @since 11 dynamic */ onExecuteInUIExtensionAbility(name: string, param: Record, pageLoader: UIExtensionContentSession): insightIntent.ExecuteResult | Promise; @@ -132,8 +130,7 @@ declare class InsightIntentExecutor { * insight intent execution, support promise. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ onExecuteInUIExtensionAbility(name: string, param: Record, pageLoader: UIExtensionContentSession): insightIntent.ExecuteResult | Promise; @@ -146,7 +143,7 @@ declare class InsightIntentExecutor { * @returns { insightIntent.ExecuteResult | Promise } The result of insight intent execution, support promise. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since 11 + * @since 11 dynamic */ onExecuteInServiceExtensionAbility(name: string, param: Record): insightIntent.ExecuteResult | Promise; @@ -160,8 +157,7 @@ declare class InsightIntentExecutor { * insight intent execution, support promise. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ onExecuteInServiceExtensionAbility(name: string, param: Record): insightIntent.ExecuteResult | Promise; diff --git a/api/@ohos.app.ability.InteropAbilityLifecycleCallback.d.ts b/api/@ohos.app.ability.InteropAbilityLifecycleCallback.d.ts index 5691bce494..e090b9fc88 100644 --- a/api/@ohos.app.ability.InteropAbilityLifecycleCallback.d.ts +++ b/api/@ohos.app.ability.InteropAbilityLifecycleCallback.d.ts @@ -20,7 +20,7 @@ import window from './@ohos.window'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ /** * The callback was called when only an ability is registered for listening. * @@ -28,7 +28,7 @@ import window from './@ohos.window'; * @param { any } ability - Indicates the ability to register for listening. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since 21 + * @since 21 dynamic */ type AbilityCallbackFn = (ability: any) => void; @@ -40,12 +40,12 @@ type AbilityCallbackFn = (ability: any) => void; * @param { window.WindowStage } windowStage - Indicates the window stage to register for listening. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since 21 + * @since 21 dynamic */ type WindowStageCallbackFn = (ability: any, windowStage: window.WindowStage) => void; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ /** * The callback was called when only an ability is registered for listening. * @@ -53,8 +53,7 @@ type WindowStageCallbackFn = (ability: any, windowStage: window.WindowStage) => * @param { Any } ability - Indicates the ability to register for listening. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since 21 - * @arkts 1.2 + * @since 21 static */ type AbilityCallbackFn = (ability: Any) => void; @@ -66,8 +65,7 @@ type AbilityCallbackFn = (ability: Any) => void; * @param { window.WindowStage } windowStage - Indicates the window stage to register for listening. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since 21 - * @arkts 1.2 + * @since 21 static */ type WindowStageCallbackFn = (ability: Any, windowStage: window.WindowStage) => void; /*** endif */ @@ -78,8 +76,7 @@ type WindowStageCallbackFn = (ability: Any, windowStage: window.WindowStage) => * @typedef InteropAbilityLifecycleCallback * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since 21 - * @arkts 1.1&1.2 + * @since 21 dynamic&static */ declare interface InteropAbilityLifecycleCallback { /** @@ -88,8 +85,7 @@ declare interface InteropAbilityLifecycleCallback { * @type { AbilityCallbackFn } * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since 21 - * @arkts 1.1&1.2 + * @since 21 dynamic&static */ onAbilityCreate: AbilityCallbackFn; @@ -99,8 +95,7 @@ declare interface InteropAbilityLifecycleCallback { * @type { WindowStageCallbackFn } * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since 21 - * @arkts 1.1&1.2 + * @since 21 dynamic&static */ onWindowStageCreate: WindowStageCallbackFn; @@ -110,8 +105,7 @@ declare interface InteropAbilityLifecycleCallback { * @type { WindowStageCallbackFn } * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since 21 - * @arkts 1.1&1.2 + * @since 21 dynamic&static */ onWindowStageDestroy: WindowStageCallbackFn; @@ -121,8 +115,7 @@ declare interface InteropAbilityLifecycleCallback { * @type { AbilityCallbackFn } * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since 21 - * @arkts 1.1&1.2 + * @since 21 dynamic&static */ onAbilityDestroy: AbilityCallbackFn; @@ -132,8 +125,7 @@ declare interface InteropAbilityLifecycleCallback { * @type { AbilityCallbackFn } * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since 21 - * @arkts 1.1&1.2 + * @since 21 dynamic&static */ onAbilityForeground: AbilityCallbackFn; @@ -143,8 +135,7 @@ declare interface InteropAbilityLifecycleCallback { * @type { AbilityCallbackFn } * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since 21 - * @arkts 1.1&1.2 + * @since 21 dynamic&static */ onAbilityBackground: AbilityCallbackFn; } diff --git a/api/@ohos.app.ability.MediaControlExtensionAbility.d.ts b/api/@ohos.app.ability.MediaControlExtensionAbility.d.ts index bcf31bd4f5..b897dbcb9e 100644 --- a/api/@ohos.app.ability.MediaControlExtensionAbility.d.ts +++ b/api/@ohos.app.ability.MediaControlExtensionAbility.d.ts @@ -27,8 +27,8 @@ import UIExtensionAbility from './@ohos.app.ability.UIExtensionAbility'; * @syscap SystemCapability.Multimedia.AVSession.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export default class MediaControlExtensionAbility extends UIExtensionAbility { } \ No newline at end of file diff --git a/api/@ohos.app.ability.OpenLinkOptions.d.ts b/api/@ohos.app.ability.OpenLinkOptions.d.ts index 4852de07aa..9a563b344a 100644 --- a/api/@ohos.app.ability.OpenLinkOptions.d.ts +++ b/api/@ohos.app.ability.OpenLinkOptions.d.ts @@ -18,7 +18,7 @@ * @kit AbilityKit */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { RecordData } from './@ohos.base'; /*** endif */ @@ -29,8 +29,8 @@ import { RecordData } from './@ohos.base'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export default interface OpenLinkOptions { /** @@ -41,8 +41,8 @@ export default interface OpenLinkOptions { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ appLinkingOnly?: boolean; @@ -53,7 +53,7 @@ export default interface OpenLinkOptions { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ parameters?: Record; @@ -63,8 +63,7 @@ export default interface OpenLinkOptions { * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ parameters?: Record; } diff --git a/api/@ohos.app.ability.PhotoEditorExtensionAbility.d.ts b/api/@ohos.app.ability.PhotoEditorExtensionAbility.d.ts index e67eb2d1f7..1297615d57 100644 --- a/api/@ohos.app.ability.PhotoEditorExtensionAbility.d.ts +++ b/api/@ohos.app.ability.PhotoEditorExtensionAbility.d.ts @@ -29,8 +29,8 @@ import type Want from './@ohos.app.ability.Want'; * @extends ExtensionAbility * @syscap SystemCapability.Ability.AppExtension.PhotoEditorExtension * @StageModelOnly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare class PhotoEditorExtensionAbility extends ExtensionAbility { /** @@ -39,8 +39,8 @@ declare class PhotoEditorExtensionAbility extends ExtensionAbility { * @type { PhotoEditorExtensionContext } * @syscap SystemCapability.Ability.AppExtension.PhotoEditorExtension * @StageModelOnly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ context: PhotoEditorExtensionContext; @@ -49,8 +49,8 @@ declare class PhotoEditorExtensionAbility extends ExtensionAbility { * * @syscap SystemCapability.Ability.AppExtension.PhotoEditorExtension * @StageModelOnly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onCreate(): void; @@ -59,8 +59,8 @@ declare class PhotoEditorExtensionAbility extends ExtensionAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onForeground(): void; @@ -69,8 +69,8 @@ declare class PhotoEditorExtensionAbility extends ExtensionAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onBackground(): void; @@ -80,7 +80,7 @@ declare class PhotoEditorExtensionAbility extends ExtensionAbility { * @returns { void | Promise } the promise returned by the function. * @syscap SystemCapability.Ability.AppExtension.PhotoEditorExtension * @StageModelOnly - * @since 12 + * @since 12 dynamic */ onDestroy(): void | Promise; @@ -90,8 +90,7 @@ declare class PhotoEditorExtensionAbility extends ExtensionAbility { * @returns { Promise | undefined } the promise returned by the function. * @syscap SystemCapability.Ability.AppExtension.PhotoEditorExtension * @StageModelOnly - * @since 20 - * @arkts 1.2 + * @since 20 static */ onDestroy(): Promise | undefined; @@ -103,8 +102,8 @@ declare class PhotoEditorExtensionAbility extends ExtensionAbility { * @param { UIExtensionContentSession } session - Indicates the session of the UI extension page. * @syscap SystemCapability.Ability.AppExtension.PhotoEditorExtension * @StageModelOnly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onStartContentEditing(uri: string, want: Want, session: UIExtensionContentSession): void; } diff --git a/api/@ohos.app.ability.PrintExtensionAbility.d.ts b/api/@ohos.app.ability.PrintExtensionAbility.d.ts index eccc0acff5..43cbcf411e 100644 --- a/api/@ohos.app.ability.PrintExtensionAbility.d.ts +++ b/api/@ohos.app.ability.PrintExtensionAbility.d.ts @@ -26,8 +26,8 @@ import type print from './@ohos.print'; * * @syscap SystemCapability.Print.PrintFramework * @stagemodelonly - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ declare class PrintExtensionAbility { @@ -36,8 +36,8 @@ declare class PrintExtensionAbility { * @param { Want } want - call print page want params. * @syscap SystemCapability.Print.PrintFramework * @stagemodelonly - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ onCreate(want: Want): void; @@ -45,8 +45,8 @@ declare class PrintExtensionAbility { * Called once to start to discover the printers connected with the device. * @syscap SystemCapability.Print.PrintFramework * @stagemodelonly - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ onStartDiscoverPrinter(): void; @@ -54,8 +54,8 @@ declare class PrintExtensionAbility { * Called once to stop discovering the printer. * @syscap SystemCapability.Print.PrintFramework * @stagemodelonly - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ onStopDiscoverPrinter(): void; @@ -64,8 +64,8 @@ declare class PrintExtensionAbility { * @param { number } printerId - connect the printerId. * @syscap SystemCapability.Print.PrintFramework * @stagemodelonly - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ onConnectPrinter(printerId: number): void; @@ -74,8 +74,8 @@ declare class PrintExtensionAbility { * @param { number } printerId - connect the printerId. * @syscap SystemCapability.Print.PrintFramework * @stagemodelonly - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ onDisconnectPrinter(printerId: number): void; @@ -86,8 +86,8 @@ declare class PrintExtensionAbility { * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. * @stagemodelonly - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onStartPrintJob(jobInfo: print.PrintJob): void; @@ -98,8 +98,8 @@ declare class PrintExtensionAbility { * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. * @stagemodelonly - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onCancelPrintJob(jobInfo: print.PrintJob): void; @@ -111,8 +111,8 @@ declare class PrintExtensionAbility { * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. * @stagemodelonly - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onRequestPrinterCapability(printerId: number): print.PrinterCapability; @@ -124,8 +124,8 @@ declare class PrintExtensionAbility { * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. * @stagemodelonly - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onRequestPreview(jobInfo: print.PrintJob): string; @@ -133,8 +133,8 @@ declare class PrintExtensionAbility { * Called once to finalize the extensionAbility. * @syscap SystemCapability.Print.PrintFramework * @stagemodelonly - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ onDestroy(): void; } diff --git a/api/@ohos.app.ability.ServiceExtensionAbility.d.ts b/api/@ohos.app.ability.ServiceExtensionAbility.d.ts index 629008d5de..eb8b7230eb 100644 --- a/api/@ohos.app.ability.ServiceExtensionAbility.d.ts +++ b/api/@ohos.app.ability.ServiceExtensionAbility.d.ts @@ -29,8 +29,8 @@ import { Configuration } from './@ohos.app.ability.Configuration'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare class ServiceExtensionAbility { /** @@ -40,8 +40,8 @@ declare class ServiceExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ context: ServiceExtensionContext; @@ -52,8 +52,8 @@ declare class ServiceExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onCreate(want: Want): void; @@ -63,8 +63,8 @@ declare class ServiceExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onDestroy(): void; @@ -78,8 +78,8 @@ declare class ServiceExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onRequest(want: Want, startId: int): void; @@ -92,8 +92,8 @@ declare class ServiceExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onConnect(want: Want): rpc.RemoteObject | Promise; @@ -105,7 +105,7 @@ declare class ServiceExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ onDisconnect(want: Want): void | Promise; @@ -117,8 +117,7 @@ declare class ServiceExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ onDisconnect(want: Want): Promise | undefined; @@ -130,7 +129,7 @@ declare class ServiceExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ onReconnect(want: Want): void; @@ -141,8 +140,8 @@ declare class ServiceExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onConfigurationUpdate(newConfig: Configuration): void; @@ -155,8 +154,8 @@ declare class ServiceExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onDump(params: Array): Array; } diff --git a/api/@ohos.app.ability.ShareExtensionAbility.d.ts b/api/@ohos.app.ability.ShareExtensionAbility.d.ts index bcedcbbf44..d2b7c3d583 100644 --- a/api/@ohos.app.ability.ShareExtensionAbility.d.ts +++ b/api/@ohos.app.ability.ShareExtensionAbility.d.ts @@ -26,8 +26,8 @@ import UIExtensionAbility from './@ohos.app.ability.UIExtensionAbility'; * @extends UIExtensionAbility * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export default class ShareExtensionAbility extends UIExtensionAbility { } \ No newline at end of file diff --git a/api/@ohos.app.ability.StartOptions.d.ts b/api/@ohos.app.ability.StartOptions.d.ts index 17b2ad7a50..822f54cbe2 100644 --- a/api/@ohos.app.ability.StartOptions.d.ts +++ b/api/@ohos.app.ability.StartOptions.d.ts @@ -35,8 +35,8 @@ import CompletionHandler from './@ohos.app.ability.CompletionHandler'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export default class StartOptions { /** @@ -48,8 +48,8 @@ export default class StartOptions { * @type { ?int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ windowMode?: int; @@ -68,8 +68,8 @@ export default class StartOptions { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ displayId?: long; @@ -79,8 +79,8 @@ export default class StartOptions { * @type { ?boolean } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ withAnimation?: boolean; @@ -90,8 +90,8 @@ export default class StartOptions { * @type { ?int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ windowLeft?: int; @@ -101,8 +101,8 @@ export default class StartOptions { * @type { ?int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ windowTop?: int; @@ -112,8 +112,8 @@ export default class StartOptions { * @type { ?int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ windowWidth?: int; @@ -123,8 +123,8 @@ export default class StartOptions { * @type { ?int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ windowHeight?: int; @@ -135,8 +135,8 @@ export default class StartOptions { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ windowFocused?: boolean; @@ -148,8 +148,8 @@ export default class StartOptions { * @type { ?contextConstant.ProcessMode } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ processMode?: contextConstant.ProcessMode; @@ -161,8 +161,8 @@ export default class StartOptions { * @type { ?contextConstant.StartupVisibility } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ startupVisibility?: contextConstant.StartupVisibility; @@ -172,8 +172,8 @@ export default class StartOptions { * @type { ?image.PixelMap } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ startWindowIcon?: image.PixelMap; @@ -183,8 +183,8 @@ export default class StartOptions { * @type { ?string } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ startWindowBackgroundColor?: string; @@ -194,8 +194,8 @@ export default class StartOptions { * @type { ?Array } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ supportWindowModes?: Array; @@ -205,8 +205,8 @@ export default class StartOptions { * @type { ?int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ minWindowWidth?: int; @@ -216,8 +216,8 @@ export default class StartOptions { * @type { ?int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ minWindowHeight?: int; @@ -227,8 +227,8 @@ export default class StartOptions { * @type { ?int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ maxWindowWidth?: int; @@ -238,8 +238,8 @@ export default class StartOptions { * @type { ?int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ maxWindowHeight?: int; @@ -250,8 +250,7 @@ export default class StartOptions { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ completionHandler?: CompletionHandler; @@ -261,8 +260,7 @@ export default class StartOptions { * @type { ?boolean } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ hideStartWindow?: boolean; } \ No newline at end of file diff --git a/api/@ohos.app.ability.UIAbility.d.ts b/api/@ohos.app.ability.UIAbility.d.ts index 89f67e577d..65ac6d62c7 100644 --- a/api/@ohos.app.ability.UIAbility.d.ts +++ b/api/@ohos.app.ability.UIAbility.d.ts @@ -33,8 +33,8 @@ import rpc from './@ohos.rpc'; * @param { string } msg - The notification event string listened to by the OnRelease. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type OnReleaseCallback = (msg: string) => void; @@ -46,8 +46,8 @@ export type OnReleaseCallback = (msg: string) => void; * @param { string } msg - The notification event string listened to by the OnRemoteStateChange. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export type OnRemoteStateChangeCallback = (msg: string) => void; @@ -60,8 +60,8 @@ export type OnRemoteStateChangeCallback = (msg: string) => void; * @returns { rpc.Parcelable } Returns the callee's notification result indata. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type CalleeCallback = (indata: rpc.MessageSequence) => rpc.Parcelable; @@ -71,8 +71,8 @@ export type CalleeCallback = (indata: rpc.MessageSequence) => rpc.Parcelable; * @interface Caller * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface Caller { /** @@ -89,8 +89,8 @@ export interface Caller { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ call(method: string, data: rpc.Parcelable): Promise; @@ -109,8 +109,8 @@ export interface Caller { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ callWithResult(method: string, data: rpc.Parcelable): Promise; @@ -121,8 +121,8 @@ export interface Caller { * @throws { BusinessError } 16200002 - The callee does not exist. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ release(): void; @@ -136,8 +136,8 @@ export interface Caller { * @throws { BusinessError } 16200001 - The caller has been released. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onRelease(callback: OnReleaseCallback): void; @@ -151,8 +151,8 @@ export interface Caller { * @throws { BusinessError } 16200001 - The caller has been released. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onRemoteStateChange(callback: OnRemoteStateChangeCallback): void; @@ -167,8 +167,8 @@ export interface Caller { * @throws { BusinessError } 16200001 - The caller has been released. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ on(type: 'release', callback: OnReleaseCallback): void; @@ -182,8 +182,8 @@ export interface Caller { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ off(type: 'release', callback: OnReleaseCallback): void; @@ -196,8 +196,8 @@ export interface Caller { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ off(type: 'release'): void; } @@ -208,8 +208,8 @@ export interface Caller { * @interface Callee * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface Callee { /** @@ -224,8 +224,8 @@ export interface Callee { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ on(method: string, callback: CalleeCallback): void; @@ -239,8 +239,8 @@ export interface Callee { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ off(method: string): void; } @@ -276,8 +276,8 @@ export interface Callee { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class UIAbility extends Ability { /** @@ -305,8 +305,8 @@ declare class UIAbility extends Ability { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ context: UIAbilityContext; @@ -325,8 +325,8 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ launchWant: Want; @@ -345,8 +345,8 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ lastRequestWant: Want; @@ -356,8 +356,8 @@ declare class UIAbility extends Ability { * @type { Callee } * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ callee: Callee; @@ -392,8 +392,8 @@ declare class UIAbility extends Ability { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onCreate(want: Want, launchParam: AbilityConstant.LaunchParam): void; @@ -422,8 +422,8 @@ declare class UIAbility extends Ability { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onWindowStageCreate(windowStage: window.WindowStage): void; @@ -434,8 +434,8 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onWindowStageWillDestroy(windowStage: window.WindowStage): void; @@ -461,8 +461,8 @@ declare class UIAbility extends Ability { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onWindowStageDestroy(): void; @@ -481,8 +481,8 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onWindowStageRestore(windowStage: window.WindowStage): void; @@ -519,7 +519,7 @@ declare class UIAbility extends Ability { * @stagemodelonly * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ onDestroy(): void | Promise; @@ -539,8 +539,7 @@ declare class UIAbility extends Ability { * @stagemodelonly * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ onDestroy(): void; @@ -560,8 +559,7 @@ declare class UIAbility extends Ability { * @stagemodelonly * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ onDestroyAsync(): Promise; @@ -594,8 +592,8 @@ declare class UIAbility extends Ability { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onForeground(): void; @@ -613,8 +611,7 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ onWillForeground(): void; @@ -632,8 +629,7 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ onDidForeground(): void; @@ -661,8 +657,8 @@ declare class UIAbility extends Ability { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onBackground(): void; @@ -679,8 +675,7 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ onWillBackground(): void; @@ -697,8 +692,7 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ onDidBackground(): void; @@ -735,7 +729,7 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onContinue(wantParam: Record): AbilityConstant.OnContinueResult | Promise; @@ -772,8 +766,8 @@ declare class UIAbility extends Ability { * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onNewWant(want: Want, launchParam: AbilityConstant.LaunchParam): void; @@ -796,8 +790,8 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onDump(params: Array): Array; @@ -827,7 +821,7 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 11 + * @since 11 dynamic */ onSaveState(reason: AbilityConstant.StateType, wantParam: Record): AbilityConstant.OnSaveResult; @@ -841,7 +835,7 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamic */ onSaveStateAsync(stateType: AbilityConstant.StateType, wantParam: Record): Promise; @@ -860,8 +854,8 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onShare(wantParam: Record): void; @@ -895,8 +889,8 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onPrepareToTerminate(): boolean; @@ -922,8 +916,8 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ onPrepareToTerminateAsync(): Promise; @@ -952,8 +946,8 @@ declare class UIAbility extends Ability { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onBackPressed(): boolean; @@ -975,8 +969,8 @@ declare class UIAbility extends Ability { * accepts the collaboration request. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ onCollaborate(wantParam: Record): AbilityConstant.CollaborateResult; } diff --git a/api/@ohos.app.ability.UIExtensionAbility.d.ts b/api/@ohos.app.ability.UIExtensionAbility.d.ts index 616c210e8d..362595ba96 100755 --- a/api/@ohos.app.ability.UIExtensionAbility.d.ts +++ b/api/@ohos.app.ability.UIExtensionAbility.d.ts @@ -30,8 +30,8 @@ import type UIExtensionContext from './application/UIExtensionContext'; * @extends ExtensionAbility * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare class UIExtensionAbility extends ExtensionAbility { /** @@ -40,8 +40,8 @@ declare class UIExtensionAbility extends ExtensionAbility { * @type { UIExtensionContext } * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ context: UIExtensionContext; @@ -58,8 +58,8 @@ declare class UIExtensionAbility extends ExtensionAbility { * @param { AbilityConstant.LaunchParam } launchParam - Indicates the LaunchParam information about UIExtensionAbility. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onCreate(launchParam: AbilityConstant.LaunchParam): void; @@ -70,8 +70,8 @@ declare class UIExtensionAbility extends ExtensionAbility { * @param { UIExtensionContentSession } session - Indicates the session of the UI extension page. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onSessionCreate(want: Want, session: UIExtensionContentSession): void; @@ -81,8 +81,8 @@ declare class UIExtensionAbility extends ExtensionAbility { * @param { UIExtensionContentSession } session - Indicates the session of the UI extension page. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onSessionDestroy(session: UIExtensionContentSession): void; @@ -91,8 +91,8 @@ declare class UIExtensionAbility extends ExtensionAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onForeground(): void; @@ -101,8 +101,8 @@ declare class UIExtensionAbility extends ExtensionAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onBackground(): void; @@ -112,7 +112,7 @@ declare class UIExtensionAbility extends ExtensionAbility { * @returns { void | Promise } the promise returned by the function. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since 10 + * @since 10 dynamic */ onDestroy(): void | Promise; @@ -122,8 +122,7 @@ declare class UIExtensionAbility extends ExtensionAbility { * @returns { Promise | undefined } the promise returned by the function. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ onDestroy(): Promise | undefined; } diff --git a/api/@ohos.app.ability.UIExtensionContentSession.d.ts b/api/@ohos.app.ability.UIExtensionContentSession.d.ts index c801c8d60b..6899ead5cb 100644 --- a/api/@ohos.app.ability.UIExtensionContentSession.d.ts +++ b/api/@ohos.app.ability.UIExtensionContentSession.d.ts @@ -24,10 +24,10 @@ import type uiExtensionHost from './@ohos.uiExtensionHost'; import type uiExtension from './@ohos.arkui.uiExtension'; import type Want from './@ohos.app.ability.Want'; import type StartOptions from './@ohos.app.ability.StartOptions'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type { AbilityResult } from './ability/abilityResult'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { AbilityResult } from './ability/abilityResult'; import { LocalStorage } from '@ohos.arkui.stateManagement'; import { RecordData } from './@ohos.base'; @@ -38,8 +38,8 @@ import { RecordData } from './@ohos.base'; * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare class UIExtensionContentSession { /** @@ -66,7 +66,7 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 11 + * @since 11 dynamic */ sendData(data: Record): void; @@ -79,8 +79,7 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ sendData(data: Record): void; @@ -95,8 +94,8 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setReceiveDataCallback(callback: (data: Record) => void): void; @@ -111,8 +110,8 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setReceiveDataForResultCallback(callback: (data: Record) => Record): void; @@ -126,8 +125,8 @@ declare class UIExtensionContentSession { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ loadContent(path: string, storage?: LocalStorage): void; @@ -139,8 +138,8 @@ declare class UIExtensionContentSession { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ loadContentByName(name: string, storage?: LocalStorage): void; @@ -176,8 +175,8 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ startAbility(want: Want, callback: AsyncCallback): void; @@ -212,8 +211,8 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ startAbility(want: Want, options: StartOptions, callback: AsyncCallback): void; @@ -250,8 +249,8 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ startAbility(want: Want, options?: StartOptions): Promise; @@ -287,8 +286,8 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ startAbilityAsCaller(want: Want, callback: AsyncCallback): void; @@ -323,8 +322,8 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ startAbilityAsCaller(want: Want, options: StartOptions, callback: AsyncCallback): void; @@ -361,8 +360,8 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ startAbilityAsCaller(want: Want, options?: StartOptions): Promise; @@ -398,8 +397,8 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ startAbilityForResult(want: Want, callback: AsyncCallback): void; @@ -434,8 +433,8 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback): void; @@ -472,8 +471,8 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ startAbilityForResult(want: Want, options?: StartOptions): Promise; @@ -485,8 +484,8 @@ declare class UIExtensionContentSession { * 2. Incorrect parameter types. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ terminateSelf(callback: AsyncCallback): void; @@ -496,8 +495,8 @@ declare class UIExtensionContentSession { * @returns { Promise } The promise returned by the function. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ terminateSelf(): Promise; @@ -510,8 +509,8 @@ declare class UIExtensionContentSession { * 2. Incorrect parameter types. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback): void; @@ -524,8 +523,8 @@ declare class UIExtensionContentSession { * 2. Incorrect parameter types. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ terminateSelfWithResult(parameter: AbilityResult): Promise; @@ -540,8 +539,8 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setWindowBackgroundColor(color: string): void; @@ -557,8 +556,8 @@ declare class UIExtensionContentSession { * 2. Incorrect parameter types. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setWindowPrivacyMode(isPrivacyMode: boolean): Promise; @@ -574,8 +573,8 @@ declare class UIExtensionContentSession { * 2. Incorrect parameter types. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setWindowPrivacyMode(isPrivacyMode: boolean, callback: AsyncCallback): void; @@ -613,7 +612,7 @@ declare class UIExtensionContentSession { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 12 + * @since 12 dynamic */ startAbilityByType(type: string, wantParam: Record, abilityStartCallback: AbilityStartCallback, callback: AsyncCallback): void; @@ -629,8 +628,7 @@ declare class UIExtensionContentSession { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ startAbilityByType(type: string, wantParam: Record, abilityStartCallback: AbilityStartCallback, callback: AsyncCallback): void; @@ -669,7 +667,7 @@ declare class UIExtensionContentSession { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 12 + * @since 12 dynamic */ startAbilityByType(type: string, wantParam: Record, abilityStartCallback: AbilityStartCallback): Promise; @@ -685,8 +683,7 @@ declare class UIExtensionContentSession { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ startAbilityByType(type: string, wantParam: Record, abilityStartCallback: AbilityStartCallback): Promise; @@ -700,8 +697,8 @@ declare class UIExtensionContentSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getUIExtensionHostWindowProxy(): uiExtensionHost.UIExtensionHostWindowProxy; @@ -712,8 +709,8 @@ declare class UIExtensionContentSession { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getUIExtensionWindowProxy(): uiExtension.WindowProxy; } diff --git a/api/@ohos.app.ability.UIServiceExtensionAbility.d.ts b/api/@ohos.app.ability.UIServiceExtensionAbility.d.ts index 1371b622ce..2f5e4b257f 100644 --- a/api/@ohos.app.ability.UIServiceExtensionAbility.d.ts +++ b/api/@ohos.app.ability.UIServiceExtensionAbility.d.ts @@ -31,7 +31,7 @@ import window from './@ohos.window'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 14 + * @since 14 dynamic */ export default class UIServiceExtensionAbility extends ExtensionAbility { /** @@ -41,7 +41,7 @@ export default class UIServiceExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 14 + * @since 14 dynamic */ context: UIServiceExtensionContext; @@ -52,7 +52,7 @@ export default class UIServiceExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 14 + * @since 14 dynamic */ onCreate(want: Want): void; @@ -66,7 +66,7 @@ export default class UIServiceExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 14 + * @since 14 dynamic */ onRequest(want: Want, startId: number): void; @@ -78,7 +78,7 @@ export default class UIServiceExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 14 + * @since 14 dynamic */ onConnect(want: Want, proxy: UIServiceHostProxy): void; @@ -90,7 +90,7 @@ export default class UIServiceExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 14 + * @since 14 dynamic */ onDisconnect(want: Want, proxy: UIServiceHostProxy): void; @@ -101,7 +101,7 @@ export default class UIServiceExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 14 + * @since 14 dynamic */ onWindowWillCreate(config: window.ExtensionWindowConfig): void; @@ -112,7 +112,7 @@ export default class UIServiceExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 14 + * @since 14 dynamic */ onWindowDidCreate(window: window.Window): void; @@ -124,7 +124,7 @@ export default class UIServiceExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 14 + * @since 14 dynamic */ onData(proxy: UIServiceHostProxy, data: Record): void; @@ -134,7 +134,7 @@ export default class UIServiceExtensionAbility extends ExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 14 + * @since 14 dynamic */ onDestroy(): void; } diff --git a/api/@ohos.app.ability.UserAuthExtensionAbility.d.ts b/api/@ohos.app.ability.UserAuthExtensionAbility.d.ts index 959833aa70..a7a74babf0 100644 --- a/api/@ohos.app.ability.UserAuthExtensionAbility.d.ts +++ b/api/@ohos.app.ability.UserAuthExtensionAbility.d.ts @@ -16,7 +16,6 @@ /** * @file * @kit UserAuthenticationKit - * @arkts 1.1&1.2 */ import UIExtensionAbility from './@ohos.app.ability.UIExtensionAbility'; @@ -28,7 +27,8 @@ import UIExtensionAbility from './@ohos.app.ability.UIExtensionAbility'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi Hide this for inner system use. * @StageModelOnly - * @since arkts {'1.1':'10','1.2':'20'} + * @since 10 dynamic + * @since 20 static */ export default class UserAuthExtensionAbility extends UIExtensionAbility { } \ No newline at end of file diff --git a/api/@ohos.app.ability.VpnExtensionAbility.d.ts b/api/@ohos.app.ability.VpnExtensionAbility.d.ts index c2d2877265..ac0b9f3ad2 100644 --- a/api/@ohos.app.ability.VpnExtensionAbility.d.ts +++ b/api/@ohos.app.ability.VpnExtensionAbility.d.ts @@ -27,7 +27,7 @@ import type Want from './@ohos.app.ability.Want'; * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 11 + * @since 11 dynamic */ export default class VpnExtensionAbility { /** @@ -36,7 +36,7 @@ export default class VpnExtensionAbility { * @type { VpnExtensionContext } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 11 + * @since 11 dynamic */ context: VpnExtensionContext; @@ -46,7 +46,7 @@ export default class VpnExtensionAbility { * @param { Want } want - Indicates the want of created service extension. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 11 + * @since 11 dynamic */ onCreate(want: Want): void; @@ -55,7 +55,7 @@ export default class VpnExtensionAbility { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 11 + * @since 11 dynamic */ onDestroy(): void; } diff --git a/api/@ohos.app.ability.Want.d.ts b/api/@ohos.app.ability.Want.d.ts index c78f27cfcc..230451cd33 100644 --- a/api/@ohos.app.ability.Want.d.ts +++ b/api/@ohos.app.ability.Want.d.ts @@ -18,7 +18,7 @@ * @kit AbilityKit */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { RecordData } from './@ohos.base'; /*** endif */ @@ -46,8 +46,8 @@ import { RecordData } from './@ohos.base'; * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export default class Want { /** @@ -71,8 +71,8 @@ export default class Want { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ bundleName?: string; @@ -102,8 +102,8 @@ export default class Want { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ abilityName?: string; @@ -124,8 +124,8 @@ export default class Want { * @type { ?string } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ deviceId?: string; @@ -145,8 +145,8 @@ export default class Want { * @type { ?string } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ uri?: string; @@ -177,8 +177,8 @@ export default class Want { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ type?: string; @@ -197,8 +197,8 @@ export default class Want { * @type { ?int } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ flags?: int; @@ -217,8 +217,8 @@ export default class Want { * @type { ?string } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ action?: string; @@ -303,7 +303,7 @@ export default class Want { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ parameters?: Record; @@ -312,8 +312,7 @@ export default class Want { * * @type { ?Record } * @syscap SystemCapability.Ability.AbilityBase - * @since 20 - * @arkts 1.2 + * @since 20 static */ parameters?: Record; @@ -331,8 +330,8 @@ export default class Want { * @type { ?Array } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ entities?: Array; @@ -362,8 +361,8 @@ export default class Want { * @syscap SystemCapability.Ability.AbilityBase * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ moduleName?: string; @@ -376,8 +375,8 @@ export default class Want { * @readonly * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ readonly fds?: Record; } diff --git a/api/@ohos.app.ability.abilityDelegatorRegistry.d.ts b/api/@ohos.app.ability.abilityDelegatorRegistry.d.ts index c927cbc29e..a54435e8c7 100644 --- a/api/@ohos.app.ability.abilityDelegatorRegistry.d.ts +++ b/api/@ohos.app.ability.abilityDelegatorRegistry.d.ts @@ -49,8 +49,8 @@ import { ShellCmdResult as _ShellCmdResult } from './application/shellCmdResult' * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace abilityDelegatorRegistry { /** @@ -75,8 +75,8 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getAbilityDelegator(): AbilityDelegator; @@ -102,8 +102,8 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getArguments(): AbilityDelegatorArgs; @@ -129,8 +129,8 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum AbilityLifecycleState { /** @@ -152,8 +152,8 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNINITIALIZED, @@ -176,8 +176,8 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CREATE, @@ -200,8 +200,8 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FOREGROUND, @@ -224,8 +224,8 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BACKGROUND, @@ -248,8 +248,8 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DESTROY } @@ -274,8 +274,8 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type AbilityDelegator = _AbilityDelegator; @@ -299,8 +299,8 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type AbilityDelegatorArgs = _AbilityDelegatorArgs; @@ -327,8 +327,8 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type AbilityMonitor = _AbilityMonitor; @@ -344,8 +344,8 @@ declare namespace abilityDelegatorRegistry { * @typedef { _ShellCmdResult } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type ShellCmdResult = _ShellCmdResult; @@ -357,8 +357,8 @@ declare namespace abilityDelegatorRegistry { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ export type AbilityStageMonitor = _AbilityStageMonitor; } diff --git a/api/@ohos.app.ability.abilityManager.d.ts b/api/@ohos.app.ability.abilityManager.d.ts index 05ee9c59b0..801ee27939 100644 --- a/api/@ohos.app.ability.abilityManager.d.ts +++ b/api/@ohos.app.ability.abilityManager.d.ts @@ -24,12 +24,12 @@ import { AbilityRunningInfo as _AbilityRunningInfo } from './application/Ability import { ExtensionRunningInfo as _ExtensionRunningInfo } from './application/ExtensionRunningInfo'; import { Configuration } from './@ohos.app.ability.Configuration'; import Context from './application/Context'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import { AbilityResult } from './ability/abilityResult'; import * as _AbilityForegroundStateObserver from './application/AbilityForegroundStateObserver'; import * as _AbilityStateData from './application/AbilityStateData'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import _AbilityForegroundStateObserver from './application/AbilityForegroundStateObserver'; import _AbilityStateData from './application/AbilityStateData'; /*** endif */ @@ -47,8 +47,7 @@ import _AbilityStateData from './application/AbilityStateData'; * @namespace abilityManager * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ declare namespace abilityManager { /** @@ -56,16 +55,16 @@ declare namespace abilityManager { * * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ export enum AbilityState { /** * Ability is initialized. * * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ INITIAL = 0, @@ -73,8 +72,8 @@ declare namespace abilityManager { * Ability is in the state of getting focus. * * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ FOCUS = 2, @@ -82,8 +81,8 @@ declare namespace abilityManager { * Ability is in the foreground state. * * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ FOREGROUND = 9, @@ -91,8 +90,8 @@ declare namespace abilityManager { * Ability is in the background state. * * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ BACKGROUND = 10, @@ -100,8 +99,8 @@ declare namespace abilityManager { * Ability is in the process of scheduling at the foreground. * * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ FOREGROUNDING = 11, @@ -109,8 +108,8 @@ declare namespace abilityManager { * Ability is in the process of scheduling in the background. * * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ BACKGROUNDING = 12 } @@ -122,8 +121,8 @@ declare namespace abilityManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum UserStatus { /** @@ -132,8 +131,8 @@ declare namespace abilityManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ASSERT_TERMINATE = 0, @@ -143,8 +142,8 @@ declare namespace abilityManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ASSERT_CONTINUE = 1, @@ -154,8 +153,8 @@ declare namespace abilityManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ASSERT_RETRY = 2 } @@ -167,8 +166,8 @@ declare namespace abilityManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export interface AtomicServiceStartupRule { /** @@ -177,8 +176,8 @@ declare namespace abilityManager { * @type { boolean } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ isOpenAllowed: boolean; @@ -188,8 +187,8 @@ declare namespace abilityManager { * @type { boolean } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ isEmbeddedAllowed: boolean; } @@ -207,8 +206,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function on(type: 'abilityForegroundState', observer: AbilityForegroundStateObserver): void; @@ -225,8 +224,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function off(type: 'abilityForegroundState', observer?: AbilityForegroundStateObserver): void; @@ -243,8 +242,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function updateConfiguration(config: Configuration, callback: AsyncCallback): void; @@ -261,8 +260,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function updateConfiguration(config: Configuration): Promise; @@ -274,8 +273,8 @@ declare namespace abilityManager { * @returns { Promise> } Returns the array of AbilityRunningInfo. * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getAbilityRunningInfos(): Promise>; @@ -292,8 +291,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAbilityRunningInfos(callback: AsyncCallback>): void; @@ -310,8 +309,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getExtensionRunningInfos(upperLimit: int): Promise>; @@ -329,8 +328,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getExtensionRunningInfos(upperLimit: int, callback: AsyncCallback>): void; @@ -342,8 +341,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getTopAbility(): Promise; @@ -357,8 +356,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getTopAbility(callback: AsyncCallback): void; @@ -388,8 +387,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function acquireShareData(missionId: int, callback: AsyncCallback>): void; @@ -417,8 +416,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function acquireShareData(missionId: int): Promise>; @@ -435,7 +434,7 @@ declare namespace abilityManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ function notifySaveAsResult(parameter: AbilityResult, requestCode: int, callback: AsyncCallback): void; @@ -452,7 +451,7 @@ declare namespace abilityManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ function notifySaveAsResult(parameter: AbilityResult, requestCode: int): Promise; @@ -468,8 +467,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getForegroundUIAbilities(callback: AsyncCallback>): void; @@ -483,8 +482,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getForegroundUIAbilities(): Promise>; @@ -500,8 +499,8 @@ declare namespace abilityManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function isEmbeddedOpenAllowed(context: Context, appId: string): Promise; @@ -520,8 +519,8 @@ declare namespace abilityManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function notifyDebugAssertResult(sessionId: string, status: UserStatus): Promise; @@ -538,8 +537,8 @@ declare namespace abilityManager { * @throws { BusinessError } 16200006 - The caller application can only set the resident status of the configured process. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function setResidentProcessEnabled(bundleName: string, enable: boolean): Promise; @@ -556,8 +555,8 @@ declare namespace abilityManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function queryAtomicServiceStartupRule(context: Context, appId: string): Promise; @@ -573,7 +572,7 @@ declare namespace abilityManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamic */ function restartSelfAtomicService(context: Context): void; @@ -582,8 +581,8 @@ declare namespace abilityManager { * * @typedef { _AbilityRunningInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ export type AbilityRunningInfo = _AbilityRunningInfo; @@ -592,7 +591,7 @@ declare namespace abilityManager { * * @typedef { _AbilityStateData.default } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 14 + * @since 14 dynamic */ export type AbilityStateData = _AbilityStateData.default; @@ -601,8 +600,7 @@ declare namespace abilityManager { * * @typedef { _AbilityStateData } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AbilityStateData = _AbilityStateData; @@ -612,8 +610,8 @@ declare namespace abilityManager { * @typedef { _ExtensionRunningInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type ExtensionRunningInfo = _ExtensionRunningInfo; @@ -623,7 +621,7 @@ declare namespace abilityManager { * @typedef { _AbilityForegroundStateObserver.default } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 11 + * @since 11 dynamic */ export type AbilityForegroundStateObserver = _AbilityForegroundStateObserver.default; @@ -633,8 +631,7 @@ declare namespace abilityManager { * @typedef { _AbilityForegroundStateObserver } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AbilityForegroundStateObserver = _AbilityForegroundStateObserver; } diff --git a/api/@ohos.app.ability.appManager.d.ts b/api/@ohos.app.ability.appManager.d.ts index 24967a0dea..2001a09d7a 100644 --- a/api/@ohos.app.ability.appManager.d.ts +++ b/api/@ohos.app.ability.appManager.d.ts @@ -22,7 +22,7 @@ import { AsyncCallback } from './@ohos.base'; import { ProcessInformation as _ProcessInformation } from './application/ProcessInformation'; import bundleManager from './@ohos.bundle.bundleManager'; import { RunningMultiAppInfo as _RunningMultiAppInfo } from './application/RunningMultiAppInfo'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import * as _ApplicationStateObserver from './application/ApplicationStateObserver'; import type * as _AppForegroundStateObserver from './application/AppForegroundStateObserver'; import * as _AbilityStateData from './application/AbilityStateData'; @@ -31,7 +31,7 @@ import type * as _ProcessData from './application/ProcessData'; import * as _AbilityFirstFrameStateObserver from './application/AbilityFirstFrameStateObserver'; import * as _AbilityFirstFrameStateData from './application/AbilityFirstFrameStateData'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import _ApplicationStateObserver from './application/ApplicationStateObserver'; import _AbilityStateData from './application/AbilityStateData'; import _AppStateData from './application/AppStateData'; @@ -54,8 +54,8 @@ import { AbilityFirstFrameStateData as _AbilityFirstFrameStateData } from './app * @namespace appManager * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace appManager { /** @@ -64,8 +64,8 @@ declare namespace appManager { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum ApplicationState { /** @@ -73,8 +73,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ STATE_CREATE, @@ -83,8 +83,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ STATE_FOREGROUND, @@ -93,8 +93,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ STATE_ACTIVE, @@ -103,8 +103,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ STATE_BACKGROUND, @@ -113,8 +113,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ STATE_DESTROY } @@ -132,8 +132,8 @@ declare namespace appManager { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum ProcessState { /** @@ -147,8 +147,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ STATE_CREATE, @@ -163,8 +163,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ STATE_FOREGROUND, @@ -179,8 +179,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ STATE_ACTIVE, @@ -195,8 +195,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ STATE_BACKGROUND, @@ -211,8 +211,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ STATE_DESTROY } @@ -224,8 +224,8 @@ declare namespace appManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum PreloadMode { /** @@ -234,8 +234,8 @@ declare namespace appManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PRESS_DOWN } @@ -245,8 +245,8 @@ declare namespace appManager { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ export enum KeepAliveAppType { /** @@ -254,8 +254,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ ALL = 0, @@ -264,8 +264,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ THIRD_PARTY = 1, @@ -274,8 +274,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ SYSTEM = 2 } @@ -285,8 +285,8 @@ declare namespace appManager { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ export enum KeepAliveSetter { /** @@ -294,8 +294,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ SYSTEM = 0, @@ -304,8 +304,8 @@ declare namespace appManager { * * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ USER = 1 } @@ -316,8 +316,8 @@ declare namespace appManager { * @typedef KeepAliveBundleInfo * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ export interface KeepAliveBundleInfo { /** @@ -326,8 +326,8 @@ declare namespace appManager { * @type { string } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ bundleName: string; @@ -337,8 +337,8 @@ declare namespace appManager { * @type { KeepAliveAppType } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ type: KeepAliveAppType; @@ -348,8 +348,8 @@ declare namespace appManager { * @type { KeepAliveSetter } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ setter: KeepAliveSetter; @@ -359,7 +359,7 @@ declare namespace appManager { * @type { ?int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 20 + * @since 20 dynamic */ setterUserId?: int; @@ -369,7 +369,7 @@ declare namespace appManager { * @type { ?boolean } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 20 + * @since 20 dynamic */ allowUserToCancel?: boolean; } @@ -386,8 +386,8 @@ declare namespace appManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function on(type: 'applicationState', observer: ApplicationStateObserver): int; @@ -404,8 +404,8 @@ declare namespace appManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function on(type: 'applicationState', observer: ApplicationStateObserver, bundleNameList: Array): int; @@ -422,8 +422,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function on(type: 'appForegroundState', observer: AppForegroundStateObserver): void; @@ -441,8 +441,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function on(type: 'abilityFirstFrameState', observer: AbilityFirstFrameStateObserver, bundleName?: string): void; @@ -458,8 +458,8 @@ declare namespace appManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function off(type: 'applicationState', observerId: int, callback: AsyncCallback): void; @@ -475,8 +475,8 @@ declare namespace appManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function off(type: 'applicationState', observerId: int): Promise; @@ -493,8 +493,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function off(type: 'appForegroundState', observer?: AppForegroundStateObserver): void; @@ -511,8 +511,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function off(type: 'abilityFirstFrameState', observer?: AbilityFirstFrameStateObserver): void; @@ -528,8 +528,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getForegroundApplications(callback: AsyncCallback>): void; @@ -543,8 +543,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getForegroundApplications(): Promise>; @@ -579,8 +579,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function killProcessWithAccount(bundleName: string, accountId: int): Promise; @@ -600,8 +600,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function killProcessWithAccount(bundleName: string, accountId: int, clearPageStack: boolean, appIndex?: int): Promise; @@ -637,8 +637,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function killProcessWithAccount(bundleName: string, accountId: int, callback: AsyncCallback): void; @@ -661,8 +661,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function isRunningInStabilityTest(callback: AsyncCallback): void; @@ -681,8 +681,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function isRunningInStabilityTest(): Promise; @@ -714,8 +714,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function killProcessesByBundleName(bundleName: string): Promise; @@ -731,8 +731,8 @@ declare namespace appManager { * @throws { BusinessError } 401 - If the input parameter is not valid parameter. * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function killProcessesByBundleName(bundleName: string, clearPageStack: boolean, appIndex?: int): Promise; @@ -764,7 +764,7 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 14 + * @since 14 dynamic */ function killProcessesByBundleName(bundleName: string, callback: AsyncCallback); @@ -781,8 +781,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function clearUpApplicationData(bundleName: string): Promise; @@ -799,8 +799,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function clearUpApplicationData(bundleName: string, callback: AsyncCallback): void; @@ -819,8 +819,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function isRamConstrainedDevice(): Promise; @@ -843,8 +843,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function isRamConstrainedDevice(callback: AsyncCallback): void; @@ -863,8 +863,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getAppMemorySize(): Promise; @@ -887,8 +887,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getAppMemorySize(callback: AsyncCallback): void; @@ -909,8 +909,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getRunningProcessInformation(): Promise>; @@ -927,8 +927,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getRunningProcessInformationByBundleType( bundleType: bundleManager.BundleType): Promise>; @@ -954,8 +954,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getRunningProcessInformation(callback: AsyncCallback>): void; @@ -973,8 +973,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function isSharedBundleRunning(bundleName: string, versionCode: long): Promise; @@ -993,8 +993,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function isSharedBundleRunning(bundleName: string, versionCode: long, callback: AsyncCallback): void; @@ -1009,8 +1009,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getProcessMemoryByPid(pid: int): Promise; @@ -1025,8 +1025,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getProcessMemoryByPid(pid: int, callback: AsyncCallback): void; @@ -1041,8 +1041,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getRunningProcessInfoByBundleName(bundleName: string, callback: AsyncCallback>): void; @@ -1058,8 +1058,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getRunningProcessInfoByBundleName(bundleName: string, userId: int, callback: AsyncCallback>): void; @@ -1074,8 +1074,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getRunningProcessInfoByBundleName(bundleName: string): Promise>; @@ -1091,8 +1091,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getRunningProcessInfoByBundleName(bundleName: string, userId: int): Promise>; @@ -1109,8 +1109,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function isApplicationRunning(bundleName: string): Promise; @@ -1128,8 +1128,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function isApplicationRunning(bundleName: string, callback: AsyncCallback): void; @@ -1151,8 +1151,8 @@ declare namespace appManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function preloadApplication(bundleName: string, userId: int, mode: PreloadMode, appIndex?: int): Promise; @@ -1171,8 +1171,8 @@ declare namespace appManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getRunningMultiAppInfo(bundleName: string): Promise; @@ -1189,8 +1189,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @throws { BusinessError } 16000073 - The app clone index is invalid. * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function isAppRunning(bundleName: string, appCloneIndex?: int): Promise; @@ -1209,8 +1209,8 @@ declare namespace appManager { * @throws { BusinessError } 16000073 - The app clone index is invalid. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function clearUpAppData(bundleName: string, appCloneIndex?: int): Promise; @@ -1227,8 +1227,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function terminateMission(missionId: int): Promise; @@ -1247,8 +1247,8 @@ declare namespace appManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getSupportedProcessCachePids(bundleName : string): Promise>; @@ -1272,8 +1272,8 @@ declare namespace appManager { * @throws { BusinessError } 16300010 - The target application is not attached to the status bar. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function setKeepAliveForBundle(bundleName: string, userId: int, enable: boolean): Promise; @@ -1292,8 +1292,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getKeepAliveBundles(type: KeepAliveAppType, userId?: int): Promise>; @@ -1314,8 +1314,7 @@ declare namespace appManager { * @throws { BusinessError } 16000204 - The target bundle is not in u1. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function setKeepAliveForAppServiceExtension(bundleName: string, enabled: boolean): Promise; @@ -1330,8 +1329,7 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getKeepAliveAppServiceExtensions(): Promise>; @@ -1349,8 +1347,8 @@ declare namespace appManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function killProcessesInBatch(pids: Array): Promise; @@ -1359,7 +1357,7 @@ declare namespace appManager { * * @typedef { _AbilityStateData.default } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 14 + * @since 14 dynamic */ export type AbilityStateData = _AbilityStateData.default; @@ -1368,8 +1366,7 @@ declare namespace appManager { * * @typedef { _AbilityStateData } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AbilityStateData = _AbilityStateData; @@ -1378,7 +1375,7 @@ declare namespace appManager { * * @typedef { _AppStateData.default } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 14 + * @since 14 dynamic */ export type AppStateData = _AppStateData.default; @@ -1387,8 +1384,7 @@ declare namespace appManager { * * @typedef { _AppStateData } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AppStateData = _AppStateData; @@ -1397,7 +1393,7 @@ declare namespace appManager { * * @typedef { _ApplicationStateObserver.default } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 14 + * @since 14 dynamic */ export type ApplicationStateObserver = _ApplicationStateObserver.default; @@ -1406,8 +1402,7 @@ declare namespace appManager { * * @typedef { _ApplicationStateObserver } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type ApplicationStateObserver = _ApplicationStateObserver; @@ -1417,7 +1412,7 @@ declare namespace appManager { * @typedef { _AppForegroundStateObserver.default } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 11 + * @since 11 dynamic */ export type AppForegroundStateObserver = _AppForegroundStateObserver.default; @@ -1427,8 +1422,7 @@ declare namespace appManager { * @typedef { _AppForegroundStateObserver } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AppForegroundStateObserver = _AppForegroundStateObserver; @@ -1444,8 +1438,8 @@ declare namespace appManager { * @typedef { _ProcessInformation } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type ProcessInformation = _ProcessInformation; @@ -1454,7 +1448,7 @@ declare namespace appManager { * * @typedef { _ProcessData.default } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 14 + * @since 14 dynamic */ export type ProcessData = _ProcessData.default; @@ -1463,8 +1457,7 @@ declare namespace appManager { * * @typedef { _ProcessData } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type ProcessData = _ProcessData; @@ -1474,7 +1467,7 @@ declare namespace appManager { * @typedef { _AbilityFirstFrameStateObserver.default } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 12 + * @since 12 dynamic */ export type AbilityFirstFrameStateObserver = _AbilityFirstFrameStateObserver.default; @@ -1484,8 +1477,7 @@ declare namespace appManager { * @typedef { _AbilityFirstFrameStateObserver } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AbilityFirstFrameStateObserver = _AbilityFirstFrameStateObserver; @@ -1495,7 +1487,7 @@ declare namespace appManager { * @typedef { _AbilityFirstFrameStateData.default } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 12 + * @since 12 dynamic */ export type AbilityFirstFrameStateData = _AbilityFirstFrameStateData.default; @@ -1505,8 +1497,7 @@ declare namespace appManager { * @typedef { _AbilityFirstFrameStateData } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AbilityFirstFrameStateData = _AbilityFirstFrameStateData; @@ -1516,8 +1507,8 @@ declare namespace appManager { * @typedef { _RunningMultiAppInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type RunningMultiAppInfo = _RunningMultiAppInfo; } diff --git a/api/@ohos.app.ability.appRecovery.d.ts b/api/@ohos.app.ability.appRecovery.d.ts index 01298a0436..bceef2138d 100644 --- a/api/@ohos.app.ability.appRecovery.d.ts +++ b/api/@ohos.app.ability.appRecovery.d.ts @@ -16,7 +16,6 @@ /** * @file * @kit AbilityKit - * @arkts 1.1&1.2 */ import UIAbilityContext from './application/UIAbilityContext'; @@ -41,8 +40,8 @@ import Want from './@ohos.app.ability.Want'; * @namespace appRecovery * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace appRecovery { /** @@ -58,8 +57,8 @@ declare namespace appRecovery { * @enum { int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum RestartFlag { /** @@ -73,8 +72,8 @@ declare namespace appRecovery { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ALWAYS_RESTART = 0, @@ -89,8 +88,8 @@ declare namespace appRecovery { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ RESTART_WHEN_JS_CRASH = 0x0001, @@ -105,8 +104,8 @@ declare namespace appRecovery { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ RESTART_WHEN_APP_FREEZE = 0x0002, @@ -121,8 +120,8 @@ declare namespace appRecovery { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NO_RESTART = 0xFFFF } @@ -144,8 +143,8 @@ declare namespace appRecovery { * @enum { int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum SaveOccasionFlag { /** @@ -163,8 +162,8 @@ declare namespace appRecovery { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SAVE_WHEN_ERROR = 0x0001, @@ -179,8 +178,8 @@ declare namespace appRecovery { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SAVE_WHEN_BACKGROUND = 0x0002 } @@ -198,8 +197,8 @@ declare namespace appRecovery { * @enum { int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum SaveModeFlag { /** @@ -213,8 +212,8 @@ declare namespace appRecovery { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SAVE_WITH_FILE = 0x0001, @@ -229,8 +228,8 @@ declare namespace appRecovery { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SAVE_WITH_SHARED_MEMORY = 0x0002 } @@ -254,8 +253,8 @@ declare namespace appRecovery { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function enableAppRecovery(restart?: RestartFlag, saveOccasion?: SaveOccasionFlag, saveMode?: SaveModeFlag): void; @@ -276,8 +275,8 @@ declare namespace appRecovery { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function restartApp(): void; @@ -296,8 +295,8 @@ declare namespace appRecovery { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function setRestartWant(want: Want): void; @@ -320,8 +319,8 @@ declare namespace appRecovery { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function saveAppState(): boolean; /** @@ -343,8 +342,8 @@ declare namespace appRecovery { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function saveAppState(context?: UIAbilityContext): boolean; } diff --git a/api/@ohos.app.ability.application.d.ts b/api/@ohos.app.ability.application.d.ts index 71a7199e91..ef461a17ca 100644 --- a/api/@ohos.app.ability.application.d.ts +++ b/api/@ohos.app.ability.application.d.ts @@ -28,8 +28,8 @@ import Context from './application/Context'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace application { /** @@ -42,8 +42,8 @@ declare namespace application { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export function createModuleContext(context: Context, moduleName: string): Promise; @@ -61,8 +61,8 @@ declare namespace application { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export function createModuleContext(context: Context, bundleName: string, moduleName: string): Promise; @@ -75,8 +75,8 @@ declare namespace application { * @returns { Promise } Returns the module context of plugin. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ export function createPluginModuleContext(context: Context, pluginBundleName: string, pluginModuleName: string): Promise; @@ -93,8 +93,8 @@ declare namespace application { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export function createBundleContext(context: Context, bundleName: string): Promise; @@ -106,8 +106,8 @@ declare namespace application { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ export function getApplicationContext(): ApplicationContext; @@ -126,7 +126,7 @@ declare namespace application { * and cannot be set as a candidate master process. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ export function promoteCurrentToCandidateMasterProcess(insertToHead: boolean): Promise; @@ -139,7 +139,7 @@ declare namespace application { * @throws { BusinessError } 16000117 - The current process is not a candidate master process and does not support cancellation. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ export function demoteCurrentFromCandidateMasterProcess(): Promise; } diff --git a/api/@ohos.app.ability.autoFillManager.d.ts b/api/@ohos.app.ability.autoFillManager.d.ts index d84f3f2b18..2c1da00cf2 100644 --- a/api/@ohos.app.ability.autoFillManager.d.ts +++ b/api/@ohos.app.ability.autoFillManager.d.ts @@ -18,7 +18,7 @@ * @kit AbilityKit */ -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type { UIContext } from './@ohos.arkui.UIContext'; import type * as _ViewData from './application/ViewData'; import type * as _PageNodeInfo from './application/PageNodeInfo'; @@ -29,7 +29,7 @@ import type * as _AutoFillRect from './application/AutoFillRect'; import type * as _AutoFillPopupConfig from './application/AutoFillPopupConfig'; import { PopupPlacement } from './application/AutoFillPopupConfig'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { UIContext } from '@ohos.arkui.UIContext'; import _ViewData from './application/ViewData'; import _PageNodeInfo from './application/PageNodeInfo'; @@ -60,8 +60,8 @@ import { PopupPlacement as _PopupPlacement } from './application/AutoFillPopupCo * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace autoFillManager { /** @@ -71,8 +71,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ type OnSuccessFn = () => void; @@ -83,8 +82,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ type OnFailureFn = () => void; @@ -103,8 +101,8 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface AutoSaveCallback { /** @@ -129,8 +127,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ onSuccess: OnSuccessFn; @@ -156,8 +153,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ onFailure: OnFailureFn; } @@ -185,8 +181,8 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export function requestAutoSave(context: UIContext, callback?: AutoSaveCallback): void; @@ -205,7 +201,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export type ViewData = _ViewData.default; @@ -216,8 +212,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type ViewData = _ViewData; @@ -236,7 +231,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export type PageNodeInfo = _PageNodeInfo.default; @@ -247,8 +242,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type PageNodeInfo = _PageNodeInfo; @@ -266,7 +260,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export { AutoFillType }; @@ -276,8 +270,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AutoFillType = _AutoFillType; @@ -296,7 +289,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export type FillRequest = _AutoFillRequest.FillRequest; @@ -307,8 +300,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type FillRequest = _FillRequest; @@ -327,7 +319,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export type SaveRequest = _AutoFillRequest.SaveRequest; @@ -338,8 +330,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type SaveRequest = _SaveRequest; @@ -350,7 +341,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export type UpdateRequest = _AutoFillRequest.UpdateRequest; @@ -361,8 +352,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type UpdateRequest = _UpdateRequest; @@ -381,7 +371,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export type FillResponse = _AutoFillRequest.FillResponse; @@ -392,8 +382,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type FillResponse = _FillResponse; @@ -412,7 +401,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export type FillRequestCallback = _AutoFillRequest.FillRequestCallback; @@ -423,8 +412,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type FillRequestCallback = _FillRequestCallback; @@ -443,7 +431,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export type SaveRequestCallback = _AutoFillRequest.SaveRequestCallback; @@ -454,8 +442,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type SaveRequestCallback = _SaveRequestCallback; @@ -466,7 +453,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 13 + * @since 13 dynamic */ export type CustomData = _CustomData.default; @@ -477,8 +464,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type CustomData = _CustomData; @@ -489,7 +475,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export type AutoFillRect = _AutoFillRect.default; @@ -500,8 +486,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AutoFillRect = _AutoFillRect; @@ -512,7 +497,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export type AutoFillPopupConfig = _AutoFillPopupConfig.default; @@ -523,8 +508,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AutoFillPopupConfig = _AutoFillPopupConfig; @@ -535,7 +519,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export type PopupSize = _AutoFillPopupConfig.PopupSize; @@ -546,8 +530,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type PopupSize = _PopupSize; @@ -557,7 +540,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export { PopupPlacement }; @@ -567,8 +550,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type PopupPlacement = _PopupPlacement; } diff --git a/api/@ohos.app.ability.autoStartupManager.d.ts b/api/@ohos.app.ability.autoStartupManager.d.ts index 204fae5388..8eb94547a9 100644 --- a/api/@ohos.app.ability.autoStartupManager.d.ts +++ b/api/@ohos.app.ability.autoStartupManager.d.ts @@ -18,11 +18,11 @@ * @kit AbilityKit */ -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type { AutoStartupCallback } from './application/AutoStartupCallback'; import type { AutoStartupInfo } from './application/AutoStartupInfo'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import type AutoStartupCallback from './application/AutoStartupCallback'; import type AutoStartupInfo from './application/AutoStartupInfo'; /*** endif */ @@ -35,8 +35,8 @@ import type { AsyncCallback } from './@ohos.base'; * @namespace autoStartupManager * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace autoStartupManager { /** @@ -54,8 +54,8 @@ declare namespace autoStartupManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function on(type: 'systemAutoStartup', callback: AutoStartupCallback): void; @@ -74,8 +74,8 @@ declare namespace autoStartupManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function off(type: 'systemAutoStartup', callback?: AutoStartupCallback): void; @@ -96,8 +96,8 @@ declare namespace autoStartupManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function setApplicationAutoStartup(info: AutoStartupInfo, callback: AsyncCallback): void; @@ -118,8 +118,8 @@ declare namespace autoStartupManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function setApplicationAutoStartup(info: AutoStartupInfo): Promise; @@ -140,8 +140,8 @@ declare namespace autoStartupManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function cancelApplicationAutoStartup(info: AutoStartupInfo, callback: AsyncCallback): void; @@ -162,8 +162,8 @@ declare namespace autoStartupManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function cancelApplicationAutoStartup(info: AutoStartupInfo): Promise; @@ -182,8 +182,8 @@ declare namespace autoStartupManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function queryAllAutoStartupApplications(callback: AsyncCallback>): void; @@ -201,8 +201,8 @@ declare namespace autoStartupManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function queryAllAutoStartupApplications(): Promise>; } diff --git a/api/@ohos.app.ability.childProcessManager.d.ts b/api/@ohos.app.ability.childProcessManager.d.ts index d09a5e09aa..36cc2943ad 100644 --- a/api/@ohos.app.ability.childProcessManager.d.ts +++ b/api/@ohos.app.ability.childProcessManager.d.ts @@ -27,7 +27,7 @@ import type { ChildProcessOptions } from './@ohos.app.ability.ChildProcessOption * * @namespace childProcessManager * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 11 + * @since 11 dynamic */ declare namespace childProcessManager { @@ -37,7 +37,7 @@ declare namespace childProcessManager { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 11 + * @since 11 dynamic */ export const enum StartMode { @@ -47,7 +47,7 @@ declare namespace childProcessManager { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 11 + * @since 11 dynamic */ SELF_FORK = 0, @@ -56,7 +56,7 @@ declare namespace childProcessManager { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 11 + * @since 11 dynamic */ APP_SPAWN_FORK = 1, } @@ -74,7 +74,7 @@ declare namespace childProcessManager { * @throws { BusinessError } 16000062 - The number of child processes exceeds the upper limit. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 11 + * @since 11 dynamic */ function startChildProcess(srcEntry: string, startMode: StartMode): Promise; @@ -91,7 +91,7 @@ declare namespace childProcessManager { * @throws { BusinessError } 16000062 - The number of child processes exceeds the upper limit. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 11 + * @since 11 dynamic */ function startChildProcess(srcEntry: string, startMode: StartMode, callback: AsyncCallback): void; @@ -126,7 +126,7 @@ declare namespace childProcessManager { * @throws { BusinessError } 16000062 - The number of child processes exceeds the upper limit. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 13 + * @since 13 dynamic */ function startArkChildProcess(srcEntry: string, args: ChildProcessArgs, options?: ChildProcessOptions): Promise; @@ -145,7 +145,7 @@ declare namespace childProcessManager { * @throws { BusinessError } 16000062 - The number of child processes exceeds the upper limit. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 13 + * @since 13 dynamic */ function startNativeChildProcess(entryPoint: string, args: ChildProcessArgs, options?: ChildProcessOptions): Promise; diff --git a/api/@ohos.app.ability.common.d.ts b/api/@ohos.app.ability.common.d.ts index 29d491bc1a..44e78aedc7 100644 --- a/api/@ohos.app.ability.common.d.ts +++ b/api/@ohos.app.ability.common.d.ts @@ -18,7 +18,7 @@ * @kit AbilityKit */ -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import * as _UIAbilityContext from './application/UIAbilityContext'; import type * as _UIExtensionContext from './application/UIExtensionContext'; import type * as _AutoFillExtensionContext from './application/AutoFillExtensionContext'; @@ -41,7 +41,7 @@ import * as _UIServiceHostProxy from './application/UIServiceHostProxy'; import * as _UIServiceExtensionConnectCallback from './application/UIServiceExtensionConnectCallback'; import * as _AppServiceExtensionContext from './application/AppServiceExtensionContext'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import _UIAbilityContext from './application/UIAbilityContext'; import type _UIExtensionContext from './application/UIExtensionContext'; import type _AutoFillExtensionContext from './application/AutoFillExtensionContext'; @@ -85,8 +85,8 @@ import { PacMap as _PacMap } from './ability/dataAbilityHelper'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace common { /** @@ -112,7 +112,7 @@ declare namespace common { * @stagemodelonly * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export type UIAbilityContext = _UIAbilityContext.default; @@ -124,8 +124,7 @@ declare namespace common { * @stagemodelonly * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type UIAbilityContext = _UIAbilityContext; @@ -152,7 +151,7 @@ declare namespace common { * @stagemodelonly * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export type AbilityStageContext = _AbilityStageContext.default; @@ -164,8 +163,7 @@ declare namespace common { * @stagemodelonly * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AbilityStageContext = _AbilityStageContext; @@ -192,7 +190,7 @@ declare namespace common { * @stagemodelonly * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export type ApplicationContext = _ApplicationContext.default; @@ -204,8 +202,7 @@ declare namespace common { * @stagemodelonly * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type ApplicationContext = _ApplicationContext; @@ -232,7 +229,7 @@ declare namespace common { * @stagemodelonly * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export type BaseContext = _BaseContext.default; @@ -243,8 +240,7 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type BaseContext = _BaseContext; @@ -274,7 +270,7 @@ declare namespace common { * @stagemodelonly * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export type Context = _Context.default; @@ -287,8 +283,7 @@ declare namespace common { * @stagemodelonly * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type Context = _Context; @@ -306,7 +301,7 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 11 + * @since 11 dynamic */ export type ExtensionContext = _ExtensionContext.default; @@ -317,8 +312,7 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type ExtensionContext = _ExtensionContext; @@ -338,7 +332,7 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 11 + * @since 11 dynamic */ export type FormExtensionContext = _FormExtensionContext.default; @@ -350,7 +344,7 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ export type ServiceExtensionContext = _ServiceExtensionContext.default; @@ -362,8 +356,7 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type ServiceExtensionContext = _ServiceExtensionContext; @@ -390,7 +383,7 @@ declare namespace common { * @stagemodelonly * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export type EventHub = _EventHub.default; @@ -401,8 +394,7 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type EventHub = _EventHub; @@ -419,8 +411,8 @@ declare namespace common { * @typedef { _PacMap } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type PacMap = _PacMap; @@ -438,8 +430,8 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type AbilityResult = _AbilityResult; @@ -449,8 +441,8 @@ declare namespace common { * @typedef { _ConnectOptions } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type ConnectOptions = _ConnectOptions; @@ -461,7 +453,7 @@ declare namespace common { * @typedef { _UIExtensionContext.default } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 10 + * @since 10 dynamic */ export type UIExtensionContext = _UIExtensionContext.default; @@ -472,8 +464,7 @@ declare namespace common { * @typedef { _UIExtensionContext } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type UIExtensionContext = _UIExtensionContext; @@ -485,7 +476,7 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 11 + * @since 11 dynamic */ export type AutoFillExtensionContext = _AutoFillExtensionContext.default; @@ -497,8 +488,7 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AutoFillExtensionContext = _AutoFillExtensionContext; @@ -509,8 +499,8 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type AbilityStartCallback = _AbilityStartCallback; @@ -521,8 +511,8 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type AutoStartupInfo = _AutoStartupInfo; @@ -533,8 +523,8 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type AutoStartupCallback = _AutoStartupCallback; @@ -546,7 +536,7 @@ declare namespace common { * @typedef { _VpnExtensionContext.default } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 11 + * @since 11 dynamic */ export type VpnExtensionContext = _VpnExtensionContext.default; @@ -557,7 +547,7 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ export type EmbeddableUIAbilityContext = _EmbeddableUIAbilityContext.default; @@ -567,7 +557,7 @@ declare namespace common { * @typedef { _PhotoEditorExtensionContext.default } * @syscap SystemCapability.Ability.AppExtension.PhotoEditorExtension * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export type PhotoEditorExtensionContext = _PhotoEditorExtensionContext.default; @@ -577,8 +567,7 @@ declare namespace common { * @typedef { _PhotoEditorExtensionContext } * @syscap SystemCapability.Ability.AppExtension.PhotoEditorExtension * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type PhotoEditorExtensionContext = _PhotoEditorExtensionContext; @@ -589,7 +578,7 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 14 + * @since 14 dynamic */ export type UIServiceExtensionContext = _UIServiceExtensionContext.default; @@ -600,7 +589,7 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 14 + * @since 14 dynamic */ export type UIServiceProxy = _UIServiceProxy.default; @@ -611,7 +600,7 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 14 + * @since 14 dynamic */ export type UIServiceHostProxy = _UIServiceHostProxy.default; @@ -622,7 +611,7 @@ declare namespace common { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 14 + * @since 14 dynamic */ export type UIServiceExtensionConnectCallback = _UIServiceExtensionConnectCallback.default; @@ -633,7 +622,7 @@ declare namespace common { * @typedef { _AppServiceExtensionContext.default } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ export type AppServiceExtensionContext = _AppServiceExtensionContext.default; } diff --git a/api/@ohos.app.ability.contextConstant.d.ts b/api/@ohos.app.ability.contextConstant.d.ts index 7742d6253f..8b5353d4c4 100644 --- a/api/@ohos.app.ability.contextConstant.d.ts +++ b/api/@ohos.app.ability.contextConstant.d.ts @@ -33,8 +33,8 @@ * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace contextConstant { /** @@ -52,8 +52,8 @@ declare namespace contextConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum AreaMode { /** @@ -69,8 +69,8 @@ declare namespace contextConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ EL1 = 0, @@ -87,8 +87,8 @@ declare namespace contextConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ EL2 = 1, @@ -99,8 +99,8 @@ declare namespace contextConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ EL3 = 2, @@ -112,8 +112,8 @@ declare namespace contextConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ EL4 = 3, @@ -125,8 +125,8 @@ declare namespace contextConstant { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EL5 = 4 } @@ -137,8 +137,8 @@ declare namespace contextConstant { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum ProcessMode { /** @@ -147,8 +147,8 @@ declare namespace contextConstant { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NEW_PROCESS_ATTACH_TO_PARENT = 1, @@ -159,8 +159,8 @@ declare namespace contextConstant { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NEW_PROCESS_ATTACH_TO_STATUS_BAR_ITEM = 2, @@ -171,8 +171,8 @@ declare namespace contextConstant { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ATTACH_TO_STATUS_BAR_ITEM = 3 } @@ -183,8 +183,8 @@ declare namespace contextConstant { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum StartupVisibility { /** @@ -192,8 +192,8 @@ declare namespace contextConstant { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STARTUP_HIDE = 0, @@ -202,8 +202,8 @@ declare namespace contextConstant { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STARTUP_SHOW = 1 } diff --git a/api/@ohos.app.ability.continueManager.d.ts b/api/@ohos.app.ability.continueManager.d.ts index a4899dee1f..ee289fcfff 100644 --- a/api/@ohos.app.ability.continueManager.d.ts +++ b/api/@ohos.app.ability.continueManager.d.ts @@ -25,7 +25,7 @@ import { AsyncCallback } from './@ohos.base'; * * @namespace continueManager * @syscap SystemCapability.Ability.AbilityRuntime.Mission - * @since 18 + * @since 18 dynamic */ declare namespace continueManager { /** @@ -37,7 +37,7 @@ declare namespace continueManager { * @param { AsyncCallback } callback - Used to handle ('prepareContinue') command. * @throws { BusinessError } 16300501 - the system ability work abnormally. * @syscap SystemCapability.Ability.AbilityRuntime.Mission - * @since 18 + * @since 18 dynamic */ function on(type: 'prepareContinue', context: Context, callback: AsyncCallback): void; @@ -49,7 +49,7 @@ declare namespace continueManager { * @param { AsyncCallback } callback - Used to handle ('prepareContinue') command. * @throws { BusinessError } 16300501 - the system ability work abnormally. * @syscap SystemCapability.Ability.AbilityRuntime.Mission - * @since 18 + * @since 18 dynamic */ function off(type: 'prepareContinue', context: Context, callback?: AsyncCallback): void; @@ -57,14 +57,14 @@ declare namespace continueManager { * Continue result info. * @interface ContinueEventInfo * @syscap SystemCapability.Ability.AbilityRuntime.Mission - * @since 18 + * @since 18 dynamic */ interface ContinueResultInfo { /** * Continue state code. * @type { ContinueStateCode } * @syscap SystemCapability.Ability.AbilityRuntime.Mission - * @since 18 + * @since 18 dynamic */ resultState: ContinueStateCode; @@ -72,7 +72,7 @@ declare namespace continueManager { * Result info. * @type { ?string } * @syscap SystemCapability.Ability.AbilityRuntime.Mission - * @since 18 + * @since 18 dynamic */ resultInfo?: string; } @@ -81,20 +81,20 @@ declare namespace continueManager { * Continue state code. * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Mission - * @since 18 + * @since 18 dynamic */ enum ContinueStateCode { /** * Continue success * @syscap SystemCapability.Ability.AbilityRuntime.Mission - * @since 18 + * @since 18 dynamic */ SUCCESS = 0, /** * System error * @syscap SystemCapability.Ability.AbilityRuntime.Mission - * @since 18 + * @since 18 dynamic */ SYSTEM_ERROR, } diff --git a/api/@ohos.app.ability.dataUriUtils.d.ts b/api/@ohos.app.ability.dataUriUtils.d.ts index 63ba6905b8..d7be09cd68 100644 --- a/api/@ohos.app.ability.dataUriUtils.d.ts +++ b/api/@ohos.app.ability.dataUriUtils.d.ts @@ -23,8 +23,8 @@ * * @namespace dataUriUtils * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace dataUriUtils { /** @@ -35,8 +35,8 @@ declare namespace dataUriUtils { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getId(uri: string): number; @@ -49,8 +49,8 @@ declare namespace dataUriUtils { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function attachId(uri: string, id: number): string; @@ -62,8 +62,8 @@ declare namespace dataUriUtils { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function deleteId(uri: string): string; @@ -76,8 +76,8 @@ declare namespace dataUriUtils { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function updateId(uri: string, id: number): string; } diff --git a/api/@ohos.app.ability.dialogRequest.d.ts b/api/@ohos.app.ability.dialogRequest.d.ts index 6d0ae949fe..e3449d3492 100644 --- a/api/@ohos.app.ability.dialogRequest.d.ts +++ b/api/@ohos.app.ability.dialogRequest.d.ts @@ -25,8 +25,8 @@ import Want from './@ohos.app.ability.Want'; * * @namespace dialogRequest * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace dialogRequest { /** @@ -35,8 +35,8 @@ declare namespace dialogRequest { * @typedef WindowRect * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface WindowRect { /** @@ -45,8 +45,8 @@ declare namespace dialogRequest { * @type { int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ left: int; @@ -56,8 +56,8 @@ declare namespace dialogRequest { * @type { int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ top: int; @@ -67,8 +67,8 @@ declare namespace dialogRequest { * @type { int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ width: int; @@ -78,8 +78,8 @@ declare namespace dialogRequest { * @type { int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ height: int; } @@ -88,8 +88,8 @@ declare namespace dialogRequest { * * @typedef RequestInfo * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface RequestInfo { /** @@ -98,8 +98,8 @@ declare namespace dialogRequest { * @type { ?WindowRect } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ windowRect?: WindowRect } @@ -109,16 +109,16 @@ declare namespace dialogRequest { * * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum ResultCode { /** * The modal bullet box requests succeeded. * * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ RESULT_OK = 0, @@ -126,8 +126,8 @@ declare namespace dialogRequest { * The modal bullet box requests Failed. * * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ RESULT_CANCEL = 1 } @@ -138,8 +138,8 @@ declare namespace dialogRequest { * @typedef RequestResult * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface RequestResult { /** @@ -148,8 +148,8 @@ declare namespace dialogRequest { * @type { ResultCode } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ result: ResultCode; @@ -159,8 +159,8 @@ declare namespace dialogRequest { * @type { ?Want } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ want?: Want; } @@ -170,8 +170,8 @@ declare namespace dialogRequest { * * @interface RequestCallback * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface RequestCallback { /** @@ -182,8 +182,8 @@ declare namespace dialogRequest { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ setRequestResult(result: RequestResult): void; } @@ -196,8 +196,8 @@ declare namespace dialogRequest { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getRequestInfo(want: Want): RequestInfo; @@ -209,8 +209,8 @@ declare namespace dialogRequest { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getRequestCallback(want: Want): RequestCallback; } diff --git a/api/@ohos.app.ability.dialogSession.d.ts b/api/@ohos.app.ability.dialogSession.d.ts index 2a760b79c8..0cbc0bc2d0 100644 --- a/api/@ohos.app.ability.dialogSession.d.ts +++ b/api/@ohos.app.ability.dialogSession.d.ts @@ -29,8 +29,8 @@ import type { MultiAppMode } from './bundleManager/ApplicationInfo'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace dialogSession { @@ -41,8 +41,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface DialogAbilityInfo { @@ -53,8 +53,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ bundleName: string; @@ -65,8 +65,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ moduleName: string; @@ -77,8 +77,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ abilityName: string; @@ -89,8 +89,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ abilityIconId: int; @@ -101,8 +101,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ abilityLabelId: int; @@ -113,8 +113,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ bundleIconId: int; @@ -125,8 +125,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ bundleLabelId: int; @@ -137,8 +137,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ visible: boolean; @@ -149,8 +149,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ appIndex: int; @@ -161,8 +161,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ multiAppMode: MultiAppMode; } @@ -174,8 +174,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface DialogSessionInfo { @@ -186,8 +186,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ callerAbilityInfo: DialogAbilityInfo; @@ -198,8 +198,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ targetAbilityInfos: Array; @@ -210,8 +210,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ parameters?: Record; } @@ -230,7 +230,7 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 11 + * @since 11 dynamic */ function getDialogSessionInfo(dialogSessionId: string): DialogSessionInfo; @@ -247,8 +247,7 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ function getDialogSessionInfo(dialogSessionId: string): DialogSessionInfo | null; @@ -268,8 +267,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function sendDialogResult(dialogSessionId: string, targetWant: Want, isAllowed: boolean): Promise; @@ -289,8 +288,8 @@ declare namespace dialogSession { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function sendDialogResult(dialogSessionId: string, targetWant: Want, isAllowed: boolean, callback: AsyncCallback): void; } diff --git a/api/@ohos.app.ability.errorManager.d.ts b/api/@ohos.app.ability.errorManager.d.ts index 34542a98e1..8c23de5e31 100644 --- a/api/@ohos.app.ability.errorManager.d.ts +++ b/api/@ohos.app.ability.errorManager.d.ts @@ -44,7 +44,7 @@ import { LoopObserver as _LoopObserver } from './application/LoopObserver'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare namespace errorManager { /** @@ -84,7 +84,7 @@ declare namespace errorManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ function on(type: 'error', observer: ErrorObserver): int; @@ -125,7 +125,7 @@ declare namespace errorManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ function off(type: 'error', observerId: int, callback: AsyncCallback): void; @@ -166,7 +166,7 @@ declare namespace errorManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ function off(type: 'error', observerId: int): Promise; @@ -179,7 +179,7 @@ declare namespace errorManager { * @throws { BusinessError } 16200001 - The caller has been released. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ function on(type: 'globalErrorOccurred', observer: GlobalObserver): void; @@ -192,7 +192,7 @@ declare namespace errorManager { * @throws { BusinessError } 16200001 - The caller has been released. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ function on(type: 'globalUnhandledRejectionDetected', observer: GlobalObserver): void; @@ -206,7 +206,7 @@ declare namespace errorManager { * @throws { BusinessError } 16300004 - The observer does not exist. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ function off(type: 'globalErrorOccurred', observer?: GlobalObserver): void; @@ -220,7 +220,7 @@ declare namespace errorManager { * @throws { BusinessError } 16300004 - The observer does not exist. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ function off(type: 'globalUnhandledRejectionDetected', observer?: GlobalObserver): void; @@ -231,7 +231,7 @@ declare namespace errorManager { * { GlobalError } reason - the reason of the error or rejection. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ export type GlobalObserver = (reason: GlobalError) => void; @@ -242,7 +242,7 @@ declare namespace errorManager { * @typedef GlobalError * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ export interface GlobalError extends Error { /** @@ -250,7 +250,7 @@ declare namespace errorManager { * @type { string } instanceName * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ instanceName: string; @@ -259,7 +259,7 @@ declare namespace errorManager { * @type { InstanceType } instanceType * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ instanceType: InstanceType; } @@ -269,7 +269,7 @@ declare namespace errorManager { * @enum { int } * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @atomicservice - * @since 18 + * @since 18 dynamic */ export enum InstanceType { /** @@ -277,7 +277,7 @@ declare namespace errorManager { * * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @atomicservice - * @since 18 + * @since 18 dynamic */ MAIN = 0, @@ -286,7 +286,7 @@ declare namespace errorManager { * * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @atomicservice - * @since 18 + * @since 18 dynamic */ WORKER = 1, @@ -295,7 +295,7 @@ declare namespace errorManager { * * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @atomicservice - * @since 18 + * @since 18 dynamic */ TASKPOOL = 2, @@ -304,7 +304,7 @@ declare namespace errorManager { * * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @atomicservice - * @since 18 + * @since 18 dynamic */ CUSTOM = 3, } @@ -336,7 +336,7 @@ declare namespace errorManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ function on(type: 'loopObserver', timeout: int, observer: LoopObserver): void; @@ -361,7 +361,7 @@ declare namespace errorManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ function off(type: 'loopObserver', observer?: LoopObserver): void; @@ -388,7 +388,7 @@ declare namespace errorManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ function on(type: 'unhandledRejection', observer: UnhandledRejectionObserver): void; @@ -417,7 +417,7 @@ declare namespace errorManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ function off(type: 'unhandledRejection', observer?: UnhandledRejectionObserver): void; @@ -433,7 +433,7 @@ declare namespace errorManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ function on(type: 'freeze', observer: FreezeObserver): void; @@ -448,7 +448,7 @@ declare namespace errorManager { * @throws { BusinessError } 16300004 - The observer does not exist. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ function off(type: 'freeze', observer?: FreezeObserver): void; @@ -473,7 +473,7 @@ declare namespace errorManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ export type ErrorObserver = _ErrorObserver.default; /** @@ -491,7 +491,7 @@ declare namespace errorManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ export type LoopObserver = _LoopObserver; /** @@ -513,7 +513,7 @@ declare namespace errorManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ export type UnhandledRejectionObserver = (reason: Error | any, promise: Promise) => void; /** @@ -522,7 +522,7 @@ declare namespace errorManager { * @typedef { function } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ export type FreezeObserver = () => void; } diff --git a/api/@ohos.app.ability.insightIntent.d.ts b/api/@ohos.app.ability.insightIntent.d.ts index 7ef9b914a7..89d2547bd3 100644 --- a/api/@ohos.app.ability.insightIntent.d.ts +++ b/api/@ohos.app.ability.insightIntent.d.ts @@ -20,7 +20,7 @@ import Want from './@ohos.app.ability.Want'; import type wantConstant from './@ohos.app.ability.wantConstant'; -/*** if arkts 1.2 */ +/*** if arkts static */ import { RecordData } from './@ohos.base'; /*** endif */ @@ -31,8 +31,8 @@ import { RecordData } from './@ohos.base'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace insightIntent { /** @@ -42,8 +42,8 @@ declare namespace insightIntent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum ExecuteMode { /** @@ -52,8 +52,8 @@ declare namespace insightIntent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UI_ABILITY_FOREGROUND = 0, @@ -63,8 +63,8 @@ declare namespace insightIntent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UI_ABILITY_BACKGROUND = 1, @@ -73,8 +73,8 @@ declare namespace insightIntent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UI_EXTENSION_ABILITY = 2, @@ -84,8 +84,8 @@ declare namespace insightIntent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SERVICE_EXTENSION_ABILITY = 3, } @@ -97,8 +97,8 @@ declare namespace insightIntent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface ExecuteResult { /** @@ -108,8 +108,8 @@ declare namespace insightIntent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ code: int; @@ -120,7 +120,7 @@ declare namespace insightIntent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly * @atomicservice - * @since 11 + * @since 11 dynamic */ result?: Record; @@ -130,8 +130,7 @@ declare namespace insightIntent { * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ result?: Record; @@ -142,8 +141,8 @@ declare namespace insightIntent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ uris?: Array; @@ -158,8 +157,8 @@ declare namespace insightIntent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ flags?: int; } @@ -171,7 +170,7 @@ declare namespace insightIntent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamic */ interface IntentEntity { /** @@ -181,7 +180,7 @@ declare namespace insightIntent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamic */ entityId: string; } @@ -193,7 +192,7 @@ declare namespace insightIntent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamic */ interface IntentResult { /** @@ -203,7 +202,7 @@ declare namespace insightIntent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamic */ code: number; @@ -214,7 +213,7 @@ declare namespace insightIntent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamic */ result?: T; } diff --git a/api/@ohos.app.ability.insightIntentDriver.d.ts b/api/@ohos.app.ability.insightIntentDriver.d.ts index df780e7047..43b181f68c 100644 --- a/api/@ohos.app.ability.insightIntentDriver.d.ts +++ b/api/@ohos.app.ability.insightIntentDriver.d.ts @@ -22,7 +22,7 @@ import Want from './@ohos.app.ability.Want'; import wantConstant from './@ohos.app.ability.wantConstant'; import type { AsyncCallback } from './@ohos.base'; import type insightIntent from './@ohos.app.ability.insightIntent'; -/*** if arkts 1.2 */ +/*** if arkts static */ import { RecordData } from './@ohos.base'; /*** endif */ @@ -33,8 +33,8 @@ import { RecordData } from './@ohos.base'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace insightIntentDriver { /** @@ -44,8 +44,8 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface ExecuteParam { /** @@ -55,8 +55,8 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ bundleName: string; @@ -67,8 +67,8 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ moduleName: string; @@ -79,8 +79,8 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ abilityName: string; @@ -91,8 +91,8 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ insightIntentName: string; @@ -103,7 +103,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ insightIntentParam: Record; @@ -114,8 +114,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since 20 - * @arkts 1.2 + * @since 20 static */ insightIntentParam: Record; @@ -126,8 +125,8 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ executeMode: insightIntent.ExecuteMode; @@ -138,8 +137,8 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ displayId?: long; @@ -150,8 +149,8 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ uris?: Array; @@ -166,8 +165,8 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ flags?: int; } @@ -202,8 +201,8 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function execute(param: ExecuteParam, callback: AsyncCallback): void; @@ -237,8 +236,8 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function execute(param: ExecuteParam): Promise; @@ -249,7 +248,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ enum InsightIntentType { /** @@ -259,7 +258,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ LINK = '@InsightIntentLink', @@ -270,7 +269,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ PAGE = '@InsightIntentPage', @@ -281,7 +280,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ ENTRY = '@InsightIntentEntry', @@ -292,7 +291,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ FUNCTION = '@InsightIntentFunctionMethod', @@ -303,7 +302,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ FORM = '@InsightIntentForm', } @@ -315,7 +314,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ interface InsightIntentInfo { /** @@ -326,7 +325,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly bundleName: string; @@ -338,7 +337,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly moduleName: string; @@ -350,7 +349,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly intentName: string; @@ -362,7 +361,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly domain: string; @@ -374,7 +373,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly intentVersion: string; @@ -386,7 +385,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly displayName: string; @@ -398,7 +397,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly displayDescription: string; @@ -410,7 +409,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly schema: string; @@ -422,7 +421,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly icon: string; @@ -434,7 +433,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly llmDescription: string; @@ -446,7 +445,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly keywords: string[]; @@ -458,7 +457,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly intentType: InsightIntentType; @@ -475,7 +474,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly subIntentInfo: LinkIntentInfo | PageIntentInfo | FunctionIntentInfo | FormIntentInfo | EntryIntentInfo; @@ -487,7 +486,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly parameters: Record; @@ -499,7 +498,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly result: Record; @@ -511,7 +510,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly entities: Array; } @@ -523,7 +522,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ interface LinkIntentInfo { /** @@ -534,7 +533,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly uri: string; } @@ -546,7 +545,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ interface PageIntentInfo { /** @@ -557,7 +556,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly uiAbility: string; @@ -569,7 +568,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly pagePath: string; @@ -581,7 +580,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly navigationId: string; @@ -593,7 +592,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly navDestinationName: string; } @@ -605,7 +604,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ interface FunctionIntentInfo {} @@ -616,7 +615,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ interface FormIntentInfo { /** @@ -627,7 +626,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly abilityName: string; @@ -639,7 +638,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly formName: string; } @@ -651,7 +650,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ interface EntryIntentInfo { /** @@ -662,7 +661,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly abilityName: string; @@ -674,7 +673,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly executeMode: insightIntent.ExecuteMode[]; } @@ -686,7 +685,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ enum GetInsightIntentFlag { /** @@ -695,7 +694,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ GET_FULL_INSIGHT_INTENT = 0x00000001, @@ -705,7 +704,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ GET_SUMMARY_INSIGHT_INTENT = 0x00000002, @@ -715,7 +714,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ GET_ENTITY_INFO = 0x00000004, } @@ -727,7 +726,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ interface EntityInfo { /** @@ -738,7 +737,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly className: string; @@ -750,7 +749,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly entityId: string; @@ -762,7 +761,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly entityCategory: string; @@ -774,7 +773,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly parameters: Record; @@ -786,7 +785,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ readonly parentClassName: string; } @@ -803,7 +802,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ function getAllInsightIntentInfo(intentFlags: number): Promise>; @@ -820,7 +819,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ function getInsightIntentInfoByBundleName(bundleName: string, intentFlags: number): Promise>; @@ -839,7 +838,7 @@ declare namespace insightIntentDriver { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ function getInsightIntentInfoByIntentName(bundleName: string, moduleName: string, intentName: string, intentFlags: number): Promise; } diff --git a/api/@ohos.app.ability.kioskManager.d.ts b/api/@ohos.app.ability.kioskManager.d.ts index 5b7350d025..296ee5f55f 100644 --- a/api/@ohos.app.ability.kioskManager.d.ts +++ b/api/@ohos.app.ability.kioskManager.d.ts @@ -27,7 +27,7 @@ import { KioskStatus as _KioskStatus } from './application/KioskStatus'; * @namespace kioskManager * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ declare namespace kioskManager { /** @@ -42,7 +42,7 @@ declare namespace kioskManager { * @throws { BusinessError } 16000113 - Current ability is not in foreground. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ function enterKioskMode(context: UIAbilityContext): Promise; @@ -57,7 +57,7 @@ declare namespace kioskManager { * @throws { BusinessError } 16000112 - Current application is not in kiosk mode, can not exit. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ function exitKioskMode(context: UIAbilityContext): Promise; @@ -71,7 +71,7 @@ declare namespace kioskManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ function getKioskStatus(): Promise; @@ -81,7 +81,7 @@ declare namespace kioskManager { * @typedef { _KioskStatus } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ export type KioskStatus = _KioskStatus; } diff --git a/api/@ohos.app.ability.missionManager.d.ts b/api/@ohos.app.ability.missionManager.d.ts index b5bdf1a49a..69d73922c0 100644 --- a/api/@ohos.app.ability.missionManager.d.ts +++ b/api/@ohos.app.ability.missionManager.d.ts @@ -30,8 +30,8 @@ import StartOptions from './@ohos.app.ability.StartOptions'; * @namespace missionManager * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace missionManager { /** @@ -47,8 +47,8 @@ declare namespace missionManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function on(type: 'mission', listener: MissionListener): long; @@ -66,8 +66,8 @@ declare namespace missionManager { * @throws { BusinessError } 16300002 - The specified mission listener does not exist. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off(type: 'mission', listenerId: long, callback: AsyncCallback): void; @@ -85,8 +85,8 @@ declare namespace missionManager { * @throws { BusinessError } 16300002 - The specified mission listener does not exist. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off(type: 'mission', listenerId: long): Promise; @@ -103,8 +103,8 @@ declare namespace missionManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getMissionInfo(deviceId: string, missionId: int, callback: AsyncCallback): void; @@ -121,8 +121,8 @@ declare namespace missionManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getMissionInfo(deviceId: string, missionId: int): Promise; @@ -139,8 +139,8 @@ declare namespace missionManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getMissionInfos(deviceId: string, numMax: int, callback: AsyncCallback>): void; @@ -157,8 +157,8 @@ declare namespace missionManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getMissionInfos(deviceId: string, numMax: int): Promise>; @@ -176,8 +176,8 @@ declare namespace missionManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getMissionSnapShot(deviceId: string, missionId: int, callback: AsyncCallback): void; @@ -194,8 +194,8 @@ declare namespace missionManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getMissionSnapShot(deviceId: string, missionId: int): Promise; @@ -213,8 +213,8 @@ declare namespace missionManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getLowResolutionMissionSnapShot( deviceId: string, @@ -235,8 +235,8 @@ declare namespace missionManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getLowResolutionMissionSnapShot(deviceId: string, missionId: int): Promise; @@ -253,8 +253,8 @@ declare namespace missionManager { * @throws { BusinessError } 16300001 - Mission not found. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function lockMission(missionId: int, callback: AsyncCallback): void; @@ -271,8 +271,8 @@ declare namespace missionManager { * @throws { BusinessError } 16300001 - Mission not found. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function lockMission(missionId: int): Promise; @@ -289,8 +289,8 @@ declare namespace missionManager { * @throws { BusinessError } 16300001 - Mission not found. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function unlockMission(missionId: int, callback: AsyncCallback): void; @@ -307,8 +307,8 @@ declare namespace missionManager { * @throws { BusinessError } 16300001 - Mission not found. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function unlockMission(missionId: int): Promise; @@ -324,8 +324,8 @@ declare namespace missionManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function clearMission(missionId: int, callback: AsyncCallback): void; @@ -341,8 +341,8 @@ declare namespace missionManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function clearMission(missionId: int): Promise; @@ -357,8 +357,8 @@ declare namespace missionManager { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function clearAllMissions(callback: AsyncCallback): void; @@ -371,8 +371,8 @@ declare namespace missionManager { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function clearAllMissions(): Promise; @@ -389,8 +389,8 @@ declare namespace missionManager { * @throws { BusinessError } 16000009 - An ability cannot be started or stopped in Wukong mode. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function moveMissionToFront(missionId: int, callback: AsyncCallback): void; @@ -408,8 +408,8 @@ declare namespace missionManager { * @throws { BusinessError } 16000009 - An ability cannot be started or stopped in Wukong mode. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function moveMissionToFront(missionId: int, options: StartOptions, callback: AsyncCallback): void; @@ -427,8 +427,8 @@ declare namespace missionManager { * @throws { BusinessError } 16000009 - An ability cannot be started or stopped in Wukong mode. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function moveMissionToFront(missionId: int, options?: StartOptions): Promise; @@ -445,8 +445,8 @@ declare namespace missionManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function moveMissionsToForeground(missionIds: Array, callback: AsyncCallback): void; @@ -464,8 +464,8 @@ declare namespace missionManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function moveMissionsToForeground(missionIds: Array, topMission: int, callback: AsyncCallback): void; @@ -483,8 +483,8 @@ declare namespace missionManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function moveMissionsToForeground(missionIds: Array, topMission?: int): Promise; @@ -501,8 +501,8 @@ declare namespace missionManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function moveMissionsToBackground(missionIds: Array, callback: AsyncCallback>): void; @@ -519,8 +519,8 @@ declare namespace missionManager { * @throws { BusinessError } 16000050 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function moveMissionsToBackground(missionIds: Array): Promise>; @@ -530,8 +530,8 @@ declare namespace missionManager { * @typedef { _MissionInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type MissionInfo = _MissionInfo; @@ -541,8 +541,8 @@ declare namespace missionManager { * @typedef { _MissionListener } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type MissionListener = _MissionListener; @@ -552,8 +552,8 @@ declare namespace missionManager { * @typedef { _MissionSnapshot } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type MissionSnapshot = _MissionSnapshot; } diff --git a/api/@ohos.app.ability.quickFixManager.d.ts b/api/@ohos.app.ability.quickFixManager.d.ts index 77da4a0905..59603b3bbd 100644 --- a/api/@ohos.app.ability.quickFixManager.d.ts +++ b/api/@ohos.app.ability.quickFixManager.d.ts @@ -26,7 +26,7 @@ import { AsyncCallback } from './@ohos.base'; * @namespace quickFixManager * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ declare namespace quickFixManager { /** @@ -35,7 +35,7 @@ declare namespace quickFixManager { * @typedef HapModuleQuickFixInfo * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ export interface HapModuleQuickFixInfo { /** @@ -45,7 +45,7 @@ declare namespace quickFixManager { * @readonly * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ readonly moduleName: string; @@ -56,7 +56,7 @@ declare namespace quickFixManager { * @readonly * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ readonly originHapHash: string; @@ -67,7 +67,7 @@ declare namespace quickFixManager { * @readonly * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ readonly quickFixFilePath: string; } @@ -78,7 +78,7 @@ declare namespace quickFixManager { * @typedef ApplicationQuickFixInfo * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ export interface ApplicationQuickFixInfo { /** @@ -88,7 +88,7 @@ declare namespace quickFixManager { * @readonly * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ readonly bundleName: string; @@ -99,7 +99,7 @@ declare namespace quickFixManager { * @readonly * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ readonly bundleVersionCode: long; @@ -110,7 +110,7 @@ declare namespace quickFixManager { * @readonly * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ readonly bundleVersionName: string; @@ -121,7 +121,7 @@ declare namespace quickFixManager { * @readonly * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ readonly quickFixVersionCode: long; @@ -132,7 +132,7 @@ declare namespace quickFixManager { * @readonly * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ readonly quickFixVersionName: string; @@ -143,7 +143,7 @@ declare namespace quickFixManager { * @readonly * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ readonly hapModuleQuickFixInfo: Array; } @@ -163,7 +163,7 @@ declare namespace quickFixManager { * @throws { BusinessError } 18500008 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ function applyQuickFix(hapModuleQuickFixFiles: Array, callback: AsyncCallback): void; @@ -182,7 +182,7 @@ declare namespace quickFixManager { * @throws { BusinessError } 18500008 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ function applyQuickFix(hapModuleQuickFixFiles: Array): Promise; @@ -200,7 +200,7 @@ declare namespace quickFixManager { * @throws { BusinessError } 18500009 - The application has an ongoing quick fix task. * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 10 + * @since 10 dynamic */ function revokeQuickFix(bundleName: string, callback: AsyncCallback): void; @@ -218,7 +218,7 @@ declare namespace quickFixManager { * @throws { BusinessError } 18500009 - The application has an ongoing quick fix task. * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 10 + * @since 10 dynamic */ function revokeQuickFix(bundleName: string): Promise; @@ -236,7 +236,7 @@ declare namespace quickFixManager { * @throws { BusinessError } 18500008 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ function getApplicationQuickFixInfo(bundleName: string, callback: AsyncCallback): void; @@ -254,7 +254,7 @@ declare namespace quickFixManager { * @throws { BusinessError } 18500008 - Internal error. * @syscap SystemCapability.Ability.AbilityRuntime.QuickFix * @systemapi - * @since 9 + * @since 9 dynamic */ function getApplicationQuickFixInfo(bundleName: string): Promise; } diff --git a/api/@ohos.app.ability.sendableContextManager.d.ets b/api/@ohos.app.ability.sendableContextManager.d.ets index a02ec5f228..a234f6a800 100644 --- a/api/@ohos.app.ability.sendableContextManager.d.ets +++ b/api/@ohos.app.ability.sendableContextManager.d.ets @@ -28,7 +28,7 @@ import type { SendableContext as _SendableContext } from './application/Sendable * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamiconly */ declare namespace sendableContextManager { /** @@ -38,7 +38,7 @@ declare namespace sendableContextManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamiconly */ export type SendableContext = _SendableContext; @@ -53,7 +53,7 @@ declare namespace sendableContextManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamiconly */ function convertFromContext(context: common.Context): SendableContext; @@ -67,7 +67,7 @@ declare namespace sendableContextManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamiconly */ function convertToContext(sendableContext: SendableContext): common.Context; @@ -81,7 +81,7 @@ declare namespace sendableContextManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamiconly */ function convertToApplicationContext(sendableContext: SendableContext): common.ApplicationContext; @@ -95,7 +95,7 @@ declare namespace sendableContextManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamiconly */ function convertToAbilityStageContext(sendableContext: SendableContext): common.AbilityStageContext; @@ -109,7 +109,7 @@ declare namespace sendableContextManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamiconly */ function convertToUIAbilityContext(sendableContext: SendableContext): common.UIAbilityContext; @@ -123,7 +123,7 @@ declare namespace sendableContextManager { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice - * @since 20 + * @since 20 dynamiconly */ function setEventHubMultithreadingEnabled(context: common.Context, enabled: boolean): void; } diff --git a/api/@ohos.app.ability.wantAgent.d.ts b/api/@ohos.app.ability.wantAgent.d.ts index b5569a5760..0ffbfeb5ef 100644 --- a/api/@ohos.app.ability.wantAgent.d.ts +++ b/api/@ohos.app.ability.wantAgent.d.ts @@ -23,10 +23,10 @@ import Want from './@ohos.app.ability.Want'; import { WantAgentInfo as _WantAgentInfo } from './wantAgent/wantAgentInfo'; import { TriggerInfo as _TriggerInfo } from './wantAgent/triggerInfo'; import Context from './application/Context'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import { LocalWantAgentInfo as _LocalWantAgentInfo } from './wantAgent/wantAgentInfo'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { RecordData } from './@ohos.base'; /*** endif */ @@ -51,8 +51,8 @@ import { RecordData } from './@ohos.base'; * @namespace wantAgent * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace wantAgent { /** @@ -79,8 +79,8 @@ declare namespace wantAgent { * @throws { BusinessError } 16000151 - Invalid wantAgent object. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getBundleName(agent: WantAgent, callback: AsyncCallback): void; @@ -108,8 +108,8 @@ declare namespace wantAgent { * @throws { BusinessError } 16000151 - Invalid wantAgent object. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getBundleName(agent: WantAgent): Promise; @@ -137,8 +137,8 @@ declare namespace wantAgent { * @throws { BusinessError } 16000151 - Invalid wantAgent object. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getUid(agent: WantAgent, callback: AsyncCallback): void; @@ -166,8 +166,8 @@ declare namespace wantAgent { * @throws { BusinessError } 16000151 - Invalid wantAgent object. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getUid(agent: WantAgent): Promise; @@ -184,8 +184,8 @@ declare namespace wantAgent { * @throws { BusinessError } 16000151 - Invalid wantAgent object. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getWant(agent: WantAgent, callback: AsyncCallback): void; @@ -202,8 +202,8 @@ declare namespace wantAgent { * @throws { BusinessError } 16000151 - Invalid wantAgent object. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getWant(agent: WantAgent): Promise; @@ -231,8 +231,8 @@ declare namespace wantAgent { * @throws { BusinessError } 16000151 - Invalid wantAgent object. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function cancel(agent: WantAgent, callback: AsyncCallback): void; @@ -260,8 +260,8 @@ declare namespace wantAgent { * @throws { BusinessError } 16000151 - Invalid wantAgent object. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function cancel(agent: WantAgent): Promise; @@ -287,8 +287,8 @@ declare namespace wantAgent { * 2. Incorrect parameter types. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: AsyncCallback): void; @@ -309,8 +309,7 @@ declare namespace wantAgent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function triggerAsync(agent: WantAgent, triggerInfo: TriggerInfo, context: Context): Promise; @@ -338,8 +337,8 @@ declare namespace wantAgent { * 2. Incorrect parameter types. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function equal(agent: WantAgent, otherAgent: WantAgent, callback: AsyncCallback): void; @@ -367,8 +366,8 @@ declare namespace wantAgent { * 2. Incorrect parameter types. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function equal(agent: WantAgent, otherAgent: WantAgent): Promise; @@ -401,8 +400,8 @@ declare namespace wantAgent { * @throws { BusinessError } 16000151 - Invalid wantAgent object. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getWantAgent(info: WantAgentInfo, callback: AsyncCallback): void; @@ -435,8 +434,8 @@ declare namespace wantAgent { * @throws { BusinessError } 16000151 - Invalid wantAgent object. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getWantAgent(info: WantAgentInfo): Promise; @@ -466,8 +465,8 @@ declare namespace wantAgent { * @throws { BusinessError } 16000151 - Invalid wantAgent object. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getOperationType(agent: WantAgent, callback: AsyncCallback): void; @@ -497,8 +496,8 @@ declare namespace wantAgent { * @throws { BusinessError } 16000151 - Invalid wantAgent object. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getOperationType(agent: WantAgent): Promise; @@ -513,7 +512,7 @@ declare namespace wantAgent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 18 + * @since 18 dynamic */ function setWantAgentMultithreading(isMultithreadingSupported: boolean) : void; @@ -530,7 +529,7 @@ declare namespace wantAgent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 + * @since 20 dynamic */ function createLocalWantAgent(info: LocalWantAgentInfo): WantAgent; @@ -543,8 +542,7 @@ declare namespace wantAgent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function isLocalWantAgent(agent: WantAgent): boolean; @@ -561,8 +559,8 @@ declare namespace wantAgent { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum WantAgentFlags { /** @@ -577,8 +575,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ONE_TIME_FLAG = 0, @@ -594,8 +592,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NO_BUILD_FLAG, @@ -611,8 +609,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CANCEL_PRESENT_FLAG, @@ -628,8 +626,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UPDATE_PRESENT_FLAG, @@ -644,8 +642,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONSTANT_FLAG, @@ -665,8 +663,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REPLACE_ELEMENT, @@ -686,8 +684,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REPLACE_ACTION, @@ -707,8 +705,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REPLACE_URI, @@ -728,8 +726,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REPLACE_ENTITIES, @@ -749,8 +747,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REPLACE_BUNDLE } @@ -768,8 +766,8 @@ declare namespace wantAgent { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum OperationType { /** @@ -783,8 +781,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UNKNOWN_TYPE = 0, @@ -799,8 +797,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ START_ABILITY, @@ -815,8 +813,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ START_ABILITIES, @@ -831,8 +829,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ START_SERVICE, @@ -847,8 +845,8 @@ declare namespace wantAgent { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SEND_COMMON_EVENT, @@ -858,8 +856,8 @@ declare namespace wantAgent { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ START_SERVICE_EXTENSION = 6 } @@ -877,8 +875,8 @@ declare namespace wantAgent { * @typedef CompleteData * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface CompleteData { /** @@ -894,8 +892,8 @@ declare namespace wantAgent { * @type { WantAgent } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ info: WantAgent; @@ -912,8 +910,8 @@ declare namespace wantAgent { * @type { Want } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ want: Want; @@ -930,8 +928,8 @@ declare namespace wantAgent { * @type { int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ finalCode: int; @@ -948,8 +946,8 @@ declare namespace wantAgent { * @type { string } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ finalData: string; @@ -973,7 +971,7 @@ declare namespace wantAgent { * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ extraInfo?: Record; @@ -982,8 +980,7 @@ declare namespace wantAgent { * * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ extraInfo?: Record; } @@ -1001,8 +998,8 @@ declare namespace wantAgent { * @typedef { _TriggerInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type TriggerInfo = _TriggerInfo; @@ -1019,8 +1016,8 @@ declare namespace wantAgent { * @typedef { _WantAgentInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type WantAgentInfo = _WantAgentInfo; @@ -1030,7 +1027,7 @@ declare namespace wantAgent { * @typedef { _LocalWantAgentInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 20 + * @since 20 dynamic */ export type LocalWantAgentInfo = _LocalWantAgentInfo; @@ -1041,8 +1038,8 @@ declare namespace wantAgent { * * @typedef { object } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type WantAgent = object; diff --git a/api/@ohos.app.ability.wantConstant.d.ts b/api/@ohos.app.ability.wantConstant.d.ts index 4bc0604452..3d9868b652 100644 --- a/api/@ohos.app.ability.wantConstant.d.ts +++ b/api/@ohos.app.ability.wantConstant.d.ts @@ -31,8 +31,8 @@ * @namespace wantConstant * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace wantConstant { /** @@ -48,8 +48,8 @@ declare namespace wantConstant { * @enum { string } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum Params { /** @@ -57,8 +57,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ DLP_PARAMS_SANDBOX = 'ohos.dlp.params.sandbox', @@ -67,8 +67,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ DLP_PARAMS_BUNDLE_NAME = 'ohos.dlp.params.bundleName', @@ -77,8 +77,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ DLP_PARAMS_MODULE_NAME = 'ohos.dlp.params.moduleName', @@ -87,8 +87,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ DLP_PARAMS_ABILITY_NAME = 'ohos.dlp.params.abilityName', @@ -97,8 +97,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ DLP_PARAMS_INDEX = 'ohos.dlp.params.index', @@ -107,8 +107,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ HIDE_SENSITIVE_TYPE = 'ohos.media.params.hideSensitiveType', @@ -125,8 +125,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ABILITY_BACK_TO_OTHER_MISSION_STACK = 'ability.params.backToOtherMissionStack', @@ -141,8 +141,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ABILITY_RECOVERY_RESTART = 'ohos.ability.params.abilityRecoveryRestart', @@ -157,8 +157,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CONTENT_TITLE_KEY = 'ohos.extra.param.key.contentTitle', @@ -173,8 +173,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SHARE_ABSTRACT_KEY = 'ohos.extra.param.key.shareAbstract', @@ -189,8 +189,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SHARE_URL_KEY = 'ohos.extra.param.key.shareUrl', @@ -209,8 +209,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SUPPORT_CONTINUE_PAGE_STACK_KEY = 'ohos.extra.param.key.supportContinuePageStack', @@ -229,8 +229,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SUPPORT_CONTINUE_SOURCE_EXIT_KEY = 'ohos.extra.param.key.supportContinueSourceExit', @@ -240,8 +240,8 @@ declare namespace wantConstant { * @syscap SystemCapability.Ability.AbilityBase * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ASSERT_FAULT_SESSION_ID = 'ohos.ability.params.asssertFaultSessionId', @@ -250,8 +250,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SHOW_MODE_KEY = 'ohos.extra.param.key.showMode', @@ -260,8 +260,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PARAMS_STREAM = 'ability.params.stream', @@ -270,8 +270,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ APP_CLONE_INDEX_KEY = 'ohos.extra.param.key.appCloneIndex', @@ -280,8 +280,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CALLER_REQUEST_CODE = 'ohos.extra.param.key.callerRequestCode', @@ -290,8 +290,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PAGE_PATH = 'ohos.param.atomicservice.pagePath', @@ -300,8 +300,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ROUTER_NAME = 'ohos.param.atomicservice.routerName', @@ -310,8 +310,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PAGE_SOURCE_FILE = 'ohos.param.atomicservice.pageSourceFile', @@ -320,8 +320,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BUILD_FUNCTION = 'ohos.param.atomicservice.buildFunction', @@ -330,8 +330,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SUB_PACKAGE_NAME = 'ohos.param.atomicservice.subpackageName', @@ -339,8 +339,8 @@ declare namespace wantConstant { * Indicates the param of app instance key. * * @syscap SystemCapability.Ability.AbilityBase - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ APP_INSTANCE_KEY = 'ohos.extra.param.key.appInstance', @@ -348,8 +348,8 @@ declare namespace wantConstant { * Indicates the param of creating a new instance. * * @syscap SystemCapability.Ability.AbilityBase - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CREATE_APP_INSTANCE_KEY = 'ohos.extra.param.key.createAppInstance', @@ -357,8 +357,8 @@ declare namespace wantConstant { * Indicates the app clone index of caller. * * @syscap SystemCapability.Ability.AbilityBase - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CALLER_APP_CLONE_INDEX = 'ohos.param.callerAppCloneIndex', @@ -369,8 +369,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ LAUNCH_REASON_MESSAGE = 'ohos.params.launchReasonMessage', @@ -378,8 +378,8 @@ declare namespace wantConstant { * Indicates the dest ability refers to a plugin ability. * * @syscap SystemCapability.Ability.AbilityBase - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ DESTINATION_PLUGIN_ABILITY = 'ohos.params.pluginAbility', @@ -388,8 +388,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'17', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ APP_LAUNCH_TRUSTLIST = 'ohos.params.appLaunchTrustList', @@ -398,7 +398,7 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since 20 + * @since 20 dynamic */ ABILITY_UNIFIED_DATA_KEY = 'ohos.param.ability.udKey', @@ -407,8 +407,7 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ ATOMIC_SERVICE_SHARE_ROUTER = 'ohos.params.atomicservice.shareRouter', } @@ -426,8 +425,8 @@ declare namespace wantConstant { * @enum { number } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum Flags { /** @@ -441,8 +440,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FLAG_AUTH_READ_URI_PERMISSION = 0x00000001, @@ -457,16 +456,16 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FLAG_AUTH_WRITE_URI_PERMISSION = 0x00000002, /** * Indicates that the URI can be persisted by the callee. * @syscap SystemCapability.Ability.AbilityBase - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FLAG_AUTH_PERSISTABLE_URI_PERMISSION = 0x00000040, @@ -481,8 +480,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FLAG_INSTALL_ON_DEMAND = 0x00000800, @@ -490,8 +489,8 @@ declare namespace wantConstant { * Collaborative target applications in the distributed scheduling system can be pulled up. * * @syscap SystemCapability.Ability.AbilityBase - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ FLAG_ABILITY_ON_COLLABORATE = 0x00002000, @@ -499,8 +498,8 @@ declare namespace wantConstant { * Indicates that if implicit start ability couldn't match any application, no tip dialog will be pulled up. * * @syscap SystemCapability.Ability.AbilityBase - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FLAG_START_WITHOUT_TIPS = 0x40000000 } @@ -511,8 +510,8 @@ declare namespace wantConstant { * @enum { number } * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum ShowMode { /** @@ -520,8 +519,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WINDOW = 0, @@ -530,8 +529,8 @@ declare namespace wantConstant { * * @syscap SystemCapability.Ability.AbilityBase * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EMBEDDED_FULL = 1 } diff --git a/api/@ohos.app.appstartup.StartupConfig.d.ts b/api/@ohos.app.appstartup.StartupConfig.d.ts index 41bef11f66..3f5b705853 100644 --- a/api/@ohos.app.appstartup.StartupConfig.d.ts +++ b/api/@ohos.app.appstartup.StartupConfig.d.ts @@ -26,7 +26,7 @@ import StartupListener from './@ohos.app.appstartup.StartupListener'; * @interface StartupConfig * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export default interface StartupConfig { /** @@ -36,7 +36,7 @@ export default interface StartupConfig { * @default 10000 * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ timeoutMs?: int; @@ -46,7 +46,7 @@ export default interface StartupConfig { * @type { ?StartupListener } * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ startupListener?: StartupListener; } diff --git a/api/@ohos.app.appstartup.StartupConfigEntry.d.ts b/api/@ohos.app.appstartup.StartupConfigEntry.d.ts index 4dddbdd888..ad42460272 100644 --- a/api/@ohos.app.appstartup.StartupConfigEntry.d.ts +++ b/api/@ohos.app.appstartup.StartupConfigEntry.d.ts @@ -26,7 +26,7 @@ import Want from './@ohos.app.ability.Want'; * * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export default class StartupConfigEntry { /** @@ -35,7 +35,7 @@ export default class StartupConfigEntry { * @returns { StartupConfig } The developer returns a startup configuration. * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ onConfig?(): StartupConfig; @@ -49,7 +49,7 @@ export default class StartupConfigEntry { * @returns { string } Custom match rule * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 20 + * @since 20 dynamic */ onRequestCustomMatchRule(want: Want): string; } diff --git a/api/@ohos.app.appstartup.StartupListener.d.ts b/api/@ohos.app.appstartup.StartupListener.d.ts index 54213319f1..977e7c0bde 100644 --- a/api/@ohos.app.appstartup.StartupListener.d.ts +++ b/api/@ohos.app.appstartup.StartupListener.d.ts @@ -25,7 +25,7 @@ import { BusinessError } from './@ohos.base'; * * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export default class StartupListener { /** @@ -34,7 +34,7 @@ export default class StartupListener { * @param { BusinessError } error - Indicates the error during execution. * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ onCompleted?(error: BusinessError): void; } diff --git a/api/@ohos.app.appstartup.StartupTask.d.ets b/api/@ohos.app.appstartup.StartupTask.d.ets index 256f5d57cd..16cbfaacbc 100755 --- a/api/@ohos.app.appstartup.StartupTask.d.ets +++ b/api/@ohos.app.appstartup.StartupTask.d.ets @@ -25,7 +25,7 @@ import AbilityStageContext from './application/AbilityStageContext'; * * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ @Sendable export default class StartupTask { @@ -36,7 +36,7 @@ export default class StartupTask { * @param { Object } result - Indicates result of specific dependent startup task. * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ onDependencyCompleted?(dependency: string, result: Object): void; @@ -48,7 +48,7 @@ export default class StartupTask { * @returns { Promise } The result of initialization. * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ init(context: AbilityStageContext): Promise; } diff --git a/api/@ohos.app.appstartup.startupManager.d.ts b/api/@ohos.app.appstartup.startupManager.d.ts index b9c1cb72b6..f2dc797000 100644 --- a/api/@ohos.app.appstartup.startupManager.d.ts +++ b/api/@ohos.app.appstartup.startupManager.d.ts @@ -27,7 +27,7 @@ import common from './@ohos.app.ability.common'; * @namespace startupManager * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ declare namespace startupManager { /** @@ -46,7 +46,7 @@ declare namespace startupManager { * * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ function run(startupTasks: Array, config?: StartupConfig): Promise; @@ -64,7 +64,7 @@ declare namespace startupManager { * @throws { BusinessError } 28800004 - Running startup tasks timeout. * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 20 + * @since 20 dynamic */ function run(startupTasks: Array, context: common.AbilityStageContext, config: StartupConfig): Promise; @@ -73,7 +73,7 @@ declare namespace startupManager { * * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ function removeAllStartupTaskResults(): void; @@ -86,7 +86,7 @@ declare namespace startupManager { * 2. Incorrect parameter types. * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ function getStartupTaskResult(startupTask: string): Object; @@ -99,7 +99,7 @@ declare namespace startupManager { * 2. Incorrect parameter types. * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ function isStartupTaskInitialized(startupTask: string): boolean; @@ -111,7 +111,7 @@ declare namespace startupManager { * 2. Incorrect parameter types. * @syscap SystemCapability.Ability.AppStartup * @stagemodelonly - * @since 12 + * @since 12 dynamic */ function removeStartupTaskResult(startupTask: string): void; } diff --git a/api/@ohos.app.businessAbilityRouter.d.ts b/api/@ohos.app.businessAbilityRouter.d.ts index 64efe38a8e..9196714b6f 100644 --- a/api/@ohos.app.businessAbilityRouter.d.ts +++ b/api/@ohos.app.businessAbilityRouter.d.ts @@ -19,10 +19,10 @@ */ import type { AsyncCallback } from './@ohos.base'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type * as _BusinessAbilityInfo from './application/BusinessAbilityInfo'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { BusinessAbilityInfo as _BusinessAbilityInfo } from './application/BusinessAbilityInfo'; /*** endif */ @@ -32,8 +32,8 @@ import { BusinessAbilityInfo as _BusinessAbilityInfo } from './application/Busin * @namespace businessAbilityRouter * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare namespace businessAbilityRouter { /** @@ -42,8 +42,8 @@ declare namespace businessAbilityRouter { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export enum BusinessType { /** @@ -51,8 +51,8 @@ declare namespace businessAbilityRouter { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SHARE = 0, @@ -61,8 +61,8 @@ declare namespace businessAbilityRouter { * * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ UNSPECIFIED = 255 } @@ -73,8 +73,8 @@ declare namespace businessAbilityRouter { * @typedef BusinessAbilityFilter * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface BusinessAbilityFilter { /** @@ -83,8 +83,8 @@ declare namespace businessAbilityRouter { * @type { BusinessType } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ businessType: BusinessType; @@ -94,8 +94,8 @@ declare namespace businessAbilityRouter { * @type { ?string } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ mimeType?: string; @@ -105,8 +105,8 @@ declare namespace businessAbilityRouter { * @type { ?string } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ uri?: string; } @@ -125,8 +125,8 @@ declare namespace businessAbilityRouter { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function queryBusinessAbilityInfo( filter: BusinessAbilityFilter, @@ -146,8 +146,8 @@ declare namespace businessAbilityRouter { * 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function queryBusinessAbilityInfo(filter: BusinessAbilityFilter): Promise>; @@ -157,7 +157,7 @@ declare namespace businessAbilityRouter { * @typedef { _BusinessAbilityInfo.BusinessAbilityInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 10 + * @since 10 dynamic */ export type BusinessAbilityInfo = _BusinessAbilityInfo.BusinessAbilityInfo; @@ -167,8 +167,7 @@ declare namespace businessAbilityRouter { * @typedef { _BusinessAbilityInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type BusinessAbilityInfo = _BusinessAbilityInfo; } diff --git a/api/@ohos.app.form.FormExtensionAbility.d.ts b/api/@ohos.app.form.FormExtensionAbility.d.ts index 0d5f8f4216..8499d10d6d 100644 --- a/api/@ohos.app.form.FormExtensionAbility.d.ts +++ b/api/@ohos.app.form.FormExtensionAbility.d.ts @@ -37,8 +37,7 @@ import { Configuration } from './@ohos.app.ability.Configuration'; * @syscap SystemCapability.Ability.Form * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ type OnAcquireFormStateFn = (want: Want) => formInfo.FormState; @@ -51,8 +50,7 @@ type OnAcquireFormStateFn = (want: Want) => formInfo.FormState; * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ type OnShareFormFn = (formId: string) => Record; @@ -65,8 +63,7 @@ type OnShareFormFn = (formId: string) => Record; * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ type OnAcquireFormDataFn = (formId: string) => Record; @@ -77,8 +74,7 @@ type OnAcquireFormDataFn = (formId: string) => Record; * @syscap SystemCapability.Ability.Form * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ type OnStopFn = () => void; @@ -95,8 +91,8 @@ type OnStopFn = () => void; * @syscap SystemCapability.Ability.Form * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare class FormExtensionAbility { /** @@ -114,8 +110,8 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ context: FormExtensionContext; @@ -142,8 +138,8 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onAddForm(want: Want): formBindingData.FormBindingData; @@ -162,8 +158,8 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onCastToNormalForm(formId: string): void; @@ -192,8 +188,8 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onUpdateForm(formId: string, wantParams?: Record): void; @@ -226,8 +222,8 @@ declare class FormExtensionAbility { * becomes invisible. * @syscap SystemCapability.Ability.Form * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onChangeFormVisibility(newStatus: Record): void; @@ -254,8 +250,8 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onFormEvent(formId: string, message: string): void; @@ -276,8 +272,8 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onRemoveForm(formId: string): void; @@ -296,8 +292,8 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @stagemodelonly * @atomicservice - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onConfigurationUpdate(newConfig: Configuration): void; @@ -326,7 +322,7 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @stagemodelonly * @atomicservice - * @since 11 + * @since 11 dynamic */ onAcquireFormState?(want: Want): formInfo.FormState; @@ -339,8 +335,7 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ onAcquireFormState?: OnAcquireFormStateFn; @@ -362,7 +357,7 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since 11 + * @since 11 dynamic */ onShareForm?(formId: string): Record; @@ -373,8 +368,7 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ onShareForm?: OnShareFormFn; @@ -396,7 +390,7 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since 11 + * @since 11 dynamic */ onAcquireFormData?(formId: string): Record; @@ -407,8 +401,7 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ onAcquireFormData?: OnAcquireFormDataFn; @@ -418,7 +411,7 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @stagemodelonly * @atomicservice - * @since 12 + * @since 12 dynamic */ onStop?(): void; @@ -429,8 +422,7 @@ declare class FormExtensionAbility { * @syscap SystemCapability.Ability.Form * @stagemodelonly * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ onStop?: OnStopFn; @@ -442,8 +434,7 @@ declare class FormExtensionAbility { * * @syscap SystemCapability.Ability.Form * @stagemodelonly - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ onFormLocationChanged(formId: string, newFormLocation: formInfo.FormLocation): void; } diff --git a/api/@ohos.app.form.formBindingData.d.ts b/api/@ohos.app.form.formBindingData.d.ts index 356ef5858a..fea121e218 100644 --- a/api/@ohos.app.form.formBindingData.d.ts +++ b/api/@ohos.app.form.formBindingData.d.ts @@ -16,7 +16,6 @@ /** * @file * @kit FormKit - * @arkts 1.1&1.2 */ /** @@ -32,8 +31,8 @@ * @namespace formBindingData * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace formBindingData { /** @@ -55,8 +54,8 @@ declare namespace formBindingData { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function createFormBindingData(obj?: Object | string): FormBindingData; @@ -73,8 +72,8 @@ declare namespace formBindingData { * @typedef FormBindingData * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface FormBindingData { /** @@ -90,8 +89,8 @@ declare namespace formBindingData { * @type { Object } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ data: Object; @@ -110,8 +109,8 @@ declare namespace formBindingData { * @syscap SystemCapability.Ability.Form * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ proxies?: Array; } @@ -131,8 +130,8 @@ declare namespace formBindingData { * @syscap SystemCapability.Ability.Form * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface ProxyData { /** @@ -150,8 +149,8 @@ declare namespace formBindingData { * @syscap SystemCapability.Ability.Form * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ key: string; @@ -170,8 +169,8 @@ declare namespace formBindingData { * @syscap SystemCapability.Ability.Form * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ subscriberId?: string; } diff --git a/api/@ohos.app.form.formInfo.d.ts b/api/@ohos.app.form.formInfo.d.ts index a1d033a4df..dab2daaa94 100644 --- a/api/@ohos.app.form.formInfo.d.ts +++ b/api/@ohos.app.form.formInfo.d.ts @@ -33,8 +33,8 @@ import Want from './@ohos.app.ability.Want'; * @namespace formInfo * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace formInfo { /** @@ -50,8 +50,8 @@ declare namespace formInfo { * @typedef FormInfo * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface FormInfo { /** @@ -67,8 +67,8 @@ declare namespace formInfo { * @type { string } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ bundleName: string; @@ -85,8 +85,8 @@ declare namespace formInfo { * @type { string } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ moduleName: string; @@ -103,8 +103,8 @@ declare namespace formInfo { * @type { string } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ abilityName: string; @@ -121,8 +121,8 @@ declare namespace formInfo { * @type { string } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ name: string; @@ -132,8 +132,8 @@ declare namespace formInfo { * @type { string } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ displayName: string; @@ -143,8 +143,8 @@ declare namespace formInfo { * @type { int } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ displayNameId: int; @@ -161,8 +161,8 @@ declare namespace formInfo { * @type { string } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ description: string; @@ -179,8 +179,8 @@ declare namespace formInfo { * @type { int } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ descriptionId: int; @@ -197,8 +197,8 @@ declare namespace formInfo { * @type { FormType } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type: FormType; @@ -215,8 +215,8 @@ declare namespace formInfo { * @type { string } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ jsComponentName: string; @@ -233,7 +233,7 @@ declare namespace formInfo { * @type { ColorMode } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 20 */ colorMode: ColorMode; @@ -251,8 +251,8 @@ declare namespace formInfo { * @type { boolean } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isDefault: boolean; @@ -269,8 +269,8 @@ declare namespace formInfo { * @type { boolean } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ updateEnabled: boolean; @@ -287,8 +287,8 @@ declare namespace formInfo { * @type { boolean } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ formVisibleNotify: boolean; @@ -305,8 +305,8 @@ declare namespace formInfo { * @type { string } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ scheduledUpdateTime: string; @@ -323,8 +323,8 @@ declare namespace formInfo { * @type { string } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ formConfigAbility: string; @@ -341,8 +341,8 @@ declare namespace formInfo { * @type { int } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ updateDuration: int; @@ -359,8 +359,8 @@ declare namespace formInfo { * @type { int } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ defaultDimension: int; @@ -377,8 +377,8 @@ declare namespace formInfo { * @type { Array } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ supportDimensions: Array; @@ -395,8 +395,8 @@ declare namespace formInfo { * @type { Record } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ customizeData: Record; @@ -413,8 +413,8 @@ declare namespace formInfo { * @type { boolean } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isDynamic: boolean; @@ -425,8 +425,8 @@ declare namespace formInfo { * @default false * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ transparencyEnabled: boolean; @@ -436,8 +436,8 @@ declare namespace formInfo { * @type { Array } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ supportedShapes: Array; @@ -449,8 +449,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ readonly previewImages?: Array; @@ -461,8 +461,8 @@ declare namespace formInfo { * @readonly * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ readonly enableBlurBackground?: boolean; @@ -473,8 +473,8 @@ declare namespace formInfo { * @readonly * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ readonly renderingMode?: RenderingMode; } @@ -485,8 +485,8 @@ declare namespace formInfo { * @enum { int } * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enum RenderingMode { /** @@ -494,8 +494,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ AUTO_COLOR = 0, /** @@ -503,8 +503,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ FULL_COLOR = 1, /** @@ -512,8 +512,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SINGLE_COLOR = 2 } @@ -531,8 +531,8 @@ declare namespace formInfo { * @enum { int } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum FormType { /** @@ -546,8 +546,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ JS = 1, @@ -562,8 +562,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ eTS = 2 } @@ -581,7 +581,7 @@ declare namespace formInfo { * @enum { int } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 20 */ enum ColorMode { @@ -596,7 +596,7 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 20 */ MODE_AUTO = -1, @@ -612,7 +612,7 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 20 */ MODE_DARK = 0, @@ -628,7 +628,7 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 20 */ MODE_LIGHT = 1 @@ -647,8 +647,8 @@ declare namespace formInfo { * @typedef FormStateInfo * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface FormStateInfo { /** @@ -664,8 +664,8 @@ declare namespace formInfo { * @type { FormState } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ formState: FormState; @@ -682,8 +682,8 @@ declare namespace formInfo { * @type { Want } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ want: Want; } @@ -701,8 +701,8 @@ declare namespace formInfo { * @enum { int } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum FormState { /** @@ -716,8 +716,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNKNOWN = -1, @@ -732,8 +732,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DEFAULT = 0, @@ -748,8 +748,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ READY = 1 } @@ -767,8 +767,8 @@ declare namespace formInfo { * @enum { string } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum FormParam { /** @@ -792,8 +792,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ IDENTITY_KEY = "ohos.extra.param.key.form_identity", @@ -818,8 +818,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DIMENSION_KEY = "ohos.extra.param.key.form_dimension", @@ -844,8 +844,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NAME_KEY = "ohos.extra.param.key.form_name", @@ -874,8 +874,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MODULE_NAME_KEY = "ohos.extra.param.key.module_name", @@ -900,8 +900,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ WIDTH_KEY = "ohos.extra.param.key.form_width", @@ -926,8 +926,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ HEIGHT_KEY = "ohos.extra.param.key.form_height", @@ -952,8 +952,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ TEMPORARY_KEY = "ohos.extra.param.key.form_temporary", @@ -978,8 +978,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BUNDLE_NAME_KEY = "ohos.extra.param.key.bundle_name", @@ -1004,8 +1004,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ABILITY_NAME_KEY = "ohos.extra.param.key.ability_name", @@ -1019,8 +1019,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ THEME_KEY = 'ohos.extra.param.key.form_is_theme', @@ -1034,8 +1034,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ DEVICE_ID_KEY = "ohos.extra.param.key.device_id", @@ -1060,8 +1060,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ LAUNCH_REASON_KEY = "ohos.extra.param.key.form_launch_reason", @@ -1090,8 +1090,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PARAM_FORM_CUSTOMIZE_KEY = "ohos.extra.param.key.form_customize", @@ -1104,8 +1104,8 @@ declare namespace formInfo { * }. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FORM_LOCATION_KEY = 'ohos.extra.param.key.form_location', @@ -1130,8 +1130,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FORM_RENDERING_MODE_KEY = 'ohos.extra.param.key.form_rendering_mode', @@ -1145,8 +1145,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HOST_BG_INVERSE_COLOR_KEY = 'ohos.extra.param.key.host_bg_inverse_color', @@ -1160,8 +1160,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FORM_PERMISSION_NAME_KEY = 'ohos.extra.param.key.permission_name', @@ -1175,8 +1175,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FORM_PERMISSION_GRANTED_KEY = 'ohos.extra.param.key.permission_granted', } @@ -1196,8 +1196,8 @@ declare namespace formInfo { * @typedef FormInfoFilter * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface FormInfoFilter { /** @@ -1207,8 +1207,8 @@ declare namespace formInfo { * @type { ?string } * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ bundleName?: string; @@ -1227,8 +1227,8 @@ declare namespace formInfo { * @type { ?string } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ moduleName?: string; @@ -1239,8 +1239,8 @@ declare namespace formInfo { * @type { ?Array } * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ supportedDimensions?: Array; @@ -1251,8 +1251,8 @@ declare namespace formInfo { * @type { ?Array } * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ supportedShapes?: Array; } @@ -1270,8 +1270,8 @@ declare namespace formInfo { * @enum { int } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum FormDimension { /** @@ -1285,8 +1285,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Dimension_1_2 = 1, @@ -1301,8 +1301,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Dimension_2_2 = 2, @@ -1317,8 +1317,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Dimension_2_4 = 3, @@ -1333,8 +1333,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ Dimension_4_4 = 4, @@ -1349,7 +1349,7 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 20 */ Dimension_2_1 = 5, @@ -1359,8 +1359,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DIMENSION_1_1 = 6, @@ -1369,8 +1369,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DIMENSION_6_4 = 7, @@ -1379,8 +1379,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ DIMENSION_2_3 = 8, @@ -1389,8 +1389,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ DIMENSION_3_3 = 9 } @@ -1401,8 +1401,8 @@ declare namespace formInfo { * @enum { int } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum FormShape { /** @@ -1410,8 +1410,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RECT = 1, @@ -1420,8 +1420,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CIRCLE = 2 } @@ -1439,8 +1439,8 @@ declare namespace formInfo { * @enum { int } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum VisibilityType { /** @@ -1458,8 +1458,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNKNOWN = 0, /** @@ -1477,8 +1477,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FORM_VISIBLE = 1, /** @@ -1496,8 +1496,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FORM_INVISIBLE = 2 } @@ -1515,8 +1515,8 @@ declare namespace formInfo { * @enum { int } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum LaunchReason { /** @@ -1530,8 +1530,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FORM_DEFAULT = 1, /** @@ -1545,8 +1545,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FORM_SHARE = 2 } @@ -1558,8 +1558,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface PublishFormResult { /** @@ -1569,8 +1569,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ code: PublishFormErrorCode; @@ -1581,8 +1581,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ message: string; } @@ -1594,8 +1594,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum PublishFormErrorCode { /** @@ -1604,8 +1604,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SUCCESS = 0, @@ -1615,8 +1615,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NO_SPACE = 1, @@ -1626,8 +1626,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PARAM_ERROR = 2, @@ -1637,8 +1637,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTERNAL_ERROR = 3 } @@ -1650,8 +1650,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface FormProviderFilter { /** @@ -1661,8 +1661,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ bundleName: string; @@ -1673,8 +1673,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ formName ?: string; @@ -1685,8 +1685,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ moduleName ?: string; @@ -1697,8 +1697,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ abilityName ?: string; @@ -1710,8 +1710,8 @@ declare namespace formInfo { * @syscap SystemCapability.Ability.Form * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isUnusedIncluded?: boolean; } @@ -1722,8 +1722,8 @@ declare namespace formInfo { * @typedef RunningFormInfo * @syscap SystemCapability.Ability.Form * @systemapi hide this for inner system use - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface RunningFormInfo { /** @@ -1734,8 +1734,8 @@ declare namespace formInfo { * @default - * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ readonly formId: string; @@ -1747,8 +1747,8 @@ declare namespace formInfo { * @default - * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ readonly bundleName: string; @@ -1760,8 +1760,8 @@ declare namespace formInfo { * @default - * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ readonly hostBundleName: string; @@ -1773,8 +1773,8 @@ declare namespace formInfo { * @default - * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly formLocation: FormLocation; @@ -1786,8 +1786,8 @@ declare namespace formInfo { * @default - * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ readonly visibilityType: VisibilityType; @@ -1799,8 +1799,8 @@ declare namespace formInfo { * @default - * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ readonly moduleName: string; @@ -1812,8 +1812,8 @@ declare namespace formInfo { * @default - * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ readonly abilityName: string; @@ -1825,8 +1825,8 @@ declare namespace formInfo { * @default - * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ readonly formName: string; @@ -1838,8 +1838,8 @@ declare namespace formInfo { * @readonly * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ readonly dimension: int; @@ -1851,8 +1851,8 @@ declare namespace formInfo { * @readonly * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readonly formUsageState: FormUsageState; @@ -1863,8 +1863,8 @@ declare namespace formInfo { * @readonly * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readonly formDescription: string; @@ -1876,8 +1876,8 @@ declare namespace formInfo { * @readonly * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly extraData?: Record; } @@ -1888,8 +1888,8 @@ declare namespace formInfo { * @enum { int } * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum FormUsageState { /** @@ -1897,8 +1897,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ USED = 0, /** @@ -1906,8 +1906,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNUSED = 1 } @@ -1925,8 +1925,7 @@ declare namespace formInfo { * * @enum { int } * @syscap SystemCapability.Ability.Form - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum FormLocation { /** @@ -1934,8 +1933,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OTHER = -1, @@ -1950,8 +1949,7 @@ declare namespace formInfo { * Form is on the desktop * * @syscap SystemCapability.Ability.Form - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DESKTOP = 0, @@ -1966,8 +1964,7 @@ declare namespace formInfo { * Form is on the form center. * * @syscap SystemCapability.Ability.Form - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FORM_CENTER = 1, @@ -1982,8 +1979,7 @@ declare namespace formInfo { * Form is on the form manager. * * @syscap SystemCapability.Ability.Form - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FORM_MANAGER = 2, @@ -1998,8 +1994,7 @@ declare namespace formInfo { * Form is on the negative screen. * * @syscap SystemCapability.Ability.Form - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ NEGATIVE_SCREEN = 3, @@ -2008,8 +2003,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FORM_CENTER_NEGATIVE_SCREEN = 4, @@ -2018,8 +2013,8 @@ declare namespace formInfo { * * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FORM_MANAGER_NEGATIVE_SCREEN = 5, @@ -2034,8 +2029,7 @@ declare namespace formInfo { * Form is on the screen lock. * * @syscap SystemCapability.Ability.Form - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ SCREEN_LOCK = 6, @@ -2050,8 +2044,7 @@ declare namespace formInfo { * Form is on the ai suggestion. * * @syscap SystemCapability.Ability.Form - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ AI_SUGGESTION = 7, } @@ -2062,7 +2055,7 @@ declare namespace formInfo { * @typedef { OverflowInfo } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 20 + * @since 20 dynamic */ interface OverflowInfo { /** @@ -2071,7 +2064,7 @@ declare namespace formInfo { * @type { Rect } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 20 + * @since 20 dynamic */ area: Rect; @@ -2081,7 +2074,7 @@ declare namespace formInfo { * @type { number } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 20 + * @since 20 dynamic */ duration: number; @@ -2091,7 +2084,7 @@ declare namespace formInfo { * @type { ?boolean } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 20 + * @since 20 dynamic */ useDefaultAnimation?: boolean; } @@ -2102,7 +2095,7 @@ declare namespace formInfo { * @typedef { OverflowRequest } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ interface OverflowRequest { /** @@ -2111,7 +2104,7 @@ declare namespace formInfo { * @type { string } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ formId: string; @@ -2121,7 +2114,7 @@ declare namespace formInfo { * @type { boolean } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ isOverflow: boolean; @@ -2131,7 +2124,7 @@ declare namespace formInfo { * @type { ?OverflowInfo } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ overflowInfo?: OverflowInfo; } @@ -2142,7 +2135,7 @@ declare namespace formInfo { * @typedef { ChangeSceneAnimationStateRequest } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ interface ChangeSceneAnimationStateRequest { /** @@ -2151,7 +2144,7 @@ declare namespace formInfo { * @type { string } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ formId: string; @@ -2161,7 +2154,7 @@ declare namespace formInfo { * @type { number } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ state: number; } @@ -2172,7 +2165,7 @@ declare namespace formInfo { * @typedef { Rect } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 20 + * @since 20 dynamic */ interface Rect { /** @@ -2181,7 +2174,7 @@ declare namespace formInfo { * @type { number } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 20 + * @since 20 dynamic */ left: number; @@ -2191,7 +2184,7 @@ declare namespace formInfo { * @type { number } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 20 + * @since 20 dynamic */ top: number; @@ -2201,7 +2194,7 @@ declare namespace formInfo { * @type { number } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 20 + * @since 20 dynamic */ width: number; @@ -2211,7 +2204,7 @@ declare namespace formInfo { * @type { number } * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 20 + * @since 20 dynamic */ height: number; } @@ -2222,7 +2215,7 @@ declare namespace formInfo { * @typedef { FunInteractionParams } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ interface FunInteractionParams { /** @@ -2231,7 +2224,7 @@ declare namespace formInfo { * @type { ?string } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ abilityName?: string; @@ -2241,7 +2234,7 @@ declare namespace formInfo { * @type { string } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ targetBundleName: string; @@ -2251,7 +2244,7 @@ declare namespace formInfo { * @type { string } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ subBundleName: string; @@ -2261,7 +2254,7 @@ declare namespace formInfo { * @type { ?number } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ keepStateDuration? :number; } @@ -2272,7 +2265,7 @@ declare namespace formInfo { * @typedef { SceneAnimationParams } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ interface SceneAnimationParams { /** @@ -2281,7 +2274,7 @@ declare namespace formInfo { * @type { string } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ abilityName: string; @@ -2291,7 +2284,7 @@ declare namespace formInfo { * @type { ?string } * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ disabledDesktopBehaviors?: string; } @@ -2302,7 +2295,7 @@ declare namespace formInfo { * @typedef GetFormRectInfoCallback * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ interface GetFormRectInfoCallback { /** @@ -2314,7 +2307,7 @@ declare namespace formInfo { * @throws { BusinessError } 202 - The application is not a system application. * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ (formId: string): Promise; } diff --git a/api/@ohos.app.form.formProvider.d.ts b/api/@ohos.app.form.formProvider.d.ts index be6a67cd30..30499a997d 100644 --- a/api/@ohos.app.form.formProvider.d.ts +++ b/api/@ohos.app.form.formProvider.d.ts @@ -20,7 +20,7 @@ import { AsyncCallback } from './@ohos.base'; import formBindingData from './@ohos.app.form.formBindingData'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import formInfo from './@ohos.app.form.formInfo'; /*** endif */ import Want from './@ohos.app.ability.Want'; @@ -38,8 +38,8 @@ import Want from './@ohos.app.ability.Want'; * @namespace formProvider * @syscap SystemCapability.Ability.Form * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace formProvider { /** @@ -77,8 +77,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501003 - The form cannot be operated by the current application. * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 11 - * @arkts 1.1 + * @since 11 dynamic */ function setFormNextRefreshTime(formId: string, minute: int, callback: AsyncCallback): void; @@ -117,8 +116,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501003 - The form cannot be operated by the current application. * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 11 - * @arkts 1.1 + * @since 11 dynamic */ function setFormNextRefreshTime(formId: string, minute: int): Promise; @@ -138,8 +136,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501002 - The number of forms exceeds the maximum allowed. * @throws { BusinessError } 16501003 - The form cannot be operated by the current application. * @syscap SystemCapability.Ability.Form - * @since 20 - * @arkts 1.2 + * @since 20 static */ function setFormNextRefreshTimeWithCallback(formId: string, minute: int, callback: AsyncCallback): void; @@ -159,13 +156,12 @@ declare namespace formProvider { * @throws { BusinessError } 16501002 - The number of forms exceeds the maximum allowed. * @throws { BusinessError } 16501003 - The form cannot be operated by the current application. * @syscap SystemCapability.Ability.Form - * @since 20 - * @arkts 1.2 + * @since 20 static */ function setFormNextRefreshTimeReturnsPromise(formId: string, minute: int): Promise; /** - * @arkts 1.2 + * @since 20 static */ overload setFormNextRefreshTime { setFormNextRefreshTimeWithCallback, setFormNextRefreshTimeReturnsPromise }; @@ -204,7 +200,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501003 - The form cannot be operated by the current application. * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 11 + * @since 11 dynamic */ function updateForm( formId: string, @@ -247,7 +243,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501003 - The form cannot be operated by the current application. * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 11 + * @since 11 dynamic */ function updateForm(formId: string, formBindingData: formBindingData.FormBindingData): Promise; @@ -278,7 +274,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501000 - An internal functional error occurred. * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 11 + * @since 11 dynamic */ function getFormsInfo(filter: formInfo.FormInfoFilter, callback: AsyncCallback>): void; @@ -307,7 +303,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501000 - An internal functional error occurred. * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 11 + * @since 11 dynamic */ function getFormsInfo(callback: AsyncCallback>): void; @@ -338,7 +334,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501000 - An internal functional error occurred. * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 11 + * @since 11 dynamic */ function getFormsInfo(filter?: formInfo.FormInfoFilter): Promise>; @@ -356,7 +352,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501000 - An internal functional error occurred. * @syscap SystemCapability.Ability.Form * @systemapi - * @since 9 + * @since 9 dynamic */ function requestPublishForm( want: Want, @@ -377,7 +373,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501000 - An internal functional error occurred. * @syscap SystemCapability.Ability.Form * @systemapi - * @since 9 + * @since 9 dynamic */ function requestPublishForm(want: Want, callback: AsyncCallback): void; @@ -395,7 +391,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501000 - An internal functional error occurred. * @syscap SystemCapability.Ability.Form * @systemapi - * @since 9 + * @since 9 dynamic */ function requestPublishForm(want: Want, formBindingData?: formBindingData.FormBindingData): Promise; @@ -410,7 +406,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501000 - An internal functional error occurred. * @syscap SystemCapability.Ability.Form * @systemapi - * @since 9 + * @since 9 dynamic */ function isRequestPublishFormSupported(callback: AsyncCallback): void; @@ -423,7 +419,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501000 - An internal functional error occurred. * @syscap SystemCapability.Ability.Form * @systemapi - * @since 9 + * @since 9 dynamic */ function isRequestPublishFormSupported(): Promise; @@ -438,7 +434,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501000 - An internal functional error occurred. * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 18 + * @since 18 dynamic */ function getPublishedFormInfoById(formId: string): Promise; @@ -452,7 +448,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501000 - An internal functional error occurred. * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 18 + * @since 18 dynamic */ function getPublishedFormInfos(): Promise>; @@ -466,7 +462,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501000 - An internal functional error occurred. * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 18 + * @since 18 dynamic */ function openFormManager(want: Want): void; @@ -482,7 +478,7 @@ declare namespace formProvider { * @throws { BusinessError } 16500050 - IPC connection error. * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ function openFormManagerCrossBundle(want: Want): void @@ -500,7 +496,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501003 - The form cannot be operated by the current application. * @throws { BusinessError } 16501007 - Form is not trust. * @syscap SystemCapability.Ability.Form - * @since 18 + * @since 18 dynamic */ function openFormEditAbility(abilityName: string, formId: string, isMainPage?: boolean): void; @@ -521,7 +517,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501011 - The form can not support this operation. * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ function activateSceneAnimation(formId: string): Promise; @@ -542,7 +538,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501011 - The form can not support this operation. * @syscap SystemCapability.Ability.Form * @systemapi - * @since 20 + * @since 20 dynamic */ function deactivateSceneAnimation(formId: string): Promise; @@ -563,7 +559,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501011 - The form can not support this operation. * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 20 + * @since 20 dynamic */ function requestOverflow(formId: string, overflowInfo: formInfo.OverflowInfo): Promise; @@ -583,7 +579,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501011 - The form can not support this operation. * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 20 + * @since 20 dynamic */ function cancelOverflow(formId: string): Promise; @@ -603,7 +599,7 @@ declare namespace formProvider { * @throws { BusinessError } 16501003 - The form cannot be operated by the current application. * @syscap SystemCapability.Ability.Form * @atomicservice - * @since 20 + * @since 20 dynamic */ function getFormRect(formId: string): Promise; } diff --git a/api/@ohos.application.BackupExtensionAbility.d.ts b/api/@ohos.application.BackupExtensionAbility.d.ts index a03b309519..35701e3c23 100644 --- a/api/@ohos.application.BackupExtensionAbility.d.ts +++ b/api/@ohos.application.BackupExtensionAbility.d.ts @@ -18,7 +18,7 @@ * @kit CoreFileKit */ -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type BackupExtensionContext from './@ohos.file.BackupExtensionContext'; /*** endif */ @@ -28,8 +28,8 @@ import type BackupExtensionContext from './@ohos.file.BackupExtensionContext'; * @interface BundleVersion * @syscap SystemCapability.FileManagement.StorageService.Backup * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface BundleVersion { /** @@ -38,8 +38,8 @@ export interface BundleVersion { * @type { number } * @syscap SystemCapability.FileManagement.StorageService.Backup * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ code: number; @@ -49,8 +49,8 @@ export interface BundleVersion { * @type { string } * @syscap SystemCapability.FileManagement.StorageService.Backup * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ name: string; } @@ -60,8 +60,8 @@ export interface BundleVersion { * * @syscap SystemCapability.FileManagement.StorageService.Backup * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare class BackupExtensionAbility { /** @@ -78,7 +78,7 @@ declare class BackupExtensionAbility { * @type { BackupExtensionContext } * @syscap SystemCapability.FileManagement.StorageService.Backup * @StageModelOnly - * @since 12 + * @since 12 dynamic */ context: BackupExtensionContext; @@ -88,8 +88,8 @@ declare class BackupExtensionAbility { * * @syscap SystemCapability.FileManagement.StorageService.Backup * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onBackup(): void; @@ -103,7 +103,7 @@ declare class BackupExtensionAbility { * it includes type, errorCode and errorInfo now. * @syscap SystemCapability.FileManagement.StorageService.Backup * @StageModelOnly - * @since 12 + * @since 12 dynamic */ onBackupEx(backupInfo: string): string | Promise; @@ -114,8 +114,8 @@ declare class BackupExtensionAbility { * @param { BundleVersion } bundleVersion Bundle version to be restore. * @syscap SystemCapability.FileManagement.StorageService.Backup * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ onRestore(bundleVersion: BundleVersion): void; @@ -130,7 +130,7 @@ declare class BackupExtensionAbility { * it includes type, errorCode and errorInfo now. * @syscap SystemCapability.FileManagement.StorageService.Backup * @StageModelOnly - * @since 12 + * @since 12 dynamic */ onRestoreEx(bundleVersion: BundleVersion, restoreInfo: string): string | Promise; @@ -142,7 +142,7 @@ declare class BackupExtensionAbility { * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi * @StageModelOnly - * @since 12 + * @since 12 dynamic */ getBackupInfo(): string; @@ -153,7 +153,7 @@ declare class BackupExtensionAbility { * @returns { string } Return the backup/restore process info. * @syscap SystemCapability.FileManagement.StorageService.Backup * @StageModelOnly - * @since 12 + * @since 12 dynamic */ onProcess(): string; @@ -165,7 +165,7 @@ declare class BackupExtensionAbility { * @returns { Promise } the promise returned by the function * @syscap SystemCapability.FileManagement.StorageService.Backup * @StageModelOnly - * @since 20 + * @since 20 dynamic */ onRelease(scenario: number): Promise; } diff --git a/api/@ohos.application.DataShareExtensionAbility.d.ts b/api/@ohos.application.DataShareExtensionAbility.d.ts index 9a9bedaa12..6cf2678df3 100644 --- a/api/@ohos.application.DataShareExtensionAbility.d.ts +++ b/api/@ohos.application.DataShareExtensionAbility.d.ts @@ -32,7 +32,7 @@ import dataShare from './@ohos.data.dataShare'; * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ export type UpdateOperation = dataShare.UpdateOperation; @@ -45,8 +45,7 @@ export type UpdateOperation = dataShare.UpdateOperation; * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 20 - * @arkts 1.2 + * @since 20 static */ type OnCreateFn = (want: Want, callback: AsyncCallback) => void; @@ -60,8 +59,7 @@ type OnCreateFn = (want: Want, callback: AsyncCallback) => void; * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 20 - * @arkts 1.2 + * @since 20 static */ type InsertFn = (uri: string, valueBucket: ValuesBucket, callback: AsyncCallback) => void; @@ -77,8 +75,7 @@ type InsertFn = (uri: string, valueBucket: ValuesBucket, callback: AsyncCallback * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 20 - * @arkts 1.2 + * @since 20 static */ type UpdateFn = ( uri: string, @@ -98,8 +95,7 @@ type UpdateFn = ( * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 20 - * @arkts 1.2 + * @since 20 static */ type DeleteFn = ( uri: string, @@ -121,8 +117,7 @@ type DeleteFn = ( * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 20 - * @arkts 1.2 + * @since 20 static */ type QueryFn = ( uri: string, @@ -141,8 +136,7 @@ type QueryFn = ( * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 20 - * @arkts 1.2 + * @since 20 static */ type BatchInsertFn = (uri: string, valueBuckets: Array, callback: AsyncCallback) => void; @@ -152,8 +146,8 @@ type BatchInsertFn = (uri: string, valueBuckets: Array, callback: * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare class DataShareExtensionAbility { /** @@ -163,8 +157,8 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ context: ExtensionContext; @@ -176,7 +170,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ onCreate?(want: Want, callback: AsyncCallback): void; @@ -187,8 +181,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 20 - * @arkts 1.2 + * @since 20 static */ onCreate?: OnCreateFn; @@ -201,7 +194,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ insert?(uri: string, valueBucket: ValuesBucket, callback: AsyncCallback): void; @@ -212,8 +205,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 20 - * @arkts 1.2 + * @since 20 static */ insert?: InsertFn; @@ -228,7 +220,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ update?( uri: string, @@ -244,8 +236,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 20 - * @arkts 1.2 + * @since 20 static */ update?: UpdateFn; @@ -257,7 +248,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 12 + * @since 12 dynamic */ batchUpdate?( operations: Record>, @@ -274,7 +265,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ delete?(uri: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void; @@ -285,8 +276,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 20 - * @arkts 1.2 + * @since 20 static */ delete?: DeleteFn; @@ -303,7 +293,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ query?( uri: string, @@ -320,8 +310,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 20 - * @arkts 1.2 + * @since 20 static */ query?: QueryFn; @@ -334,7 +323,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ batchInsert?(uri: string, valueBuckets: Array, callback: AsyncCallback): void; @@ -345,8 +334,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 20 - * @arkts 1.2 + * @since 20 static */ batchInsert?: BatchInsertFn; @@ -360,7 +348,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ normalizeUri?(uri: string, callback: AsyncCallback): void; @@ -376,7 +364,7 @@ declare class DataShareExtensionAbility { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ denormalizeUri?(uri: string, callback: AsyncCallback): void; } diff --git a/api/@ohos.application.DistributedExtensionAbility.d.ts b/api/@ohos.application.DistributedExtensionAbility.d.ts index 7abc5fb3e8..39318091ff 100644 --- a/api/@ohos.application.DistributedExtensionAbility.d.ts +++ b/api/@ohos.application.DistributedExtensionAbility.d.ts @@ -27,7 +27,7 @@ import type DistributedExtensionContext from './@ohos.application.DistributedExt * * @syscap SystemCapability.DistributedSched.AppCollaboration * @stagemodelonly - * @since 20 + * @since 20 dynamic */ export default class DistributedExtensionAbility { @@ -38,7 +38,7 @@ export default class DistributedExtensionAbility { * @type { DistributedExtensionContext } * @syscap SystemCapability.DistributedSched.AppCollaboration * @stagemodelonly - * @since 20 + * @since 20 dynamic */ context: DistributedExtensionContext; @@ -48,7 +48,7 @@ export default class DistributedExtensionAbility { * @param { Want } want Indicates the want info of ability. * @syscap SystemCapability.DistributedSched.AppCollaboration * @stagemodelonly - * @since 20 + * @since 20 dynamic */ onCreate(want: Want): void; @@ -57,7 +57,7 @@ export default class DistributedExtensionAbility { * * @syscap SystemCapability.DistributedSched.AppCollaboration * @stagemodelonly - * @since 20 + * @since 20 dynamic */ onDestroy(): void; @@ -68,7 +68,7 @@ export default class DistributedExtensionAbility { * @returns { AbilityConstant.CollaborateResult } Return the result of onCollaborate. * @syscap SystemCapability.DistributedSched.AppCollaboration * @stagemodelonly - * @since 20 + * @since 20 dynamic */ onCollaborate(wantParam: Record): AbilityConstant.CollaborateResult; } diff --git a/api/@ohos.application.DistributedExtensionContext.d.ts b/api/@ohos.application.DistributedExtensionContext.d.ts index 39fafcc281..ba6f746ac4 100644 --- a/api/@ohos.application.DistributedExtensionContext.d.ts +++ b/api/@ohos.application.DistributedExtensionContext.d.ts @@ -25,6 +25,6 @@ import type ExtensionContext from './application/ExtensionContext'; * @extends ExtensionContext * @syscap SystemCapability.DistributedSched.AppCollaboration * @stagemodelonly - * @since 20 + * @since 20 dynamic */ export default class DistributedExtensionContext extends ExtensionContext {} \ No newline at end of file diff --git a/api/@ohos.application.StaticSubscriberExtensionAbility.d.ts b/api/@ohos.application.StaticSubscriberExtensionAbility.d.ts index 5f8dd6ed76..02d2d47347 100644 --- a/api/@ohos.application.StaticSubscriberExtensionAbility.d.ts +++ b/api/@ohos.application.StaticSubscriberExtensionAbility.d.ts @@ -27,8 +27,8 @@ import StaticSubscriberExtensionContext from './@ohos.application.StaticSubscrib * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare class StaticSubscriberExtensionAbility { /** @@ -38,8 +38,8 @@ declare class StaticSubscriberExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ context: StaticSubscriberExtensionContext; @@ -50,8 +50,8 @@ declare class StaticSubscriberExtensionAbility { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onReceiveEvent(event: CommonEventData): void; } diff --git a/api/@ohos.application.StaticSubscriberExtensionContext.d.ts b/api/@ohos.application.StaticSubscriberExtensionContext.d.ts index 688ff07f1a..449263d293 100644 --- a/api/@ohos.application.StaticSubscriberExtensionContext.d.ts +++ b/api/@ohos.application.StaticSubscriberExtensionContext.d.ts @@ -29,8 +29,8 @@ import ExtensionContext from './application/ExtensionContext'; * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare class StaticSubscriberExtensionContext extends ExtensionContext { /** @@ -61,8 +61,8 @@ declare class StaticSubscriberExtensionContext extends ExtensionContext { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ startAbility(want: Want, callback: AsyncCallback): void; @@ -94,8 +94,8 @@ declare class StaticSubscriberExtensionContext extends ExtensionContext { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ startAbility(want: Want): Promise; } diff --git a/api/@ohos.application.WindowExtensionAbility.d.ts b/api/@ohos.application.WindowExtensionAbility.d.ts index ee8a1b08b9..a21c7822ce 100644 --- a/api/@ohos.application.WindowExtensionAbility.d.ts +++ b/api/@ohos.application.WindowExtensionAbility.d.ts @@ -29,7 +29,7 @@ import window from './@ohos.window'; * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi hide for inner use. * @StageModelOnly - * @since 9 + * @since 9 dynamiconly */ export default class WindowExtensionAbility { /** @@ -39,7 +39,7 @@ export default class WindowExtensionAbility { * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi hide for inner use. * @StageModelOnly - * @since 9 + * @since 9 dynamiconly */ context: WindowExtensionContext; @@ -50,7 +50,7 @@ export default class WindowExtensionAbility { * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi hide for inner use. * @StageModelOnly - * @since 9 + * @since 9 dynamiconly */ onConnect(want: Want): void; @@ -61,7 +61,7 @@ export default class WindowExtensionAbility { * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi hide for inner use. * @StageModelOnly - * @since 9 + * @since 9 dynamiconly */ onDisconnect(want: Want): void; @@ -72,7 +72,7 @@ export default class WindowExtensionAbility { * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi hide for inner use. * @StageModelOnly - * @since 9 + * @since 9 dynamiconly */ onWindowReady(window: window.Window): void; } @@ -85,6 +85,6 @@ export default class WindowExtensionAbility { * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamiconly */ export type WindowExtensionContext = _WindowExtensionContext; diff --git a/api/@ohos.application.formError.d.ts b/api/@ohos.application.formError.d.ts index e0a3fd4698..1e778bce01 100644 --- a/api/@ohos.application.formError.d.ts +++ b/api/@ohos.application.formError.d.ts @@ -23,8 +23,8 @@ * * @namespace formError * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ declare namespace formError { /** @@ -32,16 +32,16 @@ declare namespace formError { * * @enum { int } * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ enum FormError { /** * A common internal error occurs during form processing. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_COMMON = 1, @@ -51,8 +51,8 @@ declare namespace formError { * and ohos.permission.GET_BUNDLE_INFO_PRIVILEGED permissions. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_PERMISSION_DENY = 2, @@ -62,8 +62,8 @@ declare namespace formError { * consistent with those provided by the form provider. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_GET_INFO_FAILED = 4, @@ -72,8 +72,8 @@ declare namespace formError { * Ensure that the bundle to which the form to be added belongs is available. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_GET_BUNDLE_FAILED = 5, @@ -82,8 +82,8 @@ declare namespace formError { * Ensure that the grid style of the form is supported by the form provider. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_GET_LAYOUT_FAILED = 6, @@ -92,8 +92,8 @@ declare namespace formError { * parameters are valid. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_ADD_INVALID_PARAM = 7, @@ -102,8 +102,8 @@ declare namespace formError { * different from that obtained for the first time. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_CFG_NOT_MATCH_ID = 8, @@ -111,8 +111,8 @@ declare namespace formError { * The ID of the form to be operated does not exist in the Form Manager Service. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_NOT_EXIST_ID = 9, @@ -120,8 +120,8 @@ declare namespace formError { * Failed to bind the Form Manager Service to the provider service. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_BIND_PROVIDER_FAILED = 10, @@ -129,8 +129,8 @@ declare namespace formError { * The total number of added forms exceeds the maximum allowed by the system. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_MAX_SYSTEM_FORMS = 11, @@ -139,8 +139,8 @@ declare namespace formError { * exceeds the maximum allowed by the system. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_MAX_INSTANCES_PER_FORM = 12, @@ -149,8 +149,8 @@ declare namespace formError { * operated by the current application. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_OPERATION_FORM_NOT_SELF = 13, @@ -158,8 +158,8 @@ declare namespace formError { * The Form Manager Service failed to instruct the form provider to delete the form. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_PROVIDER_DEL_FAIL = 14, @@ -167,8 +167,8 @@ declare namespace formError { * The total number of added forms exceeds the maximum per client. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_MAX_FORMS_PER_CLIENT = 15, @@ -176,8 +176,8 @@ declare namespace formError { * The total number of added temp forms exceeds the maximum in system. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_MAX_SYSTEM_TEMP_FORMS = 16, @@ -185,8 +185,8 @@ declare namespace formError { * The module can not be find in system. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_FORM_NO_SUCH_MODULE = 17, @@ -194,8 +194,8 @@ declare namespace formError { * The ability can not be find in system. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_FORM_NO_SUCH_ABILITY = 18, @@ -203,8 +203,8 @@ declare namespace formError { * The dimension is not exist in the form. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_FORM_NO_SUCH_DIMENSION = 19, @@ -212,8 +212,8 @@ declare namespace formError { * The ability is not installed. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_FORM_FA_NOT_INSTALLED = 20, @@ -222,8 +222,8 @@ declare namespace formError { * the service is not started.Please try again after the service is started. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_SYSTEM_RESPONSES_FAILED = 30, @@ -235,8 +235,8 @@ declare namespace formError { * the request parameters. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_FORM_DUPLICATE_ADDED = 31, @@ -245,8 +245,8 @@ declare namespace formError { * the restoration is complete. * * @syscap SystemCapability.Ability.Form - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ ERR_IN_RECOVERY = 36, @@ -255,8 +255,8 @@ declare namespace formError { * * @syscap SystemCapability.Ability.Form * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ ERR_DISTRIBUTED_SCHEDULE_FAILED = 37 } diff --git a/api/@ohos.application.testRunner.d.ts b/api/@ohos.application.testRunner.d.ts index 3490343ff7..92a0473e43 100644 --- a/api/@ohos.application.testRunner.d.ts +++ b/api/@ohos.application.testRunner.d.ts @@ -24,8 +24,7 @@ * @typedef { Function } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ type OnPrepareFn = () => void; @@ -35,8 +34,7 @@ type OnPrepareFn = () => void; * @typedef { Function } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ type OnRunFn = () => void; @@ -55,8 +53,8 @@ type OnRunFn = () => void; * @interface TestRunner * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface TestRunner { /** @@ -78,8 +76,7 @@ interface TestRunner { * @type { OnPrepareFn } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ onPrepare: OnPrepareFn; @@ -102,13 +99,12 @@ interface TestRunner { * @typedef { OnRunFn } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ onRun: OnRunFn; } -/*** if arkts 1.1 */ +/*** if arkts dynamic */ export { TestRunner }; /*** endif */ export default TestRunner; diff --git a/api/@ohos.application.uriPermissionManager.d.ts b/api/@ohos.application.uriPermissionManager.d.ts index a69039892a..ec1c433220 100644 --- a/api/@ohos.application.uriPermissionManager.d.ts +++ b/api/@ohos.application.uriPermissionManager.d.ts @@ -26,8 +26,8 @@ import type wantConstant from './@ohos.app.ability.wantConstant'; * * @namespace uriPermissionManager * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare namespace uriPermissionManager { /** @@ -75,8 +75,8 @@ declare namespace uriPermissionManager { * @throws { BusinessError } 16000060 - A sandbox application cannot grant URI permission. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi hide this for inner system use. - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function grantUriPermission( uri: string, @@ -130,8 +130,8 @@ declare namespace uriPermissionManager { * @throws { BusinessError } 16000060 - A sandbox application cannot grant URI permission. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi hide this for inner system use. - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function grantUriPermission(uri: string, flag: wantConstant.Flags, targetBundleName: string): Promise; @@ -184,8 +184,8 @@ declare namespace uriPermissionManager { * @throws { BusinessError } 16000081 - Failed to obtain the target application information. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi hide this for inner system use. - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function grantUriPermission(uri: string, flag: wantConstant.Flags, targetBundleName: string, appCloneIndex: int): Promise; @@ -238,8 +238,8 @@ declare namespace uriPermissionManager { * @throws { BusinessError } 16000059 - Invalid URI type. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi hide this for inner system use - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function revokeUriPermission(uri: string, targetBundleName: string, callback: AsyncCallback): void; @@ -292,8 +292,8 @@ declare namespace uriPermissionManager { * @throws { BusinessError } 16000059 - Invalid URI type. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi hide this for inner system use - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function revokeUriPermission(uri: string, targetBundleName: string): Promise; @@ -332,8 +332,8 @@ declare namespace uriPermissionManager { * @throws { BusinessError } 16000081 - Failed to obtain the target application information. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi hide this for inner system use - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function revokeUriPermission(uri: string, targetBundleName: string, appCloneIndex: int): Promise; @@ -355,7 +355,7 @@ declare namespace uriPermissionManager { * @throws { BusinessError } 16000094 - The target token ID is invalid. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ function grantUriPermissionByKey(key: string, flag: wantConstant.Flags, targetTokenId: int): Promise; @@ -381,7 +381,7 @@ declare namespace uriPermissionManager { * @throws { BusinessError } 16000094 - The target token ID is invalid. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ function grantUriPermissionByKeyAsCaller(key: string, flag: wantConstant.Flags, callerTokenId: int, targetTokenId: int): Promise; } diff --git a/api/@ohos.arkui.ArcAlphabetIndexer.d.ts b/api/@ohos.arkui.ArcAlphabetIndexer.d.ts index 0c926da8c7..b479d2a361 100755 --- a/api/@ohos.arkui.ArcAlphabetIndexer.d.ts +++ b/api/@ohos.arkui.ArcAlphabetIndexer.d.ts @@ -25,7 +25,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface ArcAlphabetIndexerInitInfo { /** @@ -35,7 +35,7 @@ declare interface ArcAlphabetIndexerInitInfo { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ arrayValue: string[]; /** @@ -45,7 +45,7 @@ declare interface ArcAlphabetIndexerInitInfo { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selected: number; } @@ -58,7 +58,7 @@ declare interface ArcAlphabetIndexerInitInfo { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type OnSelectCallback = (index: number) => void; @@ -69,7 +69,7 @@ declare type OnSelectCallback = (index: number) => void; * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface ArcAlphabetIndexerInterface { @@ -84,7 +84,7 @@ export interface ArcAlphabetIndexerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ (info: ArcAlphabetIndexerInitInfo): ArcAlphabetIndexerAttribute; } @@ -96,7 +96,7 @@ export interface ArcAlphabetIndexerInterface { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare class ArcAlphabetIndexerAttribute extends CommonMethod { @@ -108,7 +108,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod): ArcAlphabetIndexerAttribute; @@ -120,7 +120,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod): ArcAlphabetIndexerAttribute; @@ -132,7 +132,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod): ArcAlphabetIndexerAttribute; @@ -144,7 +144,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod): ArcAlphabetIndexerAttribute; @@ -156,7 +156,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod): ArcAlphabetIndexerAttribute; @@ -168,7 +168,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod): ArcAlphabetIndexerAttribute; @@ -180,7 +180,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod): ArcAlphabetIndexerAttribute; @@ -192,7 +192,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod): ArcAlphabetIndexerAttribute; @@ -204,7 +204,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod): ArcAlphabetIndexerAttribute; @@ -216,7 +216,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod): ArcAlphabetIndexerAttribute; @@ -228,7 +228,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod): ArcAlphabetIndexerAttribute; @@ -240,7 +240,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod): ArcAlphabetIndexerAttribute; @@ -252,7 +252,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod): ArcAlphabetIndexerAttribute; @@ -264,7 +264,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod): ArcAlphabetIndexerAttribute; } @@ -284,7 +284,7 @@ declare class ArcAlphabetIndexerAttribute extends CommonMethod void; @@ -39,7 +39,7 @@ declare type ArcScrollIndexHandler = (start: number, end: number, center: number * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare interface ArkListOptions { @@ -50,7 +50,7 @@ declare interface ArkListOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ initialIndex?: number; @@ -61,7 +61,7 @@ declare interface ArkListOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ scroller?: Scroller; @@ -72,7 +72,7 @@ declare interface ArkListOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ header?: ComponentContent; } @@ -84,7 +84,7 @@ declare interface ArkListOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface ArcListInterface { @@ -96,7 +96,7 @@ export interface ArcListInterface { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ (options?: ArkListOptions): ArcListAttribute; } @@ -108,7 +108,7 @@ export interface ArcListInterface { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface ArcListItemInterface { @@ -119,7 +119,7 @@ export interface ArcListItemInterface { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ (): ArcListItemAttribute; } @@ -131,7 +131,7 @@ export interface ArcListItemInterface { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare class ArcListAttribute extends CommonMethod { @@ -143,7 +143,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ digitalCrownSensitivity(sensitivity: Optional): ArcListAttribute; @@ -155,7 +155,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ space(space: Optional): ArcListAttribute; @@ -167,7 +167,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ scrollBar(status: Optional): ArcListAttribute; @@ -179,7 +179,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ scrollBarColor(color: Optional): ArcListAttribute; @@ -191,7 +191,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ scrollBarWidth(width: Optional): ArcListAttribute; @@ -203,7 +203,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ cachedCount(count: Optional): ArcListAttribute; @@ -215,7 +215,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ chainAnimation(enable: Optional): ArcListAttribute; @@ -227,7 +227,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ childrenMainSize(size: Optional): ArcListAttribute; @@ -239,7 +239,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ enableScrollInteraction(enable: Optional): ArcListAttribute; @@ -251,7 +251,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fadingEdge(enable: Optional): ArcListAttribute; @@ -263,7 +263,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ friction(friction: Optional): ArcListAttribute; @@ -276,7 +276,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ flingSpeedLimit(speed: Optional): ArcListAttribute; @@ -288,7 +288,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onScrollIndex(handler: Optional): ArcListAttribute; @@ -300,7 +300,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onReachStart(handler: Optional): ArcListAttribute; @@ -312,7 +312,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onReachEnd(handler: Optional): ArcListAttribute; @@ -324,7 +324,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onScrollStart(handler: Optional): ArcListAttribute; @@ -336,7 +336,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onScrollStop(handler: Optional): ArcListAttribute; @@ -348,7 +348,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onWillScroll(handler: Optional): ArcListAttribute; @@ -361,7 +361,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onDidScroll(handler: Optional): ArcListAttribute; } @@ -373,7 +373,7 @@ export declare class ArcListAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare class ArcListItemAttribute extends CommonMethod { @@ -385,7 +385,7 @@ export declare class ArcListItemAttribute extends CommonMethod): ArcListItemAttribute; @@ -397,7 +397,7 @@ export declare class ArcListItemAttribute extends CommonMethod): ArcListItemAttribute; } @@ -408,7 +408,7 @@ export declare class ArcListItemAttribute extends CommonMethod { @@ -94,7 +94,7 @@ export declare class ArcScrollBarAttribute extends CommonMethod void; @@ -34,7 +34,7 @@ declare type FinishAnimationHandler = () => void; * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ export class ArcSwiperController { /** @@ -43,7 +43,7 @@ export class ArcSwiperController { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(); @@ -53,7 +53,7 @@ export class ArcSwiperController { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ showNext(); @@ -63,7 +63,7 @@ export class ArcSwiperController { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ showPrevious(); @@ -74,7 +74,7 @@ export class ArcSwiperController { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ finishAnimation(handler?: FinishAnimationHandler); } @@ -86,7 +86,7 @@ export class ArcSwiperController { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ export enum ArcDirection { /** @@ -95,7 +95,7 @@ export enum ArcDirection { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ THREE_CLOCK_DIRECTION = 0, @@ -105,7 +105,7 @@ export enum ArcDirection { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ SIX_CLOCK_DIRECTION = 1, @@ -115,7 +115,7 @@ export enum ArcDirection { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ NINE_CLOCK_DIRECTION = 2, } @@ -126,7 +126,7 @@ export enum ArcDirection { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export class ArcDotIndicator { @@ -136,7 +136,7 @@ export class ArcDotIndicator { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(); @@ -148,7 +148,7 @@ export class ArcDotIndicator { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ arcDirection(direction: Optional): ArcDotIndicator; @@ -160,7 +160,7 @@ export class ArcDotIndicator { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ itemColor(color: Optional): ArcDotIndicator; @@ -172,7 +172,7 @@ export class ArcDotIndicator { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedItemColor(color: Optional): ArcDotIndicator; @@ -184,7 +184,7 @@ export class ArcDotIndicator { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundColor(color: Optional): ArcDotIndicator; @@ -196,7 +196,7 @@ export class ArcDotIndicator { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ maskColor(color: Optional): ArcDotIndicator; } @@ -208,7 +208,7 @@ export class ArcDotIndicator { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ interface ArcSwiperInterface { @@ -220,7 +220,7 @@ interface ArcSwiperInterface { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ (controller?: ArcSwiperController): ArcSwiperAttribute; } @@ -233,7 +233,7 @@ interface ArcSwiperInterface { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type IndexChangedHandler = (index: number) => void; @@ -247,7 +247,7 @@ declare type IndexChangedHandler = (index: number) => void; * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type AnimationStartHandler = (index: number, targetIndex: number, event: SwiperAnimationEvent) => void; @@ -260,7 +260,7 @@ declare type AnimationStartHandler = (index: number, targetIndex: number, event: * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type AnimationEndHandler = (index: number, event: SwiperAnimationEvent) => void; @@ -273,7 +273,7 @@ declare type AnimationEndHandler = (index: number, event: SwiperAnimationEvent) * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type GestureSwipeHandler = (index: number, event: SwiperAnimationEvent) => void; @@ -285,7 +285,7 @@ declare type GestureSwipeHandler = (index: number, event: SwiperAnimationEvent) * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface SwiperContentAnimatedTransition { /** @@ -297,7 +297,7 @@ declare interface SwiperContentAnimatedTransition { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ timeout?: number; @@ -308,7 +308,7 @@ declare interface SwiperContentAnimatedTransition { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ transition: Callback; } @@ -320,7 +320,7 @@ declare interface SwiperContentAnimatedTransition { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare interface SwiperContentTransitionProxy { /** @@ -330,7 +330,7 @@ declare interface SwiperContentTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedIndex: number; @@ -341,7 +341,7 @@ declare interface SwiperContentTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ index: number; @@ -352,7 +352,7 @@ declare interface SwiperContentTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ position: number; @@ -363,7 +363,7 @@ declare interface SwiperContentTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ mainAxisLength: number; @@ -373,7 +373,7 @@ declare interface SwiperContentTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ finishTransition(): void; } @@ -385,7 +385,7 @@ declare interface SwiperContentTransitionProxy { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare class ArcSwiperAttribute extends CommonMethod { @@ -397,7 +397,7 @@ declare class ArcSwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ index(index: Optional): ArcSwiperAttribute; @@ -410,7 +410,7 @@ declare class ArcSwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ indicator(style: Optional): ArcSwiperAttribute; @@ -422,7 +422,7 @@ declare class ArcSwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ duration(duration: Optional): ArcSwiperAttribute; @@ -434,7 +434,7 @@ declare class ArcSwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ vertical(isVertical: Optional): ArcSwiperAttribute; @@ -446,7 +446,7 @@ declare class ArcSwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ disableSwipe(disabled: Optional): ArcSwiperAttribute; @@ -458,7 +458,7 @@ declare class ArcSwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ digitalCrownSensitivity(sensitivity: Optional): ArcSwiperAttribute; @@ -470,7 +470,7 @@ declare class ArcSwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onChange(handler: Optional): ArcSwiperAttribute; @@ -482,7 +482,7 @@ declare class ArcSwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onAnimationStart(handler: Optional): ArcSwiperAttribute; @@ -494,7 +494,7 @@ declare class ArcSwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onAnimationEnd(handler: Optional): ArcSwiperAttribute; @@ -506,7 +506,7 @@ declare class ArcSwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onGestureSwipe(handler: Optional): ArcSwiperAttribute; @@ -518,7 +518,7 @@ declare class ArcSwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ effectMode(edgeEffect: Optional): ArcSwiperAttribute; @@ -530,7 +530,7 @@ declare class ArcSwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ customContentTransition(transition: Optional): ArcSwiperAttribute; @@ -542,7 +542,7 @@ declare class ArcSwiperAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ disableTransitionAnimation(disabled: Optional): ArcSwiperAttribute; } @@ -562,7 +562,7 @@ declare class ArcSwiperAttribute extends CommonMethod { * @crossplatform * @atomicservice * @uicomponent - * @since 20 + * @since 20 dynamic * @noninterop */ declare let ArcSwiper: ArcSwiperInterface; @@ -573,7 +573,7 @@ declare let ArcSwiper: ArcSwiperInterface; * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare let ArcSwiperInstance: ArcSwiperAttribute; \ No newline at end of file diff --git a/api/@ohos.arkui.Prefetcher.d.ts b/api/@ohos.arkui.Prefetcher.d.ts index 3a7a2a197a..2e8eaef986 100644 --- a/api/@ohos.arkui.Prefetcher.d.ts +++ b/api/@ohos.arkui.Prefetcher.d.ts @@ -26,7 +26,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface IDataSourcePrefetching extends IDataSource { /** @@ -38,7 +38,7 @@ export interface IDataSourcePrefetching extends IDataSource { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ prefetch(index: number): Promise | void; @@ -51,7 +51,7 @@ export interface IDataSourcePrefetching extends IDataSource { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ cancel?(index: number): Promise | void; } @@ -63,7 +63,7 @@ export interface IDataSourcePrefetching extends IDataSource { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface IPrefetcher { /** @@ -73,7 +73,7 @@ export interface IPrefetcher { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setDataSource(dataSource: IDataSourcePrefetching): void; @@ -85,7 +85,7 @@ export interface IPrefetcher { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ visibleAreaChanged(minVisible: number, maxVisible: number): void; } @@ -101,7 +101,7 @@ export interface IPrefetcher { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export class BasicPrefetcher implements IPrefetcher { /** @@ -111,7 +111,7 @@ export class BasicPrefetcher implements IPrefetcher { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(dataSource?: IDataSourcePrefetching); @@ -122,7 +122,7 @@ export class BasicPrefetcher implements IPrefetcher { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setDataSource(dataSource: IDataSourcePrefetching): void; @@ -134,7 +134,7 @@ export class BasicPrefetcher implements IPrefetcher { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ visibleAreaChanged(minVisible: number, maxVisible: number): void; } diff --git a/api/@ohos.arkui.StateManagement.d.ts b/api/@ohos.arkui.StateManagement.d.ts index a5bbb3bc1c..5d390ad20a 100644 --- a/api/@ohos.arkui.StateManagement.d.ts +++ b/api/@ohos.arkui.StateManagement.d.ts @@ -28,7 +28,7 @@ import contextConstant from '@ohos.app.ability.contextConstant' * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare type StorageDefaultCreator = () => T; @@ -38,7 +38,7 @@ export declare type StorageDefaultCreator = () => T; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface TypeConstructorWithArgs { /** @@ -47,7 +47,7 @@ export interface TypeConstructorWithArgs { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ new(...args: any): T; } @@ -56,14 +56,14 @@ export interface TypeConstructorWithArgs { * Define ConnectOptions class. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ export class ConnectOptions { /** * @type { TypeConstructorWithArgs } type class type of the stored value. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ type: TypeConstructorWithArgs; @@ -72,7 +72,7 @@ export class ConnectOptions { * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ key?: string; @@ -81,7 +81,7 @@ export class ConnectOptions { * @type { ?StorageDefaultCreator} * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ defaultCreator?: StorageDefaultCreator; @@ -92,7 +92,7 @@ export class ConnectOptions { * @type { ?contextConstant.AreaMode} * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ areaMode?: contextConstant.AreaMode; } @@ -104,7 +104,7 @@ export class ConnectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class AppStorageV2 { /** @@ -119,7 +119,7 @@ export declare class AppStorageV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static connect( type: TypeConstructorWithArgs, @@ -134,7 +134,7 @@ export declare class AppStorageV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static remove(keyOrType: string | TypeConstructorWithArgs): void; @@ -145,7 +145,7 @@ export declare class AppStorageV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static keys(): Array; } @@ -160,7 +160,7 @@ export declare class AppStorageV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare type PersistenceErrorCallback = (key: string, reason: 'quota' | 'serialization' | 'unknown', message: string) => void; @@ -172,7 +172,7 @@ export declare type PersistenceErrorCallback = (key: string, reason: 'quota' | ' * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class PersistenceV2 extends AppStorageV2 { /** @@ -184,7 +184,7 @@ export declare class PersistenceV2 extends AppStorageV2 { * @returns { T | undefined } the value of the existed key or the default value * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ static globalConnect( type: ConnectOptions @@ -197,7 +197,7 @@ export declare class PersistenceV2 extends AppStorageV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static save(keyOrType: string | TypeConstructorWithArgs): void; @@ -208,7 +208,7 @@ export declare class PersistenceV2 extends AppStorageV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static notifyOnError(callback: PersistenceErrorCallback | undefined): void; } @@ -220,7 +220,7 @@ export declare class PersistenceV2 extends AppStorageV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface TypeConstructor { /** @@ -228,7 +228,7 @@ export interface TypeConstructor { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ new(): T; } @@ -242,7 +242,7 @@ export interface TypeConstructor { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare type TypeDecorator = (type: TypeConstructor) => PropertyDecorator; @@ -252,7 +252,7 @@ export declare type TypeDecorator = (type: TypeConstructor) => PropertyDec * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare const Type: TypeDecorator; @@ -263,7 +263,7 @@ export declare const Type: TypeDecorator; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class UIUtils { /** @@ -275,7 +275,7 @@ export declare class UIUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static getTarget(source: T): T; @@ -288,7 +288,7 @@ export declare class UIUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static makeObserved(source: T): T; @@ -302,7 +302,7 @@ export declare class UIUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ static makeV1Observed(source: T): T; @@ -315,7 +315,7 @@ export declare class UIUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ static enableV2Compatibility(source: T): T; @@ -334,7 +334,7 @@ export declare class UIUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ static makeBinding(getter: GetterCallback): Binding; @@ -357,7 +357,7 @@ export declare class UIUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ static makeBinding(getter: GetterCallback, setter: SetterCallback): MutableBinding; } @@ -370,7 +370,7 @@ export declare class UIUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export declare type GetterCallback = () => T; @@ -382,7 +382,7 @@ export declare type GetterCallback = () => T; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export declare type SetterCallback = (newValue: T) => void; @@ -392,7 +392,7 @@ export declare type SetterCallback = (newValue: T) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export declare class Binding { /** @@ -401,7 +401,7 @@ export declare class Binding { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ get value(): T; } @@ -412,7 +412,7 @@ export declare class Binding { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export declare class MutableBinding { /** @@ -421,7 +421,7 @@ export declare class MutableBinding { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ get value(): T; /** @@ -429,7 +429,7 @@ export declare class MutableBinding { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ set value(newValue: T): void; } \ No newline at end of file diff --git a/api/@ohos.arkui.UIContext.d.ts b/api/@ohos.arkui.UIContext.d.ts index 9d65406671..d393300dfd 100755 --- a/api/@ohos.arkui.UIContext.d.ts +++ b/api/@ohos.arkui.UIContext.d.ts @@ -55,7 +55,7 @@ import type pointer from './@ohos.multimodalInput.pointer'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export class Font { /** @@ -73,7 +73,7 @@ export class Font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ registerFont(options: font.FontOptions): void; @@ -93,7 +93,7 @@ export class Font { * @returns { Array } A list of font names * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ getSystemFontList(): Array; @@ -110,7 +110,7 @@ export class Font { * @returns { font.FontInfo } Returns the font info * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ getFontByName(fontName: string): font.FontInfo; } @@ -128,7 +128,7 @@ export class Font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export class MediaQuery { /** @@ -148,7 +148,7 @@ export class MediaQuery { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ matchMediaSync(condition: string): mediaQuery.MediaQueryListener; } @@ -164,7 +164,7 @@ export class MediaQuery { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export class UIInspector { /** @@ -182,7 +182,7 @@ export class UIInspector { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ createComponentObserver(id: string): inspector.ComponentObserver; } @@ -208,7 +208,7 @@ export class UIInspector { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export class Router { /** @@ -242,7 +242,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pushUrl(options: router.RouterOptions, callback: AsyncCallback): void; @@ -277,7 +277,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pushUrl(options: router.RouterOptions): Promise; @@ -314,7 +314,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pushUrl(options: router.RouterOptions, mode: router.RouterMode, callback: AsyncCallback): void; @@ -351,7 +351,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pushUrl(options: router.RouterOptions, mode: router.RouterMode): Promise; @@ -384,7 +384,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ replaceUrl(options: router.RouterOptions, callback: AsyncCallback): void; @@ -417,7 +417,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ replaceUrl(options: router.RouterOptions): Promise; @@ -452,7 +452,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ replaceUrl(options: router.RouterOptions, mode: router.RouterMode, callback: AsyncCallback): void; @@ -487,7 +487,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ replaceUrl(options: router.RouterOptions, mode: router.RouterMode): Promise; @@ -514,7 +514,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ back(options?: router.RouterOptions): void; @@ -526,7 +526,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ back(index: number, params?: Object): void; @@ -543,7 +543,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ clear(): void; @@ -562,7 +562,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getLength(): string; @@ -581,7 +581,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getState(): router.RouterState; @@ -593,7 +593,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getStateByIndex(index: number): router.RouterState | undefined; @@ -605,7 +605,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getStateByUrl(url: string): Array; @@ -634,7 +634,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showAlertBeforeBackPage(options: router.EnableAlertOptions): void; @@ -651,7 +651,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ hideAlertBeforeBackPage(): void; @@ -670,7 +670,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getParams(): Object; @@ -703,7 +703,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pushNamedRoute(options: router.NamedRouterOptions, callback: AsyncCallback): void; @@ -736,7 +736,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pushNamedRoute(options: router.NamedRouterOptions): Promise; @@ -771,7 +771,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pushNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode, callback: AsyncCallback): void; @@ -806,7 +806,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ pushNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode): Promise; @@ -837,7 +837,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ replaceNamedRoute(options: router.NamedRouterOptions, callback: AsyncCallback): void; @@ -865,7 +865,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ replaceNamedRoute(options: router.NamedRouterOptions): Promise; @@ -895,7 +895,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ replaceNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode, callback: AsyncCallback): void; @@ -928,7 +928,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ replaceNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode): Promise; } @@ -940,7 +940,7 @@ export class Router { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare type CustomBuilderWithId = (id: number) => void; @@ -951,7 +951,7 @@ declare type CustomBuilderWithId = (id: number) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ export interface TargetInfo { /** @@ -961,7 +961,7 @@ export interface TargetInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ id: string | number; @@ -972,7 +972,7 @@ export interface TargetInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ componentId?: number; } @@ -990,7 +990,7 @@ export interface TargetInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export class PromptAction { /** @@ -1018,7 +1018,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showToast(options: promptAction.ShowToastOptions): void; @@ -1035,7 +1035,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ openToast(options: promptAction.ShowToastOptions): Promise; @@ -1052,7 +1052,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ closeToast(toastId: number): void; @@ -1099,7 +1099,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ showDialog(options: promptAction.ShowDialogOptions, callback: AsyncCallback): void; @@ -1131,7 +1131,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showDialog(options: promptAction.ShowDialogOptions): Promise; @@ -1148,7 +1148,7 @@ export class PromptAction { * @throws { BusinessError } 100001 - Internal error. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead showActionMenu */ @@ -1168,7 +1168,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showActionMenu(options: promptAction.ActionMenuOptions, callback: AsyncCallback): void; @@ -1200,7 +1200,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showActionMenu(options: promptAction.ActionMenuOptions): Promise; @@ -1219,7 +1219,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ openCustomDialog(dialogContent: ComponentContent, options?: promptAction.BaseDialogOptions): Promise; @@ -1241,7 +1241,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ openCustomDialogWithController(dialogContent: ComponentContent, controller: promptAction.DialogController, options?: promptAction.BaseDialogOptions): Promise; @@ -1262,7 +1262,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ updateCustomDialog(dialogContent: ComponentContent, options: promptAction.BaseDialogOptions): Promise; @@ -1280,7 +1280,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ closeCustomDialog(dialogContent: ComponentContent): Promise; @@ -1299,7 +1299,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ openCustomDialog(options: promptAction.CustomDialogOptions): Promise; @@ -1320,7 +1320,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ presentCustomDialog(builder: CustomBuilder | CustomBuilderWithId, controller?: promptAction.DialogController, options?: promptAction.DialogOptions): Promise; @@ -1337,7 +1337,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ closeCustomDialog(dialogId: number): void; @@ -1348,7 +1348,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getTopOrder(): LevelOrder; @@ -1359,7 +1359,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getBottomOrder(): LevelOrder; @@ -1381,7 +1381,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ openPopup(content: ComponentContent, target: TargetInfo, options?: PopupCommonOptions): Promise; @@ -1403,7 +1403,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ updatePopup(content: ComponentContent, options: PopupCommonOptions, partialUpdate?: boolean): Promise; @@ -1421,7 +1421,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ closePopup(content: ComponentContent): Promise; @@ -1443,7 +1443,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ openMenu(content: ComponentContent, target: TargetInfo, options?: MenuOptions): Promise; @@ -1465,7 +1465,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ updateMenu(content: ComponentContent, options: MenuOptions, partialUpdate?: boolean): Promise; @@ -1483,7 +1483,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ closeMenu(content: ComponentContent): Promise; } @@ -1499,7 +1499,7 @@ export class PromptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type ClickEventListenerCallback = (event: ClickEvent, node?: FrameNode) => void; @@ -1515,7 +1515,7 @@ declare type ClickEventListenerCallback = (event: ClickEvent, node?: FrameNode) * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ declare type PanListenerCallback = (event: GestureEvent, current: GestureRecognizer, node?: FrameNode) => void; @@ -1530,7 +1530,7 @@ declare type PanListenerCallback = (event: GestureEvent, current: GestureRecogni * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type GestureEventListenerCallback = (event: GestureEvent, node?: FrameNode) => void; @@ -1543,7 +1543,7 @@ declare type GestureEventListenerCallback = (event: GestureEvent, node?: FrameNo * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare type NodeIdentity = string | number; @@ -1557,7 +1557,7 @@ declare type NodeIdentity = string | number; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare type NodeRenderStateChangeCallback = (state: NodeRenderState, node?: FrameNode) => void; @@ -1569,7 +1569,7 @@ declare type NodeRenderStateChangeCallback = (state: NodeRenderState, node?: Fra * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export declare type GestureListenerCallback = (info: GestureTriggerInfo) => void; @@ -1584,7 +1584,7 @@ export declare type GestureListenerCallback = (info: GestureTriggerInfo) => void * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface PageInfo { /** @@ -1593,7 +1593,7 @@ export interface PageInfo { * @type { ?observer.RouterPageInfo } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ routerPageInfo?: observer.RouterPageInfo; @@ -1603,7 +1603,7 @@ export interface PageInfo { * @type { ?observer.NavDestinationInfo } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ navDestinationInfo?: observer.NavDestinationInfo; } @@ -1615,7 +1615,7 @@ export interface PageInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ export interface OverlayManagerOptions { /** @@ -1626,7 +1626,7 @@ export interface OverlayManagerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ renderRootOverlay?: boolean; @@ -1647,7 +1647,7 @@ export interface OverlayManagerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ enableBackPressedEvent?: boolean; } @@ -1669,7 +1669,7 @@ export interface OverlayManagerOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export class UIObserver { /** @@ -1697,7 +1697,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'navDestinationUpdate', options: { navigationId: ResourceStr }, callback: Callback): void; @@ -1722,7 +1722,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'navDestinationUpdate', options: { navigationId: ResourceStr }, callback?: Callback): void; @@ -1749,7 +1749,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'navDestinationUpdate', callback: Callback): void; @@ -1772,7 +1772,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'navDestinationUpdate', callback?: Callback): void; @@ -1785,7 +1785,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ on(type: 'navDestinationUpdateByUniqueId', navigationUniqueId: number, callback: Callback): void; @@ -1799,7 +1799,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ off(type: 'navDestinationUpdateByUniqueId', navigationUniqueId: number, callback?: Callback): void; @@ -1812,7 +1812,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'scrollEvent', options: observer.ObserverOptions, callback: Callback): void; @@ -1826,7 +1826,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'scrollEvent', options: observer.ObserverOptions, callback?: Callback): void; @@ -1838,7 +1838,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'scrollEvent', callback: Callback): void; @@ -1851,7 +1851,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'scrollEvent', callback?: Callback): void; @@ -1874,7 +1874,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'routerPageUpdate', callback: Callback): void; @@ -1897,7 +1897,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'routerPageUpdate', callback?: Callback): void; @@ -1909,7 +1909,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'densityUpdate', callback: Callback): void; @@ -1922,7 +1922,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'densityUpdate', callback?: Callback): void; @@ -1934,7 +1934,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'willDraw', callback: Callback): void; @@ -1947,7 +1947,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'willDraw', callback?: Callback): void; @@ -1959,7 +1959,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'didLayout', callback: Callback): void; @@ -1972,7 +1972,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'didLayout', callback?: Callback): void; @@ -1985,7 +1985,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on( type: 'navDestinationSwitch', @@ -2001,7 +2001,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off( type: 'navDestinationSwitch', @@ -2018,7 +2018,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on( type: 'navDestinationSwitch', @@ -2036,7 +2036,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off( type: 'navDestinationSwitch', @@ -2053,7 +2053,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'willClick', callback: ClickEventListenerCallback): void; @@ -2066,7 +2066,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'willClick', callback?: ClickEventListenerCallback): void; @@ -2079,7 +2079,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'didClick', callback: ClickEventListenerCallback): void; @@ -2092,7 +2092,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'didClick', callback?: ClickEventListenerCallback): void; @@ -2105,7 +2105,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'willClick', callback: GestureEventListenerCallback): void; @@ -2118,7 +2118,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'willClick', callback?: GestureEventListenerCallback): void; @@ -2131,7 +2131,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'didClick', callback: GestureEventListenerCallback): void; @@ -2144,7 +2144,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'didClick', callback?: GestureEventListenerCallback): void; @@ -2157,7 +2157,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ on(type: 'beforePanStart', callback: PanListenerCallback): void; @@ -2170,7 +2170,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ off(type: 'beforePanStart', callback?: PanListenerCallback): void; @@ -2183,7 +2183,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ on(type: 'beforePanEnd', callback: PanListenerCallback): void; @@ -2196,7 +2196,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ off(type: 'beforePanEnd', callback?: PanListenerCallback): void; @@ -2209,7 +2209,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ on(type: 'afterPanStart', callback: PanListenerCallback): void; @@ -2222,7 +2222,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ off(type: 'afterPanStart', callback?: PanListenerCallback): void; @@ -2235,7 +2235,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ on(type: 'afterPanEnd', callback: PanListenerCallback): void; @@ -2248,7 +2248,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ off(type: 'afterPanEnd', callback?: PanListenerCallback): void; @@ -2262,7 +2262,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'tabContentUpdate', options: observer.ObserverOptions, callback: Callback): void; @@ -2276,7 +2276,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'tabContentUpdate', options: observer.ObserverOptions, callback?: Callback): void; @@ -2289,7 +2289,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'tabContentUpdate', callback: Callback): void; @@ -2302,7 +2302,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'tabContentUpdate', callback?: Callback): void; @@ -2337,7 +2337,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ on(type: 'nodeRenderState', nodeIdentity: NodeIdentity, callback: NodeRenderStateChangeCallback): void; @@ -2351,7 +2351,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ off(type: 'nodeRenderState', nodeIdentity: NodeIdentity, callback?: NodeRenderStateChangeCallback): void; @@ -2365,7 +2365,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ addGlobalGestureListener(type: GestureListenerType, option: GestureObserverConfigs, callback: GestureListenerCallback): void; @@ -2378,7 +2378,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ removeGlobalGestureListener(type: GestureListenerType, callback?: GestureListenerCallback): void; } @@ -2394,7 +2394,7 @@ export class UIObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export class ComponentUtils { /** @@ -2414,7 +2414,7 @@ export class ComponentUtils { * @throws { BusinessError } 100001 - UI execution context not found. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ getRectangleById(id: string): componentUtils.ComponentInfo; } @@ -2424,7 +2424,7 @@ export class ComponentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export class OverlayManager { /** @@ -2446,7 +2446,7 @@ export class OverlayManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ addComponentContent(content: ComponentContent, index?: number): void; @@ -2464,7 +2464,7 @@ export class OverlayManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ addComponentContentWithOrder(content: ComponentContent, levelOrder?: LevelOrder): void; @@ -2475,7 +2475,7 @@ export class OverlayManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ removeComponentContent(content: ComponentContent): void; @@ -2486,7 +2486,7 @@ export class OverlayManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ showComponentContent(content: ComponentContent): void; @@ -2497,7 +2497,7 @@ export class OverlayManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ hideComponentContent(content: ComponentContent): void; @@ -2507,7 +2507,7 @@ export class OverlayManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ showAllComponentContents(): void; @@ -2517,7 +2517,7 @@ export class OverlayManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ hideAllComponentContents(): void; } @@ -2535,7 +2535,7 @@ export class OverlayManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface AtomicServiceBar { /** @@ -2544,7 +2544,7 @@ export interface AtomicServiceBar { * @param { boolean } visible - whether this bar is visible. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ setVisible(visible: boolean): void; @@ -2561,7 +2561,7 @@ export interface AtomicServiceBar { * @param { Nullable< Color | number | string> } color - the color to set, undefined indicates using default. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ setBackgroundColor(color: Nullable< Color | number | string>): void; @@ -2578,7 +2578,7 @@ export interface AtomicServiceBar { * @param { string } content - the content of the bar. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ setTitleContent(content: string): void; @@ -2595,7 +2595,7 @@ export interface AtomicServiceBar { * @param { FontStyle } font - the font style of the bar's title. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ setTitleFontStyle(font: FontStyle): void; @@ -2612,7 +2612,7 @@ export interface AtomicServiceBar { * @param { Nullable< Color | number | string> } color - the color to set to icon, undefined indicates using default. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ setIconColor(color: Nullable< Color | number | string>): void; @@ -2623,7 +2623,7 @@ export interface AtomicServiceBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ getBarRect(): Frame; } @@ -2635,7 +2635,7 @@ export interface AtomicServiceBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export interface GestureTriggerInfo { /** @@ -2645,7 +2645,7 @@ export interface GestureTriggerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ event: GestureEvent; /** @@ -2656,7 +2656,7 @@ export interface GestureTriggerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ current: GestureRecognizer; /** @@ -2666,7 +2666,7 @@ export interface GestureTriggerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ currentPhase: GestureActionPhase; /** @@ -2676,7 +2676,7 @@ export interface GestureTriggerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ node?: FrameNode; } @@ -2688,7 +2688,7 @@ export interface GestureTriggerInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export interface GestureObserverConfigs { /** @@ -2699,7 +2699,7 @@ export interface GestureObserverConfigs { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ actionPhases: Array; } @@ -2709,7 +2709,7 @@ export interface GestureObserverConfigs { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ export class DynamicSyncScene { /** @@ -2718,7 +2718,7 @@ export class DynamicSyncScene { * @param { ExpectedFrameRateRange } range - The range of frameRate. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ setFrameRateRange(range: ExpectedFrameRateRange): void; @@ -2728,7 +2728,7 @@ export class DynamicSyncScene { * @returns { ExpectedFrameRateRange } The range of frameRate. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ getFrameRateRange(): ExpectedFrameRateRange; } @@ -2739,7 +2739,7 @@ export class DynamicSyncScene { * @extends DynamicSyncScene * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ export class SwiperDynamicSyncScene extends DynamicSyncScene { /** @@ -2748,7 +2748,7 @@ export class SwiperDynamicSyncScene extends DynamicSyncScene { * @readonly * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly type: SwiperDynamicSyncSceneType; } @@ -2759,7 +2759,7 @@ export class SwiperDynamicSyncScene extends DynamicSyncScene { * @extends DynamicSyncScene * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ export class MarqueeDynamicSyncScene extends DynamicSyncScene { /** @@ -2768,7 +2768,7 @@ export class MarqueeDynamicSyncScene extends DynamicSyncScene { * @readonly * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ readonly type: MarqueeDynamicSyncSceneType; } @@ -2789,7 +2789,7 @@ export class MarqueeDynamicSyncScene extends DynamicSyncScene { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ export declare class DragController { /** @@ -2835,7 +2835,7 @@ export declare class DragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ executeDrag(custom: CustomBuilder | DragItemInfo, dragInfo: dragController.DragInfo, callback: AsyncCallback): void; @@ -2880,7 +2880,7 @@ export declare class DragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ executeDrag(custom: CustomBuilder | DragItemInfo, dragInfo: dragController.DragInfo) : Promise; @@ -2925,7 +2925,7 @@ export declare class DragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ createDragAction(customArray: Array, dragInfo: dragController.DragInfo): dragController.DragAction; @@ -2948,7 +2948,7 @@ export declare class DragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getDragPreview(): dragController.DragPreview; @@ -2964,7 +2964,7 @@ export declare class DragController { * @param { boolean } enable - Indicating enable drag event strict reporting or not. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ setDragEventStrictReportingEnabled(enable: boolean): void; @@ -2973,7 +2973,7 @@ export declare class DragController { * @param { dragController.DragStartRequestStatus } requestStatus - Status about the drag start behavior. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ notifyDragStartRequest(requestStatus: dragController.DragStartRequestStatus): void; @@ -2985,7 +2985,7 @@ export declare class DragController { * @throws { BusinessError } 190004 - Operation failed. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ cancelDataLoading(key: string): void; @@ -3007,7 +3007,7 @@ export declare class DragController { * @param { boolean } enabled - Indicating enable the disallow status showing or not. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ enableDropDisallowedBadge(enabled: boolean): void; } @@ -3023,7 +3023,7 @@ export declare class DragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export class MeasureUtils { /** @@ -3034,7 +3034,7 @@ export class MeasureUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ measureText(options: MeasureOptions): number; @@ -3046,7 +3046,7 @@ export class MeasureUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ measureTextSize(options: MeasureOptions): SizeOptions; @@ -3057,7 +3057,7 @@ export class MeasureUtils { * @param { TextLayoutOptions } [options] - The layout options. * @returns { Array } paragraph result * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 dynamic */ getParagraphs(styledString: StyledString, options?: TextLayoutOptions): Array; } @@ -3066,14 +3066,14 @@ export class MeasureUtils { * class FocusController * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ export class FocusController { /** * clear focus to the root container. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ clearFocus(): void; @@ -3085,7 +3085,7 @@ export class FocusController { * @throws { BusinessError } 150003 - the component is not on tree or does not exist. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ requestFocus(key: string): void; @@ -3096,7 +3096,7 @@ export class FocusController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ activate(isActive: boolean, autoInactive?: boolean): void; @@ -3106,7 +3106,7 @@ export class FocusController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ isActive(): boolean @@ -3116,7 +3116,7 @@ export class FocusController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ setAutoFocusTransfer(isAutoFocusTransfer: boolean): void; @@ -3126,7 +3126,7 @@ export class FocusController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ setKeyProcessingMode(mode: KeyProcessingMode): void; } @@ -3137,7 +3137,7 @@ export class FocusController { * @typedef {pointer.PointerStyle} PointerStyle * @syscap SystemCapability.MultimodalInput.Input.Pointer * @atomicservice - * @since 12 + * @since 12 dynamic */ export type PointerStyle = pointer.PointerStyle; @@ -3147,7 +3147,7 @@ export type PointerStyle = pointer.PointerStyle; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export class CursorController { /** @@ -3156,7 +3156,7 @@ export class CursorController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ restoreDefault(): void; /** @@ -3166,7 +3166,7 @@ export class CursorController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setCursor(value: PointerStyle): void; } @@ -3177,7 +3177,7 @@ export class CursorController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class ContextMenuController { /** @@ -3186,7 +3186,7 @@ export declare class ContextMenuController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ close(): void; } @@ -3197,7 +3197,7 @@ export declare class ContextMenuController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export abstract class FrameCallback { /** @@ -3208,7 +3208,7 @@ export abstract class FrameCallback { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onFrame(frameTimeInNano: number): void; @@ -3220,7 +3220,7 @@ export abstract class FrameCallback { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onIdle(timeLeftInNano: number): void; } @@ -3234,7 +3234,7 @@ export abstract class FrameCallback { * @StageModelOnly * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export type Context = common.Context; @@ -3242,7 +3242,7 @@ export type Context = common.Context; * class ComponentSnapshot * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class ComponentSnapshot { /** @@ -3259,7 +3259,7 @@ export declare class ComponentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ get(id: string, callback: AsyncCallback, options?: componentSnapshot.SnapshotOptions): void; @@ -3277,7 +3277,7 @@ export declare class ComponentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ get(id: string, options?: componentSnapshot.SnapshotOptions): Promise; @@ -3299,7 +3299,7 @@ export declare class ComponentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ createFromBuilder(builder: CustomBuilder, callback: AsyncCallback, delay?: number, checkImageStatus?: boolean, options?: componentSnapshot.SnapshotOptions): void; @@ -3322,7 +3322,7 @@ export declare class ComponentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ createFromBuilder(builder: CustomBuilder, delay?: number, checkImageStatus?: boolean, options?: componentSnapshot.SnapshotOptions): Promise; @@ -3344,7 +3344,7 @@ export declare class ComponentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getSync(id: string, options?: componentSnapshot.SnapshotOptions): image.PixelMap; @@ -3362,7 +3362,7 @@ export declare class ComponentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ getWithUniqueId(uniqueId: number, options?: componentSnapshot.SnapshotOptions): Promise; @@ -3383,7 +3383,7 @@ export declare class ComponentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ getSyncWithUniqueId(uniqueId: number, options?: componentSnapshot.SnapshotOptions): image.PixelMap; @@ -3405,7 +3405,7 @@ export declare class ComponentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ createFromComponent(content: ComponentContent, delay?: number, checkImageStatus?: boolean, options?: componentSnapshot.SnapshotOptions): Promise; @@ -3425,7 +3425,7 @@ export declare class ComponentSnapshot { * @throws { BusinessError } 100001 - Invalid ID detected. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ getWithRange(start: NodeIdentity, end: NodeIdentity, isStartRect: boolean, options?: componentSnapshot.SnapshotOptions): Promise; @@ -3444,7 +3444,7 @@ export declare class ComponentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export class UIContext { /** @@ -3454,7 +3454,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ isAvailable(): boolean; @@ -3473,7 +3473,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getFont(): Font; @@ -3492,7 +3492,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getMediaQuery(): MediaQuery; @@ -3509,7 +3509,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getUIInspector(): UIInspector; @@ -3524,7 +3524,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getFilteredInspectorTree(filters?: Array): string; @@ -3541,7 +3541,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getFilteredInspectorTreeById(id: string, depth: number, filters?: Array): string; @@ -3560,7 +3560,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getRouter(): Router; @@ -3579,7 +3579,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getPromptAction(): PromptAction; @@ -3596,7 +3596,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getComponentUtils(): ComponentUtils; @@ -3615,7 +3615,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getUIObserver(): UIObserver; @@ -3626,7 +3626,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getOverlayManager(): OverlayManager; @@ -3638,7 +3638,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ setOverlayManagerOptions(options: OverlayManagerOptions): boolean; @@ -3649,7 +3649,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ getOverlayManagerOptions(): OverlayManagerOptions; @@ -3678,7 +3678,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ createAnimator(options: AnimatorOptions): AnimatorResult; @@ -3694,7 +3694,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ createAnimator(options: AnimatorOptions | SimpleAnimatorOptions): AnimatorResult; @@ -3715,7 +3715,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ animateTo(value: AnimateParam, event: () => void): void; @@ -3735,7 +3735,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showAlertDialog(options: AlertDialogParamWithConfirm | AlertDialogParamWithButtons | AlertDialogParamWithOptions): void; @@ -3754,7 +3754,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showActionSheet(value: ActionSheetOptions): void; @@ -3773,7 +3773,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showDatePickerDialog(options: DatePickerDialogOptions): void; @@ -3792,7 +3792,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showTimePickerDialog(options: TimePickerDialogOptions): void; @@ -3811,7 +3811,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ showTextPickerDialog(options: TextPickerDialogOptions): void; @@ -3830,7 +3830,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ runScopedTask(callback: () => void): void; @@ -3842,7 +3842,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ setKeyboardAvoidMode(value: KeyboardAvoidMode): void; @@ -3852,7 +3852,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getKeyboardAvoidMode(): KeyboardAvoidMode; @@ -3863,7 +3863,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ setPixelRoundMode(mode: PixelRoundMode): void; @@ -3874,7 +3874,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getPixelRoundMode(): PixelRoundMode; @@ -3886,7 +3886,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ dispatchKeyEvent(node: number | string, event: KeyEvent): boolean; @@ -3896,7 +3896,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ getAtomicServiceBar(): Nullable; @@ -3919,7 +3919,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getDragController(): DragController; @@ -3929,7 +3929,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getMeasureUtils(): MeasureUtils; @@ -3950,7 +3950,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ keyframeAnimateTo(param: KeyframeAnimateParam, keyframes: Array): void; @@ -3959,7 +3959,7 @@ export class UIContext { * @returns { FocusController } the FocusController * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ getFocusController(): FocusController; @@ -3971,7 +3971,7 @@ export class UIContext { * and the system will automatically insert transition animations for state changes caused by the closure function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ animateToImmediately(param: AnimateParam, event: Callback): void; @@ -3983,7 +3983,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getFrameNodeById(id: string): FrameNode | null; @@ -3995,7 +3995,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getAttachedFrameNodeById(id: string): FrameNode | null; @@ -4014,7 +4014,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getFrameNodeByUniqueId(id: number): FrameNode | null; @@ -4028,7 +4028,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getPageInfoByUniqueId(id: number): PageInfo; @@ -4041,7 +4041,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getNavigationInfoByUniqueId(id: number): observer.NavigationInfo | undefined; @@ -4053,7 +4053,7 @@ export class UIContext { * set values less than 0 to 0 and values greater than 1 to 1. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ setDynamicDimming(id: string, value: number): void; @@ -4064,7 +4064,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getCursorController(): CursorController; @@ -4075,7 +4075,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getContextMenuController(): ContextMenuController; @@ -4084,7 +4084,7 @@ export class UIContext { * @returns { ComponentSnapshot } the ComponentSnapshot * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ getComponentSnapshot(): ComponentSnapshot; @@ -4094,7 +4094,7 @@ export class UIContext { * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ vp2px(value: number): number; @@ -4104,7 +4104,7 @@ export class UIContext { * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ px2vp(value: number): number; @@ -4114,7 +4114,7 @@ export class UIContext { * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ fp2px(value: number): number; @@ -4124,7 +4124,7 @@ export class UIContext { * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ px2fp(value: number): number; @@ -4134,7 +4134,7 @@ export class UIContext { * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ lpx2px(value: number): number; @@ -4144,7 +4144,7 @@ export class UIContext { * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ px2lpx(value: number): number; @@ -4156,7 +4156,7 @@ export class UIContext { * @stagemodelonly * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getSharedLocalStorage(): LocalStorage | undefined; @@ -4168,7 +4168,7 @@ export class UIContext { * @stagemodelonly * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getHostContext(): Context | undefined; @@ -4179,7 +4179,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getWindowName(): string | undefined; @@ -4189,7 +4189,7 @@ export class UIContext { * @returns { WidthBreakpoint } The width breakpoint of current window. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ getWindowWidthBreakpoint(): WidthBreakpoint; @@ -4199,7 +4199,7 @@ export class UIContext { * @returns { HeightBreakpoint } The height breakpoint of current window. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ getWindowHeightBreakpoint(): HeightBreakpoint; @@ -4230,7 +4230,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ openBindSheet(bindSheetContent: ComponentContent, sheetOptions?: SheetOptions, targetId?: number): Promise; @@ -4252,7 +4252,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ updateBindSheet(bindSheetContent: ComponentContent, sheetOptions: SheetOptions, partialUpdate?: boolean): Promise; @@ -4273,7 +4273,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ closeBindSheet(bindSheetContent: ComponentContent): Promise; @@ -4283,7 +4283,7 @@ export class UIContext { * @param { FrameCallback } frameCallback - The frame callback to run on the next frame. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ postFrameCallback(frameCallback: FrameCallback): void; @@ -4294,7 +4294,7 @@ export class UIContext { * @param { number } delayTime - The delay time in milliseconds, * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ postDelayedFrameCallback(frameCallback: FrameCallback, delayTime: number): void; @@ -4305,7 +4305,7 @@ export class UIContext { * @returns { Array} The instance of SwiperDynamicSyncScene. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ requireDynamicSyncScene(id: string): Array; @@ -4326,7 +4326,7 @@ export class UIContext { * @throws { BusinessError } 202 - The caller is not a system application. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 13 + * @since 13 dynamic */ clearResourceCache(): void; @@ -4337,7 +4337,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ isFollowingSystemFontScale(): boolean; @@ -4348,7 +4348,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ getMaxFontScale(): number; @@ -4360,7 +4360,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ bindTabsToScrollable(tabsController: TabsController, scroller: Scroller): void; @@ -4372,7 +4372,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ unbindTabsFromScrollable(tabsController: TabsController, scroller: Scroller): void; @@ -4385,7 +4385,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ bindTabsToNestedScrollable(tabsController: TabsController, parentScroller: Scroller, childScroller: Scroller): void; @@ -4398,7 +4398,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ unbindTabsFromNestedScrollable(tabsController: TabsController, parentScroller: Scroller, childScroller: Scroller): void; @@ -4408,7 +4408,7 @@ export class UIContext { * @param { Optional } enabled - enable or disable swipe to back event. * @syscap SystemCapability.ArkUI.ArkUI.Circle * @atomicservice - * @since 18 + * @since 18 dynamic */ enableSwipeBack(enabled: Optional): void; @@ -4420,7 +4420,7 @@ export class UIContext { * @throws { BusinessError } 202 - The caller is not a system application. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ freezeUINode(id: string, isFrozen: boolean): void; @@ -4432,7 +4432,7 @@ export class UIContext { * @throws { BusinessError } 202 - The caller is not a system application. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 18 + * @since 18 dynamic */ freezeUINode(uniqueId: number, isFrozen: boolean): void; @@ -4443,7 +4443,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 16 + * @since 16 dynamic */ getTextMenuController(): TextMenuController; @@ -4455,7 +4455,7 @@ export class UIContext { * @throws { BusinessError } 202 - The caller is not a system application. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ setKeyboardAppearanceConfig(uniqueId: number, config: KeyboardAppearanceConfig): void; @@ -4471,7 +4471,7 @@ export class UIContext { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ static createUIContextWithoutWindow(context: common.UIAbilityContext | common.ExtensionContext) : UIContext | undefined; @@ -4481,7 +4481,7 @@ export class UIContext { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 17 + * @since 17 dynamic */ static destroyUIContextWithoutWindow(): void; } @@ -4493,7 +4493,7 @@ export class UIContext { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export const enum KeyboardAvoidMode { @@ -4502,7 +4502,7 @@ export const enum KeyboardAvoidMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ OFFSET = 0, @@ -4511,7 +4511,7 @@ export const enum KeyboardAvoidMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ RESIZE = 1, @@ -4520,7 +4520,7 @@ export const enum KeyboardAvoidMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ OFFSET_WITH_CARET = 2, @@ -4529,7 +4529,7 @@ export const enum KeyboardAvoidMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ RESIZE_WITH_CARET = 3, @@ -4538,7 +4538,7 @@ export const enum KeyboardAvoidMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ NONE = 4 } @@ -4549,7 +4549,7 @@ export const enum KeyboardAvoidMode { * @enum { number } SwiperDynamicSyncSceneType * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ export const enum SwiperDynamicSyncSceneType { /** @@ -4557,7 +4557,7 @@ export const enum SwiperDynamicSyncSceneType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ GESTURE = 0, @@ -4566,7 +4566,7 @@ export const enum SwiperDynamicSyncSceneType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ ANIMATION = 1 } @@ -4577,7 +4577,7 @@ export const enum SwiperDynamicSyncSceneType { * @enum { number } MarqueeDynamicSyncSceneType * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ export const enum MarqueeDynamicSyncSceneType { /** @@ -4585,7 +4585,7 @@ export const enum MarqueeDynamicSyncSceneType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ ANIMATION = 1 } @@ -4596,7 +4596,7 @@ export const enum MarqueeDynamicSyncSceneType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 16 + * @since 16 dynamic */ export class TextMenuController { /** @@ -4606,7 +4606,7 @@ export class TextMenuController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 16 + * @since 16 dynamic */ setMenuOptions(options: TextMenuOptions): void; @@ -4616,7 +4616,7 @@ export class TextMenuController { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ static disableSystemServiceMenuItems(disable: boolean): void; @@ -4625,7 +4625,7 @@ export class TextMenuController { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ static disableMenuItems(items: Array): void; } @@ -4643,7 +4643,7 @@ export class TextMenuController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export const enum NodeRenderState { /** @@ -4656,7 +4656,7 @@ export const enum NodeRenderState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ ABOUT_TO_RENDER_IN = 0, @@ -4669,7 +4669,7 @@ export const enum NodeRenderState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ ABOUT_TO_RENDER_OUT = 1 } @@ -4684,7 +4684,7 @@ export const enum NodeRenderState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export const enum GestureActionPhase { /** @@ -4694,7 +4694,7 @@ export const enum GestureActionPhase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ WILL_START = 0, /** @@ -4704,7 +4704,7 @@ export const enum GestureActionPhase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ WILL_END = 1 } @@ -4716,7 +4716,7 @@ export const enum GestureActionPhase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export const enum GestureListenerType { /** @@ -4725,7 +4725,7 @@ export const enum GestureActionPhase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ TAP = 0, /** @@ -4734,7 +4734,7 @@ export const enum GestureActionPhase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ LONG_PRESS = 1, /** @@ -4743,7 +4743,7 @@ export const enum GestureActionPhase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ PAN = 2, /** @@ -4752,7 +4752,7 @@ export const enum GestureActionPhase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ PINCH = 3, /** @@ -4761,7 +4761,7 @@ export const enum GestureActionPhase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ SWIPE = 4, /** @@ -4770,7 +4770,7 @@ export const enum GestureActionPhase { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ ROTATION = 5 } \ No newline at end of file diff --git a/api/@ohos.arkui.UIContext.static.d.ets b/api/@ohos.arkui.UIContext.static.d.ets index 6fcd369b5a..9b5260d9d1 100755 --- a/api/@ohos.arkui.UIContext.static.d.ets +++ b/api/@ohos.arkui.UIContext.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import font from './@ohos.font'; import mediaQuery from './@ohos.mediaquery'; @@ -59,7 +58,7 @@ import { TextMenuOptions } from '@ohos.arkui.component'; * class Font * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class Font { /** @@ -67,7 +66,7 @@ export declare class Font { * * @param { font.FontOptions } options - FontOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ registerFont(options: font.FontOptions): void; @@ -75,7 +74,7 @@ export declare class Font { * Gets a list of fonts supported by system. * @returns { Array } A list of font names * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getSystemFontList(): Array; @@ -84,7 +83,7 @@ export declare class Font { * @param { string } fontName - font name * @returns { font.FontInfo } Returns the font info * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getFontByName(fontName: string): font.FontInfo; } @@ -93,7 +92,7 @@ export declare class Font { * class MediaQuery * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class MediaQuery { /** @@ -102,7 +101,7 @@ export declare class MediaQuery { * @param { string } condition - media conditions * @returns { mediaQuery.MediaQueryListener } the corresponding listening handle * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ matchMediaSync(condition: string): mediaQuery.MediaQueryListener; } @@ -110,7 +109,7 @@ export declare class MediaQuery { /** * class UIInspector * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class UIInspector { /** @@ -119,7 +118,7 @@ export declare class UIInspector { * @returns { inspector.ComponentObserver | undefined } create listener for observer component event. * If unable to obtain current ui context, the function will return undefined. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ createComponentObserver(id: string): inspector.ComponentObserver | undefined; } @@ -128,7 +127,7 @@ export declare class UIInspector { * class Router * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class Router { /** @@ -144,7 +143,7 @@ export declare class Router { * @throws { BusinessError } 100002 - Uri error. The URI of the page to redirect is incorrect or does not exist * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pushUrl(options: router.RouterOptions, callback: AsyncCallback): void; @@ -161,7 +160,7 @@ export declare class Router { * @throws { BusinessError } 100002 - Uri error. The URI of the page to redirect is incorrect or does not exist * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pushUrl(options: router.RouterOptions): Promise; @@ -179,7 +178,7 @@ export declare class Router { * @throws { BusinessError } 100002 - Uri error. The URI of the page to redirect is incorrect or does not exist * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pushUrl(options: router.RouterOptions, mode: router.RouterMode, callback: AsyncCallback): void; @@ -197,7 +196,7 @@ export declare class Router { * @throws { BusinessError } 100002 - Uri error. The URI of the page to redirect is incorrect or does not exist * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pushUrl(options: router.RouterOptions, mode: router.RouterMode): Promise; @@ -215,7 +214,7 @@ export declare class Router { * @throws { BusinessError } 200002 - Uri error. The URI of the page to be used for replacement is incorrect or does * not exist. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ replaceUrl(options: router.RouterOptions, callback: AsyncCallback): void; @@ -233,7 +232,7 @@ export declare class Router { * @throws { BusinessError } 200002 - Uri error. The URI of the page to be used for replacement is incorrect or does * not exist. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ replaceUrl(options: router.RouterOptions): Promise; @@ -252,7 +251,7 @@ export declare class Router { * @throws { BusinessError } 200002 - Uri error. The URI of the page to be used for replacement is incorrect or does * not exist. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ replaceUrl(options: router.RouterOptions, mode: router.RouterMode, callback: AsyncCallback): void; @@ -271,7 +270,7 @@ export declare class Router { * @throws { BusinessError } 200002 - Uri error. The URI of the page to be used for replacement is incorrect or does * not exist. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ replaceUrl(options: router.RouterOptions, mode: router.RouterMode): Promise; @@ -280,7 +279,7 @@ export declare class Router { * * @param { router.RouterOptions } options - Options. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ back(options?: router.RouterOptions): void; @@ -290,7 +289,7 @@ export declare class Router { * @param { number } index - index of page. * @param { Object } [params] - params of page. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ back(index: number, params?: Object): void; @@ -298,7 +297,7 @@ export declare class Router { * Clears all historical pages and retains only the current page at the top of the stack. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ clear(): void; @@ -307,7 +306,7 @@ export declare class Router { * * @returns { string } Number of pages in the stack. The maximum value is 32. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getLength(): string; @@ -316,7 +315,7 @@ export declare class Router { * * @returns { router.RouterState } Page state. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getState(): router.RouterState; @@ -326,7 +325,7 @@ export declare class Router { * @param { number } index - Index of page. * @returns { router.RouterState | undefined } Page state. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getStateByIndex(index: number): router.RouterState | undefined; @@ -336,7 +335,7 @@ export declare class Router { * @param { string } url - URL of page. * @returns { Array } Page state. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getStateByUrl(url: string): Array; @@ -350,7 +349,7 @@ export declare class Router { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Internal error. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ showAlertBeforeBackPage(options: router.EnableAlertOptions): void; @@ -358,7 +357,7 @@ export declare class Router { * Hide alert before back page. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ hideAlertBeforeBackPage(): void; @@ -367,7 +366,7 @@ export declare class Router { * * @returns { Object } Page params. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getParams(): Object; @@ -383,7 +382,7 @@ export declare class Router { * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed. * @throws { BusinessError } 100004 - Named route error. The named route does not exist. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pushNamedRoute(options: router.NamedRouterOptions, callback: AsyncCallback): void; @@ -399,7 +398,7 @@ export declare class Router { * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed. * @throws { BusinessError } 100004 - Named route error. The named route does not exist. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pushNamedRoute(options: router.NamedRouterOptions): Promise; @@ -416,7 +415,7 @@ export declare class Router { * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed. * @throws { BusinessError } 100004 - Named route error. The named route does not exist. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pushNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode, callback: AsyncCallback): void; @@ -433,7 +432,7 @@ export declare class Router { * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed. * @throws { BusinessError } 100004 - Named route error. The named route does not exist. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pushNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode): Promise; @@ -449,7 +448,7 @@ export declare class Router { * standard system. * @throws { BusinessError } 100004 - Named route error. The named route does not exist. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ replaceNamedRoute(options: router.NamedRouterOptions, callback: AsyncCallback): void; @@ -463,7 +462,7 @@ export declare class Router { * standard system. * @throws { BusinessError } 100004 - Named route error. The named route does not exist. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ replaceNamedRoute(options: router.NamedRouterOptions): Promise; @@ -478,7 +477,7 @@ export declare class Router { * standard system. * @throws { BusinessError } 100004 - Named route error. The named route does not exist. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ replaceNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode, callback: AsyncCallback): void; @@ -495,7 +494,7 @@ export declare class Router { * system. * @throws { BusinessError } 100004 - Named route error. The named route does not exist. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ replaceNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode): Promise; } @@ -505,7 +504,7 @@ export declare class Router { * * @typedef { function } CustomBuilderWithId * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ declare type CustomBuilderWithId = (id: number) => void; @@ -514,7 +513,7 @@ declare type CustomBuilderWithId = (id: number) => void; * * @interface TargetInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface TargetInfo { /** @@ -522,7 +521,7 @@ export interface TargetInfo { * * @type { string | number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ id: string | number; @@ -531,7 +530,7 @@ export interface TargetInfo { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ componentId?: number; } @@ -540,7 +539,7 @@ export interface TargetInfo { * class PromptAction * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class PromptAction { /** @@ -553,7 +552,7 @@ export declare class PromptAction { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Internal error. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ showToast(options: promptAction.ShowToastOptions): void; @@ -568,7 +567,7 @@ export declare class PromptAction { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Internal error. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ openToast(options: promptAction.ShowToastOptions): Promise; @@ -583,7 +582,7 @@ export declare class PromptAction { * @throws { BusinessError } 100001 - Internal error. * @throws { BusinessError } 103401 - Cannot find the toast. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ closeToast(toastId: number): void; @@ -598,7 +597,7 @@ export declare class PromptAction { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Internal error. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ showDialog(options: promptAction.ShowDialogOptions, callback: AsyncCallback): void; @@ -614,7 +613,7 @@ export declare class PromptAction { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Internal error. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ showDialog(options: promptAction.ShowDialogOptions): Promise; @@ -629,7 +628,7 @@ export declare class PromptAction { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Internal error. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ showActionMenu(options: promptAction.ActionMenuOptions, callback: AsyncCallback): void; @@ -645,7 +644,7 @@ export declare class PromptAction { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Internal error. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ showActionMenu(options: promptAction.ActionMenuOptions): Promise; @@ -662,7 +661,7 @@ export declare class PromptAction { * @throws { BusinessError } 103301 - The ComponentContent is incorrect. * @throws { BusinessError } 103302 - Dialog content already exists. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ openCustomDialog(dialogContent: ComponentContent, options?: promptAction.BaseDialogOptions): Promise; @@ -681,7 +680,7 @@ export declare class PromptAction { * @throws { BusinessError } 103301 - The ComponentContent is incorrect. * @throws { BusinessError } 103302 - Dialog content already exists. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ openCustomDialogWithController(dialogContent: ComponentContent, controller: promptAction.DialogController, @@ -700,7 +699,7 @@ export declare class PromptAction { * @throws { BusinessError } 103301 - The ComponentContent is incorrect. * @throws { BusinessError } 103303 - The ComponentContent cannot be found. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ updateCustomDialog(dialogContent: ComponentContent, options: promptAction.BaseDialogOptions): Promise; @@ -717,7 +716,7 @@ export declare class PromptAction { * @throws { BusinessError } 103301 - The ComponentContent is incorrect. * @throws { BusinessError } 103303 - The ComponentContent cannot be found. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ closeCustomDialog(dialogContent: ComponentContent): Promise; @@ -732,7 +731,7 @@ export declare class PromptAction { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Internal error. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ openCustomDialog(options: promptAction.CustomDialogOptions): Promise; @@ -749,7 +748,7 @@ export declare class PromptAction { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Internal error. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ presentCustomDialog(builder: CustomBuilder | CustomBuilderT, controller?: promptAction.DialogController, options?: promptAction.DialogOptions): Promise; @@ -764,7 +763,7 @@ export declare class PromptAction { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Internal error. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ closeCustomDialog(dialogId: number): void; @@ -773,7 +772,7 @@ export declare class PromptAction { * * @returns { LevelOrder | undefined } the display order, or undefined if there is no dialog. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getTopOrder(): LevelOrder | undefined; @@ -782,7 +781,7 @@ export declare class PromptAction { * * @returns { LevelOrder | undefined } the display order, or undefined if there is no dialog. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getBottomOrder(): LevelOrder | undefined; @@ -802,7 +801,7 @@ export declare class PromptAction { * @throws { BusinessError } 103304 - The target does not exist. * @throws { BusinessError } 103305 - The target node is not in the component tree. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ openPopup(content: ComponentContent, target: TargetInfo, options?: PopupCommonOptions): Promise; @@ -823,7 +822,7 @@ export declare class PromptAction { * @throws { BusinessError } 103301 - The ComponentContent is incorrect. * @throws { BusinessError } 103303 - The ComponentContent cannot be found. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ updatePopup(content: ComponentContent, options: PopupCommonOptions, partialUpdate?: boolean): Promise; @@ -840,7 +839,7 @@ export declare class PromptAction { * @throws { BusinessError } 103301 - The ComponentContent is incorrect. * @throws { BusinessError } 103303 - The ComponentContent cannot be found. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ closePopup(content: ComponentContent): Promise; @@ -860,7 +859,7 @@ export declare class PromptAction { * @throws { BusinessError } 103304 - The target does not exist. * @throws { BusinessError } 103305 - The target node is not in the component tree. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ openMenu(content: ComponentContent, target: TargetInfo, options?: MenuOptions): Promise; @@ -880,7 +879,7 @@ export declare class PromptAction { * @throws { BusinessError } 103301 - The ComponentContent is incorrect. * @throws { BusinessError } 103303 - The ComponentContent cannot be found. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ updateMenu(content: ComponentContent, options: MenuOptions, partialUpdate?: boolean): Promise; @@ -897,7 +896,7 @@ export declare class PromptAction { * @throws { BusinessError } 103301 - The ComponentContent is incorrect. * @throws { BusinessError } 103303 - The ComponentContent cannot be found. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ closeMenu(content: ComponentContent): Promise; } @@ -911,7 +910,7 @@ export declare class PromptAction { * @param { ClickEvent } event - the information of ClickEvent * @param { FrameNode } [node] - the information of frameNode * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ type ClickEventListenerCallback = (event: ClickEvent, node?: FrameNode) => void; /** @@ -924,7 +923,7 @@ type ClickEventListenerCallback = (event: ClickEvent, node?: FrameNode) => void; * @param { GestureRecognizer } current - the information of panRecognizer * @param { FrameNode } [node] - the information of frameNode * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ type PanListenerCallback = (event: GestureEvent, current: GestureRecognizer, node?: FrameNode) => void; /** @@ -936,7 +935,7 @@ type PanListenerCallback = (event: GestureEvent, current: GestureRecognizer, nod * @param { GestureEvent } event - the information of GestureEvent * @param { FrameNode } [node] - the information of frameNode * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ type GestureEventListenerCallback = (event: GestureEvent, node?: FrameNode) => void; /** @@ -948,7 +947,7 @@ type GestureEventListenerCallback = (event: GestureEvent, node?: FrameNode) => v * * @interface PageInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface PageInfo { /** @@ -956,7 +955,7 @@ export interface PageInfo { * * @type { ?observer.RouterPageInfo } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ routerPageInfo?: observer.RouterPageInfo; @@ -965,7 +964,7 @@ export interface PageInfo { * * @type { ?observer.NavDestinationInfo } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ navDestinationInfo?: observer.NavDestinationInfo; } @@ -975,7 +974,7 @@ export interface PageInfo { * * @interface OverlayManagerOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface OverlayManagerOptions { /** @@ -984,7 +983,7 @@ export interface OverlayManagerOptions { * @type { ?boolean } * @default true * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ renderRootOverlay?: boolean; @@ -994,7 +993,7 @@ export interface OverlayManagerOptions { * @type { ?boolean } * @default false * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ enableBackPressedEvent?: boolean; } @@ -1006,7 +1005,7 @@ export interface OverlayManagerOptions { * * @typedef { string | number } NodeIdentity * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare type NodeIdentity = string | number; @@ -1021,7 +1020,7 @@ export declare type NodeIdentity = string | number; * * @enum { number } NodeRenderState * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export const enum NodeRenderState { /** @@ -1032,7 +1031,7 @@ export const enum NodeRenderState { * trigger the callback once, and the state notified at this time typically represents the current state. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ABOUT_TO_RENDER_IN = 0, @@ -1043,7 +1042,7 @@ export const enum NodeRenderState { * trigger the callback once, and the state notified at this time typically represents the current state. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ABOUT_TO_RENDER_OUT = 1 } @@ -1055,7 +1054,7 @@ export const enum NodeRenderState { * @param { NodeRenderState } state - the node's render state * @param { FrameNode } [node] - the information of frameNode * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare type NodeRenderStateChangeCallback = (state: NodeRenderState, node?: FrameNode) => void; @@ -1067,7 +1066,7 @@ export declare type NodeRenderStateChangeCallback = (state: NodeRenderState, nod * * @enum { number } GestureActionPhase * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export const enum GestureActionPhase { /** @@ -1075,7 +1074,7 @@ export const enum GestureActionPhase { * executed immediately. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ WILL_START = 0, @@ -1084,7 +1083,7 @@ export const enum GestureActionPhase { * fingers, ending the entire interaction, and the action-end callback will be executed immediately. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ WILL_END = 1 } @@ -1094,14 +1093,14 @@ export const enum GestureActionPhase { * * @enum { number } GestureListenerType * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export const enum GestureListenerType { /** * The tap gesture. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ TAP = 0, @@ -1109,7 +1108,7 @@ export const enum GestureListenerType { * The long press gesture. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ LONG_PRESS = 1, @@ -1117,7 +1116,7 @@ export const enum GestureListenerType { * The pan gesture. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ PAN = 2, @@ -1125,7 +1124,7 @@ export const enum GestureListenerType { * The pinch gesture. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ PINCH = 3, @@ -1133,7 +1132,7 @@ export const enum GestureListenerType { * The swipe gesture. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ SWIPE = 4, @@ -1141,7 +1140,7 @@ export const enum GestureListenerType { * The rotation gesture. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ROTATION = 5 } @@ -1151,7 +1150,7 @@ export const enum GestureListenerType { * * @interface GestureTriggerInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface GestureTriggerInfo { /** @@ -1159,7 +1158,7 @@ export interface GestureTriggerInfo { * * @type { GestureEvent } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ event: GestureEvent; @@ -1169,7 +1168,7 @@ export interface GestureTriggerInfo { * * @type { GestureRecognizer } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ current: GestureRecognizer; @@ -1178,7 +1177,7 @@ export interface GestureTriggerInfo { * * @type { GestureActionPhase } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ currentPhase: GestureActionPhase; @@ -1187,7 +1186,7 @@ export interface GestureTriggerInfo { * * @type { ?FrameNode } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ node?: FrameNode; } @@ -1197,7 +1196,7 @@ export interface GestureTriggerInfo { * * @interface GestureObserverConfigs * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface GestureObserverConfigs { /** @@ -1207,7 +1206,7 @@ export interface GestureObserverConfigs { * * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ actionPhases: Array; } @@ -1219,7 +1218,7 @@ export interface GestureObserverConfigs { * @param { GestureTriggerInfo } info - the gesture details triggered with user interaction * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare type GestureListenerCallback = (info: GestureTriggerInfo) => void; @@ -1227,7 +1226,7 @@ export declare type GestureListenerCallback = (info: GestureTriggerInfo) => void * Register callbacks to observe ArkUI behavior. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class UIObserver { /** @@ -1238,7 +1237,7 @@ export declare class UIObserver { * @param { Callback } callback - The callback function to be called when the navigation * destination is updated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'navDestinationUpdate', options: observer.NavDestinationSwitchObserverOptions, @@ -1253,7 +1252,7 @@ export declare class UIObserver { * @param { Callback } callback - The callback function to remove. If not provided, * all callbacks for the given event type and navigation ID will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'navDestinationUpdate', options: observer.NavDestinationSwitchObserverOptions, @@ -1266,7 +1265,7 @@ export declare class UIObserver { * @param { Callback } callback - The callback function to be called when the navigation * destination is updated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'navDestinationUpdate', callback: Callback): void; @@ -1278,7 +1277,7 @@ export declare class UIObserver { * @param { Callback } [callback] - The callback function to remove. If not provided, * all callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'navDestinationUpdate', callback?: Callback): void; @@ -1290,7 +1289,7 @@ export declare class UIObserver { * @param { Callback } callback - The callback function to be called when the scroll event * start or stop. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'scrollEvent', options: observer.ObserverOptions, callback: Callback): void; @@ -1303,7 +1302,7 @@ export declare class UIObserver { * callbacks for the given event type and * scroll ID will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'scrollEvent', options: observer.ObserverOptions, callback?: Callback): void; @@ -1314,7 +1313,7 @@ export declare class UIObserver { * @param { Callback } callback - The callback function to be called when the scroll event * start or stop. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'scrollEvent', callback: Callback): void; @@ -1326,7 +1325,7 @@ export declare class UIObserver { * callbacks for the given event type * will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'scrollEvent', callback?: Callback): void; @@ -1337,7 +1336,7 @@ export declare class UIObserver { * @param { Callback } callback - The callback function to be called when the router page is * updated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'routerPageUpdate', callback: Callback): void; @@ -1348,7 +1347,7 @@ export declare class UIObserver { * @param { Callback } [callback] - The callback function to remove. If not provided, all * callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'routerPageUpdate', callback?: Callback): void; @@ -1359,7 +1358,7 @@ export declare class UIObserver { * @param { Callback } callback - The callback function to be called when the screen density is * updated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'densityUpdate', callback: Callback): void; @@ -1370,7 +1369,7 @@ export declare class UIObserver { * @param { Callback } [callback] - The callback function to remove. If not provided, all * callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'densityUpdate', callback?: Callback): void; @@ -1380,7 +1379,7 @@ export declare class UIObserver { * @param { 'willDraw' } type - The type of event to listen for. Must be 'willDraw'. * @param { Callback } callback - The callback function to be called when the draw command will be drawn. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'willDraw', callback: Callback): void; @@ -1391,7 +1390,7 @@ export declare class UIObserver { * @param { Callback } [callback] - The callback function to remove. If not provided, all callbacks for the * given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'willDraw', callback?: Callback): void; @@ -1401,7 +1400,7 @@ export declare class UIObserver { * @param { 'didLayout' } type - The type of event to listen for. Must be 'didLayout'. * @param { Callback } callback - The callback function to be called when the layout is done. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'didLayout', callback: Callback): void; @@ -1413,7 +1412,7 @@ export declare class UIObserver { * given event type * will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'didLayout', callback?: Callback): void; @@ -1424,7 +1423,7 @@ export declare class UIObserver { * @param { Callback } callback - The callback function to be called when * the navigation switched to a new navDestination. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on( type: 'navDestinationSwitch', @@ -1439,7 +1438,7 @@ export declare class UIObserver { * @param { Callback } [callback] - The callback function to remove. * If not provided, all callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off( type: 'navDestinationSwitch', @@ -1454,7 +1453,7 @@ export declare class UIObserver { * @param { Callback } callback - The callback function to be called when the * navigation switched to a new navDestination. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on( type: 'navDestinationSwitch', @@ -1471,7 +1470,7 @@ export declare class UIObserver { * @param { Callback } [callback] - The callback function to remove. If not * provided, all callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off( type: 'navDestinationSwitch', @@ -1486,7 +1485,7 @@ export declare class UIObserver { * @param { ClickEventListenerCallback } callback - The callback function to be called * when the clickEvent will be trigger or after. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'willClick', callback: ClickEventListenerCallback): void; @@ -1497,7 +1496,7 @@ export declare class UIObserver { * @param { ClickEventListenerCallback } [callback] - The callback function to remove. If not provided, * all callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'willClick', callback?: ClickEventListenerCallback): void; @@ -1508,7 +1507,7 @@ export declare class UIObserver { * @param { ClickEventListenerCallback } callback - The callback function to be called * when the clickEvent will be trigger or after. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'didClick', callback: ClickEventListenerCallback): void; @@ -1519,7 +1518,7 @@ export declare class UIObserver { * @param { ClickEventListenerCallback } [callback] - The callback function to remove. If not provided, * all callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'didClick', callback?: ClickEventListenerCallback): void; @@ -1530,7 +1529,7 @@ export declare class UIObserver { * @param { GestureEventListenerCallback } callback - The callback function to be called * when the clickEvent will be trigger or after. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'willClick', callback: GestureEventListenerCallback): void; @@ -1541,7 +1540,7 @@ export declare class UIObserver { * @param { GestureEventListenerCallback } [callback] - The callback function to remove. If not provided, * all callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'willClick', callback?: GestureEventListenerCallback): void; @@ -1552,7 +1551,7 @@ export declare class UIObserver { * @param { GestureEventListenerCallback } callback - The callback function to be called * when the clickEvent will be trigger or after. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'didClick', callback: GestureEventListenerCallback): void; @@ -1563,7 +1562,7 @@ export declare class UIObserver { * @param { GestureEventListenerCallback } [callback] - The callback function to remove. If not provided, * all callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'didClick', callback?: GestureEventListenerCallback): void; @@ -1574,7 +1573,7 @@ export declare class UIObserver { * @param { PanListenerCallback } callback - The callback function to be called * when the panGesture will be trigger or after. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'beforePanStart', callback: PanListenerCallback): void; @@ -1585,7 +1584,7 @@ export declare class UIObserver { * @param { PanListenerCallback } [callback] - The callback function to remove. If not provided, * all callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'beforePanStart', callback?: PanListenerCallback): void; @@ -1596,7 +1595,7 @@ export declare class UIObserver { * @param { PanListenerCallback } callback - The callback function to be called * when the panGesture will be trigger or after. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'beforePanEnd', callback: PanListenerCallback): void; @@ -1607,7 +1606,7 @@ export declare class UIObserver { * @param { PanListenerCallback } [callback] - The callback function to remove. If not provided, * all callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'beforePanEnd', callback?: PanListenerCallback): void; @@ -1618,7 +1617,7 @@ export declare class UIObserver { * @param { PanListenerCallback } callback - The callback function to be called * when the panGesture will be trigger or after. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'afterPanStart', callback: PanListenerCallback): void; @@ -1629,7 +1628,7 @@ export declare class UIObserver { * @param { PanListenerCallback } [callback] - The callback function to remove. If not provided, * all callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'afterPanStart', callback?: PanListenerCallback): void; @@ -1640,7 +1639,7 @@ export declare class UIObserver { * @param { PanListenerCallback } callback - The callback function to be called * when the panGesture will be trigger or after. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'afterPanEnd', callback: PanListenerCallback): void; @@ -1651,7 +1650,7 @@ export declare class UIObserver { * @param { PanListenerCallback } [callback] - The callback function to remove. If not provided, * all callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'afterPanEnd', callback?: PanListenerCallback): void; @@ -1684,7 +1683,7 @@ export declare class UIObserver { * when the clickEvent will be trigger or after. * @throws { BusinessError } 161001 - The count of nodes monitoring render state is over the limitation. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'nodeRenderState', nodeIdentity: NodeIdentity, callback: NodeRenderStateChangeCallback): void; @@ -1696,7 +1695,7 @@ export declare class UIObserver { * @param { NodeRenderStateChangeCallback } [callback] - The callback function to remove. If not provided, * all callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'nodeRenderState', nodeIdentity: NodeIdentity, callback?: NodeRenderStateChangeCallback): void; @@ -1708,7 +1707,7 @@ export declare class UIObserver { * @param { Callback } callback - The callback function to be called * when the tabContent show or hide. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'tabContentUpdate', options: observer.ObserverOptions, callback: Callback): void; @@ -1720,7 +1719,7 @@ export declare class UIObserver { * @param { Callback } callback - The callback function to remove. If not provided, * all callbacks for the given event type and Tabs ID will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'tabContentUpdate', options: observer.ObserverOptions, callback?: Callback): void; @@ -1731,7 +1730,7 @@ export declare class UIObserver { * @param { Callback } callback - The callback function to be called * when the tabContent is showed or hidden. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'tabContentUpdate', callback: Callback): void; @@ -1742,7 +1741,7 @@ export declare class UIObserver { * @param { Callback } callback - The callback function to remove. If not provided, * all callbacks for the given event type and Tabs ID will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'tabContentUpdate', callback?: Callback): void; @@ -1754,7 +1753,7 @@ export declare class UIObserver { * @param { GestureListenerCallback } callback - The callback function to be called when any gesture's state * is updated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ addGlobalGestureListener(type: GestureListenerType, option: GestureObserverConfigs, callback: GestureListenerCallback): void; @@ -1766,7 +1765,7 @@ export declare class UIObserver { * @param { GestureListenerCallback } [callback] - The callback function to be removed. If not provided, * all callbacks for the given gesture type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ removeGlobalGestureListener(type: GestureListenerType, callback?: GestureListenerCallback): void; } @@ -1774,7 +1773,7 @@ export declare class UIObserver { /** * class ComponentUtils * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class ComponentUtils { /** @@ -1784,7 +1783,7 @@ export declare class ComponentUtils { * @returns { componentUtils.ComponentInfo } the object of ComponentInfo. * @throws { BusinessError } 100001 - UI execution context not found. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getRectangleById(id: string): componentUtils.ComponentInfo; } @@ -1792,7 +1791,7 @@ export declare class ComponentUtils { /** * class OverlayManager * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class OverlayManager { /** @@ -1801,7 +1800,7 @@ export declare class OverlayManager { * @param { ComponentContent } content - The content will be added to the OverlayManager. * @param { number } [ index ] - The index at which to add the ComponentContent. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ addComponentContent(content: ComponentContent, index?: number): void; @@ -1811,7 +1810,7 @@ export declare class OverlayManager { * @param { ComponentContent } content - The content will be added to the OverlayManager. * @param { LevelOrder } [ levelOrder ] - The display order of the ComponentContent. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ addComponentContentWithOrder(content: ComponentContent, levelOrder?: LevelOrder): void; @@ -1820,7 +1819,7 @@ export declare class OverlayManager { * * @param { ComponentContent } content - The content will be removed from the OverlayManager. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ removeComponentContent(content: ComponentContent): void; @@ -1829,7 +1828,7 @@ export declare class OverlayManager { * * @param { ComponentContent } content - The content will be shown. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ showComponentContent(content: ComponentContent): void; @@ -1838,7 +1837,7 @@ export declare class OverlayManager { * * @param { ComponentContent } content - The content will be hidden. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ hideComponentContent(content: ComponentContent): void; @@ -1846,7 +1845,7 @@ export declare class OverlayManager { * Show all ComponentContents on the OverlayManager. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ showAllComponentContents(): void; @@ -1854,7 +1853,7 @@ export declare class OverlayManager { * Hide all ComponentContents on the OverlayManager. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ hideAllComponentContents(): void; } @@ -1863,7 +1862,7 @@ export declare class OverlayManager { * interface AtomicServiceBar * @interface AtomicServiceBar * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface AtomicServiceBar { /** @@ -1871,7 +1870,7 @@ export interface AtomicServiceBar { * * @param { boolean } visible - whether this bar is visible. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setVisible(visible: boolean): void; @@ -1880,7 +1879,7 @@ export interface AtomicServiceBar { * * @param { Nullable< Color | number | string> } color - the color to set, undefined indicates using default. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setBackgroundColor(color: Nullable< Color | number | string>): void; @@ -1889,7 +1888,7 @@ export interface AtomicServiceBar { * * @param { string } content - the content of the bar. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setTitleContent(content: string): void; @@ -1898,7 +1897,7 @@ export interface AtomicServiceBar { * * @param { FontStyle } font - the font style of the bar's title. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setTitleFontStyle(font: FontStyle): void; @@ -1907,7 +1906,7 @@ export interface AtomicServiceBar { * * @param { Nullable< Color | number | string> } color - the color to set to icon, undefined indicates using default. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setIconColor(color: Nullable< Color | number | string>): void; @@ -1916,7 +1915,7 @@ export interface AtomicServiceBar { * * @returns { Frame } The size and position of bar in vp relative to window. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getBarRect(): Frame; } @@ -1925,7 +1924,7 @@ export interface AtomicServiceBar { * Represents a dynamic synchronization scene. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class DynamicSyncScene { /** @@ -1933,7 +1932,7 @@ export declare class DynamicSyncScene { * * @param { ExpectedFrameRateRange } range - The range of frameRate. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setFrameRateRange(range: ExpectedFrameRateRange): void; @@ -1942,7 +1941,7 @@ export declare class DynamicSyncScene { * * @returns { ExpectedFrameRateRange } The range of frameRate. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getFrameRateRange(): ExpectedFrameRateRange; } @@ -1952,7 +1951,7 @@ export declare class DynamicSyncScene { * * @extends DynamicSyncScene * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class SwiperDynamicSyncScene extends DynamicSyncScene { /** @@ -1960,7 +1959,7 @@ export declare class SwiperDynamicSyncScene extends DynamicSyncScene { * @type { SwiperDynamicSyncSceneType } * @readonly * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ readonly type: SwiperDynamicSyncSceneType; } @@ -1970,7 +1969,7 @@ export declare class SwiperDynamicSyncScene extends DynamicSyncScene { * * @extends DynamicSyncScene * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class MarqueeDynamicSyncScene extends DynamicSyncScene { /** @@ -1978,7 +1977,7 @@ export declare class MarqueeDynamicSyncScene extends DynamicSyncScene { * @type { MarqueeDynamicSyncSceneType } * @readonly * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ readonly type: MarqueeDynamicSyncSceneType; } @@ -1986,7 +1985,7 @@ export declare class MarqueeDynamicSyncScene extends DynamicSyncScene { /** * class DragController * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class DragController { /** @@ -2002,7 +2001,7 @@ export declare class DragController { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Internal handling failed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ executeDrag(custom: CustomBuilder | DragItemInfo | undefined, dragInfo: dragController.DragInfo, callback: AsyncCallback): void; @@ -2019,7 +2018,7 @@ export declare class DragController { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Internal handling failed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ executeDrag(custom: CustomBuilder | DragItemInfo | undefined, dragInfo: dragController.DragInfo) : Promise; @@ -2037,7 +2036,7 @@ export declare class DragController { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Internal handling failed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ createDragAction(customArray: Array | undefined, dragInfo: dragController.DragInfo): dragController.DragAction; @@ -2046,7 +2045,7 @@ export declare class DragController { * Get a drag preview object. * @returns { dragController.DragPreview } A drag preview object. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getDragPreview(): dragController.DragPreview; @@ -2061,7 +2060,7 @@ export declare class DragController { * not fully strict. * @param { boolean } enable - Indicating enable drag event strict reporting or not. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setDragEventStrictReportingEnabled(enable: boolean): void; @@ -2069,7 +2068,7 @@ export declare class DragController { * Notify the drag start request to specific pending or continue. * @param { dragController.DragStartRequestStatus } requestStatus - Status about the drag start behavior. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ notifyDragStartRequest(requestStatus: dragController.DragStartRequestStatus): void; @@ -2080,7 +2079,7 @@ export declare class DragController { * @throws { BusinessError } 401 - Parameter error. * @throws { BusinessError } 190004 - Operation failed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ cancelDataLoading(key: string): void; @@ -2101,7 +2100,7 @@ export declare class DragController { * * @param { boolean } enabled - Indicating enable the disallow status showing or not. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ enableDropDisallowedBadge(enabled: boolean): void; } @@ -2109,7 +2108,7 @@ export declare class DragController { /** * class MeasureUtils * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class MeasureUtils { /** @@ -2118,7 +2117,7 @@ export declare class MeasureUtils { * @param { MeasureOptions } options - Options. * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ measureText(options: MeasureOptions): number; @@ -2128,7 +2127,7 @@ export declare class MeasureUtils { * @param { MeasureOptions } options - Options of measure area occupied by text. * @returns { SizeOptions } width and height for text to display * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ measureTextSize(options: MeasureOptions): SizeOptions; } @@ -2136,13 +2135,13 @@ export declare class MeasureUtils { /** * class FocusController * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class FocusController { /** * clear focus to the root container. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ clearFocus(): void; @@ -2153,7 +2152,7 @@ export declare class FocusController { * @throws { BusinessError } 150002 - This component has an unfocusable ancestor. * @throws { BusinessError } 150003 - the component is not on tree or does not exist. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ requestFocus(key: string): void; @@ -2163,7 +2162,7 @@ export declare class FocusController { * @param { boolean } [autoInactive] - deactivate the focus style when touch event or mouse event triggers, * the default value is true. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ activate(isActive: boolean, autoInactive?: boolean): void; @@ -2171,7 +2170,7 @@ export declare class FocusController { * Get whether the focus style is active. * @returns { boolean } Whether the focus style is active. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ isActive(): boolean; @@ -2179,7 +2178,7 @@ export declare class FocusController { * Set whether to enable autofocus transfer. * @param { boolean } isAutoFocusTransfer - A Boolean value that indicates whether autofocus transfer is enabled. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setAutoFocusTransfer(isAutoFocusTransfer: boolean): void; @@ -2187,7 +2186,7 @@ export declare class FocusController { * Set the priority of key event processing when component cannot handle the key event.. * @param { KeyProcessingMode } mode - Key processing mode. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setKeyProcessingMode(mode: KeyProcessingMode): void; } @@ -2197,7 +2196,7 @@ export declare class FocusController { * * @typedef {pointer.PointerStyle} PointerStyle * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 20 + * @since 20 static */ export type PointerStyle = pointer.PointerStyle; @@ -2205,14 +2204,14 @@ export type PointerStyle = pointer.PointerStyle; * class CursorController * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class CursorController { /** * Restore default cursor. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ restoreDefault(): void; /** @@ -2220,7 +2219,7 @@ export declare class CursorController { * * @param { PointerStyle } value - cursor style enum. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setCursor(value: PointerStyle): void; } @@ -2229,14 +2228,14 @@ export declare class CursorController { * class ContextMenuController * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class ContextMenuController { /** * Close context menu. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ close(): void; } @@ -2245,7 +2244,7 @@ export declare class ContextMenuController { * Class FrameCallback * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare abstract class FrameCallback { /** @@ -2253,7 +2252,7 @@ export declare abstract class FrameCallback { * * @param { number } frameTimeInNano - The frame time in nanoseconds. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onFrame(frameTimeInNano: number): void; @@ -2262,7 +2261,7 @@ export declare abstract class FrameCallback { * * @param { number } timeLeftInNano - The remaining time from the deadline for this frame. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onIdle(timeLeftInNano: number): void; } @@ -2274,14 +2273,14 @@ export declare abstract class FrameCallback { * @typedef { common.Context } Context * @syscap SystemCapability.Ability.AbilityRuntime.Core * @StageModelOnly - * @since 20 + * @since 20 static */ export type Context = common.Context; /** * class ComponentSnapshot * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class ComponentSnapshot { /** @@ -2296,7 +2295,7 @@ export declare class ComponentSnapshot { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Invalid ID. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ get(id: string, callback: AsyncCallback, options?: componentSnapshot.SnapshotOptions): void; @@ -2312,7 +2311,7 @@ export declare class ComponentSnapshot { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Invalid ID. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ get(id: string, options?: componentSnapshot.SnapshotOptions): Promise; @@ -2332,7 +2331,7 @@ export declare class ComponentSnapshot { * @throws { BusinessError } 160001 - An image component in builder is not ready for taking a snapshot. The check for * the ready state is required when the checkImageStatus option is enabled. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ createFromBuilder(builder: CustomBuilder, callback: AsyncCallback, delay?: number, checkImageStatus?: boolean, options?: componentSnapshot.SnapshotOptions): void; @@ -2353,7 +2352,7 @@ export declare class ComponentSnapshot { * @throws { BusinessError } 160001 - An image component in builder is not ready for taking a snapshot. The check for * the ready state is required when the checkImageStatus option is enabled. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ createFromBuilder(builder: CustomBuilder, delay?: number, checkImageStatus?: boolean, options?: componentSnapshot.SnapshotOptions): Promise; @@ -2373,7 +2372,7 @@ export declare class ComponentSnapshot { * @throws { BusinessError } 100001 - Invalid ID. * @throws { BusinessError } 160002 - Timeout. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getSync(id: string, options?: componentSnapshot.SnapshotOptions): image.PixelMap; @@ -2389,7 +2388,7 @@ export declare class ComponentSnapshot { *
3. Parameter verification failed. * @throws { BusinessError } 100001 - Invalid ID. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getWithUniqueId(uniqueId: number, options?: componentSnapshot.SnapshotOptions): Promise; @@ -2408,7 +2407,7 @@ export declare class ComponentSnapshot { * @throws { BusinessError } 100001 - Invalid ID. * @throws { BusinessError } 160002 - Timeout. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getSyncWithUniqueId(uniqueId: number, options?: componentSnapshot.SnapshotOptions): image.PixelMap; @@ -2428,7 +2427,7 @@ export declare class ComponentSnapshot { * @throws { BusinessError } 160001 - An image component in builder is not ready for taking a snapshot. The check for * the ready state is required when the checkImageStatus option is enabled. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ createFromComponent(content: ComponentContent, delay?: number, checkImageStatus?: boolean, options?: componentSnapshot.SnapshotOptions): Promise; @@ -2448,7 +2447,7 @@ export declare class ComponentSnapshot { * @throws { BusinessError } 100001 - Invalid ID detected. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ getWithRange(start: NodeIdentity, end: NodeIdentity, isStartRect: boolean, options?: componentSnapshot.SnapshotOptions): Promise; @@ -2458,7 +2457,7 @@ export declare class ComponentSnapshot { * class UIContext * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class UIContext { /** @@ -2466,7 +2465,7 @@ export declare class UIContext { * * @returns { Font } object Font. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getFont(): Font; @@ -2475,7 +2474,7 @@ export declare class UIContext { * * @returns { boolean } Returns true if the UIContext object is available. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ isAvailable(): boolean; @@ -2484,7 +2483,7 @@ export declare class UIContext { * * @returns { MediaQuery } object MediaQuery. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getMediaQuery(): MediaQuery; @@ -2492,7 +2491,7 @@ export declare class UIContext { * get object UIInspector. * @returns { UIInspector } object UIInspector. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getUIInspector(): UIInspector; @@ -2505,7 +2504,7 @@ export declare class UIContext { *
2. Incorrect parameters types. *
3. Parameter verification failed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getFilteredInspectorTree(filters?: Array): string; @@ -2520,7 +2519,7 @@ export declare class UIContext { *
2. Incorrect parameters types. *
3. Parameter verification failed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getFilteredInspectorTreeById(id: string, depth: number, filters?: Array): string; @@ -2529,7 +2528,7 @@ export declare class UIContext { * * @returns { Router } object Router. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getRouter(): Router; @@ -2538,7 +2537,7 @@ export declare class UIContext { * * @returns { PromptAction } object PromptAction. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getPromptAction(): PromptAction; @@ -2546,7 +2545,7 @@ export declare class UIContext { * get object ComponentUtils. * @returns { ComponentUtils } object ComponentUtils. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getComponentUtils(): ComponentUtils; @@ -2555,7 +2554,7 @@ export declare class UIContext { * * @returns { UIObserver } The UI observer. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getUIObserver(): UIObserver; @@ -2564,7 +2563,7 @@ export declare class UIContext { * * @returns { OverlayManager } object OverlayManager. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getOverlayManager(): OverlayManager; @@ -2575,7 +2574,7 @@ export declare class UIContext { * @returns { boolean } Returns true if it is called first and before getting an OverlayManager instance; returns * false otherwise. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setOverlayManagerOptions(options: OverlayManagerOptions): boolean; @@ -2584,7 +2583,7 @@ export declare class UIContext { * * @returns { OverlayManagerOptions } object OverlayManagerOptions. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getOverlayManagerOptions(): OverlayManagerOptions; @@ -2598,7 +2597,7 @@ export declare class UIContext { *
2. Incorrect parameters types. *
3. Parameter verification failed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ createAnimator(options: AnimatorOptions): AnimatorResult; @@ -2612,7 +2611,7 @@ export declare class UIContext { *
2. Incorrect parameters types. *
3. Parameter verification failed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ createAnimator(options: AnimatorOptions | SimpleAnimatorOptions): AnimatorResult; @@ -2622,7 +2621,7 @@ export declare class UIContext { * @param { AnimateParam } value - parameters for animation. * @param { function } event - the closure base on which, the system will create animation automatically * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ animateTo(value: AnimateParam, event: () => void): void; @@ -2632,7 +2631,7 @@ export declare class UIContext { * @param { AlertDialogParamWithConfirm | AlertDialogParamWithButtons | AlertDialogParamWithOptions } options - * Options. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ showAlertDialog( options: AlertDialogParamWithConfirm | AlertDialogParamWithButtons | AlertDialogParamWithOptions): void; @@ -2642,7 +2641,7 @@ export declare class UIContext { * * @param { ActionSheetOptions } value - Options. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ showActionSheet(value: ActionSheetOptions): void; @@ -2651,7 +2650,7 @@ export declare class UIContext { * * @param { DatePickerDialogOptions } options - Options. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ showDatePickerDialog(options: DatePickerDialogOptions): void; @@ -2660,7 +2659,7 @@ export declare class UIContext { * * @param { TimePickerDialogOptions } options - Options. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ showTimePickerDialog(options: TimePickerDialogOptions): void; @@ -2669,7 +2668,7 @@ export declare class UIContext { * * @param { TextPickerDialogOptions } options - Options. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ showTextPickerDialog(options: TextPickerDialogOptions): void; @@ -2678,7 +2677,7 @@ export declare class UIContext { * * @param { function } callback - The function called through UIContext. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ runScopedTask(callback: () => void): void; @@ -2687,7 +2686,7 @@ export declare class UIContext { * * @param { KeyboardAvoidMode } value - The mode of keyboard avoid. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setKeyboardAvoidMode(value: KeyboardAvoidMode): void; @@ -2695,7 +2694,7 @@ export declare class UIContext { * Get KeyboardAvoidMode. * @returns { KeyboardAvoidMode } The mode of keyboard avoid. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getKeyboardAvoidMode(): KeyboardAvoidMode; @@ -2704,7 +2703,7 @@ export declare class UIContext { * * @param { PixelRoundMode } mode - The mode of pixel round. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setPixelRoundMode(mode: PixelRoundMode): void; @@ -2713,7 +2712,7 @@ export declare class UIContext { * * @returns { PixelRoundMode } the mode of pixel round. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getPixelRoundMode(): PixelRoundMode; @@ -2723,7 +2722,7 @@ export declare class UIContext { * @param { number | string } node - The uniqueId or inspector key of the target FrameNode. * @returns { boolean } Returns whether the key event is consumed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ dispatchKeyEvent(node: number | string, event: KeyEvent): boolean; @@ -2731,7 +2730,7 @@ export declare class UIContext { * Get AtomicServiceBar. * @returns { Nullable } The atomic service bar. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getAtomicServiceBar(): Nullable; @@ -2739,7 +2738,7 @@ export declare class UIContext { * Get DragController. * @returns { DragController } the DragController * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getDragController(): DragController; @@ -2747,7 +2746,7 @@ export declare class UIContext { * Get MeasureUtils. * @returns { MeasureUtils } the MeasureUtils * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getMeasureUtils(): MeasureUtils; @@ -2757,7 +2756,7 @@ export declare class UIContext { * @param { KeyframeAnimateParam } param - overall animation parameters * @param { Array } keyframes - all keyframe states * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ keyframeAnimateTo(param: KeyframeAnimateParam, keyframes: Array): void; @@ -2765,7 +2764,7 @@ export declare class UIContext { * Get FocusController. * @returns { FocusController } the FocusController * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getFocusController(): FocusController; @@ -2777,7 +2776,7 @@ export declare class UIContext { * and the system will automatically insert transition animations for state changes caused by the closure function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ animateToImmediately(param: AnimateParam, event: Callback): void; @@ -2787,7 +2786,7 @@ export declare class UIContext { * @param { string } id - The id of FrameNode. * @returns { FrameNode | null } The instance of FrameNode. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getFrameNodeById(id: string): FrameNode | null; @@ -2797,7 +2796,7 @@ export declare class UIContext { * @param { string } id - The id of FrameNode. * @returns { FrameNode | null } The instance of FrameNode. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getAttachedFrameNodeById(id: string): FrameNode | null; @@ -2807,7 +2806,7 @@ export declare class UIContext { * @param { number } id - The uniqueId of the FrameNode. * @returns { FrameNode | null } - The FrameNode with the target uniqueId, or null if the frameNode is not existed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getFrameNodeByUniqueId(id: number): FrameNode | null; @@ -2819,7 +2818,7 @@ export declare class UIContext { * navDestination and router page information. If the frame node does not have navDestination and * router page information, it will return an empty object. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getPageInfoByUniqueId(id: number): PageInfo; @@ -2830,7 +2829,7 @@ export declare class UIContext { * @returns { observer.NavigationInfo | undefined } - The navigation information of the frameNode with the * target uniqueId, or undefined if the frameNode is not existed or does not have navigation information. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getNavigationInfoByUniqueId(id: number): observer.NavigationInfo | undefined; @@ -2842,7 +2841,7 @@ export declare class UIContext { * set values less than 0 to 0 and values greater than 1 to 1. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ setDynamicDimming(id: string, value: number): void; @@ -2851,7 +2850,7 @@ export declare class UIContext { * * @returns { CursorController } object cursor controller. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getCursorController(): CursorController; @@ -2860,7 +2859,7 @@ export declare class UIContext { * * @returns { ContextMenuController } object context menu controller. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getContextMenuController(): ContextMenuController; @@ -2868,7 +2867,7 @@ export declare class UIContext { * Get ComponentSnapshot. * @returns { ComponentSnapshot } the ComponentSnapshot * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getComponentSnapshot(): ComponentSnapshot; @@ -2877,7 +2876,7 @@ export declare class UIContext { * @param { number } value * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ vp2px(value: number): number; @@ -2886,7 +2885,7 @@ export declare class UIContext { * @param { number } value * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ px2vp(value: number): number; @@ -2895,7 +2894,7 @@ export declare class UIContext { * @param { number } value * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fp2px(value: number): number; @@ -2904,7 +2903,7 @@ export declare class UIContext { * @param { number } value * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ px2fp(value: number): number; @@ -2913,7 +2912,7 @@ export declare class UIContext { * @param { number } value * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ lpx2px(value: number): number; @@ -2922,7 +2921,7 @@ export declare class UIContext { * @param { number } value * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ px2lpx(value: number): number; @@ -2932,7 +2931,7 @@ export declare class UIContext { * @returns { LocalStorage | undefined } * @syscap SystemCapability.ArkUI.ArkUI.Full * @stagemodelonly - * @since 20 + * @since 20 static */ getSharedLocalStorage(): LocalStorage | undefined; @@ -2942,7 +2941,7 @@ export declare class UIContext { * @returns { Context | undefined } * @syscap SystemCapability.ArkUI.ArkUI.Full * @stagemodelonly - * @since 20 + * @since 20 static */ getHostContext(): Context | undefined; @@ -2951,7 +2950,7 @@ export declare class UIContext { * * @returns { string | undefined } The name of current window, or undefined if the window doesn't exist. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getWindowName(): string | undefined; @@ -2960,7 +2959,7 @@ export declare class UIContext { * * @returns { WidthBreakpoint } The width breakpoint of current window. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getWindowWidthBreakpoint(): WidthBreakpoint; @@ -2969,7 +2968,7 @@ export declare class UIContext { * * @returns { HeightBreakpoint } The height breakpoint of current window. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getWindowHeightBreakpoint(): HeightBreakpoint; @@ -2990,7 +2989,7 @@ export declare class UIContext { * @throws { BusinessError } 120005 - The node of targetId is not in the component tree. * @throws { BusinessError } 120006 - The node of targetId is not a child of the page node or NavDestination node. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ openBindSheet(bindSheetContent: ComponentContent, sheetOptions?: SheetOptions, targetId?: number): Promise; @@ -3011,7 +3010,7 @@ export declare class UIContext { * @throws { BusinessError } 120001 - The bindSheetContent is incorrect. * @throws { BusinessError } 120003 - The bindSheetContent cannot be found. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ updateBindSheet(bindSheetContent: ComponentContent, sheetOptions: SheetOptions, partialUpdate?: boolean): Promise; @@ -3028,7 +3027,7 @@ export declare class UIContext { * @throws { BusinessError } 120001 - The bindSheetContent is incorrect. * @throws { BusinessError } 120003 - The bindSheetContent cannot be found. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ closeBindSheet(bindSheetContent: ComponentContent): Promise; @@ -3037,7 +3036,7 @@ export declare class UIContext { * * @param { FrameCallback } frameCallback - The frame callback to run on the next frame. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ postFrameCallback(frameCallback: FrameCallback): void; @@ -3047,7 +3046,7 @@ export declare class UIContext { * @param { FrameCallback } frameCallback - The frame callback to run on the next frame. * @param { number } delayTime - The delay time in milliseconds, * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ postDelayedFrameCallback(frameCallback: FrameCallback, delayTime: number): void; @@ -3057,7 +3056,7 @@ export declare class UIContext { * @param { string } id - The id of DynamicSyncScene. * @returns { Array} The instance of SwiperDynamicSyncScene. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ requireDynamicSyncScene(id: string): Array; @@ -3069,7 +3068,7 @@ export declare class UIContext { * @throws { BusinessError } 202 - The caller is not a system application. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ clearResourceCache(): void; @@ -3078,7 +3077,7 @@ export declare class UIContext { * * @returns { boolean } Returns true if current font scale follows the system; returns false otherwise. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ isFollowingSystemFontScale(): boolean; @@ -3087,7 +3086,7 @@ export declare class UIContext { * * @returns { double } The max font scale. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getMaxFontScale(): double; @@ -3097,7 +3096,7 @@ export declare class UIContext { * @param { TabsController } tabsController - The controller of the tabs. * @param { Scroller } scroller - The controller of the scrollable container component. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ bindTabsToScrollable(tabsController: TabsController, scroller: Scroller): void; @@ -3107,7 +3106,7 @@ export declare class UIContext { * @param { TabsController } tabsController - The controller of the tabs. * @param { Scroller } scroller - The controller of the scrollable container component. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ unbindTabsFromScrollable(tabsController: TabsController, scroller: Scroller): void; @@ -3118,7 +3117,7 @@ export declare class UIContext { * @param { Scroller } parentScroller - The controller of the parent scrollable container component. * @param { Scroller } childScroller - The controller of the child scrollable container component. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ bindTabsToNestedScrollable(tabsController: TabsController, parentScroller: Scroller, childScroller: Scroller): void; @@ -3129,7 +3128,7 @@ export declare class UIContext { * @param { Scroller } parentScroller - The controller of the parent scrollable container component. * @param { Scroller } childScroller - The controller of the child scrollable container component. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ unbindTabsFromNestedScrollable(tabsController: TabsController, parentScroller: Scroller, childScroller: Scroller): void; @@ -3139,7 +3138,7 @@ export declare class UIContext { * * @param { Optional } enabled - enable or disable swipe to back event. * @syscap SystemCapability.ArkUI.ArkUI.Circle - * @since 20 + * @since 20 static */ enableSwipeBack(enabled: Optional): void; @@ -3160,7 +3159,7 @@ export declare class UIContext { * @throws { BusinessError } 120304 - The targetId does not exist. * @throws { BusinessError } 120305 - The node of targetId is not in the component tree. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ openBindContentCover(content: ComponentContent, controller: ContentCoverController, contentCoverOptions?: ContentCoverOptions, targetId?: number): Promise; @@ -3173,7 +3172,7 @@ export declare class UIContext { * @throws { BusinessError } 202 - The caller is not a system application. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ freezeUINode(id: string, isFrozen: boolean): void; @@ -3185,7 +3184,7 @@ export declare class UIContext { * @throws { BusinessError } 202 - The caller is not a system application. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ freezeUINode(uniqueId: number, isFrozen: boolean): void; @@ -3194,7 +3193,7 @@ export declare class UIContext { * * @returns { TextMenuController } object text menu controller. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getTextMenuController(): TextMenuController; @@ -3209,7 +3208,7 @@ export declare class UIContext { * @throws { BusinessError } 100001 - Internal error. * @static * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ static createUIContextWithoutWindow( context: common.UIAbilityContext | common.ExtensionContext): UIContext | undefined; @@ -3219,7 +3218,7 @@ export declare class UIContext { * * @static * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ static destroyUIContextWithoutWindow(): void; @@ -3228,7 +3227,7 @@ export declare class UIContext { * * @param { VoidCallback } callback - The callback function to be executed in the UI thread. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setUIStates(callback: VoidCallback): void; @@ -3239,7 +3238,7 @@ export declare class UIContext { * @returns { UIContext | undefined } The focused UIContext, or undefined if it does not exist. * @static * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ static getFocusedUIContext(): UIContext | undefined; } @@ -3249,41 +3248,41 @@ export declare class UIContext { * * @enum { number } KeyBoardAvoidMethodType * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export const enum KeyboardAvoidMode { /** * Default Type, offset the whole page when keyBoard height changed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ OFFSET = 0, /** * Resize Type, resize the page when keyBoard height changed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ RESIZE = 1, /** * Offset Type, offset the whole page when caret position or keyboard height changed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ OFFSET_WITH_CARET = 2, /** * Resize Type, resize the whole page when when caret position or keyboard height changed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ RESIZE_WITH_CARET = 3, /** * None Type, nothing to do when keyboard height changed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ NONE = 4 } @@ -3293,14 +3292,14 @@ export const enum KeyboardAvoidMode { * * @enum { number } SwiperDynamicSyncSceneType * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export const enum SwiperDynamicSyncSceneType { /** * Scene type is GESTURE. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ GESTURE = 0, @@ -3308,7 +3307,7 @@ export const enum SwiperDynamicSyncSceneType { * Scene type is ANIMATION. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ANIMATION = 1 } @@ -3318,14 +3317,14 @@ export const enum SwiperDynamicSyncSceneType { * * @enum { number } MarqueeDynamicSyncSceneType * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export const enum MarqueeDynamicSyncSceneType { /** * Scene type is ANIMATION. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ANIMATION = 1 } @@ -3334,7 +3333,7 @@ export const enum MarqueeDynamicSyncSceneType { * class TextMenuController * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class TextMenuController { /** @@ -3342,7 +3341,7 @@ export declare class TextMenuController { * * @param { TextMenuOptions } options - the options of the text menu. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setMenuOptions(options: TextMenuOptions): void; @@ -3353,7 +3352,7 @@ export declare class TextMenuController { * @param { boolean } disable - flag to disable service menu items * @static * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ static disableSystemServiceMenuItems(disable: boolean): void; } @@ -3362,14 +3361,14 @@ export declare class TextMenuController { * The class used to control ContentConver * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class ContentCoverController { /** * The constructor. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ constructor(); @@ -3381,7 +3380,7 @@ export declare class ContentCoverController { * otherwise the rest of the properties are overwritten with the default values. * Default value is false. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ update(contentCoverOptions: ContentCoverOptions, partialUpdate?: boolean): void; @@ -3389,7 +3388,7 @@ export declare class ContentCoverController { * Close contentConver. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ close(): void; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.ArcButton.d.ets b/api/@ohos.arkui.advanced.ArcButton.d.ets index 3d9a4303ad..32468e341a 100644 --- a/api/@ohos.arkui.advanced.ArcButton.d.ets +++ b/api/@ohos.arkui.advanced.ArcButton.d.ets @@ -27,7 +27,7 @@ import { ColorMetrics, LengthMetrics } from '@ohos.arkui.node'; * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare enum ArcButtonPosition { @@ -37,7 +37,7 @@ export declare enum ArcButtonPosition { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ TOP_EDGE = 0, /** @@ -46,7 +46,7 @@ export declare enum ArcButtonPosition { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ BOTTOM_EDGE = 1 } @@ -58,7 +58,7 @@ export declare enum ArcButtonPosition { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare enum ArcButtonStyleMode { @@ -68,7 +68,7 @@ export declare enum ArcButtonStyleMode { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ EMPHASIZED_LIGHT = 0, /** @@ -77,7 +77,7 @@ export declare enum ArcButtonStyleMode { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ EMPHASIZED_DARK = 1, /** @@ -86,7 +86,7 @@ export declare enum ArcButtonStyleMode { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ NORMAL_LIGHT = 2, /** @@ -95,7 +95,7 @@ export declare enum ArcButtonStyleMode { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ NORMAL_DARK = 3, @@ -105,7 +105,7 @@ export declare enum ArcButtonStyleMode { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ CUSTOM = 4 } @@ -117,7 +117,7 @@ export declare enum ArcButtonStyleMode { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare enum ArcButtonStatus { @@ -127,7 +127,7 @@ export declare enum ArcButtonStatus { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ NORMAL = 0, /** @@ -136,7 +136,7 @@ export declare enum ArcButtonStatus { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ PRESSED = 1, /** @@ -145,7 +145,7 @@ export declare enum ArcButtonStatus { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ DISABLED = 2 } @@ -157,7 +157,7 @@ export declare enum ArcButtonStatus { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ interface CommonArcButtonOptions { @@ -168,7 +168,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ position?: ArcButtonPosition; /** @@ -178,7 +178,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ styleMode?: ArcButtonStyleMode; /** @@ -188,7 +188,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ status?: ArcButtonStatus; /** @@ -198,7 +198,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ label?: ResourceStr; /** @@ -208,7 +208,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundBlurStyle?: BlurStyle; /** @@ -218,7 +218,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundColor?: ColorMetrics; /** @@ -228,7 +228,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ shadowColor?: ColorMetrics; /** @@ -238,7 +238,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ shadowEnabled?: boolean; /** @@ -248,7 +248,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontSize?: LengthMetrics; /** @@ -258,7 +258,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontColor?: ColorMetrics; /** @@ -268,7 +268,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ pressedFontColor?: ColorMetrics; /** @@ -278,7 +278,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontStyle?: FontStyle; /** @@ -288,7 +288,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontFamily?: string | Resource; /** @@ -298,7 +298,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontMargin?: LocalizedMargin; @@ -309,7 +309,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onTouch?: Callback; @@ -320,7 +320,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onClick?: Callback; } @@ -330,7 +330,7 @@ interface CommonArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare class ArcButtonOptions { @@ -341,7 +341,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ position: ArcButtonPosition; /** @@ -351,7 +351,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ styleMode: ArcButtonStyleMode; /** @@ -361,7 +361,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ status: ArcButtonStatus; /** @@ -371,7 +371,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ label: ResourceStr; /** @@ -381,7 +381,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundBlurStyle: BlurStyle; /** @@ -391,7 +391,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundColor: ColorMetrics; /** @@ -401,7 +401,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ shadowColor: ColorMetrics; /** @@ -411,7 +411,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ shadowEnabled: boolean; /** @@ -421,7 +421,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontSize: LengthMetrics; /** @@ -431,7 +431,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontColor: ColorMetrics; /** @@ -441,7 +441,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ pressedFontColor: ColorMetrics; /** @@ -451,7 +451,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontStyle: FontStyle; /** @@ -461,7 +461,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontFamily: string | Resource; /** @@ -471,7 +471,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontMargin: LocalizedMargin; @@ -482,7 +482,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onTouch?: Callback; @@ -493,7 +493,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onClick?: Callback; @@ -504,7 +504,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options: CommonArcButtonOptions); } @@ -514,7 +514,7 @@ export declare class ArcButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @Component @@ -526,7 +526,7 @@ export declare struct ArcButton { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require readonly options: ArcButtonOptions; diff --git a/api/@ohos.arkui.advanced.ArcSlider.d.ets b/api/@ohos.arkui.advanced.ArcSlider.d.ets index 678a385aaf..2fe7a1229e 100644 --- a/api/@ohos.arkui.advanced.ArcSlider.d.ets +++ b/api/@ohos.arkui.advanced.ArcSlider.d.ets @@ -25,7 +25,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @@ -37,7 +37,7 @@ export declare enum ArcSliderPosition { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ LEFT = 0, @@ -47,7 +47,7 @@ export declare enum ArcSliderPosition { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ RIGHT = 1 } @@ -59,7 +59,7 @@ export declare enum ArcSliderPosition { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ interface ArcSliderValueOptionsConstructorOptions { @@ -70,7 +70,7 @@ interface ArcSliderValueOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ progress?: number; @@ -82,7 +82,7 @@ interface ArcSliderValueOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ min?: number; @@ -94,7 +94,7 @@ interface ArcSliderValueOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ max?: number; } @@ -105,7 +105,7 @@ interface ArcSliderValueOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -117,7 +117,7 @@ declare class ArcSliderValueOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace progress?: number; @@ -130,7 +130,7 @@ declare class ArcSliderValueOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace min?: number; @@ -143,7 +143,7 @@ declare class ArcSliderValueOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace max?: number; @@ -155,7 +155,7 @@ declare class ArcSliderValueOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options?: ArcSliderValueOptionsConstructorOptions); } @@ -167,7 +167,7 @@ declare class ArcSliderValueOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ interface ArcSliderLayoutOptionsConstructorOptions { @@ -179,7 +179,7 @@ interface ArcSliderLayoutOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ reverse?: boolean; /** @@ -190,7 +190,7 @@ interface ArcSliderLayoutOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ position?: ArcSliderPosition; } @@ -200,7 +200,7 @@ interface ArcSliderLayoutOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -213,7 +213,7 @@ declare class ArcSliderLayoutOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace reverse?: boolean; @@ -226,7 +226,7 @@ declare class ArcSliderLayoutOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace position?: ArcSliderPosition; @@ -238,7 +238,7 @@ declare class ArcSliderLayoutOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options?: ArcSliderLayoutOptionsConstructorOptions); } @@ -250,7 +250,7 @@ declare class ArcSliderLayoutOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ interface ArcSliderStyleOptionsConstructorOptions { @@ -262,7 +262,7 @@ interface ArcSliderStyleOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ trackThickness?: number; @@ -274,7 +274,7 @@ interface ArcSliderStyleOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ activeTrackThickness?: number; @@ -286,7 +286,7 @@ interface ArcSliderStyleOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ trackColor?: string; @@ -298,7 +298,7 @@ interface ArcSliderStyleOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedColor?: string; @@ -310,7 +310,7 @@ interface ArcSliderStyleOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ trackBlur?: number; } @@ -321,7 +321,7 @@ interface ArcSliderStyleOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -334,7 +334,7 @@ declare class ArcSliderStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace trackThickness?: number; @@ -347,7 +347,7 @@ declare class ArcSliderStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace activeTrackThickness?: number; @@ -360,7 +360,7 @@ declare class ArcSliderStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace trackColor?: string; @@ -373,7 +373,7 @@ declare class ArcSliderStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace selectedColor?: string; @@ -386,7 +386,7 @@ declare class ArcSliderStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace trackBlur?: number; @@ -398,7 +398,7 @@ declare class ArcSliderStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options?: ArcSliderStyleOptionsConstructorOptions); } @@ -411,7 +411,7 @@ declare class ArcSliderStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare type ArcSliderTouchHandler = (event: TouchEvent) => void; @@ -424,7 +424,7 @@ declare type ArcSliderTouchHandler = (event: TouchEvent) => void; * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare type ArcSliderChangeHandler = (progress: number) => void; @@ -437,7 +437,7 @@ declare type ArcSliderChangeHandler = (progress: number) => void; * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare type ArcSliderEnlargeHandler = (isEnlarged: boolean) => void; @@ -449,7 +449,7 @@ declare type ArcSliderEnlargeHandler = (isEnlarged: boolean) => void; * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ interface ArcSliderOptionsConstructorOptions { @@ -460,7 +460,7 @@ interface ArcSliderOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ valueOptions?: ArcSliderValueOptions; @@ -471,7 +471,7 @@ interface ArcSliderOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ layoutOptions?: ArcSliderLayoutOptions; @@ -482,7 +482,7 @@ interface ArcSliderOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ styleOptions?: ArcSliderStyleOptions; @@ -493,7 +493,7 @@ interface ArcSliderOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ digitalCrownSensitivity?: CrownSensitivity; @@ -504,7 +504,7 @@ interface ArcSliderOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onTouch?: ArcSliderTouchHandler; @@ -515,7 +515,7 @@ interface ArcSliderOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onChange?: ArcSliderChangeHandler; @@ -526,7 +526,7 @@ interface ArcSliderOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onEnlarge?: ArcSliderEnlargeHandler; } @@ -537,7 +537,7 @@ interface ArcSliderOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -549,7 +549,7 @@ declare class ArcSliderOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace valueOptions?: ArcSliderValueOptions; @@ -561,7 +561,7 @@ declare class ArcSliderOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace layoutOptions?: ArcSliderLayoutOptions; @@ -573,7 +573,7 @@ declare class ArcSliderOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace styleOptions?: ArcSliderStyleOptions; @@ -585,7 +585,7 @@ declare class ArcSliderOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace digitalCrownSensitivity?: CrownSensitivity; @@ -597,7 +597,7 @@ declare class ArcSliderOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace onTouch?: ArcSliderTouchHandler; @@ -609,7 +609,7 @@ declare class ArcSliderOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace onChange?: ArcSliderChangeHandler; @@ -621,7 +621,7 @@ declare class ArcSliderOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace onEnlarge?: ArcSliderEnlargeHandler; @@ -633,7 +633,7 @@ declare class ArcSliderOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options?: ArcSliderOptionsConstructorOptions); } @@ -644,7 +644,7 @@ declare class ArcSliderOptions { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @Component @@ -656,7 +656,7 @@ declare struct ArcSlider { * @syscap SystemCapability.ArkUI.ArkUI.Circle * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ options: ArcSliderOptions; } diff --git a/api/@ohos.arkui.advanced.Chip.d.ets b/api/@ohos.arkui.advanced.Chip.d.ets index 9977ba7a5d..7cd0028313 100644 --- a/api/@ohos.arkui.advanced.Chip.d.ets +++ b/api/@ohos.arkui.advanced.Chip.d.ets @@ -38,7 +38,7 @@ import { SymbolGlyphModifier } from './@ohos.arkui.modifier'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @@ -57,7 +57,7 @@ export declare enum ChipSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ NORMAL = "NORMAL", @@ -74,7 +74,7 @@ export declare enum ChipSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SMALL = "SMALL" } @@ -86,7 +86,7 @@ export declare enum ChipSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic * @noninterop */ export declare enum AccessibilitySelectedType { @@ -96,7 +96,7 @@ export declare enum AccessibilitySelectedType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ CLICKED = 0, @@ -106,7 +106,7 @@ export declare enum AccessibilitySelectedType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ CHECKED = 1, @@ -116,7 +116,7 @@ export declare enum AccessibilitySelectedType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ SELECTED = 2 } @@ -136,7 +136,7 @@ export declare enum AccessibilitySelectedType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface IconCommonOptions { @@ -156,7 +156,7 @@ export interface IconCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ src: ResourceStr; @@ -175,7 +175,7 @@ export interface IconCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ size?: SizeOptions; @@ -194,7 +194,7 @@ export interface IconCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fillColor?: ResourceColor; @@ -205,7 +205,7 @@ export interface IconCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ activatedFillColor?: ResourceColor; } @@ -227,7 +227,7 @@ export interface IconCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface SuffixIconOptions extends IconCommonOptions { @@ -247,7 +247,7 @@ export interface SuffixIconOptions extends IconCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ action?: () => void; @@ -258,7 +258,7 @@ export interface SuffixIconOptions extends IconCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityText?: ResourceStr; @@ -269,7 +269,7 @@ export interface SuffixIconOptions extends IconCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityDescription?: ResourceStr; @@ -281,7 +281,7 @@ export interface SuffixIconOptions extends IconCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityLevel?: string; } @@ -303,7 +303,7 @@ export interface SuffixIconOptions extends IconCommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface PrefixIconOptions extends IconCommonOptions {} @@ -315,7 +315,7 @@ export interface PrefixIconOptions extends IconCommonOptions {} * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic * @noninterop */ export interface AccessibilityOptions { @@ -327,7 +327,7 @@ export interface AccessibilityOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityLevel?: string; @@ -338,7 +338,7 @@ export interface AccessibilityOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityText?: ResourceStr; @@ -349,7 +349,7 @@ export interface AccessibilityOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityDescription?: ResourceStr; } @@ -361,7 +361,7 @@ export interface AccessibilityOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic * @noninterop */ export interface CloseOptions extends AccessibilityOptions {} @@ -372,7 +372,7 @@ export interface CloseOptions extends AccessibilityOptions {} * @interface ChipSymbolGlyphOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface ChipSymbolGlyphOptions { @@ -383,7 +383,7 @@ export interface ChipSymbolGlyphOptions { * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ normal?: SymbolGlyphModifier; @@ -393,7 +393,7 @@ export interface ChipSymbolGlyphOptions { * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ activated?: SymbolGlyphModifier; } @@ -405,7 +405,7 @@ export interface ChipSymbolGlyphOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic * @noninterop */ export interface ChipSuffixSymbolGlyphOptions { @@ -416,7 +416,7 @@ export interface ChipSuffixSymbolGlyphOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ normalAccessibility?: AccessibilityOptions; @@ -427,7 +427,7 @@ export interface ChipSuffixSymbolGlyphOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ activatedAccessibility?: AccessibilityOptions; @@ -438,7 +438,7 @@ export interface ChipSuffixSymbolGlyphOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ action?: VoidCallback; } @@ -458,7 +458,7 @@ export interface ChipSuffixSymbolGlyphOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface LabelMarginOptions { @@ -478,7 +478,7 @@ export interface LabelMarginOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ left?: Dimension; @@ -497,7 +497,7 @@ export interface LabelMarginOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ right?: Dimension; } @@ -509,7 +509,7 @@ export interface LabelMarginOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface LocalizedLabelMarginOptions { @@ -521,7 +521,7 @@ export interface LocalizedLabelMarginOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ start?: LengthMetrics; @@ -532,7 +532,7 @@ export interface LocalizedLabelMarginOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ end?: LengthMetrics; } @@ -552,7 +552,7 @@ export interface LocalizedLabelMarginOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface LabelOptions { @@ -572,7 +572,7 @@ export interface LabelOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ text: string; @@ -591,7 +591,7 @@ export interface LabelOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontSize?: Dimension; @@ -610,7 +610,7 @@ export interface LabelOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontColor?: ResourceColor; @@ -621,7 +621,7 @@ export interface LabelOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ activatedFontColor?: ResourceColor; @@ -640,7 +640,7 @@ export interface LabelOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontFamily?: string; @@ -659,7 +659,7 @@ export interface LabelOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ labelMargin?: LabelMarginOptions; @@ -670,7 +670,7 @@ export interface LabelOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ localizedLabelMargin?: LocalizedLabelMarginOptions; } @@ -690,7 +690,7 @@ export interface LabelOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface ChipOptions { @@ -709,7 +709,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ prefixIcon?: PrefixIconOptions; @@ -719,7 +719,7 @@ export interface ChipOptions { * @type { ?ChipSymbolGlyphOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ prefixSymbol?: ChipSymbolGlyphOptions; @@ -738,7 +738,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ label: LabelOptions; @@ -757,7 +757,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ suffixIcon?: SuffixIconOptions; @@ -767,7 +767,7 @@ export interface ChipOptions { * @type { ?ChipSymbolGlyphOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ suffixSymbol?: ChipSymbolGlyphOptions; @@ -778,7 +778,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ suffixSymbolOptions?: ChipSuffixSymbolGlyphOptions; @@ -797,7 +797,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ allowClose?: boolean; @@ -808,7 +808,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ closeOptions?: CloseOptions; @@ -827,7 +827,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ enabled?: boolean; @@ -838,7 +838,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ activated?: boolean; @@ -857,7 +857,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: ResourceColor; @@ -868,7 +868,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ activatedBackgroundColor?: ResourceColor; @@ -887,7 +887,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderRadius?: Dimension; @@ -906,7 +906,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ size?: ChipSize | SizeOptions; @@ -925,7 +925,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onClose?: () => void; @@ -936,7 +936,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onClicked?: Callback; @@ -947,7 +947,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ direction?: Direction; @@ -958,7 +958,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityDescription?: ResourceStr; @@ -970,7 +970,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityLevel?: string; @@ -981,7 +981,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilitySelectedType?: AccessibilitySelectedType; } @@ -1001,7 +1001,7 @@ export interface ChipOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Builder diff --git a/api/@ohos.arkui.advanced.ChipGroup.d.ets b/api/@ohos.arkui.advanced.ChipGroup.d.ets index bc4bc2019c..8838bcd14d 100644 --- a/api/@ohos.arkui.advanced.ChipGroup.d.ets +++ b/api/@ohos.arkui.advanced.ChipGroup.d.ets @@ -29,7 +29,7 @@ import { SymbolGlyphModifier } from './@ohos.arkui.modifier'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface IconOptions { @@ -41,7 +41,7 @@ export interface IconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ src: ResourceStr; @@ -52,7 +52,7 @@ export interface IconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ size?: SizeOptions; } @@ -64,7 +64,7 @@ export interface IconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic * @noninterop */ export interface SuffixImageIconOptions extends IconOptions { @@ -75,7 +75,7 @@ export interface SuffixImageIconOptions extends IconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ action?: VoidCallback; @@ -86,7 +86,7 @@ export interface SuffixImageIconOptions extends IconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityText?: ResourceStr; @@ -97,7 +97,7 @@ export interface SuffixImageIconOptions extends IconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityDescription?: ResourceStr; @@ -109,7 +109,7 @@ export interface SuffixImageIconOptions extends IconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityLevel?: string; } @@ -121,7 +121,7 @@ export interface SuffixImageIconOptions extends IconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface LabelOptions { @@ -133,7 +133,7 @@ export interface LabelOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ text: string; } @@ -146,7 +146,7 @@ export interface LabelOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface ChipGroupItemOptions { @@ -158,7 +158,7 @@ export interface ChipGroupItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ prefixIcon?: IconOptions; @@ -168,7 +168,7 @@ export interface ChipGroupItemOptions { * @type { ?ChipSymbolGlyphOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ prefixSymbol?: ChipSymbolGlyphOptions; @@ -179,7 +179,7 @@ export interface ChipGroupItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ label: LabelOptions; @@ -190,7 +190,7 @@ export interface ChipGroupItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 14 * @useinstead ChipGroupItemOptions#suffixImageIcon */ @@ -203,7 +203,7 @@ export interface ChipGroupItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ suffixImageIcon?: SuffixImageIconOptions; @@ -213,7 +213,7 @@ export interface ChipGroupItemOptions { * @type { ?ChipSymbolGlyphOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ suffixSymbol?: ChipSymbolGlyphOptions; @@ -224,7 +224,7 @@ export interface ChipGroupItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ suffixSymbolOptions?: ChipSuffixSymbolGlyphOptions; @@ -235,7 +235,7 @@ export interface ChipGroupItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ allowClose?: boolean; @@ -246,7 +246,7 @@ export interface ChipGroupItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ closeOptions?: CloseOptions; @@ -257,7 +257,7 @@ export interface ChipGroupItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityDescription?: ResourceStr; @@ -269,7 +269,7 @@ export interface ChipGroupItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityLevel?: string; } @@ -282,7 +282,7 @@ export interface ChipGroupItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface ChipItemStyle { @@ -294,7 +294,7 @@ export interface ChipItemStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ size?: ChipSize | SizeOptions; @@ -305,7 +305,7 @@ export interface ChipItemStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: ResourceColor; @@ -316,7 +316,7 @@ export interface ChipItemStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontColor?: ResourceColor; @@ -327,7 +327,7 @@ export interface ChipItemStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedFontColor?: ResourceColor; @@ -338,7 +338,7 @@ export interface ChipItemStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedBackgroundColor?: ResourceColor; } @@ -351,7 +351,7 @@ export interface ChipItemStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface ChipGroupSpaceOptions { @@ -363,7 +363,7 @@ export interface ChipGroupSpaceOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ itemSpace?: string | number; @@ -374,7 +374,7 @@ export interface ChipGroupSpaceOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ startSpace?: Length; @@ -385,7 +385,7 @@ export interface ChipGroupSpaceOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ endSpace?: Length; } @@ -397,7 +397,7 @@ export interface ChipGroupSpaceOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface IconItemOptions { @@ -408,7 +408,7 @@ export interface IconItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ icon: IconOptions; @@ -419,7 +419,7 @@ export interface IconItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ action: Callback; @@ -430,7 +430,7 @@ export interface IconItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityText?: ResourceStr; @@ -441,7 +441,7 @@ export interface IconItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityDescription?: ResourceStr; @@ -453,7 +453,7 @@ export interface IconItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityLevel?: string; } @@ -464,7 +464,7 @@ export interface IconItemOptions { * @interface SymbolItemOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic * @noninterop */ export interface SymbolItemOptions { @@ -474,7 +474,7 @@ export interface SymbolItemOptions { * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ symbol: SymbolGlyphModifier; @@ -485,7 +485,7 @@ export interface SymbolItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ action: VoidCallback; @@ -496,7 +496,7 @@ export interface SymbolItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityText?: ResourceStr; @@ -507,7 +507,7 @@ export interface SymbolItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityDescription?: ResourceStr; @@ -519,7 +519,7 @@ export interface SymbolItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ accessibilityLevel?: string; } @@ -531,7 +531,7 @@ export interface SymbolItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface ChipGroupPaddingOptions { @@ -542,7 +542,7 @@ export interface ChipGroupPaddingOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ top: Length; @@ -553,7 +553,7 @@ export interface ChipGroupPaddingOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ bottom: Length; } @@ -565,7 +565,7 @@ export interface ChipGroupPaddingOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Component @@ -586,7 +586,7 @@ export declare struct IconGroupSuffix { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ @Require @Prop items: Array; @@ -600,7 +600,7 @@ export declare struct IconGroupSuffix { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Component @@ -613,7 +613,7 @@ export declare struct ChipGroup { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ @Require @Prop items: ChipGroupItemOptions[]; @@ -625,7 +625,7 @@ export declare struct ChipGroup { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop itemStyle?: ChipItemStyle; @@ -637,7 +637,7 @@ export declare struct ChipGroup { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop selectedIndexes?: Array; @@ -649,7 +649,7 @@ export declare struct ChipGroup { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop multiple?: boolean; @@ -661,7 +661,7 @@ export declare struct ChipGroup { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop chipGroupSpace?: ChipGroupSpaceOptions; @@ -673,7 +673,7 @@ export declare struct ChipGroup { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop chipGroupPadding?: ChipGroupPaddingOptions; @@ -685,7 +685,7 @@ export declare struct ChipGroup { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onChange?: Callback>; @@ -696,7 +696,7 @@ export declare struct ChipGroup { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ @BuilderParam suffix?: Callback; diff --git a/api/@ohos.arkui.advanced.ComposeListItem.d.ets b/api/@ohos.arkui.advanced.ComposeListItem.d.ets index 692354ee1c..d731113c2d 100644 --- a/api/@ohos.arkui.advanced.ComposeListItem.d.ets +++ b/api/@ohos.arkui.advanced.ComposeListItem.d.ets @@ -39,7 +39,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ export declare enum IconType { @@ -59,7 +59,7 @@ export declare enum IconType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ BADGE = 1, /** @@ -78,7 +78,7 @@ export declare enum IconType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ NORMAL_ICON = 2, /** @@ -97,7 +97,7 @@ export declare enum IconType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ SYSTEM_ICON = 3, /** @@ -116,7 +116,7 @@ export declare enum IconType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ HEAD_SCULPTURE = 4, /** @@ -135,7 +135,7 @@ export declare enum IconType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ APP_ICON = 5, /** @@ -154,7 +154,7 @@ export declare enum IconType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ PREVIEW = 6, /** @@ -173,7 +173,7 @@ export declare enum IconType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ LONGITUDINAL = 7, /** @@ -192,7 +192,7 @@ export declare enum IconType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ VERTICAL = 8 } @@ -213,7 +213,7 @@ export declare enum IconType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ export declare class OperateIcon { @@ -236,7 +236,7 @@ export declare class OperateIcon { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ value: ResourceStr; @@ -253,7 +253,7 @@ export declare class OperateIcon { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolStyle?: SymbolGlyphModifier; @@ -276,7 +276,7 @@ export declare class OperateIcon { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ action?: () => void; @@ -295,7 +295,7 @@ export declare class OperateIcon { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityText?: ResourceStr; @@ -314,7 +314,7 @@ export declare class OperateIcon { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityDescription?: ResourceStr; @@ -335,7 +335,7 @@ export declare class OperateIcon { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityLevel?: string; } @@ -356,7 +356,7 @@ export declare class OperateIcon { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ export declare class OperateCheck { @@ -379,7 +379,7 @@ export declare class OperateCheck { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ isCheck?: boolean; @@ -402,7 +402,7 @@ export declare class OperateCheck { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onChange?: (value: boolean) => void; @@ -421,7 +421,7 @@ export declare class OperateCheck { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityText?: ResourceStr; @@ -440,7 +440,7 @@ export declare class OperateCheck { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityDescription?: ResourceStr; @@ -461,7 +461,7 @@ export declare class OperateCheck { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityLevel?: string; } @@ -482,7 +482,7 @@ export declare class OperateCheck { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ export declare class OperateButton { @@ -505,7 +505,7 @@ export declare class OperateButton { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ text?: ResourceStr; @@ -524,7 +524,7 @@ export declare class OperateButton { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityText?: ResourceStr; @@ -543,7 +543,7 @@ export declare class OperateButton { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityDescription?: ResourceStr; @@ -564,7 +564,7 @@ export declare class OperateButton { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityLevel?: string; } @@ -585,7 +585,7 @@ export declare class OperateButton { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ export declare class ContentItem { @@ -608,7 +608,7 @@ export declare class ContentItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ iconStyle?: IconType; @@ -631,7 +631,7 @@ export declare class ContentItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ icon?: ResourceStr; @@ -648,7 +648,7 @@ export declare class ContentItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolStyle?: SymbolGlyphModifier; @@ -671,7 +671,7 @@ export declare class ContentItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ primaryText?: ResourceStr; @@ -694,7 +694,7 @@ export declare class ContentItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ secondaryText?: ResourceStr; @@ -717,7 +717,7 @@ export declare class ContentItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ description?: ResourceStr; } @@ -738,7 +738,7 @@ export declare class ContentItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ export declare class OperateItem { @@ -761,7 +761,7 @@ export declare class OperateItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ icon?: OperateIcon; @@ -784,7 +784,7 @@ export declare class OperateItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ subIcon?: OperateIcon; @@ -807,7 +807,7 @@ export declare class OperateItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ button?: OperateButton; @@ -830,7 +830,7 @@ export declare class OperateItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ switch?: OperateCheck; @@ -853,7 +853,7 @@ export declare class OperateItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ checkbox?: OperateCheck; @@ -876,7 +876,7 @@ export declare class OperateItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ radio?: OperateCheck; @@ -899,7 +899,7 @@ export declare class OperateItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ image?: ResourceStr; @@ -916,7 +916,7 @@ export declare class OperateItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolStyle?: SymbolGlyphModifier; @@ -939,7 +939,7 @@ export declare class OperateItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ text?: ResourceStr; @@ -962,7 +962,7 @@ export declare class OperateItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ arrow?: OperateIcon; } @@ -989,7 +989,7 @@ export declare class OperateItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ @Component @@ -1013,7 +1013,7 @@ export declare struct ComposeListItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ @Prop contentItem?: ContentItem; @@ -1036,7 +1036,7 @@ export declare struct ComposeListItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ @Prop operateItem?: OperateItem; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.ComposeListItem.static.d.ets b/api/@ohos.arkui.advanced.ComposeListItem.static.d.ets index 356bdf70bd..899dec035b 100644 --- a/api/@ohos.arkui.advanced.ComposeListItem.static.d.ets +++ b/api/@ohos.arkui.advanced.ComposeListItem.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { Component } from './arkui/component/customComponent'; import { ResourceStr } from './arkui/component/units'; @@ -29,7 +28,7 @@ import { Builder } from './arkui/component/builder'; * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare enum IconType { @@ -37,56 +36,56 @@ export declare enum IconType { * Badge type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ BADGE = 1, /** * Normal icon type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ NORMAL_ICON = 2, /** * System icon type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ SYSTEM_ICON = 3, /** * HeadSculpture type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ HEAD_SCULPTURE = 4, /** * App icon type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ APP_ICON = 5, /** * Preview type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ PREVIEW = 6, /** * Longitudinal type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ LONGITUDINAL = 7, /** * Vertical type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ VERTICAL = 8 } @@ -94,7 +93,7 @@ export declare enum IconType { * Declare type OperateIcon * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class OperateIcon { @@ -103,7 +102,7 @@ export declare class OperateIcon { * * @type { ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public value: ResourceStr; /** @@ -111,7 +110,7 @@ export declare class OperateIcon { * * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public symbolStyle?: SymbolGlyphModifier; @@ -120,7 +119,7 @@ export declare class OperateIcon { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public action?: () => void; /** @@ -128,7 +127,7 @@ export declare class OperateIcon { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityText?: ResourceStr; /** @@ -136,7 +135,7 @@ export declare class OperateIcon { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityDescription?: ResourceStr; /** @@ -145,7 +144,7 @@ export declare class OperateIcon { * @type { ?string } * @default "auto" * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityLevel?: string; } @@ -153,7 +152,7 @@ export declare class OperateIcon { * Declare type OperateCheck * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class OperateCheck { @@ -162,7 +161,7 @@ export declare class OperateCheck { * * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public isCheck?: boolean; /** @@ -170,7 +169,7 @@ export declare class OperateCheck { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public onChange?: (value: boolean) => void; /** @@ -178,7 +177,7 @@ export declare class OperateCheck { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityText?: ResourceStr; /** @@ -186,7 +185,7 @@ export declare class OperateCheck { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityDescription?: ResourceStr; /** @@ -195,7 +194,7 @@ export declare class OperateCheck { * @type { ?string } * @default "auto" * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityLevel?: string; } @@ -203,7 +202,7 @@ export declare class OperateCheck { * Declare type OperateButton * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class OperateButton { @@ -212,7 +211,7 @@ export declare class OperateButton { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public text?: ResourceStr; /** @@ -220,7 +219,7 @@ export declare class OperateButton { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityText?: ResourceStr; /** @@ -228,7 +227,7 @@ export declare class OperateButton { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityDescription?: ResourceStr; /** @@ -237,7 +236,7 @@ export declare class OperateButton { * @type { ?string } * @default "auto" * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityLevel?: string; } @@ -245,7 +244,7 @@ export declare class OperateButton { * Declare ContentItem * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class ContentItem { @@ -254,7 +253,7 @@ export declare class ContentItem { * * @type { ?IconType } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public iconStyle?: IconType; /** @@ -262,7 +261,7 @@ export declare class ContentItem { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public icon?: ResourceStr; /** @@ -270,7 +269,7 @@ export declare class ContentItem { * * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public symbolStyle?: SymbolGlyphModifier; /** @@ -278,7 +277,7 @@ export declare class ContentItem { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public primaryText?: ResourceStr; /** @@ -286,7 +285,7 @@ export declare class ContentItem { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public secondaryText?: ResourceStr; /** @@ -294,7 +293,7 @@ export declare class ContentItem { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public description?: ResourceStr; } @@ -302,7 +301,7 @@ export declare class ContentItem { * Declare OperateItem * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class OperateItem { @@ -311,7 +310,7 @@ export declare class OperateItem { * * @type { ?OperateIcon } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public icon?: OperateIcon; /** @@ -319,7 +318,7 @@ export declare class OperateItem { * * @type { ?OperateIcon } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public subIcon?: OperateIcon; /** @@ -327,7 +326,7 @@ export declare class OperateItem { * * @type { ?OperateButton } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public button?: OperateButton; /** @@ -335,7 +334,7 @@ export declare class OperateItem { * * @type { ?OperateCheck } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public toggle?: OperateCheck; /** @@ -343,7 +342,7 @@ export declare class OperateItem { * * @type { ?OperateCheck } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public checkbox?: OperateCheck; /** @@ -351,7 +350,7 @@ export declare class OperateItem { * * @type { ?OperateCheck } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public radio?: OperateCheck; /** @@ -359,7 +358,7 @@ export declare class OperateItem { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public image?: ResourceStr; /** @@ -367,7 +366,7 @@ export declare class OperateItem { * * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public symbolStyle?: SymbolGlyphModifier; /** @@ -375,7 +374,7 @@ export declare class OperateItem { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public text?: ResourceStr; /** @@ -383,7 +382,7 @@ export declare class OperateItem { * * @type { ?OperateIcon } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public arrow?: OperateIcon; } @@ -392,7 +391,7 @@ export declare class OperateItem { * * @struct { ComposeListItem } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -402,7 +401,7 @@ export declare struct ComposeListItem { * * @type { ?ContentItem } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef contentItem?: ContentItem; @@ -411,7 +410,7 @@ export declare struct ComposeListItem { * * @type { ?OperateItem } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef operateItem?: OperateItem; @@ -419,7 +418,7 @@ export declare struct ComposeListItem { * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; diff --git a/api/@ohos.arkui.advanced.ComposeTitleBar.d.ets b/api/@ohos.arkui.advanced.ComposeTitleBar.d.ets index 63dd48397d..b8865d5c3e 100644 --- a/api/@ohos.arkui.advanced.ComposeTitleBar.d.ets +++ b/api/@ohos.arkui.advanced.ComposeTitleBar.d.ets @@ -39,7 +39,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export declare class ComposeTitleBarMenuItem { /** @@ -61,7 +61,7 @@ export declare class ComposeTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ value: ResourceStr; @@ -78,7 +78,7 @@ export declare class ComposeTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolStyle?: SymbolGlyphModifier; @@ -95,7 +95,7 @@ export declare class ComposeTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ label?: ResourceStr; @@ -118,7 +118,7 @@ export declare class ComposeTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ isEnabled?: boolean; @@ -141,7 +141,7 @@ export declare class ComposeTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ action?: () => void; @@ -158,7 +158,7 @@ export declare class ComposeTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityText?: ResourceStr; @@ -175,7 +175,7 @@ export declare class ComposeTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityDescription?: ResourceStr; @@ -204,7 +204,7 @@ export declare class ComposeTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityLevel?: string; } @@ -226,7 +226,7 @@ export declare class ComposeTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ @Component export declare struct ComposeTitleBar { @@ -249,7 +249,7 @@ export declare struct ComposeTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ item?: ComposeTitleBarMenuItem; @@ -272,7 +272,7 @@ export declare struct ComposeTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ title: ResourceStr; @@ -295,7 +295,7 @@ export declare struct ComposeTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ subtitle?: ResourceStr; @@ -318,7 +318,7 @@ export declare struct ComposeTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ menuItems?: Array; } diff --git a/api/@ohos.arkui.advanced.ComposeTitleBar.static.d.ets b/api/@ohos.arkui.advanced.ComposeTitleBar.static.d.ets index 29c4b4d251..31b3139036 100644 --- a/api/@ohos.arkui.advanced.ComposeTitleBar.static.d.ets +++ b/api/@ohos.arkui.advanced.ComposeTitleBar.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { ResourceStr } from './arkui/component/units'; import { Component } from './arkui/component/customComponent'; @@ -27,7 +26,7 @@ import { Builder } from './arkui/component/builder'; * Declaration of the menu item on the right side. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class ComposeTitleBarMenuItem { @@ -36,7 +35,7 @@ export declare class ComposeTitleBarMenuItem { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public value: ResourceStr; /** @@ -44,7 +43,7 @@ export declare class ComposeTitleBarMenuItem { * * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public symbolStyle?: SymbolGlyphModifier; /** @@ -52,7 +51,7 @@ export declare class ComposeTitleBarMenuItem { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public label?: ResourceStr; /** @@ -60,7 +59,7 @@ export declare class ComposeTitleBarMenuItem { * * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public isEnabled?: boolean; /** @@ -68,7 +67,7 @@ export declare class ComposeTitleBarMenuItem { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public action?: () => void; /** @@ -76,7 +75,7 @@ export declare class ComposeTitleBarMenuItem { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityText?: ResourceStr; /** @@ -84,7 +83,7 @@ export declare class ComposeTitleBarMenuItem { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityDescription?: ResourceStr; /** @@ -98,7 +97,7 @@ export declare class ComposeTitleBarMenuItem { * "no-hide-descendants":The current component and all its child components are not selectable
* for the accessibility service. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityLevel?: string; } @@ -106,7 +105,7 @@ export declare class ComposeTitleBarMenuItem { * Declaration of the composable title bar. * @struct { ComposeTitleBar } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -116,7 +115,7 @@ export declare struct ComposeTitleBar { * * @type { ?ComposeTitleBarMenuItem } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ item?: ComposeTitleBarMenuItem; /** @@ -124,7 +123,7 @@ export declare struct ComposeTitleBar { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ title: ResourceStr; /** @@ -132,7 +131,7 @@ export declare struct ComposeTitleBar { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ subtitle?: ResourceStr; /** @@ -140,14 +139,14 @@ export declare struct ComposeTitleBar { * * @type { ?Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ menuItems?: Array; /** * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; diff --git a/api/@ohos.arkui.advanced.Counter.d.ets b/api/@ohos.arkui.advanced.Counter.d.ets index 627b90da88..e10741fe18 100644 --- a/api/@ohos.arkui.advanced.Counter.d.ets +++ b/api/@ohos.arkui.advanced.Counter.d.ets @@ -33,7 +33,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare enum CounterType { @@ -48,7 +48,7 @@ declare enum CounterType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ LIST = 0, @@ -63,7 +63,7 @@ declare enum CounterType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ COMPACT = 1, @@ -78,7 +78,7 @@ declare enum CounterType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ INLINE = 2, @@ -93,7 +93,7 @@ declare enum CounterType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ INLINE_DATE = 3 } @@ -111,7 +111,7 @@ declare enum CounterType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class CommonOptions { @@ -130,7 +130,7 @@ declare class CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ focusable?: boolean; @@ -151,7 +151,7 @@ declare class CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ step?: number; @@ -170,7 +170,7 @@ declare class CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onHoverIncrease?: (isHover: boolean) => void; @@ -189,7 +189,7 @@ declare class CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onHoverDecrease?: (isHover: boolean) => void; } @@ -207,7 +207,7 @@ declare class CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class InlineStyleOptions extends CommonOptions { @@ -228,7 +228,7 @@ declare class InlineStyleOptions extends CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ value?: number; @@ -249,7 +249,7 @@ declare class InlineStyleOptions extends CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ min?: number; @@ -270,7 +270,7 @@ declare class InlineStyleOptions extends CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ max?: number; @@ -291,7 +291,7 @@ declare class InlineStyleOptions extends CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textWidth?: number; @@ -310,7 +310,7 @@ declare class InlineStyleOptions extends CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onChange?: (value: number) => void; } @@ -328,7 +328,7 @@ declare class InlineStyleOptions extends CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class NumberStyleOptions extends InlineStyleOptions { @@ -347,7 +347,7 @@ declare class NumberStyleOptions extends InlineStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ label?: ResourceStr; @@ -366,7 +366,7 @@ declare class NumberStyleOptions extends InlineStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onFocusIncrease?: () => void; @@ -385,7 +385,7 @@ declare class NumberStyleOptions extends InlineStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onFocusDecrease?: () => void; @@ -404,7 +404,7 @@ declare class NumberStyleOptions extends InlineStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onBlurIncrease?: () => void; @@ -423,7 +423,7 @@ declare class NumberStyleOptions extends InlineStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onBlurDecrease?: () => void; } @@ -441,7 +441,7 @@ declare class NumberStyleOptions extends InlineStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class DateData { @@ -460,7 +460,7 @@ declare class DateData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ year: number; @@ -479,7 +479,7 @@ declare class DateData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ month: number; @@ -498,7 +498,7 @@ declare class DateData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ day: number; @@ -521,7 +521,7 @@ declare class DateData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(year: number, month: number, day: number); @@ -540,7 +540,7 @@ declare class DateData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ toString(): string; } @@ -558,7 +558,7 @@ declare class DateData { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class DateStyleOptions extends CommonOptions { @@ -579,7 +579,7 @@ declare class DateStyleOptions extends CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ year?: number; @@ -600,7 +600,7 @@ declare class DateStyleOptions extends CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ month?: number; @@ -621,7 +621,7 @@ declare class DateStyleOptions extends CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ day?: number; @@ -640,7 +640,7 @@ declare class DateStyleOptions extends CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onDateChange?: (date: DateData) => void; } @@ -659,7 +659,7 @@ declare class DateStyleOptions extends CommonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare class CounterOptions { @@ -678,7 +678,7 @@ declare class CounterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type: CounterType; @@ -697,7 +697,7 @@ declare class CounterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ numberOptions?: NumberStyleOptions; @@ -716,7 +716,7 @@ declare class CounterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ inlineOptions?: InlineStyleOptions; @@ -735,7 +735,7 @@ declare class CounterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dateOptions?: DateStyleOptions; @@ -746,7 +746,7 @@ declare class CounterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ direction?: Direction; } @@ -764,7 +764,7 @@ declare class CounterOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Component @@ -784,7 +784,7 @@ declare struct CounterComponent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop options: CounterOptions; diff --git a/api/@ohos.arkui.advanced.Dialog.d.ets b/api/@ohos.arkui.advanced.Dialog.d.ets index 78ff88a605..048aad2e15 100644 --- a/api/@ohos.arkui.advanced.Dialog.d.ets +++ b/api/@ohos.arkui.advanced.Dialog.d.ets @@ -41,7 +41,7 @@ import { Theme, CustomTheme } from '@ohos.arkui.theme'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare class ButtonOptions { @@ -64,7 +64,7 @@ export declare class ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ value: ResourceStr; /** @@ -86,7 +86,7 @@ export declare class ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ action?: () => void; /** @@ -108,7 +108,7 @@ export declare class ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ background?: ResourceColor; /** @@ -130,7 +130,7 @@ export declare class ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontColor?: ResourceColor; /** @@ -140,7 +140,7 @@ export declare class ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ buttonStyle?: ButtonStyleMode; /** @@ -150,7 +150,7 @@ export declare class ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ role?: ButtonRole; /** @@ -160,7 +160,7 @@ export declare class ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ defaultFocus?: boolean; } @@ -180,7 +180,7 @@ export declare class ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @CustomDialog @@ -204,7 +204,7 @@ export declare struct TipsDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ controller: CustomDialogController; /** @@ -233,7 +233,7 @@ export declare struct TipsDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ imageRes: ResourceStr | PixelMap; /** @@ -262,7 +262,7 @@ export declare struct TipsDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ imageSize?: SizeOptions; /** @@ -291,7 +291,7 @@ export declare struct TipsDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ title?: ResourceStr; /** @@ -313,7 +313,7 @@ export declare struct TipsDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ content?: ResourceStr; /** @@ -335,7 +335,7 @@ export declare struct TipsDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ checkTips?: ResourceStr; /** @@ -357,7 +357,7 @@ export declare struct TipsDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop isChecked?: boolean; /** @@ -373,7 +373,7 @@ export declare struct TipsDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ checkAction?: (isChecked: boolean) => void; /** @@ -395,7 +395,7 @@ export declare struct TipsDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ primaryButton?: ButtonOptions; /** @@ -417,7 +417,7 @@ export declare struct TipsDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ secondaryButton?: ButtonOptions; /** @@ -427,7 +427,7 @@ export declare struct TipsDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ theme?: Theme | CustomTheme; /** @@ -437,7 +437,7 @@ export declare struct TipsDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ themeColorMode?: ThemeColorMode; /** @@ -453,7 +453,7 @@ export declare struct TipsDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onCheckedChange?: Callback; } @@ -474,7 +474,7 @@ export declare struct TipsDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @CustomDialog @@ -498,7 +498,7 @@ export declare struct SelectDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ controller: CustomDialogController; /** @@ -520,7 +520,7 @@ export declare struct SelectDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ title: ResourceStr; /** @@ -542,7 +542,7 @@ export declare struct SelectDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ content?: ResourceStr; /** @@ -564,7 +564,7 @@ export declare struct SelectDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedIndex?: number; /** @@ -586,7 +586,7 @@ export declare struct SelectDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ confirm?: ButtonOptions; /** @@ -608,7 +608,7 @@ export declare struct SelectDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ radioContent: Array; /** @@ -618,7 +618,7 @@ export declare struct SelectDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ theme?: Theme | CustomTheme; /** @@ -628,7 +628,7 @@ export declare struct SelectDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ themeColorMode?: ThemeColorMode; } @@ -649,7 +649,7 @@ export declare struct SelectDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @CustomDialog @@ -673,7 +673,7 @@ export declare struct ConfirmDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ controller: CustomDialogController; /** @@ -695,7 +695,7 @@ export declare struct ConfirmDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ title: ResourceStr; /** @@ -717,7 +717,7 @@ export declare struct ConfirmDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ content?: ResourceStr; /** @@ -739,7 +739,7 @@ export declare struct ConfirmDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ checkTips?: ResourceStr; /** @@ -761,7 +761,7 @@ export declare struct ConfirmDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop isChecked?: boolean; /** @@ -783,7 +783,7 @@ export declare struct ConfirmDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ primaryButton?: ButtonOptions; /** @@ -805,7 +805,7 @@ export declare struct ConfirmDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ secondaryButton?: ButtonOptions; /** @@ -815,7 +815,7 @@ export declare struct ConfirmDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ theme?: Theme | CustomTheme; /** @@ -825,7 +825,7 @@ export declare struct ConfirmDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ themeColorMode?: ThemeColorMode; /** @@ -841,7 +841,7 @@ export declare struct ConfirmDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onCheckedChange?: Callback; } @@ -862,7 +862,7 @@ export declare struct ConfirmDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @CustomDialog @@ -886,7 +886,7 @@ export declare struct AlertDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ controller: CustomDialogController; /** @@ -895,7 +895,7 @@ export declare struct AlertDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ primaryTitle?: ResourceStr; /** @@ -904,7 +904,7 @@ export declare struct AlertDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ secondaryTitle?: ResourceStr; /** @@ -926,7 +926,7 @@ export declare struct AlertDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ content: ResourceStr; /** @@ -948,7 +948,7 @@ export declare struct AlertDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ primaryButton?: ButtonOptions; /** @@ -970,7 +970,7 @@ export declare struct AlertDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ secondaryButton?: ButtonOptions; /** @@ -980,7 +980,7 @@ export declare struct AlertDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ theme?: Theme | CustomTheme; /** @@ -990,7 +990,7 @@ export declare struct AlertDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ themeColorMode?: ThemeColorMode; } @@ -1011,7 +1011,7 @@ export declare struct AlertDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @CustomDialog @@ -1035,7 +1035,7 @@ export declare struct LoadingDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ Controller: CustomDialogController; /** @@ -1057,7 +1057,7 @@ export declare struct LoadingDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ content?: ResourceStr; /** @@ -1067,7 +1067,7 @@ export declare struct LoadingDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ theme?: Theme | CustomTheme; /** @@ -1077,7 +1077,7 @@ export declare struct LoadingDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ themeColorMode?: ThemeColorMode; } @@ -1087,7 +1087,7 @@ export declare struct LoadingDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @CustomDialog @@ -1098,7 +1098,7 @@ export declare struct CustomContentDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ controller: CustomDialogController; /** @@ -1107,7 +1107,7 @@ export declare struct CustomContentDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ primaryTitle?: ResourceStr; /** @@ -1116,7 +1116,7 @@ export declare struct CustomContentDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ secondaryTitle?: ResourceStr; /** @@ -1125,7 +1125,7 @@ export declare struct CustomContentDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ @BuilderParam contentBuilder: () => void; /** @@ -1134,7 +1134,7 @@ export declare struct CustomContentDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ contentAreaPadding?: Padding; /** @@ -1143,7 +1143,7 @@ export declare struct CustomContentDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ localizedContentAreaPadding?: LocalizedPadding; /** @@ -1152,7 +1152,7 @@ export declare struct CustomContentDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ buttons?: ButtonOptions[]; /** @@ -1162,7 +1162,7 @@ export declare struct CustomContentDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ theme?: Theme | CustomTheme; /** @@ -1172,7 +1172,7 @@ export declare struct CustomContentDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ themeColorMode?: ThemeColorMode; } @@ -1183,7 +1183,7 @@ export declare struct CustomContentDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic * @noninterop */ @Component @@ -1195,7 +1195,7 @@ export declare struct PopoverDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ @Link visible: boolean; @@ -1206,7 +1206,7 @@ export declare struct PopoverDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ @Require @Prop popover: PopoverOptions; @@ -1217,7 +1217,7 @@ export declare struct PopoverDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ @Require @BuilderParam targetBuilder: Callback; @@ -1231,7 +1231,7 @@ export declare struct PopoverDialog { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic * @noninterop */ export declare interface PopoverOptions extends CustomPopupOptions { diff --git a/api/@ohos.arkui.advanced.Dialog.static.d.ets b/api/@ohos.arkui.advanced.Dialog.static.d.ets index 51e8a6db63..02be7b752c 100644 --- a/api/@ohos.arkui.advanced.Dialog.static.d.ets +++ b/api/@ohos.arkui.advanced.Dialog.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { Theme, CustomTheme } from './@ohos.arkui.theme'; import { Component, CustomDialog } from './arkui/component/customComponent'; @@ -33,7 +32,7 @@ import { SheetInfo } from './arkui/component/actionSheet'; * Declare ButtonOptions * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class ButtonOptions { @@ -42,7 +41,7 @@ export declare class ButtonOptions { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public value: ResourceStr; /** @@ -50,7 +49,7 @@ export declare class ButtonOptions { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public action?: () => void; /** @@ -58,7 +57,7 @@ export declare class ButtonOptions { * * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public background?: ResourceColor; /** @@ -66,7 +65,7 @@ export declare class ButtonOptions { * * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public fontColor?: ResourceColor; /** @@ -75,7 +74,7 @@ export declare class ButtonOptions { * @type { ?ButtonStyleMode } * @default ButtonStyleMode.TEXTUAL * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public buttonStyle?: ButtonStyleMode; /** @@ -84,7 +83,7 @@ export declare class ButtonOptions { * @type { ?ButtonRole } * @default ButtonRole.NORMAL * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public role?: ButtonRole; /** @@ -93,7 +92,7 @@ export declare class ButtonOptions { * @type { ?boolean } * @default { false } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public defaultFocus?: boolean; } @@ -101,7 +100,7 @@ export declare class ButtonOptions { * Declare CustomDialog TipsDialog * @struct { TipsDialog } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @CustomDialog @@ -111,7 +110,7 @@ export declare struct TipsDialog { * * @type { CustomDialogController } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ controller: CustomDialogController; /** @@ -119,7 +118,7 @@ export declare struct TipsDialog { * * @type { ResourceStr | PixelMap } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ imageRes: ResourceStr | PixelMap; /** @@ -127,7 +126,7 @@ export declare struct TipsDialog { * * @type { ?SizeOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ imageSize?: SizeOptions; /** @@ -135,7 +134,7 @@ export declare struct TipsDialog { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ title?: ResourceStr; /** @@ -143,7 +142,7 @@ export declare struct TipsDialog { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ content?: ResourceStr; /** @@ -151,7 +150,7 @@ export declare struct TipsDialog { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ checkTips?: ResourceStr; /** @@ -159,7 +158,7 @@ export declare struct TipsDialog { * * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef isChecked?: boolean; /** @@ -167,7 +166,7 @@ export declare struct TipsDialog { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ checkAction?: (isChecked: boolean) => void; /** @@ -175,7 +174,7 @@ export declare struct TipsDialog { * * @type { ?ButtonOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ primaryButton?: ButtonOptions; /** @@ -183,7 +182,7 @@ export declare struct TipsDialog { * * @type { ?ButtonOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ secondaryButton?: ButtonOptions; /** @@ -191,7 +190,7 @@ export declare struct TipsDialog { * * @type { ?(Theme | CustomTheme) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ theme?: Theme | CustomTheme; /** @@ -199,7 +198,7 @@ export declare struct TipsDialog { * * @type { ?ThemeColorMode } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ themeColorMode?: ThemeColorMode; /** @@ -207,14 +206,14 @@ export declare struct TipsDialog { * * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onCheckedChange?: Callback; /** * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; } @@ -222,7 +221,7 @@ export declare struct TipsDialog { * Declare CustomDialog SelectDialog * @struct { SelectDialog } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @CustomDialog @@ -232,7 +231,7 @@ export declare struct SelectDialog { * * @type { CustomDialogController } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ controller: CustomDialogController; /** @@ -240,7 +239,7 @@ export declare struct SelectDialog { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ title: ResourceStr; /** @@ -248,7 +247,7 @@ export declare struct SelectDialog { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ content?: ResourceStr; /** @@ -256,7 +255,7 @@ export declare struct SelectDialog { * * @type { ?int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ selectedIndex?: int; /** @@ -264,7 +263,7 @@ export declare struct SelectDialog { * * @type { ?ButtonOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ confirm?: ButtonOptions; /** @@ -272,7 +271,7 @@ export declare struct SelectDialog { * * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ radioContent: Array; /** @@ -280,7 +279,7 @@ export declare struct SelectDialog { * * @type { ?(Theme | CustomTheme) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ theme?: Theme | CustomTheme; /** @@ -288,14 +287,14 @@ export declare struct SelectDialog { * * @type { ?ThemeColorMode } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ themeColorMode?: ThemeColorMode; /** * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; } @@ -303,7 +302,7 @@ export declare struct SelectDialog { * Declare CustomDialog ConfirmDialog * @struct { ConfirmDialog } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @CustomDialog @@ -313,7 +312,7 @@ export declare struct ConfirmDialog { * * @type { CustomDialogController } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ controller: CustomDialogController; /** @@ -321,7 +320,7 @@ export declare struct ConfirmDialog { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ title: ResourceStr; /** @@ -329,7 +328,7 @@ export declare struct ConfirmDialog { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ content?: ResourceStr; /** @@ -337,7 +336,7 @@ export declare struct ConfirmDialog { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ checkTips?: ResourceStr; /** @@ -345,7 +344,7 @@ export declare struct ConfirmDialog { * * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef isChecked?: boolean; /** @@ -353,7 +352,7 @@ export declare struct ConfirmDialog { * * @type { ?ButtonOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ primaryButton?: ButtonOptions; /** @@ -361,7 +360,7 @@ export declare struct ConfirmDialog { * * @type { ?ButtonOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ secondaryButton?: ButtonOptions; /** @@ -369,7 +368,7 @@ export declare struct ConfirmDialog { * * @type { ?(Theme | CustomTheme) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ theme?: Theme | CustomTheme; /** @@ -377,7 +376,7 @@ export declare struct ConfirmDialog { * * @type { ?ThemeColorMode } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ themeColorMode?: ThemeColorMode; /** @@ -385,14 +384,14 @@ export declare struct ConfirmDialog { * * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onCheckedChange?: Callback; /** * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; } @@ -400,7 +399,7 @@ export declare struct ConfirmDialog { * Declare CustomDialog AlertDialog * @struct { AlertDialog } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @CustomDialog @@ -410,7 +409,7 @@ export declare struct AlertDialog { * * @type { CustomDialogController } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ controller: CustomDialogController; /** @@ -418,7 +417,7 @@ export declare struct AlertDialog { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ primaryTitle?: ResourceStr; /** @@ -426,7 +425,7 @@ export declare struct AlertDialog { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ secondaryTitle?: ResourceStr; /** @@ -434,7 +433,7 @@ export declare struct AlertDialog { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ content: ResourceStr; /** @@ -442,7 +441,7 @@ export declare struct AlertDialog { * * @type { ?ButtonOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ primaryButton?: ButtonOptions; /** @@ -450,7 +449,7 @@ export declare struct AlertDialog { * * @type { ?ButtonOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ secondaryButton?: ButtonOptions; /** @@ -458,7 +457,7 @@ export declare struct AlertDialog { * * @type { ?(Theme | CustomTheme) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ theme?: Theme | CustomTheme; /** @@ -466,14 +465,14 @@ export declare struct AlertDialog { * * @type { ?ThemeColorMode } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ themeColorMode?: ThemeColorMode; /** * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; } @@ -481,7 +480,7 @@ export declare struct AlertDialog { * Declare CustomDialog LoadingDialog * @struct { LoadingDialog } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @CustomDialog @@ -491,7 +490,7 @@ export declare struct LoadingDialog { * * @type { CustomDialogController } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ Controller: CustomDialogController; /** @@ -499,7 +498,7 @@ export declare struct LoadingDialog { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ content?: ResourceStr; /** @@ -507,7 +506,7 @@ export declare struct LoadingDialog { * * @type { ?(Theme | CustomTheme) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ theme?: Theme | CustomTheme; /** @@ -515,14 +514,14 @@ export declare struct LoadingDialog { * * @type { ?ThemeColorMode } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ themeColorMode?: ThemeColorMode; /** * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; } @@ -530,7 +529,7 @@ export declare struct LoadingDialog { * Declare custom content dialog * @struct { CustomContentDialog } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @CustomDialog @@ -540,7 +539,7 @@ export declare struct CustomContentDialog { * * @type { CustomDialogController } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ controller: CustomDialogController; /** @@ -548,7 +547,7 @@ export declare struct CustomContentDialog { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ primaryTitle?: ResourceStr; /** @@ -556,7 +555,7 @@ export declare struct CustomContentDialog { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ secondaryTitle?: ResourceStr; /** @@ -564,7 +563,7 @@ export declare struct CustomContentDialog { * * @type { function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @BuilderParam contentBuilder: () => void; @@ -573,7 +572,7 @@ export declare struct CustomContentDialog { * * @type { ?Padding } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ contentAreaPadding?: Padding; /** @@ -581,7 +580,7 @@ export declare struct CustomContentDialog { * * @type { ?LocalizedPadding } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ localizedContentAreaPadding?: LocalizedPadding; /** @@ -589,7 +588,7 @@ export declare struct CustomContentDialog { * * @type { ?ButtonOptions[] } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ buttons?: ButtonOptions[]; /** @@ -597,7 +596,7 @@ export declare struct CustomContentDialog { * * @type { ?(Theme | CustomTheme) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ theme?: Theme | CustomTheme; /** @@ -605,14 +604,14 @@ export declare struct CustomContentDialog { * * @type { ?ThemeColorMode } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ themeColorMode?: ThemeColorMode; /** * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; } @@ -620,7 +619,7 @@ export declare struct CustomContentDialog { * Declare struct PopoverDialog * @struct { PopoverDialog } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -630,7 +629,7 @@ export declare struct PopoverDialog { * * @type { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Link visible: boolean; /** @@ -638,7 +637,7 @@ export declare struct PopoverDialog { * * @type { PopoverOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Require @PropRef popover: PopoverOptions; @@ -647,7 +646,7 @@ export declare struct PopoverDialog { * * @type { function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Require @BuilderParam targetBuilder: () => void; @@ -655,7 +654,7 @@ export declare struct PopoverDialog { * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; } @@ -665,7 +664,7 @@ export declare struct PopoverDialog { * @extends CustomPopupOptions * @typedef PopoverOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare interface PopoverOptions extends CustomPopupOptions { diff --git a/api/@ohos.arkui.advanced.DialogV2.d.ets b/api/@ohos.arkui.advanced.DialogV2.d.ets index ef37040175..940b112c26 100644 --- a/api/@ohos.arkui.advanced.DialogV2.d.ets +++ b/api/@ohos.arkui.advanced.DialogV2.d.ets @@ -25,7 +25,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare type AdvancedDialogV2ButtonAction = () => void; @@ -37,7 +37,7 @@ export declare type AdvancedDialogV2ButtonAction = () => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -49,7 +49,7 @@ export declare class AdvancedDialogV2Button { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace content: ResourceStr; @@ -60,7 +60,7 @@ export declare class AdvancedDialogV2Button { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace action?: AdvancedDialogV2ButtonAction; @@ -71,7 +71,7 @@ export declare class AdvancedDialogV2Button { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace background?: ColorMetrics; @@ -82,7 +82,7 @@ export declare class AdvancedDialogV2Button { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace fontColor?: ColorMetrics; @@ -94,7 +94,7 @@ export declare class AdvancedDialogV2Button { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace buttonStyle?: ButtonStyleMode; @@ -106,7 +106,7 @@ export declare class AdvancedDialogV2Button { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace role?: ButtonRole; @@ -118,7 +118,7 @@ export declare class AdvancedDialogV2Button { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace defaultFocus?: boolean; @@ -130,7 +130,7 @@ export declare class AdvancedDialogV2Button { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace enabled?: boolean; @@ -141,7 +141,7 @@ export declare class AdvancedDialogV2Button { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options: AdvancedDialogV2ButtonOptions); } @@ -153,7 +153,7 @@ export declare class AdvancedDialogV2Button { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare interface AdvancedDialogV2ButtonOptions { @@ -164,7 +164,7 @@ export declare interface AdvancedDialogV2ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ content: ResourceStr; /** @@ -174,7 +174,7 @@ export declare interface AdvancedDialogV2ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ action?: AdvancedDialogV2ButtonAction; /** @@ -184,7 +184,7 @@ export declare interface AdvancedDialogV2ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ background?: ColorMetrics; /** @@ -194,7 +194,7 @@ export declare interface AdvancedDialogV2ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontColor?: ColorMetrics; /** @@ -205,7 +205,7 @@ export declare interface AdvancedDialogV2ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ buttonStyle?: ButtonStyleMode; /** @@ -216,7 +216,7 @@ export declare interface AdvancedDialogV2ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ role?: ButtonRole; /** @@ -227,7 +227,7 @@ export declare interface AdvancedDialogV2ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ defaultFocus?: boolean; /** @@ -238,7 +238,7 @@ export declare interface AdvancedDialogV2ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ enabled?: boolean; } @@ -251,7 +251,7 @@ export declare interface AdvancedDialogV2ButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare type AdvancedDialogV2OnCheckedChange = (checked: boolean) => void; @@ -263,7 +263,7 @@ export declare type AdvancedDialogV2OnCheckedChange = (checked: boolean) => void * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ComponentV2 @@ -275,7 +275,7 @@ export declare struct TipsDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require @Param @@ -287,7 +287,7 @@ export declare struct TipsDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param imageSize?: SizeOptions; @@ -298,7 +298,7 @@ export declare struct TipsDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param imageBorderColor?: ColorMetrics; @@ -309,7 +309,7 @@ export declare struct TipsDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param imageBorderWidth?: LengthMetrics; @@ -320,7 +320,7 @@ export declare struct TipsDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param title?: ResourceStr; @@ -331,7 +331,7 @@ export declare struct TipsDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param content?: ResourceStr; @@ -342,7 +342,7 @@ export declare struct TipsDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param checkTips?: ResourceStr; @@ -353,7 +353,7 @@ export declare struct TipsDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param checked?: boolean; @@ -364,7 +364,7 @@ export declare struct TipsDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param primaryButton?: AdvancedDialogV2Button; @@ -375,7 +375,7 @@ export declare struct TipsDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param secondaryButton?: AdvancedDialogV2Button; @@ -385,7 +385,7 @@ export declare struct TipsDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param onCheckedChange?: AdvancedDialogV2OnCheckedChange; @@ -398,7 +398,7 @@ export declare struct TipsDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ComponentV2 @@ -410,7 +410,7 @@ export declare struct SelectDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require @Param @@ -422,7 +422,7 @@ export declare struct SelectDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param content?: ResourceStr; @@ -433,7 +433,7 @@ export declare struct SelectDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param selectedIndex?: number; @@ -444,7 +444,7 @@ export declare struct SelectDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param confirm?: AdvancedDialogV2Button; @@ -454,7 +454,7 @@ export declare struct SelectDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require @Param @@ -468,7 +468,7 @@ export declare struct SelectDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ComponentV2 @@ -480,7 +480,7 @@ export declare struct ConfirmDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require @Param @@ -492,7 +492,7 @@ export declare struct ConfirmDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param content?: ResourceStr; @@ -503,7 +503,7 @@ export declare struct ConfirmDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param checkTips?: ResourceStr; @@ -514,7 +514,7 @@ export declare struct ConfirmDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param checked?: boolean; @@ -525,7 +525,7 @@ export declare struct ConfirmDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param primaryButton?: AdvancedDialogV2Button; @@ -536,7 +536,7 @@ export declare struct ConfirmDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param secondaryButton?: AdvancedDialogV2Button; @@ -547,7 +547,7 @@ export declare struct ConfirmDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param onCheckedChange?: AdvancedDialogV2OnCheckedChange; @@ -560,7 +560,7 @@ export declare struct ConfirmDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ComponentV2 @@ -572,7 +572,7 @@ export declare struct AlertDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param primaryTitle?: ResourceStr; @@ -583,7 +583,7 @@ export declare struct AlertDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param secondaryTitle?: ResourceStr; @@ -594,7 +594,7 @@ export declare struct AlertDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require @Param @@ -606,7 +606,7 @@ export declare struct AlertDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param primaryButton?: AdvancedDialogV2Button; @@ -617,7 +617,7 @@ export declare struct AlertDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param secondaryButton?: AdvancedDialogV2Button; @@ -630,7 +630,7 @@ export declare struct AlertDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ComponentV2 @@ -642,7 +642,7 @@ export declare struct LoadingDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param content?: ResourceStr; @@ -655,7 +655,7 @@ export declare struct LoadingDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ComponentV2 @@ -667,7 +667,7 @@ export declare struct CustomContentDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param primaryTitle?: ResourceStr; @@ -678,7 +678,7 @@ export declare struct CustomContentDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param secondaryTitle?: ResourceStr; @@ -689,7 +689,7 @@ export declare struct CustomContentDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @BuilderParam contentBuilder: CustomBuilder; @@ -700,7 +700,7 @@ export declare struct CustomContentDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param contentAreaPadding?: LocalizedPadding; @@ -710,7 +710,7 @@ export declare struct CustomContentDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param buttons?: AdvancedDialogV2Button[]; @@ -723,7 +723,7 @@ export declare struct CustomContentDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ComponentV2 @@ -735,7 +735,7 @@ export declare struct PopoverDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require @Param @@ -747,7 +747,7 @@ export declare struct PopoverDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Event $visible?: PopoverDialogV2OnVisibleChange; @@ -758,7 +758,7 @@ export declare struct PopoverDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require @Param @@ -770,7 +770,7 @@ export declare struct PopoverDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @BuilderParam targetBuilder: CustomBuilder; @@ -784,7 +784,7 @@ export declare struct PopoverDialogV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare type PopoverDialogV2OnVisibleChange = (visible: boolean) => void; @@ -797,7 +797,7 @@ export declare type PopoverDialogV2OnVisibleChange = (visible: boolean) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare interface PopoverDialogV2Options extends CustomPopupOptions { diff --git a/api/@ohos.arkui.advanced.DownloadFileButton.d.ets b/api/@ohos.arkui.advanced.DownloadFileButton.d.ets index 1b0c5ca032..450a22a744 100644 --- a/api/@ohos.arkui.advanced.DownloadFileButton.d.ets +++ b/api/@ohos.arkui.advanced.DownloadFileButton.d.ets @@ -25,7 +25,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare enum DownloadIconStyle { @@ -35,7 +35,7 @@ export declare enum DownloadIconStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FULL_FILLED = 1, @@ -45,7 +45,7 @@ export declare enum DownloadIconStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ LINES = 2 } @@ -57,7 +57,7 @@ export declare enum DownloadIconStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare enum DownloadDescription { @@ -68,7 +68,7 @@ export declare enum DownloadDescription { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DOWNLOAD = 1, @@ -78,7 +78,7 @@ export declare enum DownloadDescription { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DOWNLOAD_FILE = 2, @@ -88,7 +88,7 @@ export declare enum DownloadDescription { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SAVE = 3, @@ -98,7 +98,7 @@ export declare enum DownloadDescription { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SAVE_IMAGE = 4, @@ -108,7 +108,7 @@ export declare enum DownloadDescription { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SAVE_FILE = 5, @@ -118,7 +118,7 @@ export declare enum DownloadDescription { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DOWNLOAD_AND_SHARE = 6, @@ -128,7 +128,7 @@ export declare enum DownloadDescription { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ RECEIVE = 7, @@ -138,7 +138,7 @@ export declare enum DownloadDescription { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ CONTINUE_TO_RECEIVE = 8 } @@ -150,7 +150,7 @@ export declare enum DownloadDescription { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare enum DownloadLayoutDirection { @@ -161,7 +161,7 @@ export declare enum DownloadLayoutDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ HORIZONTAL = 0, @@ -171,7 +171,7 @@ export declare enum DownloadLayoutDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ VERTICAL = 1 } @@ -183,7 +183,7 @@ export declare enum DownloadLayoutDirection { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface DownloadContentOptions { @@ -194,7 +194,7 @@ export interface DownloadContentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ icon?: DownloadIconStyle; @@ -205,7 +205,7 @@ export interface DownloadContentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ text?: DownloadDescription; } @@ -217,7 +217,7 @@ export interface DownloadContentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface DownloadStyleOptions { @@ -229,7 +229,7 @@ export interface DownloadStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iconSize?: Dimension; @@ -240,7 +240,7 @@ export interface DownloadStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ layoutDirection?: DownloadLayoutDirection; @@ -251,7 +251,7 @@ export interface DownloadStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontSize?: Dimension; @@ -262,7 +262,7 @@ export interface DownloadStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontStyle?: FontStyle; @@ -273,7 +273,7 @@ export interface DownloadStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontWeight?: number | FontWeight | string; @@ -284,7 +284,7 @@ export interface DownloadStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontFamily?: string | Resource; @@ -295,7 +295,7 @@ export interface DownloadStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontColor?: ResourceColor; @@ -306,7 +306,7 @@ export interface DownloadStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iconColor?: ResourceColor; @@ -317,7 +317,7 @@ export interface DownloadStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textIconSpace?: Dimension; } @@ -328,7 +328,7 @@ export interface DownloadStyleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Component @@ -340,7 +340,7 @@ export declare struct DownloadFileButton { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ @State contentOptions: DownloadContentOptions; /** @@ -350,7 +350,7 @@ export declare struct DownloadFileButton { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ @State styleOptions: DownloadStyleOptions; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.EditableTitleBar.d.ets b/api/@ohos.arkui.advanced.EditableTitleBar.d.ets index 75ca1ff796..4e769f61e0 100644 --- a/api/@ohos.arkui.advanced.EditableTitleBar.d.ets +++ b/api/@ohos.arkui.advanced.EditableTitleBar.d.ets @@ -31,7 +31,7 @@ * Declaration of the menu item on the right side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ export declare class EditableTitleBarMenuItem { @@ -46,7 +46,7 @@ export declare class EditableTitleBarMenuItem { * @type { ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ value: ResourceStr; @@ -55,7 +55,7 @@ export declare class EditableTitleBarMenuItem { * @type { ?SymbolGlyphModifier }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ symbolStyle?: SymbolGlyphModifier; @@ -64,7 +64,7 @@ export declare class EditableTitleBarMenuItem { * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ label?: ResourceStr; @@ -79,7 +79,7 @@ export declare class EditableTitleBarMenuItem { * @type { ?boolean }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ isEnabled?: boolean; @@ -94,7 +94,7 @@ export declare class EditableTitleBarMenuItem { * @type { ?() => void }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ action?: () => void; @@ -103,7 +103,7 @@ export declare class EditableTitleBarMenuItem { * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityText?: ResourceStr; @@ -112,7 +112,7 @@ export declare class EditableTitleBarMenuItem { * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityDescription?: ResourceStr; @@ -122,7 +122,7 @@ export declare class EditableTitleBarMenuItem { * @default "auto" * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityLevel?: string; @@ -132,7 +132,7 @@ export declare class EditableTitleBarMenuItem { * @default { false }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ defaultFocus?: boolean; } @@ -142,7 +142,7 @@ export declare class EditableTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export type EditableTitleBarItem = EditableTitleBarMenuItem; @@ -158,7 +158,7 @@ export type EditableTitleBarItem = EditableTitleBarMenuItem; * @enum { EditableLeftIconType }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ export declare enum EditableLeftIconType { @@ -171,7 +171,7 @@ export declare enum EditableLeftIconType { * The back type. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ Back = 0, @@ -184,7 +184,7 @@ export declare enum EditableLeftIconType { * The cancel type. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ Cancel = 1 } @@ -196,7 +196,7 @@ export declare enum EditableLeftIconType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare interface EditableTitleBarOptions { @@ -207,7 +207,7 @@ export declare interface EditableTitleBarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: ResourceColor; @@ -218,7 +218,7 @@ export declare interface EditableTitleBarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -229,7 +229,7 @@ export declare interface EditableTitleBarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ safeAreaTypes?: Array; @@ -240,7 +240,7 @@ export declare interface EditableTitleBarOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ safeAreaEdges?: Array; } @@ -254,7 +254,7 @@ export declare interface EditableTitleBarOptions { * Declaration of the editable title bar. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ @Component @@ -270,7 +270,7 @@ export declare struct EditableTitleBar { * @type { EditableLeftIconType }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ leftIconStyle: EditableLeftIconType; @@ -280,7 +280,7 @@ export declare struct EditableTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ imageItem?: EditableTitleBarItem; @@ -295,7 +295,7 @@ export declare struct EditableTitleBar { * @type { ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ title: ResourceStr; @@ -305,7 +305,7 @@ export declare struct EditableTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ subtitle?: ResourceStr; @@ -316,7 +316,7 @@ export declare struct EditableTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isSaveIconRequired: boolean; @@ -331,7 +331,7 @@ export declare struct EditableTitleBar { * @type { ?Array }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ menuItems?: Array; @@ -346,7 +346,7 @@ export declare struct EditableTitleBar { * @type { ?() => void }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ onSave?: () => void; @@ -361,7 +361,7 @@ export declare struct EditableTitleBar { * @type { ?() => void }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ onCancel?: () => void; @@ -372,7 +372,7 @@ export declare struct EditableTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ options: EditableTitleBarOptions; @@ -384,7 +384,7 @@ export declare struct EditableTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop contentMargin?: LocalizedMargin; @@ -395,7 +395,7 @@ export declare struct EditableTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ leftIconDefaultFocus?: boolean; @@ -406,7 +406,7 @@ export declare struct EditableTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ saveIconDefaultFocus?: boolean; } diff --git a/api/@ohos.arkui.advanced.EditableTitleBar.static.d.ets b/api/@ohos.arkui.advanced.EditableTitleBar.static.d.ets index 58ef991066..778abbf37f 100644 --- a/api/@ohos.arkui.advanced.EditableTitleBar.static.d.ets +++ b/api/@ohos.arkui.advanced.EditableTitleBar.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { ResourceStr, ResourceColor, LocalizedMargin } from './arkui/component/units'; import { SafeAreaType, SafeAreaEdge, BlurStyle } from './arkui/component/common'; @@ -29,7 +28,7 @@ import { Builder } from './arkui/component/builder'; * Declaration of the menu item on the right side. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class EditableTitleBarMenuItem { @@ -38,7 +37,7 @@ export declare class EditableTitleBarMenuItem { * * @type { ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public value: ResourceStr; /** @@ -46,7 +45,7 @@ export declare class EditableTitleBarMenuItem { * * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public symbolStyle?: SymbolGlyphModifier; /** @@ -54,7 +53,7 @@ export declare class EditableTitleBarMenuItem { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public label?: ResourceStr; /** @@ -62,7 +61,7 @@ export declare class EditableTitleBarMenuItem { * * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public isEnabled?: boolean; /** @@ -70,7 +69,7 @@ export declare class EditableTitleBarMenuItem { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public action?: () => void; /** @@ -78,7 +77,7 @@ export declare class EditableTitleBarMenuItem { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityText?: ResourceStr; /** @@ -86,7 +85,7 @@ export declare class EditableTitleBarMenuItem { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityDescription?: ResourceStr; /** @@ -95,7 +94,7 @@ export declare class EditableTitleBarMenuItem { * @type { ?string } * @default "auto" * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityLevel?: string; /** @@ -104,7 +103,7 @@ export declare class EditableTitleBarMenuItem { * @type { ?boolean } * @default { false } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public defaultFocus?: boolean; } @@ -112,7 +111,7 @@ export declare class EditableTitleBarMenuItem { * Declaration of the image item . * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export type EditableTitleBarItem = EditableTitleBarMenuItem; @@ -121,7 +120,7 @@ export type EditableTitleBarItem = EditableTitleBarMenuItem; * * @enum { int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare enum EditableLeftIconType { @@ -129,14 +128,14 @@ export declare enum EditableLeftIconType { * The back type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ Back = 0, /** * The cancel type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ Cancel = 1 } @@ -145,7 +144,7 @@ export declare enum EditableLeftIconType { * * @interface EditableTitleBarOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare interface EditableTitleBarOptions { @@ -154,7 +153,7 @@ export declare interface EditableTitleBarOptions { * * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ backgroundColor?: ResourceColor; /** @@ -162,7 +161,7 @@ export declare interface EditableTitleBarOptions { * * @type { ?BlurStyle } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ backgroundBlurStyle?: BlurStyle; /** @@ -170,7 +169,7 @@ export declare interface EditableTitleBarOptions { * * @type { ?Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ safeAreaTypes?: Array; /** @@ -178,7 +177,7 @@ export declare interface EditableTitleBarOptions { * * @type { ?Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ safeAreaEdges?: Array; } @@ -186,7 +185,7 @@ export declare interface EditableTitleBarOptions { * Declaration of the editable title bar. * @struct { EditableTitleBar } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -196,7 +195,7 @@ export declare struct EditableTitleBar { * * @type { EditableLeftIconType } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ leftIconStyle: EditableLeftIconType; /** @@ -204,14 +203,14 @@ export declare struct EditableTitleBar { * * @type { ?EditableTitleBarItem } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ imageItem?: EditableTitleBarItem; /** * Title of this title bar. * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ title: ResourceStr; /** @@ -219,7 +218,7 @@ export declare struct EditableTitleBar { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ subtitle?: ResourceStr; /** @@ -228,7 +227,7 @@ export declare struct EditableTitleBar { * @type { boolean } * @default true * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ isSaveIconRequired: boolean; /** @@ -236,7 +235,7 @@ export declare struct EditableTitleBar { * * @type { ?Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ menuItems?: Array; /** @@ -244,7 +243,7 @@ export declare struct EditableTitleBar { * * @type { ?function }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onSave?: () => void; /** @@ -252,7 +251,7 @@ export declare struct EditableTitleBar { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onCancel?: () => void; /** @@ -261,7 +260,7 @@ export declare struct EditableTitleBar { * @type { EditableTitleBarOptions } * @default {expandSafeAreaTypes: SafeAreaType.SYSTEM, expandSafeAreaEdges: SafeAreaEdge.TOP} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ options: EditableTitleBarOptions; /** @@ -271,7 +270,7 @@ export declare struct EditableTitleBar { * @default {start: LengthMetrics.resource($r('sys.float.margin_left')), *
end: LengthMetrics.resource($r('sys.float.margin_right'))} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef contentMargin?: LocalizedMargin; @@ -281,7 +280,7 @@ export declare struct EditableTitleBar { * @type { ?boolean } * @default { false } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ leftIconDefaultFocus?: boolean; /** @@ -290,14 +289,14 @@ export declare struct EditableTitleBar { * @type { ?boolean } * @default { false } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ saveIconDefaultFocus?: boolean; /** * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; diff --git a/api/@ohos.arkui.advanced.ExceptionPrompt.d.ets b/api/@ohos.arkui.advanced.ExceptionPrompt.d.ets index b8a28b70f0..4dd7e1a417 100644 --- a/api/@ohos.arkui.advanced.ExceptionPrompt.d.ets +++ b/api/@ohos.arkui.advanced.ExceptionPrompt.d.ets @@ -31,7 +31,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare enum MarginType { @@ -46,7 +46,7 @@ export declare enum MarginType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DEFAULT_MARGIN = 0, @@ -61,7 +61,7 @@ export declare enum MarginType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FIT_MARGIN = 1, } @@ -79,7 +79,7 @@ export declare enum MarginType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface PromptOptions { @@ -96,7 +96,7 @@ export interface PromptOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ icon?: ResourceStr; @@ -105,7 +105,7 @@ export interface PromptOptions { * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ symbolStyle?: SymbolGlyphModifier; @@ -122,7 +122,7 @@ export interface PromptOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ tip?: ResourceStr; @@ -139,7 +139,7 @@ export interface PromptOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ marginType: MarginType; @@ -156,7 +156,7 @@ export interface PromptOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ actionText?: ResourceStr; @@ -173,7 +173,7 @@ export interface PromptOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ marginTop: Dimension @@ -190,7 +190,7 @@ export interface PromptOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isShown?: boolean } @@ -206,7 +206,7 @@ export interface PromptOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Component @@ -225,7 +225,7 @@ export declare struct ExceptionPrompt { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop options: PromptOptions; @@ -242,7 +242,7 @@ export declare struct ExceptionPrompt { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onTipClick?: () => void; @@ -259,7 +259,7 @@ export declare struct ExceptionPrompt { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onActionTextClick?: () => void; @@ -276,7 +276,7 @@ export declare struct ExceptionPrompt { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ build(): void; } diff --git a/api/@ohos.arkui.advanced.ExceptionPrompt.static.d.ets b/api/@ohos.arkui.advanced.ExceptionPrompt.static.d.ets index 2e8632147d..52fdf5199a 100644 --- a/api/@ohos.arkui.advanced.ExceptionPrompt.static.d.ets +++ b/api/@ohos.arkui.advanced.ExceptionPrompt.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { ResourceStr, Dimension } from '@ohos.arkui.component'; import { PropRef } from './arkui/stateManagement/decorator'; @@ -29,7 +28,7 @@ import { Builder } from '@ohos.arkui.component'; * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare enum MarginType { @@ -39,7 +38,7 @@ export declare enum MarginType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * - * @since 20 + * @since 20 static */ DEFAULT_MARGIN = 0, /** @@ -47,7 +46,7 @@ export declare enum MarginType { * margin 2: references ohos_id_max_padding_end. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ FIT_MARGIN = 1, } @@ -56,7 +55,7 @@ export declare enum MarginType { * * @interface PromptOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export interface PromptOptions { @@ -65,7 +64,7 @@ export interface PromptOptions { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ icon?: ResourceStr; /** @@ -73,7 +72,7 @@ export interface PromptOptions { * * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ symbolStyle?: SymbolGlyphModifier; /** @@ -81,7 +80,7 @@ export interface PromptOptions { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ tip?: ResourceStr; /** @@ -89,7 +88,7 @@ export interface PromptOptions { * * @type { MarginType } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ marginType: MarginType; /** @@ -97,7 +96,7 @@ export interface PromptOptions { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ actionText?: ResourceStr; /** @@ -105,7 +104,7 @@ export interface PromptOptions { * * @type { Dimension } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ marginTop: Dimension /** @@ -113,7 +112,7 @@ export interface PromptOptions { * * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ isShown?: boolean } @@ -121,7 +120,7 @@ export interface PromptOptions { * Declare struct ExceptionPrompt higher-order component. * @struct { ExceptionPrompt } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -131,7 +130,7 @@ export declare struct ExceptionPrompt { * * @type { PromptOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef options: PromptOptions; /** @@ -139,7 +138,7 @@ export declare struct ExceptionPrompt { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onTipClick?: () => void; /** @@ -147,14 +146,14 @@ export declare struct ExceptionPrompt { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onActionTextClick?: () => void; /** * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.Filter.d.ets b/api/@ohos.arkui.advanced.Filter.d.ets index 445b315d3e..1b9947a25e 100644 --- a/api/@ohos.arkui.advanced.Filter.d.ets +++ b/api/@ohos.arkui.advanced.Filter.d.ets @@ -35,7 +35,7 @@ * @enum { FilterType } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ export declare enum FilterType { @@ -48,7 +48,7 @@ export declare enum FilterType { * The multi_line_filter type. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ MULTI_LINE_FILTER = 0, @@ -61,7 +61,7 @@ export declare enum FilterType { * The list_filter type. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ LIST_FILTER = 1 } @@ -75,7 +75,7 @@ export declare enum FilterType { * This parameter is used to define the input of each filtering dimension. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ export declare class FilterParams { @@ -90,7 +90,7 @@ export declare class FilterParams { * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ name: ResourceStr; /** @@ -104,7 +104,7 @@ export declare class FilterParams { * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ options: Array; } @@ -120,7 +120,7 @@ export declare class FilterParams { * The index starts from 0. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ export declare class FilterResult { @@ -135,7 +135,7 @@ export declare class FilterResult { * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ name: ResourceStr; /** @@ -149,7 +149,7 @@ export declare class FilterResult { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ index: number; /** @@ -163,7 +163,7 @@ export declare class FilterResult { * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ value: ResourceStr; } @@ -177,7 +177,7 @@ export declare class FilterResult { * Declare Filter.The Filter is used in scenarios where multi-dimensional filtering is required. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ @Component @@ -193,7 +193,7 @@ export declare struct Filter { * @type { () => void } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ @BuilderParam container: () => void; @@ -208,7 +208,7 @@ export declare struct Filter { * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ @Prop multiFilters: Array; @@ -223,7 +223,7 @@ export declare struct Filter { * @type { ?FilterParams } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ @Prop additionFilters?: FilterParams; @@ -238,7 +238,7 @@ export declare struct Filter { * @param { (filterResults: Array) => void } FilterType, Filter display style type. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ onFilterChanged: (filterResults: Array) => void; @@ -253,7 +253,7 @@ export declare struct Filter { * @type { ?FilterType } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ @Prop filterType?: FilterType; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.Filter.static.d.ets b/api/@ohos.arkui.advanced.Filter.static.d.ets index 5adc0e4dcd..61a53affa0 100644 --- a/api/@ohos.arkui.advanced.Filter.static.d.ets +++ b/api/@ohos.arkui.advanced.Filter.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { Component } from './arkui/component/customComponent'; import { ResourceStr } from './arkui/component/units'; @@ -28,7 +27,7 @@ import { PropRef } from './arkui/stateManagement/decorator'; * * @enum { int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare enum FilterType { @@ -36,14 +35,14 @@ export declare enum FilterType { * The multi_line_filter type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ MULTI_LINE_FILTER = 0, /** * The list_filter type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ LIST_FILTER = 1 } @@ -51,7 +50,7 @@ export declare enum FilterType { * This parameter is used to define the input of each filtering dimension. * @typedef FilterParams * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare interface FilterParams { @@ -60,7 +59,7 @@ export declare interface FilterParams { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ name: ResourceStr; /** @@ -68,7 +67,7 @@ export declare interface FilterParams { * * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ options: Array; } @@ -77,7 +76,7 @@ export declare interface FilterParams { * The index starts from 0. * @typedef FilterResult * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare interface FilterResult { @@ -86,7 +85,7 @@ export declare interface FilterResult { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ name: ResourceStr; /** @@ -94,7 +93,7 @@ export declare interface FilterResult { * * @type { int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ index: int; /** @@ -102,7 +101,7 @@ export declare interface FilterResult { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ value: ResourceStr; } @@ -113,7 +112,7 @@ export declare interface FilterResult { * @typedef { function } OnFilterChangedCallback * @param { Array } filterResults - The result of filter. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ declare type OnFilterChangedCallback = (filterResults: Array) => void; @@ -122,7 +121,7 @@ declare type OnFilterChangedCallback = (filterResults: Array) => v * Declare Filter.The Filter is used in scenarios where multi-dimensional filtering is required. * @struct { Filter } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -132,7 +131,7 @@ export declare struct Filter { * * @type { function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @BuilderParam container: () => void; @@ -141,7 +140,7 @@ export declare struct Filter { * * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef multiFilters: Array; @@ -150,7 +149,7 @@ export declare struct Filter { * * @type { ?FilterParams } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef additionFilters?: FilterParams; @@ -159,7 +158,7 @@ export declare struct Filter { * * @type { OnFilterChangedCallback } FilterType, Filter display style type. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onFilterChanged: OnFilterChangedCallback; /** @@ -167,7 +166,7 @@ export declare struct Filter { * * @type { ?FilterType } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef filterType?: FilterType; @@ -175,7 +174,7 @@ export declare struct Filter { * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; diff --git a/api/@ohos.arkui.advanced.FoldSplitContainer.d.ets b/api/@ohos.arkui.advanced.FoldSplitContainer.d.ets index 34c6237ecf..4fe1bef41f 100644 --- a/api/@ohos.arkui.advanced.FoldSplitContainer.d.ets +++ b/api/@ohos.arkui.advanced.FoldSplitContainer.d.ets @@ -29,7 +29,7 @@ import { Callback } from '@ohos.base'; * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare enum ExtraRegionPosition { @@ -38,7 +38,7 @@ export declare enum ExtraRegionPosition { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ TOP = 1, /** @@ -46,7 +46,7 @@ export declare enum ExtraRegionPosition { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ BOTTOM = 2 } @@ -56,7 +56,7 @@ export declare enum ExtraRegionPosition { * @interface ExpandedRegionLayoutOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface ExpandedRegionLayoutOptions { @@ -66,7 +66,7 @@ export interface ExpandedRegionLayoutOptions { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ horizontalSplitRatio?: number; /** @@ -75,7 +75,7 @@ export interface ExpandedRegionLayoutOptions { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ verticalSplitRatio?: number; /** @@ -84,7 +84,7 @@ export interface ExpandedRegionLayoutOptions { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ isExtraRegionPerpendicular?: boolean; /** @@ -93,7 +93,7 @@ export interface ExpandedRegionLayoutOptions { * @type { ?ExtraRegionPosition } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ extraRegionPosition?: ExtraRegionPosition; } @@ -103,7 +103,7 @@ export interface ExpandedRegionLayoutOptions { * @typedef HoverModeRegionLayoutOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface HoverModeRegionLayoutOptions { @@ -113,7 +113,7 @@ export interface HoverModeRegionLayoutOptions { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ horizontalSplitRatio?: number; /** @@ -122,7 +122,7 @@ export interface HoverModeRegionLayoutOptions { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ showExtraRegion?: boolean; /** @@ -131,7 +131,7 @@ export interface HoverModeRegionLayoutOptions { * @type { ?ExtraRegionPosition } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ extraRegionPosition?: ExtraRegionPosition; } @@ -141,7 +141,7 @@ export interface HoverModeRegionLayoutOptions { * @interface FoldedRegionLayoutOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface FoldedRegionLayoutOptions { @@ -151,7 +151,7 @@ export interface FoldedRegionLayoutOptions { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ verticalSplitRatio?: number; } @@ -161,7 +161,7 @@ export interface FoldedRegionLayoutOptions { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare enum PresetSplitRatio { @@ -170,7 +170,7 @@ export declare enum PresetSplitRatio { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ LAYOUT_1V1 = 1, /** @@ -178,7 +178,7 @@ export declare enum PresetSplitRatio { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ LAYOUT_2V3 = 0.6666666666666666, /** @@ -186,7 +186,7 @@ export declare enum PresetSplitRatio { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ LAYOUT_3V2 = 1.5 } @@ -196,7 +196,7 @@ export declare enum PresetSplitRatio { * @interface HoverStatus * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface HoverModeStatus { @@ -206,7 +206,7 @@ export interface HoverModeStatus { * @type { display.FoldStatus } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ foldStatus: display.FoldStatus; /** @@ -216,7 +216,7 @@ export interface HoverModeStatus { * @type { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ isHoverMode: boolean; /** @@ -225,7 +225,7 @@ export interface HoverModeStatus { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ appRotation: number; /** @@ -234,7 +234,7 @@ export interface HoverModeStatus { * @type { window.WindowStatusType } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ windowStatusType: window.WindowStatusType; } @@ -245,7 +245,7 @@ export interface HoverModeStatus { * @param { HoverModeStatus } status - The status of hover mode * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export type OnHoverStatusChangeHandler = (status: HoverModeStatus) => void; @@ -255,7 +255,7 @@ export type OnHoverStatusChangeHandler = (status: HoverModeStatus) => void; * @interface FoldSplitContainer * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Component @@ -266,7 +266,7 @@ export declare struct FoldSplitContainer { * @type { Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @BuilderParam primary: Callback; @@ -276,7 +276,7 @@ export declare struct FoldSplitContainer { * @type { Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @BuilderParam secondary: Callback; @@ -286,7 +286,7 @@ export declare struct FoldSplitContainer { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @BuilderParam extra?: Callback; @@ -296,7 +296,7 @@ export declare struct FoldSplitContainer { * @type { ExpandedRegionLayoutOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop expandedLayoutOptions: ExpandedRegionLayoutOptions; @@ -306,7 +306,7 @@ export declare struct FoldSplitContainer { * @type { HoverModeRegionLayoutOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop hoverModeLayoutOptions: HoverModeRegionLayoutOptions; @@ -316,7 +316,7 @@ export declare struct FoldSplitContainer { * @type { FoldedRegionLayoutOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop foldedLayoutOptions: FoldedRegionLayoutOptions; @@ -326,7 +326,7 @@ export declare struct FoldSplitContainer { * @type { ?(AnimateParam | null) } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop animationOptions?: AnimateParam | null; @@ -337,7 +337,7 @@ export declare struct FoldSplitContainer { * @type { ?OnHoverStatusChangeHandler } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onHoverStatusChange?: OnHoverStatusChangeHandler; } diff --git a/api/@ohos.arkui.advanced.FormMenu.d.ets b/api/@ohos.arkui.advanced.FormMenu.d.ets index dc7d448684..ac63849dc0 100755 --- a/api/@ohos.arkui.advanced.FormMenu.d.ets +++ b/api/@ohos.arkui.advanced.FormMenu.d.ets @@ -28,7 +28,7 @@ import { AsyncCallback } from './@ohos.base'; * @interface FormMenuItemStyle * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface FormMenuItemStyle { @@ -38,7 +38,7 @@ export interface FormMenuItemStyle { * @type { ?MenuItemOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ options?: MenuItemOptions; } @@ -49,7 +49,7 @@ export interface FormMenuItemStyle { * @interface AddFormOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface AddFormOptions { @@ -59,7 +59,7 @@ export interface AddFormOptions { * @type { ?formBindingData.FormBindingData } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ formBindingData?: formBindingData.FormBindingData; @@ -69,7 +69,7 @@ export interface AddFormOptions { * @type { ?AsyncCallback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ callback?: AsyncCallback; @@ -79,7 +79,7 @@ export interface AddFormOptions { * @type { ?FormMenuItemStyle } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ style?: FormMenuItemStyle; } @@ -92,7 +92,7 @@ export interface AddFormOptions { * @param { AddFormOptions } [options] - Add form options. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Builder diff --git a/api/@ohos.arkui.advanced.FullScreenLaunchComponent.d.ets b/api/@ohos.arkui.advanced.FullScreenLaunchComponent.d.ets index 44ab11e7c5..b6dc7e2754 100644 --- a/api/@ohos.arkui.advanced.FullScreenLaunchComponent.d.ets +++ b/api/@ohos.arkui.advanced.FullScreenLaunchComponent.d.ets @@ -27,7 +27,7 @@ import { ErrorCallback, Callback } from '@ohos.base'; * development paradigm. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Component @@ -37,7 +37,7 @@ export declare struct FullScreenLaunchComponent { * @type { Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @BuilderParam content: Callback; /** @@ -45,7 +45,7 @@ export declare struct FullScreenLaunchComponent { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ appId: string; /** @@ -53,7 +53,7 @@ export declare struct FullScreenLaunchComponent { * @type { ?AtomicServiceOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ options?: AtomicServiceOptions; /** @@ -63,7 +63,7 @@ export declare struct FullScreenLaunchComponent { * @type { ?ErrorCallback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onError?: ErrorCallback; /** @@ -73,7 +73,7 @@ export declare struct FullScreenLaunchComponent { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onTerminated?: Callback; /** @@ -81,7 +81,7 @@ export declare struct FullScreenLaunchComponent { * @type { ?Callback> } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ onReceive?: Callback>; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.FullScreenLaunchComponent.static.d.ets b/api/@ohos.arkui.advanced.FullScreenLaunchComponent.static.d.ets index 5309730046..e439b90835 100644 --- a/api/@ohos.arkui.advanced.FullScreenLaunchComponent.static.d.ets +++ b/api/@ohos.arkui.advanced.FullScreenLaunchComponent.static.d.ets @@ -17,7 +17,6 @@ /** * @file Defines the fullScreen launch component * @kit ArkUI - * @arkts 1.2 */ import AtomicServiceOptions from '@ohos.app.ability.AtomicServiceOptions'; @@ -29,8 +28,7 @@ import { Component, BuilderParam, TerminationInfo, Builder } from '@ohos.arkui.c * * @typedef { undefined | null | Object | Record | Array } RecordData * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type RecordData = undefined | null | Object | Record | Array; /** @@ -38,7 +36,7 @@ export type RecordData = undefined | null | Object | Record * * @typedef { function } ContentBuilder * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder type ContentBuilder = () => void; @@ -48,7 +46,7 @@ type ContentBuilder = () => void; * development paradigm. * @struct { FullScreenLaunchComponent } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -57,21 +55,21 @@ export declare struct FullScreenLaunchComponent { * Sets the component content. * @type { ContentBuilder } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @BuilderParam content: ContentBuilder; /** * Indicates atomic service appId. * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ appId: string; /** * Indicates the atomic service start options. * @type { ?AtomicServiceOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ options?: AtomicServiceOptions; /** @@ -80,7 +78,7 @@ export declare struct FullScreenLaunchComponent { * with the parameter being of type BusinessError. * @type { ?ErrorCallback } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onError?: ErrorCallback; /** @@ -89,21 +87,21 @@ export declare struct FullScreenLaunchComponent { * with the parameter being of type TerminationInfo. * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onTerminated?: Callback; /** * Indicates the callback of onReceive. * @type { ?Callback> } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onReceive?: Callback>; /** * The method to build component. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.GridObjectSortComponent.d.ets b/api/@ohos.arkui.advanced.GridObjectSortComponent.d.ets index 7b87b79ada..0c0d5e8a19 100644 --- a/api/@ohos.arkui.advanced.GridObjectSortComponent.d.ets +++ b/api/@ohos.arkui.advanced.GridObjectSortComponent.d.ets @@ -31,7 +31,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare enum GridObjectSortComponentType { @@ -46,7 +46,7 @@ export declare enum GridObjectSortComponentType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ IMAGE_TEXT = "image_text", @@ -61,7 +61,7 @@ export declare enum GridObjectSortComponentType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ TEXT = "text" } @@ -79,7 +79,7 @@ export declare enum GridObjectSortComponentType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface GridObjectSortComponentItem { @@ -96,7 +96,7 @@ export interface GridObjectSortComponentItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ id: number | string; @@ -113,7 +113,7 @@ export interface GridObjectSortComponentItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ text: ResourceStr; @@ -130,7 +130,7 @@ export interface GridObjectSortComponentItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selected: boolean; @@ -147,7 +147,7 @@ export interface GridObjectSortComponentItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ order: number; @@ -164,7 +164,7 @@ export interface GridObjectSortComponentItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ url?: ResourceStr; @@ -173,7 +173,7 @@ export interface GridObjectSortComponentItem { * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ symbolStyle?: SymbolGlyphModifier; } @@ -191,7 +191,7 @@ export interface GridObjectSortComponentItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface GridObjectSortComponentOptions { @@ -210,7 +210,7 @@ export interface GridObjectSortComponentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type?: GridObjectSortComponentType; @@ -227,7 +227,7 @@ export interface GridObjectSortComponentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ imageSize?: number | Resource; @@ -244,7 +244,7 @@ export interface GridObjectSortComponentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ normalTitle?: ResourceStr; @@ -261,7 +261,7 @@ export interface GridObjectSortComponentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ editTitle?: ResourceStr; @@ -278,7 +278,7 @@ export interface GridObjectSortComponentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ showAreaTitle?: ResourceStr; @@ -295,7 +295,7 @@ export interface GridObjectSortComponentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ addAreaTitle?: ResourceStr; } @@ -313,7 +313,7 @@ export interface GridObjectSortComponentOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Component @@ -331,7 +331,7 @@ export declare struct GridObjectSortComponent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop options: GridObjectSortComponentOptions; @@ -349,7 +349,7 @@ export declare struct GridObjectSortComponent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dataList: Array; @@ -366,7 +366,7 @@ export declare struct GridObjectSortComponent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onSave: (select: Array, unselect: Array) => void; @@ -383,7 +383,7 @@ export declare struct GridObjectSortComponent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onCancel: () => void; @@ -398,7 +398,7 @@ export declare struct GridObjectSortComponent { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ build(): void; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.InnerFullScreenLaunchComponent.d.ets b/api/@ohos.arkui.advanced.InnerFullScreenLaunchComponent.d.ets index 61f6561f82..0ced479dab 100644 --- a/api/@ohos.arkui.advanced.InnerFullScreenLaunchComponent.d.ets +++ b/api/@ohos.arkui.advanced.InnerFullScreenLaunchComponent.d.ets @@ -25,7 +25,7 @@ import Callback from '@ohos.base'; * Declare component InnerFullScreenLaunchComponent * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic * @noninterop */ @Component @@ -35,7 +35,7 @@ export declare struct InnerFullScreenLaunchComponent { * @type { Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ @BuilderParam content: Callback; @@ -44,7 +44,7 @@ export declare struct InnerFullScreenLaunchComponent { * @type { LaunchController }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ controller: LaunchController; @@ -53,7 +53,7 @@ export declare struct InnerFullScreenLaunchComponent { * @type { ?Callback> } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 dynamic */ onReceive?: Callback>; } @@ -62,7 +62,7 @@ export declare struct InnerFullScreenLaunchComponent { * Declare type LaunchController * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic * @noninterop */ export declare class LaunchController { @@ -73,7 +73,7 @@ export declare class LaunchController { * @type { LaunchAtomicServiceCallback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic **/ public launchAtomicService: LaunchAtomicServiceCallback; } @@ -87,7 +87,7 @@ export declare class LaunchController { * @param { AtomicServiceOptions } [options] - options that could be empty. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic * @noninterop **/ export declare type LaunchAtomicServiceCallback = (appId: string, options?: AtomicServiceOptions) => void; \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.MultiNavigation.d.ets b/api/@ohos.arkui.advanced.MultiNavigation.d.ets index 8eacaeb277..bf9ebdc1a0 100644 --- a/api/@ohos.arkui.advanced.MultiNavigation.d.ets +++ b/api/@ohos.arkui.advanced.MultiNavigation.d.ets @@ -27,7 +27,7 @@ import base from '@ohos.base'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic * @noninterop */ export declare enum SplitPolicy { @@ -37,7 +37,7 @@ export declare enum SplitPolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ HOME_PAGE = 0, @@ -47,7 +47,7 @@ export declare enum SplitPolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ DETAIL_PAGE = 1, @@ -57,7 +57,7 @@ export declare enum SplitPolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ FULL_PAGE = 2, } @@ -69,7 +69,7 @@ export declare enum SplitPolicy { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic * @noninterop */ @Component @@ -81,7 +81,7 @@ export declare struct MultiNavigation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ @State multiStack: MultiNavPathStack; @@ -93,7 +93,7 @@ export declare struct MultiNavigation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ @BuilderParam navDestination: NavDestinationBuildFunction; @@ -105,7 +105,7 @@ export declare struct MultiNavigation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ onNavigationModeChange?: OnNavigationModeChangeCallback; @@ -116,7 +116,7 @@ export declare struct MultiNavigation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ onHomeShowOnTop?: OnHomeShowOnTopCallback; } @@ -128,7 +128,7 @@ export declare struct MultiNavigation { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic * @noninterop */ export declare class MultiNavPathStack extends NavPathStack { @@ -138,7 +138,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ constructor(); @@ -152,7 +152,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ pushPath(info: NavPathInfo, animated?: boolean, policy?: SplitPolicy): void; @@ -166,7 +166,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ pushPath(info: NavPathInfo, options?: NavigationOptions, policy?: SplitPolicy): void; @@ -181,7 +181,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ pushPathByName(name: string, param: Object, animated?: boolean, policy?: SplitPolicy): void; @@ -197,7 +197,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ pushPathByName( name: string, param: Object, onPop?: base.Callback, animated?: boolean, policy?: SplitPolicy): void; @@ -211,7 +211,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ replacePath(info: NavPathInfo, animated?: boolean): void; @@ -224,7 +224,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ replacePath(info: NavPathInfo, options?: NavigationOptions): void; @@ -238,7 +238,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ replacePathByName(name: string, param: Object, animated?: boolean): void; @@ -250,7 +250,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ removeByIndexes(indexes: Array): number; @@ -262,7 +262,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ removeByName(name: string): number; @@ -275,7 +275,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ pop(animated?: boolean): NavPathInfo | undefined; @@ -290,7 +290,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ pop(result?: Object, animated?: boolean): NavPathInfo | undefined; @@ -304,7 +304,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ popToName(name: string, animated?: boolean): number; @@ -319,7 +319,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ popToName(name: string, result: Object, animated?: boolean): number; @@ -331,7 +331,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ popToIndex(index: number, animated?: boolean): void; @@ -344,7 +344,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ popToIndex(index: number, result: Object, animated?: boolean): void; @@ -358,7 +358,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ moveToTop(name: string, animated?: boolean): number; @@ -370,7 +370,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ moveIndexToTop(index: number, animated?: boolean): void; @@ -382,7 +382,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ clear(animated?: boolean): void; @@ -393,7 +393,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getAllPathName(): Array; @@ -406,7 +406,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getParamByIndex(index: number): Object | undefined; @@ -418,7 +418,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getParamByName(name: string): Array; @@ -430,7 +430,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getIndexByName(name: string): Array; @@ -441,7 +441,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ size(): number; @@ -452,7 +452,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ disableAnimation(disable: boolean): void; @@ -465,7 +465,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ switchFullScreenState(isFullScreen?: boolean): boolean; @@ -477,7 +477,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ setHomeWidthRange(minPercent: number, maxPercent: number): void; @@ -488,7 +488,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ keepBottomPage(keepBottom: boolean): void; @@ -499,7 +499,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ setPlaceholderPage(info: NavPathInfo): void; } @@ -513,7 +513,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic * @noninterop */ declare type NavDestinationBuildFunction = (name: string, param?: object) => void; @@ -526,7 +526,7 @@ declare type NavDestinationBuildFunction = (name: string, param?: object) => voi * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic * @noninterop */ declare type OnNavigationModeChangeCallback = (mode: NavigationMode) => void; @@ -539,7 +539,7 @@ declare type OnNavigationModeChangeCallback = (mode: NavigationMode) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic * @noninterop */ declare type OnHomeShowOnTopCallback = (name: string) => void; \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.MultiNavigation.static.d.ets b/api/@ohos.arkui.advanced.MultiNavigation.static.d.ets index b0ce5e69fc..dc93eb3dc3 100644 --- a/api/@ohos.arkui.advanced.MultiNavigation.static.d.ets +++ b/api/@ohos.arkui.advanced.MultiNavigation.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { BuilderParam, Callback, Component, NavPathInfo, NavPathStack, NavigationMode, NavigationOptions, PopInfo, Builder, PageMapBuilder } from '@ohos.arkui.component'; @@ -28,7 +27,7 @@ import { State } from '@ohos.arkui.stateManagement'; * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare enum SplitPolicy { @@ -36,7 +35,7 @@ export declare enum SplitPolicy { * Indicates that the page will be pushed to the stack as home page. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ HOME_PAGE = 0, @@ -44,7 +43,7 @@ export declare enum SplitPolicy { * Indicates that the page will be pushed to the stack as detail page. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ DETAIL_PAGE = 1, @@ -52,7 +51,7 @@ export declare enum SplitPolicy { * Indicates that the page will be pushed to the stack as full-screen page. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ FULL_PAGE = 2, } @@ -63,7 +62,7 @@ export declare enum SplitPolicy { * @typedef { function } OnNavigationModeChangeCallback * @param { NavigationMode } mode - current NavigationMode. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ declare type OnNavigationModeChangeCallback = (mode: NavigationMode) => void; @@ -74,7 +73,7 @@ declare type OnNavigationModeChangeCallback = (mode: NavigationMode) => void; * @typedef { function } OnHomeShowOnTopCallback * @param { string } name - the name of home NavDestination shown in top. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ declare type OnHomeShowOnTopCallback = (name: string) => void; @@ -84,7 +83,7 @@ declare type OnHomeShowOnTopCallback = (name: string) => void; * * @struct { MultiNavigation } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -94,7 +93,7 @@ export declare struct MultiNavigation { * * @type { MultiNavPathStack } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @State multiStack: MultiNavPathStack; @@ -104,7 +103,7 @@ export declare struct MultiNavigation { * * @type { NavDestinationBuildFunction } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @BuilderParam navDestination: PageMapBuilder | undefined; @@ -114,7 +113,7 @@ export declare struct MultiNavigation { * * @type { ?OnNavigationModeChangeCallback } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onNavigationModeChange?: OnNavigationModeChangeCallback; @@ -123,14 +122,14 @@ export declare struct MultiNavigation { * * @type { ?OnHomeShowOnTopCallback } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onHomeShowOnTop?: OnHomeShowOnTopCallback; /** * The method to build multiNavigation. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; @@ -141,7 +140,7 @@ export declare struct MultiNavigation { * * @extends NavPathStack * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class MultiNavPathStack extends NavPathStack { @@ -149,7 +148,7 @@ export declare class MultiNavPathStack extends NavPathStack { * Creates an instance of MultiNavPathStack. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ constructor(); @@ -161,7 +160,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { SplitPolicy } [policy] - SplitPolicy of the NavDestination which is currently * pushed in stack. Default splitPolicy is DETAIL_PAGE. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pushPath(info: NavPathInfo, animated?: boolean, policy?: SplitPolicy): void; @@ -173,7 +172,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { SplitPolicy } [policy] - SplitPolicy of the NavDestination which is currently * pushed in stack. Default splitPolicy is DETAIL_PAGE. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pushPath(info: NavPathInfo, options?: NavigationOptions, policy?: SplitPolicy): void; @@ -186,7 +185,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { SplitPolicy } [policy] - SplitPolicy of the NavDestination which is currently * pushed in stack. Default splitPolicy is DETAIL_PAGE. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pushPathByName(name: string, param: Object, animated?: boolean, policy?: SplitPolicy): void; @@ -200,7 +199,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { SplitPolicy } [policy] - SplitPolicy of the NavDestination which is currently * pushed in stack. Default splitPolicy is DETAIL_PAGE. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pushPathByName( name: string, param: Object, onPop?: Callback, animated?: boolean, policy?: SplitPolicy): void; @@ -212,7 +211,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { NavPathInfo } info - Indicates the new NavDestination in top of the stack. * @param { boolean } [animated] - Indicates whether the transition is animated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ replacePath(info: NavPathInfo, animated?: boolean): void; @@ -223,7 +222,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { NavPathInfo } info - Indicates the new NavDestination in top of the stack. * @param { NavigationOptions } [options] - Indicates options of stack operation. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ replacePath(info: NavPathInfo, options?: NavigationOptions): void; @@ -235,7 +234,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { Object } param - Indicates the detailed parameter of the new NavDestination in top of the stack. * @param { boolean } [animated] - Indicates whether the transition is animated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ replacePathByName(name: string, param: Object, animated?: boolean): void; @@ -245,7 +244,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { Array } indexes - Indicates the indexes of the NavDestinations to be removed. * @returns { number } Returns the number of removed pages. Invalid indexes will be ignored. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ removeByIndexes(indexes: Array): number; @@ -255,7 +254,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { string } name - Indicates the name of the NavDestination to be removed. * @returns { number } Returns the number of removed NavDestinations. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ removeByName(name: string): number; @@ -266,7 +265,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @returns { NavPathInfo | undefined } Returns the top NavPathInfo if the stack is not empty, * otherwise returns undefined. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pop(animated?: boolean): NavPathInfo | undefined; @@ -279,7 +278,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @returns { NavPathInfo | undefined } Returns the top NavPathInfo if the stack is not empty, * otherwise returns undefined. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pop(result?: Object, animated?: boolean): NavPathInfo | undefined; @@ -291,7 +290,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { boolean } [animated] - Indicates whether the transition is animated. * @returns { number } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ popToName(name: string, animated?: boolean): number; @@ -304,7 +303,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { boolean } [animated] - Indicates whether the transition is animated. * @returns { number } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ popToName(name: string, result: Object, animated?: boolean): number; @@ -314,7 +313,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { number } index - The index of NavDestination page. * @param { boolean } [animated] - Indicates whether the transition is animated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ popToIndex(index: number, animated?: boolean): void; @@ -325,7 +324,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { Object } result - Page Customization processing results. * @param { boolean } [animated] - Indicates whether the transition is animated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ popToIndex(index: number, result: Object, animated?: boolean): void; @@ -337,7 +336,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { boolean } [animated] - Indicates whether the transition is animated. * @returns { number } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ moveToTop(name: string, animated?: boolean): number; @@ -347,7 +346,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { number } index - Indicates the index of the NavDestination to be moved to the top. * @param { boolean } [animated] - Indicates whether the transition is animated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ moveIndexToTop(index: number, animated?: boolean): void; @@ -357,7 +356,7 @@ export declare class MultiNavPathStack extends NavPathStack { * * @param { boolean } [animated] - Indicates whether the transition is animated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ clear(animated?: boolean): void; @@ -366,7 +365,7 @@ export declare class MultiNavPathStack extends NavPathStack { * * @returns { Array } Returns all the NavDestination name in the stack. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getAllPathName(): Array; @@ -377,7 +376,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @returns { Object | undefined } Returns the detailed parameter of the NavDestination * if it exists in the stack, otherwise returns undefined. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getParamByIndex(index: number): Object | undefined; @@ -387,7 +386,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { string } name - Indicates the name of the NavDestination. * @returns { Array } Returns the detailed parameter of all the NavDestinations. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getParamByName(name: string): Array; @@ -397,7 +396,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { string } name - Indicates the name of the NavDestination. * @returns { Array } Returns the index of all the NavDestinations. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getIndexByName(name: string): Array; @@ -406,7 +405,7 @@ export declare class MultiNavPathStack extends NavPathStack { * * @returns { number } Returns the size of the stack. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ size(): number; @@ -415,7 +414,7 @@ export declare class MultiNavPathStack extends NavPathStack { * * @param { boolean } disable - Indicates whether to disable the transition animation. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ disableAnimation(disable: boolean): void; @@ -426,7 +425,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { boolean } [isFullScreen] - Whether to switch to full screen. * @returns { boolean } Returns switch result success(true) or failure(false). * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ switchFullScreenState(isFullScreen?: boolean): boolean; @@ -436,7 +435,7 @@ export declare class MultiNavPathStack extends NavPathStack { * @param { number } minPercent - Minimum Home Width Percentage. * @param { number } maxPercent - Maximum Home Width Percentage. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setHomeWidthRange(minPercent: number, maxPercent: number): void; @@ -445,7 +444,7 @@ export declare class MultiNavPathStack extends NavPathStack { * * @param { boolean } keepBottom - Indicates whether to retain the bottom NavDestination of the stack. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ keepBottomPage(keepBottom: boolean): void; @@ -454,7 +453,7 @@ export declare class MultiNavPathStack extends NavPathStack { * * @param { NavPathInfo } info - info of placeHolder NavDestination. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setPlaceholderPage(info: NavPathInfo): void; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.Popup.d.ets b/api/@ohos.arkui.advanced.Popup.d.ets index e719efa285..f3bd4037c4 100644 --- a/api/@ohos.arkui.advanced.Popup.d.ets +++ b/api/@ohos.arkui.advanced.Popup.d.ets @@ -29,7 +29,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @@ -48,7 +48,7 @@ export interface PopupTextOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ text: ResourceStr; @@ -65,7 +65,7 @@ export interface PopupTextOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontSize?: number | string | Resource; @@ -82,7 +82,7 @@ export interface PopupTextOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontColor?: ResourceColor; @@ -99,7 +99,7 @@ export interface PopupTextOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontWeight?: number | FontWeight | string; } @@ -115,7 +115,7 @@ export interface PopupTextOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface PopupButtonOptions { @@ -132,7 +132,7 @@ export interface PopupButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ text: ResourceStr; @@ -149,7 +149,7 @@ export interface PopupButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ action?: () => void; @@ -166,7 +166,7 @@ export interface PopupButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontSize?: number | string | Resource; @@ -183,7 +183,7 @@ export interface PopupButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontColor?: ResourceColor; } @@ -199,7 +199,7 @@ export interface PopupButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface PopupIconOptions { @@ -216,7 +216,7 @@ export interface PopupIconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ image: ResourceStr; @@ -233,7 +233,7 @@ export interface PopupIconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ width?: Dimension; @@ -250,7 +250,7 @@ export interface PopupIconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ height?: Dimension; @@ -267,7 +267,7 @@ export interface PopupIconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fillColor?: ResourceColor; @@ -284,7 +284,7 @@ export interface PopupIconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ borderRadius?: Length | BorderRadiuses; } @@ -300,7 +300,7 @@ export interface PopupIconOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface PopupOptions { @@ -319,7 +319,7 @@ export interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ icon?: PopupIconOptions; @@ -338,7 +338,7 @@ export interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ title?: PopupTextOptions; @@ -357,7 +357,7 @@ export interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ message: PopupTextOptions; @@ -376,7 +376,7 @@ export interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ showClose?: boolean | Resource; @@ -395,7 +395,7 @@ export interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onClose?: () => void; @@ -414,7 +414,7 @@ export interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ buttons?: [PopupButtonOptions?, PopupButtonOptions?]; @@ -425,7 +425,7 @@ export interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ direction?: Direction; @@ -436,7 +436,7 @@ export interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ maxWidth?: Dimension; } @@ -456,7 +456,7 @@ export interface PopupOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Builder diff --git a/api/@ohos.arkui.advanced.ProgressButton.d.ets b/api/@ohos.arkui.advanced.ProgressButton.d.ets index a75b72f89d..048b28d84b 100644 --- a/api/@ohos.arkui.advanced.ProgressButton.d.ets +++ b/api/@ohos.arkui.advanced.ProgressButton.d.ets @@ -27,7 +27,7 @@ * Declare Component ProgressButton * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ @Component @@ -43,7 +43,7 @@ export declare struct ProgressButton { * @type { number }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ @Prop progress: number; @@ -66,7 +66,7 @@ export declare struct ProgressButton { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ @Prop content: ResourceStr; @@ -81,7 +81,7 @@ export declare struct ProgressButton { * @type { ?Length }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ progressButtonWidth?: Length; @@ -96,7 +96,7 @@ export declare struct ProgressButton { * @type { () => void }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ clickCallback: () => void; @@ -111,7 +111,7 @@ export declare struct ProgressButton { * @type { boolean }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ @Prop enable: boolean; @@ -121,7 +121,7 @@ export declare struct ProgressButton { * @type { ?ProgressButtonColorOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop colorOptions?: ProgressButtonColorOptions; @@ -132,7 +132,7 @@ export declare struct ProgressButton { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop progressButtonRadius?: LengthMetrics; } @@ -143,7 +143,7 @@ export declare struct ProgressButton { * @interface ProgressButtonColorOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare interface ProgressButtonColorOptions { @@ -154,7 +154,7 @@ export declare interface ProgressButtonColorOptions { * @type { ?ResourceColor }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ progressColor?: ResourceColor; @@ -164,7 +164,7 @@ export declare interface ProgressButtonColorOptions { * @type { ?ResourceColor }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ borderColor?: ResourceColor; @@ -174,7 +174,7 @@ export declare interface ProgressButtonColorOptions { * @type { ?ResourceColor }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ textColor?: ResourceColor; @@ -184,7 +184,7 @@ export declare interface ProgressButtonColorOptions { * @type { ?ResourceColor }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundColor?: ResourceColor; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.ProgressButton.static.d.ets b/api/@ohos.arkui.advanced.ProgressButton.static.d.ets index c1744e3866..585a1fafd6 100644 --- a/api/@ohos.arkui.advanced.ProgressButton.static.d.ets +++ b/api/@ohos.arkui.advanced.ProgressButton.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { Component } from './arkui/component/customComponent'; import { PropRef } from './arkui/stateManagement/decorator'; @@ -28,7 +27,7 @@ import { LengthMetrics } from './arkui/Graphics'; * Declare Component ProgressButton * @struct { ProgressButton } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -38,7 +37,7 @@ export declare struct ProgressButton { * * @type { int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef progress: int; @@ -47,7 +46,7 @@ export declare struct ProgressButton { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef content: ResourceStr; @@ -56,7 +55,7 @@ export declare struct ProgressButton { * * @type { ?Length } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ progressButtonWidth?: Length; /** @@ -64,7 +63,7 @@ export declare struct ProgressButton { * * @type { function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ clickCallback: () => void; /** @@ -72,7 +71,7 @@ export declare struct ProgressButton { * * @type { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef enable: boolean; @@ -81,7 +80,7 @@ export declare struct ProgressButton { * * @type { ?ProgressButtonColorOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef colorOptions?: ProgressButtonColorOptions; @@ -90,7 +89,7 @@ export declare struct ProgressButton { * * @type { ?LengthMetrics } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef progressButtonRadius?: LengthMetrics; @@ -98,7 +97,7 @@ export declare struct ProgressButton { * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; @@ -107,7 +106,7 @@ export declare struct ProgressButton { * Declare Color options of the ProgressButton. * @typedef ProgressButtonColorOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare interface ProgressButtonColorOptions { @@ -116,7 +115,7 @@ export declare interface ProgressButtonColorOptions { * * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ progressColor?: ResourceColor; /** @@ -124,7 +123,7 @@ export declare interface ProgressButtonColorOptions { * * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ borderColor?: ResourceColor; /** @@ -132,7 +131,7 @@ export declare interface ProgressButtonColorOptions { * * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ textColor?: ResourceColor; /** @@ -140,7 +139,7 @@ export declare interface ProgressButtonColorOptions { * * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ backgroundColor?: ResourceColor; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.ProgressButtonV2.d.ets b/api/@ohos.arkui.advanced.ProgressButtonV2.d.ets index 38118b80cb..9be5cf70b2 100644 --- a/api/@ohos.arkui.advanced.ProgressButtonV2.d.ets +++ b/api/@ohos.arkui.advanced.ProgressButtonV2.d.ets @@ -26,7 +26,7 @@ import { ColorMetrics } from './@ohos.arkui.node'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic * @noninterop */ @ComponentV2 @@ -37,7 +37,7 @@ export declare struct ProgressButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic */ @Require @Param readonly progress: number; @@ -48,7 +48,7 @@ export declare struct ProgressButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic */ @Require @Param readonly content: ResourceStr; @@ -59,7 +59,7 @@ export declare struct ProgressButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic */ @Param @Once progressButtonWidth?: LengthMetrics; @@ -69,7 +69,7 @@ export declare struct ProgressButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic */ @Param readonly onClicked: ClickCallback; @@ -79,7 +79,7 @@ export declare struct ProgressButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic */ @Param readonly isEnabled: boolean; @@ -90,7 +90,7 @@ export declare struct ProgressButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic */ @Param colorOptions?: ProgressButtonV2Color; @@ -101,7 +101,7 @@ export declare struct ProgressButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param progressButtonRadius?: LengthMetrics; } @@ -112,7 +112,7 @@ export declare struct ProgressButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -124,7 +124,7 @@ export declare class ProgressButtonV2Color { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic */ @Trace progressColor?: ColorMetrics; @@ -135,7 +135,7 @@ export declare class ProgressButtonV2Color { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic */ @Trace borderColor?: ColorMetrics; @@ -146,7 +146,7 @@ export declare class ProgressButtonV2Color { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic */ @Trace textColor?: ColorMetrics; @@ -157,7 +157,7 @@ export declare class ProgressButtonV2Color { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic */ @Trace backgroundColor?: ColorMetrics; @@ -168,7 +168,7 @@ export declare class ProgressButtonV2Color { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options: ProgressButtonV2ColorOptions); } @@ -179,7 +179,7 @@ export declare class ProgressButtonV2Color { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic * @noninterop */ export type ClickCallback = () => void; @@ -191,7 +191,7 @@ export type ClickCallback = () => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic * @noninterop */ export declare interface ProgressButtonV2ColorOptions { @@ -202,7 +202,7 @@ export declare interface ProgressButtonV2ColorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic */ progressColor?: ColorMetrics; @@ -213,7 +213,7 @@ export declare interface ProgressButtonV2ColorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic */ borderColor?: ColorMetrics; @@ -224,7 +224,7 @@ export declare interface ProgressButtonV2ColorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic */ textColor?: ColorMetrics; @@ -235,7 +235,7 @@ export declare interface ProgressButtonV2ColorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @crossplatform - * @since 18 + * @since 18 dynamic */ backgroundColor?: ColorMetrics; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.SegmentButton.d.ets b/api/@ohos.arkui.advanced.SegmentButton.d.ets index a4526020ad..f78d7eddd1 100644 --- a/api/@ohos.arkui.advanced.SegmentButton.d.ets +++ b/api/@ohos.arkui.advanced.SegmentButton.d.ets @@ -37,7 +37,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @@ -57,7 +57,7 @@ interface SegmentButtonTextItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ text: ResourceStr; @@ -69,7 +69,7 @@ interface SegmentButtonTextItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ accessibilityLevel?: string; @@ -81,7 +81,7 @@ interface SegmentButtonTextItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ accessibilityDescription?: ResourceStr; } @@ -101,7 +101,7 @@ interface SegmentButtonTextItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ interface SegmentButtonIconItem { @@ -120,7 +120,7 @@ interface SegmentButtonIconItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ icon: ResourceStr; @@ -132,7 +132,7 @@ interface SegmentButtonIconItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ iconAccessibilityText?: ResourceStr; @@ -151,7 +151,7 @@ interface SegmentButtonIconItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedIcon: ResourceStr; @@ -163,7 +163,7 @@ interface SegmentButtonIconItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ selectedIconAccessibilityText?: ResourceStr; @@ -175,7 +175,7 @@ interface SegmentButtonIconItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ accessibilityLevel?: string; @@ -187,7 +187,7 @@ interface SegmentButtonIconItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ accessibilityDescription?: ResourceStr; } @@ -207,7 +207,7 @@ interface SegmentButtonIconItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ interface SegmentButtonIconTextItem { @@ -226,7 +226,7 @@ interface SegmentButtonIconTextItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ icon: ResourceStr; @@ -238,7 +238,7 @@ interface SegmentButtonIconTextItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ iconAccessibilityText?: ResourceStr; @@ -257,7 +257,7 @@ interface SegmentButtonIconTextItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedIcon: ResourceStr; @@ -269,7 +269,7 @@ interface SegmentButtonIconTextItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ selectedIconAccessibilityText?: ResourceStr; @@ -288,7 +288,7 @@ interface SegmentButtonIconTextItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ text: ResourceStr; @@ -300,7 +300,7 @@ interface SegmentButtonIconTextItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ accessibilityLevel?: string; @@ -312,7 +312,7 @@ interface SegmentButtonIconTextItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ accessibilityDescription?: ResourceStr; } @@ -330,7 +330,7 @@ interface SegmentButtonIconTextItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare type DimensionNoPercentage = PX | VP | FP | LPX | Resource; @@ -341,7 +341,7 @@ declare type DimensionNoPercentage = PX | VP | FP | LPX | Resource; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ declare enum BorderRadiusMode { @@ -349,7 +349,7 @@ declare enum BorderRadiusMode { * Default mode, radius is auto calculated by framework. * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ DEFAULT = 0, @@ -357,7 +357,7 @@ declare enum BorderRadiusMode { * Custom mode, radius can be set by developers. * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ CUSTOM = 1 } @@ -377,7 +377,7 @@ declare enum BorderRadiusMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ interface CommonSegmentButtonOptions { @@ -396,7 +396,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontColor?: ResourceColor; @@ -415,7 +415,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedFontColor?: ResourceColor; @@ -436,7 +436,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontSize?: DimensionNoPercentage; @@ -457,7 +457,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedFontSize?: DimensionNoPercentage; @@ -478,7 +478,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontWeight?: FontWeight; @@ -499,7 +499,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedFontWeight?: FontWeight; @@ -520,7 +520,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: ResourceColor; @@ -539,7 +539,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedBackgroundColor?: ResourceColor; @@ -560,7 +560,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ imageSize?: SizeOptions; @@ -583,7 +583,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ buttonPadding?: Padding | Dimension; @@ -598,7 +598,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ localizedButtonPadding?: LocalizedPadding; @@ -619,7 +619,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textPadding?: Padding | Dimension; @@ -630,7 +630,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ localizedTextPadding?: LocalizedPadding; @@ -649,7 +649,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundBlurStyle?: BlurStyle; @@ -660,7 +660,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ direction?: Direction; @@ -672,7 +672,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ borderRadiusMode?: BorderRadiusMode; @@ -684,7 +684,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ backgroundBorderRadius?: LengthMetrics; @@ -696,7 +696,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ itemBorderRadius?: LengthMetrics; } @@ -714,7 +714,7 @@ interface CommonSegmentButtonOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare type ItemRestriction = [T, T, T?, T?, T?]; @@ -732,7 +732,7 @@ declare type ItemRestriction = [T, T, T?, T?, T?]; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare type SegmentButtonItemTuple = ItemRestriction | ItemRestriction | ItemRestriction; @@ -750,7 +750,7 @@ declare type SegmentButtonItemTuple = ItemRestriction | I * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ declare type SegmentButtonItemArray = Array | Array | Array; @@ -772,7 +772,7 @@ declare type SegmentButtonItemArray = Array | Array; } @@ -813,7 +813,7 @@ interface TabSegmentButtonConstructionOptions extends CommonSegmentButtonOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ interface CapsuleSegmentButtonConstructionOptions extends CommonSegmentButtonOptions { @@ -832,7 +832,7 @@ interface CapsuleSegmentButtonConstructionOptions extends CommonSegmentButtonOpt * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ buttons: SegmentButtonItemTuple; @@ -853,7 +853,7 @@ interface CapsuleSegmentButtonConstructionOptions extends CommonSegmentButtonOpt * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ multiply?: boolean; } @@ -875,7 +875,7 @@ interface CapsuleSegmentButtonConstructionOptions extends CommonSegmentButtonOpt * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ interface TabSegmentButtonOptions extends TabSegmentButtonConstructionOptions { @@ -894,7 +894,7 @@ interface TabSegmentButtonOptions extends TabSegmentButtonConstructionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type: "tab"; } @@ -916,7 +916,7 @@ interface TabSegmentButtonOptions extends TabSegmentButtonConstructionOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ interface CapsuleSegmentButtonOptions extends CapsuleSegmentButtonConstructionOptions { @@ -935,7 +935,7 @@ interface CapsuleSegmentButtonOptions extends CapsuleSegmentButtonConstructionOp * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type: "capsule"; } @@ -953,7 +953,7 @@ interface CapsuleSegmentButtonOptions extends CapsuleSegmentButtonConstructionOp * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ interface SegmentButtonItemOptionsConstructorOptions { @@ -972,7 +972,7 @@ interface SegmentButtonItemOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ icon?: ResourceStr; @@ -984,7 +984,7 @@ interface SegmentButtonItemOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ iconAccessibilityText?: ResourceStr; @@ -1003,7 +1003,7 @@ interface SegmentButtonItemOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedIcon?: ResourceStr; @@ -1015,7 +1015,7 @@ interface SegmentButtonItemOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ selectedIconAccessibilityText?: ResourceStr; @@ -1034,7 +1034,7 @@ interface SegmentButtonItemOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ text?: ResourceStr; @@ -1046,7 +1046,7 @@ interface SegmentButtonItemOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ accessibilityLevel?: string; @@ -1058,7 +1058,7 @@ interface SegmentButtonItemOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ accessibilityDescription?: ResourceStr; } @@ -1076,7 +1076,7 @@ interface SegmentButtonItemOptionsConstructorOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Observed @@ -1096,7 +1096,7 @@ declare class SegmentButtonItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ icon?: ResourceStr; @@ -1108,7 +1108,7 @@ declare class SegmentButtonItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ iconAccessibilityText?: ResourceStr; @@ -1127,7 +1127,7 @@ declare class SegmentButtonItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectedIcon?: ResourceStr; @@ -1139,7 +1139,7 @@ declare class SegmentButtonItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ selectedIconAccessibilityText?: ResourceStr; @@ -1158,7 +1158,7 @@ declare class SegmentButtonItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ text?: ResourceStr; @@ -1170,7 +1170,7 @@ declare class SegmentButtonItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ accessibilityLevel?: string; @@ -1182,7 +1182,7 @@ declare class SegmentButtonItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ accessibilityDescription?: ResourceStr; @@ -1201,7 +1201,7 @@ declare class SegmentButtonItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(options: SegmentButtonItemOptionsConstructorOptions); } @@ -1221,7 +1221,7 @@ declare class SegmentButtonItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Observed @@ -1241,7 +1241,7 @@ declare class SegmentButtonItemOptionsArray extends Array; } diff --git a/api/@ohos.arkui.advanced.SegmentButtonV2.d.ets b/api/@ohos.arkui.advanced.SegmentButtonV2.d.ets index 6ea179e5a9..3560948346 100644 --- a/api/@ohos.arkui.advanced.SegmentButtonV2.d.ets +++ b/api/@ohos.arkui.advanced.SegmentButtonV2.d.ets @@ -29,7 +29,7 @@ import { SizeT } from '@ohos.arkui.node'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface SegmentButtonV2ItemOptions { @@ -40,7 +40,7 @@ export interface SegmentButtonV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ text?: ResourceStr; @@ -52,7 +52,7 @@ export interface SegmentButtonV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ icon?: ResourceStr; @@ -63,7 +63,7 @@ export interface SegmentButtonV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ symbol?: Resource; @@ -74,7 +74,7 @@ export interface SegmentButtonV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ enabled?: boolean; @@ -85,7 +85,7 @@ export interface SegmentButtonV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ textModifier?: TextModifier; @@ -96,7 +96,7 @@ export interface SegmentButtonV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ iconModifier?: ImageModifier; @@ -107,7 +107,7 @@ export interface SegmentButtonV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ symbolModifier?: SymbolGlyphModifier; @@ -118,7 +118,7 @@ export interface SegmentButtonV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityText?: ResourceStr; @@ -129,7 +129,7 @@ export interface SegmentButtonV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityDescription?: ResourceStr; @@ -140,7 +140,7 @@ export interface SegmentButtonV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityLevel?: string; } @@ -153,7 +153,7 @@ export interface SegmentButtonV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export type OnSelectedIndexChange = (selectedIndex: number) => void; @@ -166,7 +166,7 @@ export type OnSelectedIndexChange = (selectedIndex: number) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export type OnSelectedIndexesChange = (selectedIndexes: number[]) => void; @@ -178,7 +178,7 @@ export type OnSelectedIndexesChange = (selectedIndexes: number[]) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -190,7 +190,7 @@ export declare class SegmentButtonV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace text?: ResourceStr; @@ -202,7 +202,7 @@ export declare class SegmentButtonV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace icon?: ResourceStr; @@ -213,7 +213,7 @@ export declare class SegmentButtonV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace symbol?: Resource; @@ -224,7 +224,7 @@ export declare class SegmentButtonV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace enabled: boolean; @@ -235,7 +235,7 @@ export declare class SegmentButtonV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace textModifier?: TextModifier; @@ -246,7 +246,7 @@ export declare class SegmentButtonV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace iconModifier?: ImageModifier; @@ -257,7 +257,7 @@ export declare class SegmentButtonV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace symbolModifier?: SymbolGlyphModifier; @@ -268,7 +268,7 @@ export declare class SegmentButtonV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace accessibilityText?: ResourceStr; @@ -279,7 +279,7 @@ export declare class SegmentButtonV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace accessibilityDescription?: ResourceStr; @@ -290,7 +290,7 @@ export declare class SegmentButtonV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace accessibilityLevel?: string; @@ -301,7 +301,7 @@ export declare class SegmentButtonV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options: SegmentButtonV2ItemOptions); @@ -312,7 +312,7 @@ export declare class SegmentButtonV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ get isHybrid(): boolean; } @@ -324,7 +324,7 @@ export declare class SegmentButtonV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -336,7 +336,7 @@ export declare class SegmentButtonV2Items extends Array { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(items: SegmentButtonV2ItemOptions[]); @@ -347,7 +347,7 @@ export declare class SegmentButtonV2Items extends Array { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ get hasHybrid(): boolean; } @@ -359,7 +359,7 @@ export declare class SegmentButtonV2Items extends Array { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ComponentV2 @@ -372,7 +372,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require @Param @@ -386,7 +386,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require @Param @@ -400,7 +400,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Event $selectedIndex?: OnSelectedIndexChange; @@ -413,7 +413,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Event onItemClicked?: Callback; @@ -426,7 +426,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemMinFontScale?: number | Resource; @@ -439,7 +439,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemMaxFontScale?: number | Resource; @@ -452,7 +452,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSpace?: LengthMetrics; @@ -465,7 +465,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemFontSize?: LengthMetrics; @@ -478,7 +478,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedFontSize?: LengthMetrics; @@ -491,7 +491,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemFontColor?: ColorMetrics; @@ -504,7 +504,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedFontColor?: ColorMetrics; @@ -517,7 +517,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemFontWeight?: FontWeight; @@ -530,7 +530,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedFontWeight?: FontWeight; @@ -543,7 +543,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemBorderRadius?: LengthMetrics; @@ -556,7 +556,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedBackgroundColor?: ColorMetrics; @@ -569,7 +569,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemIconSize?: SizeT; @@ -582,7 +582,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemIconFillColor?: ColorMetrics; @@ -595,7 +595,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedIconFillColor?: ColorMetrics; @@ -608,7 +608,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSymbolFontSize?: LengthMetrics; @@ -621,7 +621,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSymbolFontColor?: ColorMetrics; @@ -634,7 +634,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedSymbolFontColor?: ColorMetrics; @@ -647,7 +647,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemMinHeight?: LengthMetrics; @@ -660,7 +660,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemPadding?: LocalizedPadding; @@ -673,7 +673,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemShadow?: ShadowOptions | ShadowStyle; @@ -686,7 +686,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly buttonBackgroundColor?: ColorMetrics; @@ -699,7 +699,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly buttonBackgroundBlurStyle?: BlurStyle; @@ -712,7 +712,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly buttonBackgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -725,7 +725,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly buttonBackgroundEffect?: BackgroundEffectOptions; @@ -738,7 +738,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly buttonBorderRadius?: LengthMetrics; @@ -751,7 +751,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly buttonMinHeight?: LengthMetrics; @@ -764,7 +764,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly buttonPadding?: LengthMetrics; @@ -777,7 +777,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly languageDirection?: Direction; @@ -788,7 +788,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ build(): void; } @@ -800,7 +800,7 @@ export declare struct TabSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ComponentV2 @@ -813,7 +813,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require @Param @@ -827,7 +827,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require @Param @@ -841,7 +841,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Event $selectedIndex?: OnSelectedIndexChange; @@ -854,7 +854,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Event onItemClicked?: Callback; @@ -867,7 +867,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemMinFontScale?: number | Resource; @@ -880,7 +880,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemMaxFontScale?: number | Resource; @@ -893,7 +893,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSpace?: LengthMetrics; @@ -906,7 +906,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemFontColor?: ColorMetrics; @@ -919,7 +919,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedFontColor?: ColorMetrics; @@ -932,7 +932,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemFontSize?: LengthMetrics; @@ -945,7 +945,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedFontSize?: LengthMetrics; @@ -958,7 +958,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemFontWeight?: FontWeight; @@ -971,7 +971,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedFontWeight?: FontWeight; @@ -984,7 +984,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemBorderRadius?: LengthMetrics; @@ -997,7 +997,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedBackgroundColor?: ColorMetrics; @@ -1010,7 +1010,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemIconSize?: SizeT; @@ -1023,7 +1023,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemIconFillColor?: ColorMetrics; @@ -1036,7 +1036,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedIconFillColor?: ColorMetrics; @@ -1049,7 +1049,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSymbolFontSize?: LengthMetrics; @@ -1062,7 +1062,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSymbolFontColor?: ColorMetrics; @@ -1075,7 +1075,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedSymbolFontColor?: ColorMetrics; @@ -1088,7 +1088,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemMinHeight?: LengthMetrics; @@ -1101,7 +1101,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemPadding?: LocalizedPadding; @@ -1114,7 +1114,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemShadow?: ShadowOptions | ShadowStyle; @@ -1127,7 +1127,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly buttonBackgroundColor?: ColorMetrics; @@ -1140,7 +1140,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly buttonBackgroundBlurStyle?: BlurStyle; @@ -1153,7 +1153,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly buttonBackgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -1166,7 +1166,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly buttonBackgroundEffect?: BackgroundEffectOptions; @@ -1179,7 +1179,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly buttonBorderRadius?: LengthMetrics; @@ -1192,7 +1192,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly buttonMinHeight?: LengthMetrics; @@ -1205,7 +1205,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly buttonPadding?: LengthMetrics; @@ -1218,7 +1218,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly languageDirection?: Direction; @@ -1229,7 +1229,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ build(): void; } @@ -1241,7 +1241,7 @@ export declare struct CapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ComponentV2 @@ -1254,7 +1254,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require @Param @@ -1268,7 +1268,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require @Param @@ -1282,7 +1282,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Event $selectedIndexes: OnSelectedIndexesChange; @@ -1295,7 +1295,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Event onItemClicked?: Callback; @@ -1308,7 +1308,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemMinFontScale?: number | Resource; @@ -1321,7 +1321,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemMaxFontScale?: number | Resource; @@ -1334,7 +1334,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSpace?: LengthMetrics; @@ -1347,7 +1347,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemFontColor?: ColorMetrics; @@ -1360,7 +1360,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedFontColor?: ColorMetrics; @@ -1373,7 +1373,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemFontSize?: LengthMetrics; @@ -1386,7 +1386,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedFontSize?: LengthMetrics; @@ -1399,7 +1399,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemFontWeight?: FontWeight; @@ -1412,7 +1412,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedFontWeight?: FontWeight; @@ -1425,7 +1425,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemBorderRadius?: LengthMetrics; @@ -1438,7 +1438,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemBackgroundColor?: ColorMetrics; @@ -1451,7 +1451,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemBackgroundEffect?: BackgroundEffectOptions; @@ -1464,7 +1464,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemBackgroundBlurStyle?: BlurStyle; @@ -1477,7 +1477,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemBackgroundBlurStyleOptions?: BackgroundBlurStyleOptions; @@ -1490,7 +1490,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedBackgroundColor?: ColorMetrics; @@ -1503,7 +1503,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemIconSize?: SizeT; @@ -1516,7 +1516,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemIconFillColor?: ColorMetrics; @@ -1529,7 +1529,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedIconFillColor?: ColorMetrics; @@ -1542,7 +1542,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSymbolFontSize?: LengthMetrics; @@ -1555,7 +1555,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSymbolFontColor?: ColorMetrics; @@ -1568,7 +1568,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemSelectedSymbolFontColor?: ColorMetrics; @@ -1581,7 +1581,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemMinHeight?: LengthMetrics; @@ -1594,7 +1594,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly itemPadding?: LocalizedPadding; @@ -1607,7 +1607,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly languageDirection?: Direction; @@ -1618,7 +1618,7 @@ export declare struct MultiCapsuleSegmentButtonV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ build(): void; } diff --git a/api/@ohos.arkui.advanced.SelectTitleBar.d.ets b/api/@ohos.arkui.advanced.SelectTitleBar.d.ets index cabb602158..1a2c8e786f 100644 --- a/api/@ohos.arkui.advanced.SelectTitleBar.d.ets +++ b/api/@ohos.arkui.advanced.SelectTitleBar.d.ets @@ -39,7 +39,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export declare class SelectTitleBarMenuItem { /** @@ -61,7 +61,7 @@ export declare class SelectTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ value: ResourceStr; @@ -78,7 +78,7 @@ export declare class SelectTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolStyle?: SymbolGlyphModifier; @@ -95,7 +95,7 @@ export declare class SelectTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ label?: ResourceStr; @@ -118,7 +118,7 @@ export declare class SelectTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ isEnabled?: boolean; @@ -141,7 +141,7 @@ export declare class SelectTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ action?: () => void; @@ -158,7 +158,7 @@ export declare class SelectTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityText?: ResourceStr; @@ -175,7 +175,7 @@ export declare class SelectTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityDescription?: ResourceStr; @@ -194,7 +194,7 @@ export declare class SelectTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ accessibilityLevel?: string; } @@ -216,7 +216,7 @@ export declare class SelectTitleBarMenuItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ @Component export declare struct SelectTitleBar { @@ -242,7 +242,7 @@ export declare struct SelectTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ @Prop selected: number; @@ -265,7 +265,7 @@ export declare struct SelectTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ options: Array; @@ -288,7 +288,7 @@ export declare struct SelectTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ menuItems?: Array; @@ -311,7 +311,7 @@ export declare struct SelectTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ subtitle?: ResourceStr; @@ -334,7 +334,7 @@ export declare struct SelectTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ badgeValue?: number; @@ -357,7 +357,7 @@ export declare struct SelectTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ hidesBackButton?: boolean; @@ -380,7 +380,7 @@ export declare struct SelectTitleBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ onSelected?: ((index: number) => void); } diff --git a/api/@ohos.arkui.advanced.SelectionMenu.d.ets b/api/@ohos.arkui.advanced.SelectionMenu.d.ets index 79637d0d60..7a7cc20d36 100644 --- a/api/@ohos.arkui.advanced.SelectionMenu.d.ets +++ b/api/@ohos.arkui.advanced.SelectionMenu.d.ets @@ -31,7 +31,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @@ -52,7 +52,7 @@ export interface EditorMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ icon: ResourceStr; @@ -69,7 +69,7 @@ export interface EditorMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ symbolStyle?: SymbolGlyphModifier; @@ -88,7 +88,7 @@ export interface EditorMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ action?: () => void; @@ -107,7 +107,7 @@ export interface EditorMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ builder?: () => void; } @@ -127,7 +127,7 @@ export interface EditorMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface ExpandedMenuOptions extends MenuItemOptions { @@ -146,7 +146,7 @@ export interface ExpandedMenuOptions extends MenuItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ action?: () => void; } @@ -166,7 +166,7 @@ export interface ExpandedMenuOptions extends MenuItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface EditorEventInfo { @@ -185,7 +185,7 @@ export interface EditorEventInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ content?: RichEditorSelection; } @@ -205,7 +205,7 @@ export interface EditorEventInfo { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface SelectionMenuOptions { @@ -224,7 +224,7 @@ export interface SelectionMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ editorMenuOptions?: Array; @@ -243,7 +243,7 @@ export interface SelectionMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ expandedMenuOptions?: Array; @@ -262,7 +262,7 @@ export interface SelectionMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ controller?: RichEditorController; /** @@ -280,7 +280,7 @@ export interface SelectionMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onPaste?: (event?: EditorEventInfo) => void; @@ -299,7 +299,7 @@ export interface SelectionMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onCopy?: (event?: EditorEventInfo) => void; @@ -318,7 +318,7 @@ export interface SelectionMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onCut?: (event?: EditorEventInfo) => void; @@ -337,7 +337,7 @@ export interface SelectionMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ onSelectAll?: (event?: EditorEventInfo) => void; } @@ -357,7 +357,7 @@ export interface SelectionMenuOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Builder diff --git a/api/@ohos.arkui.advanced.SplitLayout.d.ets b/api/@ohos.arkui.advanced.SplitLayout.d.ets index 858ffcaa84..00e9c763e2 100644 --- a/api/@ohos.arkui.advanced.SplitLayout.d.ets +++ b/api/@ohos.arkui.advanced.SplitLayout.d.ets @@ -27,7 +27,7 @@ * Declare SplitLayout.The SplitLayout is used for upper and lower graphic layouts. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ @Component @@ -43,7 +43,7 @@ export declare struct SplitLayout { * @type { container: () => void }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ @BuilderParam container: () => void; @@ -58,7 +58,7 @@ export declare struct SplitLayout { * @type { ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ @State mainImage: ResourceStr; @@ -73,7 +73,7 @@ export declare struct SplitLayout { * @type { ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ @Prop primaryText: ResourceStr; @@ -88,7 +88,7 @@ export declare struct SplitLayout { * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ @Prop secondaryText?: ResourceStr; @@ -103,7 +103,7 @@ export declare struct SplitLayout { * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ @Prop tertiaryText?: ResourceStr; } diff --git a/api/@ohos.arkui.advanced.SplitLayout.static.d.ets b/api/@ohos.arkui.advanced.SplitLayout.static.d.ets index 611ea2d37c..7fec2374f2 100644 --- a/api/@ohos.arkui.advanced.SplitLayout.static.d.ets +++ b/api/@ohos.arkui.advanced.SplitLayout.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { ResourceStr } from '@ohos.arkui.component'; import { State, PropRef } from './arkui/stateManagement/decorator'; @@ -27,7 +26,7 @@ import { BuilderParam, Builder } from '@ohos.arkui.component'; * Declare SplitLayout.The SplitLayout is used for upper and lower graphic layouts. * @struct { SplitLayout } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -37,7 +36,7 @@ export declare struct SplitLayout { * * @type { function }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @BuilderParam container: () => void; @@ -46,7 +45,7 @@ export declare struct SplitLayout { * * @type { ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @State mainImage: ResourceStr; @@ -55,7 +54,7 @@ export declare struct SplitLayout { * * @type { ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef primaryText: ResourceStr; @@ -64,7 +63,7 @@ export declare struct SplitLayout { * * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef secondaryText?: ResourceStr; @@ -73,7 +72,7 @@ export declare struct SplitLayout { * * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef tertiaryText?: ResourceStr; @@ -81,7 +80,7 @@ export declare struct SplitLayout { * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; diff --git a/api/@ohos.arkui.advanced.SubHeader.d.ets b/api/@ohos.arkui.advanced.SubHeader.d.ets index 2c8389e3b9..823a1a429c 100644 --- a/api/@ohos.arkui.advanced.SubHeader.d.ets +++ b/api/@ohos.arkui.advanced.SubHeader.d.ets @@ -39,7 +39,7 @@ import { TextModifier } from './@ohos.arkui.modifier'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare enum OperationType { @@ -59,7 +59,7 @@ export declare enum OperationType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ TEXT_ARROW = 0, @@ -79,7 +79,7 @@ export declare enum OperationType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ BUTTON = 1, @@ -99,7 +99,7 @@ export declare enum OperationType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ ICON_GROUP = 2, @@ -119,7 +119,7 @@ export declare enum OperationType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ LOADING = 3 } @@ -140,7 +140,7 @@ export declare enum OperationType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare class OperationOption { @@ -163,7 +163,7 @@ export declare class OperationOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ value: ResourceStr; @@ -186,7 +186,7 @@ export declare class OperationOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ action?: () => void; @@ -195,7 +195,7 @@ export declare class OperationOption { * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityText?: ResourceStr; @@ -204,7 +204,7 @@ export declare class OperationOption { * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityDescription?: ResourceStr; @@ -214,7 +214,7 @@ export declare class OperationOption { * @default "auto" * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityLevel?: string; @@ -224,7 +224,7 @@ export declare class OperationOption { * @default { false } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ defaultFocus?: boolean; } @@ -245,7 +245,7 @@ export declare class OperationOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare class SelectOptions { @@ -268,7 +268,7 @@ export declare class SelectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ options: Array; @@ -291,7 +291,7 @@ export declare class SelectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selected?: number; @@ -322,7 +322,7 @@ export declare class SelectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ value?: ResourceStr; @@ -345,7 +345,7 @@ export declare class SelectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onSelect?: (index: number, value?: string) => void; @@ -355,7 +355,7 @@ export declare class SelectOptions { * @default { false } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ defaultFocus?: boolean; } @@ -371,7 +371,7 @@ export declare class SelectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare class SymbolOptions { @@ -388,7 +388,7 @@ export declare class SymbolOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontSize?: number | string | Resource; @@ -405,7 +405,7 @@ export declare class SymbolOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontColor?: Array; @@ -422,7 +422,7 @@ export declare class SymbolOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ fontWeight?: number | FontWeight | string; @@ -439,7 +439,7 @@ export declare class SymbolOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ effectStrategy?: SymbolEffectStrategy; @@ -456,7 +456,7 @@ export declare class SymbolOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ renderingStrategy?: SymbolRenderingStrategy; } @@ -477,7 +477,7 @@ export declare class SymbolOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @Component @@ -501,7 +501,7 @@ export declare struct SubHeader { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop icon?: ResourceStr; @@ -517,7 +517,7 @@ export declare struct SubHeader { * @type { ?SymbolOptions }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ iconSymbolOptions?: SymbolOptions; @@ -540,7 +540,7 @@ export declare struct SubHeader { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop primaryTitle?: ResourceStr; @@ -563,7 +563,7 @@ export declare struct SubHeader { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop secondaryTitle?: ResourceStr; @@ -586,7 +586,7 @@ export declare struct SubHeader { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ select?: SelectOptions; @@ -609,7 +609,7 @@ export declare struct SubHeader { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop operationType?: OperationType; @@ -632,7 +632,7 @@ export declare struct SubHeader { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ operationItem?: Array; @@ -648,7 +648,7 @@ export declare struct SubHeader { * @type { ?Array }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ operationSymbolOptions?: Array; @@ -665,7 +665,7 @@ export declare struct SubHeader { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ primaryTitleModifier?: TextModifier; @@ -682,7 +682,7 @@ export declare struct SubHeader { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ secondaryTitleModifier?: TextModifier; @@ -699,7 +699,7 @@ export declare struct SubHeader { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @BuilderParam titleBuilder?: () => void; @@ -720,7 +720,7 @@ export declare struct SubHeader { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop contentMargin?: LocalizedMargin; @@ -743,7 +743,7 @@ export declare struct SubHeader { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop contentPadding?: LocalizedPadding; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.SubHeader.static.d.ets b/api/@ohos.arkui.advanced.SubHeader.static.d.ets index d7806344ce..383bf8aeb4 100644 --- a/api/@ohos.arkui.advanced.SubHeader.static.d.ets +++ b/api/@ohos.arkui.advanced.SubHeader.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { TextModifier } from './arkui/TextModifier'; import { ResourceStr, Resource, ResourceColor, LocalizedMargin, LocalizedPadding } from './arkui/component/units'; @@ -32,7 +31,7 @@ import { BuilderParam, Builder } from './arkui/component/builder'; * * @enum { int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare enum OperationType { @@ -40,28 +39,28 @@ export declare enum OperationType { * The TextArrow style. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ TEXT_ARROW = 0, /** * The Button style. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ BUTTON = 1, /** * The IconGroup style. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ICON_GROUP = 2, /** * The LoadingProgress style. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ LOADING = 3 } @@ -69,7 +68,7 @@ export declare enum OperationType { * Declare type OperationOption * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class OperationOption { @@ -78,7 +77,7 @@ export declare class OperationOption { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public value: ResourceStr; /** @@ -86,7 +85,7 @@ export declare class OperationOption { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public action?: () => void; /** @@ -94,7 +93,7 @@ export declare class OperationOption { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityText?: ResourceStr; /** @@ -102,7 +101,7 @@ export declare class OperationOption { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityDescription?: ResourceStr; /** @@ -111,7 +110,7 @@ export declare class OperationOption { * @type { ?string } * @default "auto" * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityLevel?: string; /** @@ -120,7 +119,7 @@ export declare class OperationOption { * @type { ?boolean } * @default { false } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public defaultFocus?: boolean; } @@ -128,7 +127,7 @@ export declare class OperationOption { * Declare type SelectOption * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class SelectOptions { @@ -137,7 +136,7 @@ export declare class SelectOptions { * * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public options: Array; /** @@ -145,7 +144,7 @@ export declare class SelectOptions { * * @type { ?int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public selected?: int; /** @@ -153,7 +152,7 @@ export declare class SelectOptions { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public value?: ResourceStr; /** @@ -161,7 +160,7 @@ export declare class SelectOptions { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public onSelect?: (index: int, value?: string) => void; /** @@ -170,7 +169,7 @@ export declare class SelectOptions { * @type { ?boolean } * @default { false } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public defaultFocus?: boolean; } @@ -178,7 +177,7 @@ export declare class SelectOptions { * Declare type SymbolOptions * * @syscap SystemCapability.ArkUI.ArkUI.Full -* @since 20 +* @since 20 static * @noninterop */ export declare class SymbolOptions { @@ -187,7 +186,7 @@ export declare class SymbolOptions { * * @type { ?(int | string | Resource) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public fontSize?: int | string | Resource; /** @@ -195,7 +194,7 @@ export declare class SymbolOptions { * * @type { ?Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public fontColor?: Array; /** @@ -203,7 +202,7 @@ export declare class SymbolOptions { * * @type { ?(int | FontWeight | string) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public fontWeight?: int | FontWeight | string; /** @@ -211,7 +210,7 @@ export declare class SymbolOptions { * * @type { ?SymbolEffectStrategy } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public effectStrategy?: SymbolEffectStrategy; /** @@ -219,7 +218,7 @@ export declare class SymbolOptions { * * @type { ?SymbolRenderingStrategy } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public renderingStrategy?: SymbolRenderingStrategy; } @@ -227,7 +226,7 @@ export declare class SymbolOptions { * Declare struct SubHeader * @struct { SubHeader } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -237,7 +236,7 @@ export declare struct SubHeader { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef icon?: ResourceStr; @@ -246,7 +245,7 @@ export declare struct SubHeader { * * @type { ?SymbolOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ iconSymbolOptions?: SymbolOptions; /** @@ -254,7 +253,7 @@ export declare struct SubHeader { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef primaryTitle?: ResourceStr; @@ -263,7 +262,7 @@ export declare struct SubHeader { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef secondaryTitle?: ResourceStr; @@ -272,7 +271,7 @@ export declare struct SubHeader { * * @type { ?SelectOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ select?: SelectOptions; /** @@ -280,7 +279,7 @@ export declare struct SubHeader { * * @type { ?OperationType } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef operationType?: OperationType; @@ -289,7 +288,7 @@ export declare struct SubHeader { * * @type { ?Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ operationItem?: Array; /** @@ -297,7 +296,7 @@ export declare struct SubHeader { * * @type { ?Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ operationSymbolOptions?: Array; /** @@ -305,7 +304,7 @@ export declare struct SubHeader { * * @type { ?TextModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ primaryTitleModifier?: TextModifier; /** @@ -313,7 +312,7 @@ export declare struct SubHeader { * * @type { ?TextModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ secondaryTitleModifier?: TextModifier; /** @@ -321,7 +320,7 @@ export declare struct SubHeader { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @BuilderParam titleBuilder?: () => void; @@ -332,7 +331,7 @@ export declare struct SubHeader { * @default {start: LengthMetrics.resource($r('sys.float.margin_left')), *
end: LengthMetrics.resource($r('sys.float.margin_right'))} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef contentMargin?: LocalizedMargin; @@ -344,7 +343,7 @@ export declare struct SubHeader { *
When the left area is secondaryTitle or the group of secondaryTitle and icon, *
the default value is {start: LengthMetrics.vp(12), end: LengthMetrics.vp(12)}; * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef contentPadding?: LocalizedPadding; @@ -352,7 +351,7 @@ export declare struct SubHeader { * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; diff --git a/api/@ohos.arkui.advanced.SubHeaderV2.d.ets b/api/@ohos.arkui.advanced.SubHeaderV2.d.ets index 579630f1e4..17803809cd 100644 --- a/api/@ohos.arkui.advanced.SubHeaderV2.d.ets +++ b/api/@ohos.arkui.advanced.SubHeaderV2.d.ets @@ -26,7 +26,7 @@ import { TextModifier as TextModifier } from '@ohos.arkui.modifier'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare type SubHeaderV2IconType = ResourceStr | SymbolGlyphModifier; @@ -38,7 +38,7 @@ declare type SubHeaderV2IconType = ResourceStr | SymbolGlyphModifier; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface SubHeaderV2TitleOptions { @@ -48,7 +48,7 @@ export interface SubHeaderV2TitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ primaryTitle?: ResourceStr; /** @@ -57,7 +57,7 @@ export interface SubHeaderV2TitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ primaryTitleModifier?: TextModifier; /** @@ -66,7 +66,7 @@ export interface SubHeaderV2TitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ secondaryTitle?: ResourceStr; /** @@ -75,7 +75,7 @@ export interface SubHeaderV2TitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ secondaryTitleModifier?: TextModifier; } @@ -85,7 +85,7 @@ export interface SubHeaderV2TitleOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -96,7 +96,7 @@ export declare class SubHeaderV2Title { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace primaryTitle?: ResourceStr; /** @@ -105,7 +105,7 @@ export declare class SubHeaderV2Title { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace primaryTitleModifier?: TextModifier; /** @@ -114,7 +114,7 @@ export declare class SubHeaderV2Title { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace secondaryTitle?: ResourceStr; /** @@ -123,7 +123,7 @@ export declare class SubHeaderV2Title { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace secondaryTitleModifier?: TextModifier; /** @@ -133,7 +133,7 @@ export declare class SubHeaderV2Title { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options: SubHeaderV2TitleOptions); } @@ -147,7 +147,7 @@ export declare class SubHeaderV2Title { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export type SubHeaderV2SelectOnSelect = (selectedIndex: number, selectedContent?: string) => void; @@ -159,7 +159,7 @@ export type SubHeaderV2SelectOnSelect = (selectedIndex: number, selectedContent? * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface SubHeaderV2SelectOptions { @@ -170,7 +170,7 @@ export interface SubHeaderV2SelectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ options: SelectOption[]; /** @@ -180,7 +180,7 @@ export interface SubHeaderV2SelectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedIndex?: number; /** @@ -199,7 +199,7 @@ export interface SubHeaderV2SelectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ selectedContent?: ResourceStr; /** @@ -209,7 +209,7 @@ export interface SubHeaderV2SelectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ onSelect?: SubHeaderV2SelectOnSelect; /** @@ -219,7 +219,7 @@ export interface SubHeaderV2SelectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ defaultFocus?: boolean; } @@ -229,7 +229,7 @@ export interface SubHeaderV2SelectOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -241,7 +241,7 @@ export declare class SubHeaderV2Select { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace options: SelectOption[]; /** @@ -251,7 +251,7 @@ export declare class SubHeaderV2Select { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace selectedIndex?: number; /** @@ -270,7 +270,7 @@ export declare class SubHeaderV2Select { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ @Trace selectedContent?: ResourceStr; /** @@ -280,7 +280,7 @@ export declare class SubHeaderV2Select { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace onSelect?: SubHeaderV2SelectOnSelect; /** @@ -290,7 +290,7 @@ export declare class SubHeaderV2Select { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace defaultFocus?: boolean; /** @@ -300,7 +300,7 @@ export declare class SubHeaderV2Select { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options: SubHeaderV2SelectOptions); } @@ -311,7 +311,7 @@ export declare class SubHeaderV2Select { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare enum SubHeaderV2OperationType { @@ -320,7 +320,7 @@ export declare enum SubHeaderV2OperationType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ TEXT_ARROW = 0, /** @@ -328,7 +328,7 @@ export declare enum SubHeaderV2OperationType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ BUTTON = 1, /** @@ -336,7 +336,7 @@ export declare enum SubHeaderV2OperationType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ ICON_GROUP = 2, /** @@ -344,7 +344,7 @@ export declare enum SubHeaderV2OperationType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ LOADING = 3 } @@ -356,7 +356,7 @@ export declare enum SubHeaderV2OperationType { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export type SubHeaderV2OperationItemAction = () => void; @@ -368,7 +368,7 @@ export type SubHeaderV2OperationItemAction = () => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare type SubHeaderV2OperationItemType = ResourceStr | SymbolGlyphModifier; @@ -380,7 +380,7 @@ declare type SubHeaderV2OperationItemType = ResourceStr | SymbolGlyphModifier; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface SubHeaderV2OperationItemOptions { @@ -390,7 +390,7 @@ export interface SubHeaderV2OperationItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ content: SubHeaderV2OperationItemType; /** @@ -399,7 +399,7 @@ export interface SubHeaderV2OperationItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ action?: SubHeaderV2OperationItemAction; /** @@ -408,7 +408,7 @@ export interface SubHeaderV2OperationItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityText?: ResourceStr; /** @@ -417,7 +417,7 @@ export interface SubHeaderV2OperationItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityDescription?: ResourceStr; /** @@ -432,7 +432,7 @@ export interface SubHeaderV2OperationItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityLevel?: string; /** @@ -442,7 +442,7 @@ export interface SubHeaderV2OperationItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ defaultFocus?: boolean; } @@ -452,7 +452,7 @@ export interface SubHeaderV2OperationItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -463,7 +463,7 @@ export declare class SubHeaderV2OperationItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace content: SubHeaderV2OperationItemType; /** @@ -472,7 +472,7 @@ export declare class SubHeaderV2OperationItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace action?: SubHeaderV2OperationItemAction; /** @@ -482,7 +482,7 @@ export declare class SubHeaderV2OperationItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options: SubHeaderV2OperationItemOptions); /** @@ -491,7 +491,7 @@ export declare class SubHeaderV2OperationItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace accessibilityText?: ResourceStr; /** @@ -500,7 +500,7 @@ export declare class SubHeaderV2OperationItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace accessibilityDescription?: ResourceStr; /** @@ -515,7 +515,7 @@ export declare class SubHeaderV2OperationItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace accessibilityLevel?: string; /** @@ -525,7 +525,7 @@ export declare class SubHeaderV2OperationItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace defaultFocus?: boolean; } @@ -537,7 +537,7 @@ export declare class SubHeaderV2OperationItem { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export type SubHeaderV2TitleBuilder = () => void; @@ -549,7 +549,7 @@ export type SubHeaderV2TitleBuilder = () => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ComponentV2 @@ -562,7 +562,7 @@ export declare struct SubHeaderV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly icon?: SubHeaderV2IconType; @@ -574,7 +574,7 @@ export declare struct SubHeaderV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly title?: SubHeaderV2Title; @@ -586,7 +586,7 @@ export declare struct SubHeaderV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly select?: SubHeaderV2Select; @@ -598,7 +598,7 @@ export declare struct SubHeaderV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly operationType?: SubHeaderV2OperationType; @@ -610,7 +610,7 @@ export declare struct SubHeaderV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param readonly operationItems?: SubHeaderV2OperationItem[]; @@ -620,7 +620,7 @@ export declare struct SubHeaderV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @BuilderParam titleBuilder?: SubHeaderV2TitleBuilder; diff --git a/api/@ohos.arkui.advanced.SwipeRefresher.d.ets b/api/@ohos.arkui.advanced.SwipeRefresher.d.ets index fea60e9936..90c85e24ff 100644 --- a/api/@ohos.arkui.advanced.SwipeRefresher.d.ets +++ b/api/@ohos.arkui.advanced.SwipeRefresher.d.ets @@ -34,7 +34,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic * @noninterop */ @Component @@ -58,7 +58,7 @@ export declare struct SwipeRefresher { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ @Prop content?: ResourceStr; @@ -81,7 +81,7 @@ export declare struct SwipeRefresher { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ @Prop isLoading: boolean; } diff --git a/api/@ohos.arkui.advanced.SwipeRefresher.static.d.ets b/api/@ohos.arkui.advanced.SwipeRefresher.static.d.ets index 85ab8cc896..82e9dcc870 100644 --- a/api/@ohos.arkui.advanced.SwipeRefresher.static.d.ets +++ b/api/@ohos.arkui.advanced.SwipeRefresher.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { ResourceStr } from '@ohos.arkui.component'; import { PropRef } from './arkui/stateManagement/decorator'; @@ -27,7 +26,7 @@ import { Builder } from '@ohos.arkui.component'; * Declare component SwipeRefresher * @struct { SwipeRefresher } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -37,7 +36,7 @@ export declare struct SwipeRefresher { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef content?: ResourceStr; @@ -46,7 +45,7 @@ export declare struct SwipeRefresher { * * @type { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef isLoading: boolean; @@ -54,7 +53,7 @@ export declare struct SwipeRefresher { * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; diff --git a/api/@ohos.arkui.advanced.TabTitleBar.d.ets b/api/@ohos.arkui.advanced.TabTitleBar.d.ets index 0a8ba8beee..1a2ea241dc 100644 --- a/api/@ohos.arkui.advanced.TabTitleBar.d.ets +++ b/api/@ohos.arkui.advanced.TabTitleBar.d.ets @@ -31,7 +31,7 @@ * Declaration of the menu item on the right side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ export declare class TabTitleBarMenuItem { @@ -46,7 +46,7 @@ export declare class TabTitleBarMenuItem { * @type { ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ value: ResourceStr; @@ -55,7 +55,7 @@ export declare class TabTitleBarMenuItem { * @type { ?SymbolGlyphModifier }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ symbolStyle?: SymbolGlyphModifier; @@ -64,7 +64,7 @@ export declare class TabTitleBarMenuItem { * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 13 + * @since 13 dynamic */ label?: ResourceStr; @@ -79,7 +79,7 @@ export declare class TabTitleBarMenuItem { * @type { ?boolean }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ isEnabled?: boolean; @@ -94,7 +94,7 @@ export declare class TabTitleBarMenuItem { * @type { ?() => void }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ action?: () => void; @@ -103,7 +103,7 @@ export declare class TabTitleBarMenuItem { * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityText?: ResourceStr; @@ -112,7 +112,7 @@ export declare class TabTitleBarMenuItem { * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityDescription?: ResourceStr; @@ -122,7 +122,7 @@ export declare class TabTitleBarMenuItem { * @default "auto" * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityLevel?: string; } @@ -136,7 +136,7 @@ export declare class TabTitleBarMenuItem { * Declaration of the tab item. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ export declare class TabTitleBarTabItem { @@ -151,7 +151,7 @@ export declare class TabTitleBarTabItem { * @type { ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ title: ResourceStr; @@ -166,7 +166,7 @@ export declare class TabTitleBarTabItem { * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ icon?: ResourceStr; @@ -175,7 +175,7 @@ export declare class TabTitleBarTabItem { * @type { ?SymbolGlyphModifier }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ symbolStyle?: SymbolGlyphModifier; } @@ -189,7 +189,7 @@ export declare class TabTitleBarTabItem { * Declaration of the tabbed title bar. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ @Component @@ -205,7 +205,7 @@ export declare struct TabTitleBar { * @type { ?Array }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ tabItems: Array; @@ -220,7 +220,7 @@ export declare struct TabTitleBar { * @type { Array }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ menuItems?: Array; @@ -237,7 +237,7 @@ export declare struct TabTitleBar { * @type { () => void }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ @BuilderParam swiperContent: () => void; diff --git a/api/@ohos.arkui.advanced.TabTitleBar.static.d.ets b/api/@ohos.arkui.advanced.TabTitleBar.static.d.ets index 8b35346cbf..cfa5ade21e 100644 --- a/api/@ohos.arkui.advanced.TabTitleBar.static.d.ets +++ b/api/@ohos.arkui.advanced.TabTitleBar.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { Component } from './arkui/component/customComponent'; import { ResourceStr } from './arkui/component/units'; @@ -27,7 +26,7 @@ import { BuilderParam, Builder } from './arkui/component/builder'; * Declaration of the menu item on the right side. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class TabTitleBarMenuItem { @@ -35,7 +34,7 @@ export declare class TabTitleBarMenuItem { * Icon resource for this menu item. * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public value: ResourceStr; /** @@ -43,7 +42,7 @@ export declare class TabTitleBarMenuItem { * * @type { ?SymbolGlyphModifier }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public symbolStyle?: SymbolGlyphModifier; /** @@ -51,7 +50,7 @@ export declare class TabTitleBarMenuItem { * * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public label?: ResourceStr; /** @@ -59,7 +58,7 @@ export declare class TabTitleBarMenuItem { * * @type { ?boolean }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public isEnabled?: boolean; /** @@ -67,7 +66,7 @@ export declare class TabTitleBarMenuItem { * * @type { ?function }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public action?: () => void; /** @@ -75,7 +74,7 @@ export declare class TabTitleBarMenuItem { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityText?: ResourceStr; /** @@ -83,7 +82,7 @@ export declare class TabTitleBarMenuItem { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityDescription?: ResourceStr; /** @@ -92,7 +91,7 @@ export declare class TabTitleBarMenuItem { * @type { ?string } * @default 'auto' * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityLevel?: string; } @@ -100,7 +99,7 @@ export declare class TabTitleBarMenuItem { * Declaration of the tab item. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class TabTitleBarTabItem { @@ -109,7 +108,7 @@ export declare class TabTitleBarTabItem { * * @type { ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public title: ResourceStr; /** @@ -117,7 +116,7 @@ export declare class TabTitleBarTabItem { * * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public icon?: ResourceStr; /** @@ -125,7 +124,7 @@ export declare class TabTitleBarTabItem { * * @type { ?SymbolGlyphModifier }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public symbolStyle?: SymbolGlyphModifier; } @@ -133,7 +132,7 @@ export declare class TabTitleBarTabItem { * Declaration of the tabbed title bar. * @struct { TabTitleBar } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -143,7 +142,7 @@ export declare struct TabTitleBar { * * @type { Array }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ tabItems: Array; /** @@ -151,7 +150,7 @@ export declare struct TabTitleBar { * * @type { ?Array }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ menuItems?: Array; /** @@ -160,7 +159,7 @@ export declare struct TabTitleBar { * * @type { function }. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @BuilderParam swiperContent: () => void; @@ -168,7 +167,7 @@ export declare struct TabTitleBar { * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; diff --git a/api/@ohos.arkui.advanced.ToolBar.d.ets b/api/@ohos.arkui.advanced.ToolBar.d.ets index d7e6264deb..48c23fe9bd 100644 --- a/api/@ohos.arkui.advanced.ToolBar.d.ets +++ b/api/@ohos.arkui.advanced.ToolBar.d.ets @@ -42,7 +42,7 @@ import { LengthMetrics } from './@ohos.arkui.node'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare enum ItemState { @@ -62,7 +62,7 @@ export declare enum ItemState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ ENABLE = 1, /** @@ -81,7 +81,7 @@ export declare enum ItemState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ DISABLE = 2, /** @@ -100,7 +100,7 @@ export declare enum ItemState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ ACTIVATE = 3 } @@ -119,7 +119,7 @@ export declare enum ItemState { * @interface ToolBarSymbolGlyphOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface ToolBarSymbolGlyphOptions { @@ -138,7 +138,7 @@ export interface ToolBarSymbolGlyphOptions { * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ normal?: SymbolGlyphModifier; @@ -156,7 +156,7 @@ export interface ToolBarSymbolGlyphOptions { * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ activated?: SymbolGlyphModifier; } @@ -177,7 +177,7 @@ export interface ToolBarSymbolGlyphOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @Observed @@ -201,7 +201,7 @@ export declare class ToolBarOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ content: ResourceStr; /** @@ -223,7 +223,7 @@ export declare class ToolBarOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ action?: () => void; /** @@ -245,7 +245,7 @@ export declare class ToolBarOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ icon?: Resource; /** @@ -267,7 +267,7 @@ export declare class ToolBarOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ state?: ItemState; /** @@ -283,7 +283,7 @@ export declare class ToolBarOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ textColor?: ResourceColor; /** @@ -299,7 +299,7 @@ export declare class ToolBarOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ activatedTextColor?: ResourceColor; /** @@ -315,7 +315,7 @@ export declare class ToolBarOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ iconColor?: ResourceColor; /** @@ -331,7 +331,7 @@ export declare class ToolBarOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ activatedIconColor?: ResourceColor; /** @@ -348,7 +348,7 @@ export declare class ToolBarOption { * @type { ?ToolBarSymbolGlyphOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ toolBarSymbolOptions?: ToolBarSymbolGlyphOptions; /** @@ -357,7 +357,7 @@ export declare class ToolBarOption { * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityText?: ResourceStr; /** @@ -366,7 +366,7 @@ export declare class ToolBarOption { * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityDescription?: ResourceStr; /** @@ -376,7 +376,7 @@ export declare class ToolBarOption { * @default "auto" * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityLevel?: string; } @@ -397,7 +397,7 @@ export declare class ToolBarOption { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @Observed @@ -415,7 +415,7 @@ export declare class ToolBarOptions extends Array { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare class ToolBarModifier { @@ -436,7 +436,7 @@ export declare class ToolBarModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ height(height: LengthMetrics): ToolBarModifier; /** @@ -456,7 +456,7 @@ export declare class ToolBarModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundColor(backgroundColor: ResourceColor): ToolBarModifier; /** @@ -476,7 +476,7 @@ export declare class ToolBarModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ padding(padding: LengthMetrics): ToolBarModifier; /** @@ -496,7 +496,7 @@ export declare class ToolBarModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ stateEffect(stateEffect: boolean): ToolBarModifier; } @@ -517,7 +517,7 @@ export declare class ToolBarModifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @Component @@ -541,7 +541,7 @@ export declare struct ToolBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @ObjectLink toolBarList: ToolBarOptions; /** @@ -563,7 +563,7 @@ export declare struct ToolBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop activateIndex?: number; /** @@ -585,7 +585,7 @@ export declare struct ToolBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ controller: TabsController; /** @@ -601,7 +601,7 @@ export declare struct ToolBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop dividerModifier?: DividerModifier; /** @@ -617,7 +617,7 @@ export declare struct ToolBar { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop toolBarModifier?: ToolBarModifier; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.ToolBar.static.d.ets b/api/@ohos.arkui.advanced.ToolBar.static.d.ets index 07ee9db63e..435badccb0 100644 --- a/api/@ohos.arkui.advanced.ToolBar.static.d.ets +++ b/api/@ohos.arkui.advanced.ToolBar.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { Component } from './arkui/component/customComponent'; import { ResourceStr, Resource, ResourceColor } from './arkui/component/units'; @@ -32,7 +31,7 @@ import { Builder } from './arkui/component/builder'; * * @enum { int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare enum ItemState { @@ -40,21 +39,21 @@ export declare enum ItemState { * Enable type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ENABLE = 1, /** * Disable type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ DISABLE = 2, /** * Activate type. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ACTIVATE = 3 } @@ -63,7 +62,7 @@ export declare enum ItemState { * * @interface ToolBarSymbolGlyphOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export interface ToolBarSymbolGlyphOptions { @@ -72,7 +71,7 @@ export interface ToolBarSymbolGlyphOptions { * * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ normal?: SymbolGlyphModifier; /** @@ -80,7 +79,7 @@ export interface ToolBarSymbolGlyphOptions { * * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ activated?: SymbolGlyphModifier; } @@ -88,7 +87,7 @@ export interface ToolBarSymbolGlyphOptions { * Declare type ToolBarOption. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Observed @@ -98,7 +97,7 @@ export declare class ToolBarOption { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public content: ResourceStr; /** @@ -106,7 +105,7 @@ export declare class ToolBarOption { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public action?: () => void; /** @@ -114,7 +113,7 @@ export declare class ToolBarOption { * * @type { ?Resource } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public icon?: Resource; /** @@ -122,7 +121,7 @@ export declare class ToolBarOption { * * @type { ?ItemState } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public state?: ItemState; /** @@ -130,7 +129,7 @@ export declare class ToolBarOption { * * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public textColor?: ResourceColor; /** @@ -138,7 +137,7 @@ export declare class ToolBarOption { * * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public activatedTextColor?: ResourceColor; /** @@ -146,7 +145,7 @@ export declare class ToolBarOption { * * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public iconColor?: ResourceColor; /** @@ -154,7 +153,7 @@ export declare class ToolBarOption { * * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public activatedIconColor?: ResourceColor; /** @@ -162,7 +161,7 @@ export declare class ToolBarOption { * * @type { ?ToolBarSymbolGlyphOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public toolBarSymbolOptions?: ToolBarSymbolGlyphOptions; /** @@ -170,7 +169,7 @@ export declare class ToolBarOption { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityText?: ResourceStr; /** @@ -178,7 +177,7 @@ export declare class ToolBarOption { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityDescription?: ResourceStr; /** @@ -187,7 +186,7 @@ export declare class ToolBarOption { * @type { ?string } * @default "auto" * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public accessibilityLevel?: string; } @@ -195,7 +194,7 @@ export declare class ToolBarOption { * Declare ToolBarOptions use in ToolBar. * @typedef { Array } ToolBarOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export type ToolBarOptions = Array @@ -203,7 +202,7 @@ export type ToolBarOptions = Array * Declare ToolBarModifier use in ToolBar. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class ToolBarModifier { @@ -213,7 +212,7 @@ export declare class ToolBarModifier { * @param { LengthMetrics } height - toolBar's height. * @returns { ToolBarModifier } returns the instance of the ToolBarModifier. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public height(height: LengthMetrics): ToolBarModifier; /** @@ -222,7 +221,7 @@ export declare class ToolBarModifier { * @param { ResourceColor } backgroundColor - toolBar's backgroundColor. * @returns { ToolBarModifier } returns the instance of the ToolBarModifier. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public backgroundColor(backgroundColor: ResourceColor): ToolBarModifier; /** @@ -231,7 +230,7 @@ export declare class ToolBarModifier { * @param { LengthMetrics } padding - left and right padding. * @returns { ToolBarModifier } returns the instance of the ToolBarModifier. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public padding(padding: LengthMetrics): ToolBarModifier; /** @@ -240,7 +239,7 @@ export declare class ToolBarModifier { * @param { boolean } stateEffect - press status effect. * @returns { ToolBarModifier } returns the instance of the ToolBarModifier. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public stateEffect(stateEffect: boolean): ToolBarModifier; } @@ -248,7 +247,7 @@ export declare class ToolBarModifier { * Declare Component ToolBar. * @struct { ToolBar } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -258,7 +257,7 @@ export declare struct ToolBar { * * @type { ToolBarOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @ObjectLink toolBarList: ToolBarOptions; @@ -267,7 +266,7 @@ export declare struct ToolBar { * * @type { ?int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef activateIndex?: int; @@ -276,7 +275,7 @@ export declare struct ToolBar { * * @type { TabsController } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ controller: TabsController; /** @@ -284,7 +283,7 @@ export declare struct ToolBar { * * @type { ?DividerModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef dividerModifier?: DividerModifier; @@ -293,7 +292,7 @@ export declare struct ToolBar { * * @type { ?ToolBarModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @PropRef toolBarModifier?: ToolBarModifier; @@ -301,7 +300,7 @@ export declare struct ToolBar { * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; diff --git a/api/@ohos.arkui.advanced.ToolBarV2.d.ets b/api/@ohos.arkui.advanced.ToolBarV2.d.ets index b6dcf31fdc..4fa4704d58 100644 --- a/api/@ohos.arkui.advanced.ToolBarV2.d.ets +++ b/api/@ohos.arkui.advanced.ToolBarV2.d.ets @@ -27,7 +27,7 @@ import { ColorMetrics, LengthMetrics } from './@ohos.arkui.node'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare enum ToolBarV2ItemState { @@ -37,7 +37,7 @@ export declare enum ToolBarV2ItemState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ ENABLE = 1, /** @@ -46,7 +46,7 @@ export declare enum ToolBarV2ItemState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ DISABLE = 2, /** @@ -55,7 +55,7 @@ export declare enum ToolBarV2ItemState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ ACTIVATE = 3 } @@ -66,7 +66,7 @@ export declare enum ToolBarV2ItemState { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -78,7 +78,7 @@ export class ToolBarV2SymbolGlyph { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace normal: SymbolGlyphModifier; @@ -89,7 +89,7 @@ export class ToolBarV2SymbolGlyph { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace activated?: SymbolGlyphModifier; @@ -100,7 +100,7 @@ export class ToolBarV2SymbolGlyph { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options: ToolBarV2SymbolGlyphOptions); } @@ -112,7 +112,7 @@ export class ToolBarV2SymbolGlyph { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface ToolBarV2SymbolGlyphOptions { @@ -123,7 +123,7 @@ export interface ToolBarV2SymbolGlyphOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ normal: SymbolGlyphModifier; /** @@ -133,7 +133,7 @@ export interface ToolBarV2SymbolGlyphOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ activated?: SymbolGlyphModifier; } @@ -145,7 +145,7 @@ export interface ToolBarV2SymbolGlyphOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -157,7 +157,7 @@ export declare class ToolBarV2ItemText { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace text: ResourceStr; @@ -168,7 +168,7 @@ export declare class ToolBarV2ItemText { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace color?: ColorMetrics; @@ -179,7 +179,7 @@ export declare class ToolBarV2ItemText { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace activatedColor?: ColorMetrics; @@ -190,7 +190,7 @@ export declare class ToolBarV2ItemText { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options: ToolBarV2ItemTextOptions); } @@ -202,7 +202,7 @@ export declare class ToolBarV2ItemText { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface ToolBarV2ItemTextOptions { @@ -213,7 +213,7 @@ export interface ToolBarV2ItemTextOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ text: ResourceStr; /** @@ -223,7 +223,7 @@ export interface ToolBarV2ItemTextOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ color?: ColorMetrics; /** @@ -233,7 +233,7 @@ export interface ToolBarV2ItemTextOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ activatedColor?: ColorMetrics; } @@ -244,7 +244,7 @@ export interface ToolBarV2ItemTextOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare type ToolBarV2ItemIconType = ToolBarV2ItemImage | ToolBarV2SymbolGlyph; @@ -256,7 +256,7 @@ export declare type ToolBarV2ItemIconType = ToolBarV2ItemImage | ToolBarV2Symbol * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -268,7 +268,7 @@ export declare class ToolBarV2ItemImage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace src: ResourceStr; @@ -279,7 +279,7 @@ export declare class ToolBarV2ItemImage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace color?: ColorMetrics; @@ -290,7 +290,7 @@ export declare class ToolBarV2ItemImage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace activatedColor?: ColorMetrics; @@ -301,7 +301,7 @@ export declare class ToolBarV2ItemImage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options: ToolBarV2ItemImageOptions); } @@ -313,7 +313,7 @@ export declare class ToolBarV2ItemImage { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface ToolBarV2ItemImageOptions { @@ -324,7 +324,7 @@ export interface ToolBarV2ItemImageOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ src: ResourceStr; /** @@ -334,7 +334,7 @@ export interface ToolBarV2ItemImageOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ color?: ColorMetrics; /** @@ -344,7 +344,7 @@ export interface ToolBarV2ItemImageOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ activatedColor?: ColorMetrics; } @@ -356,7 +356,7 @@ export interface ToolBarV2ItemImageOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ObservedV2 @@ -368,7 +368,7 @@ export declare class ToolBarV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace content: ToolBarV2ItemText; @@ -379,7 +379,7 @@ export declare class ToolBarV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace action?: ToolBarV2ItemAction; @@ -390,7 +390,7 @@ export declare class ToolBarV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace icon?: ToolBarV2ItemIconType; @@ -401,7 +401,7 @@ export declare class ToolBarV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace state?: ToolBarV2ItemState; @@ -412,7 +412,7 @@ export declare class ToolBarV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace accessibilityText?: ResourceStr; @@ -423,7 +423,7 @@ export declare class ToolBarV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace accessibilityDescription?: ResourceStr; @@ -435,7 +435,7 @@ export declare class ToolBarV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Trace accessibilityLevel?: string; @@ -446,7 +446,7 @@ export declare class ToolBarV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ constructor(options: ToolBarV2ItemOptions); } @@ -458,7 +458,7 @@ export declare class ToolBarV2Item { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface ToolBarV2ItemOptions { @@ -469,7 +469,7 @@ export interface ToolBarV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ content: ToolBarV2ItemText; /** @@ -479,7 +479,7 @@ export interface ToolBarV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ action?: ToolBarV2ItemAction; /** @@ -489,7 +489,7 @@ export interface ToolBarV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ icon?: ToolBarV2ItemIconType; /** @@ -499,7 +499,7 @@ export interface ToolBarV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ state?: ToolBarV2ItemState; /** @@ -509,7 +509,7 @@ export interface ToolBarV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityText?: ResourceStr; /** @@ -519,7 +519,7 @@ export interface ToolBarV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityDescription?: ResourceStr; /** @@ -530,7 +530,7 @@ export interface ToolBarV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ accessibilityLevel?: string; } @@ -541,7 +541,7 @@ export interface ToolBarV2ItemOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export type ToolBarV2ItemAction = (index: number) => void; @@ -552,7 +552,7 @@ export type ToolBarV2ItemAction = (index: number) => void; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare class ToolBarV2Modifier { @@ -564,7 +564,7 @@ export declare class ToolBarV2Modifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ height(height: LengthMetrics): ToolBarV2Modifier; /** @@ -575,7 +575,7 @@ export declare class ToolBarV2Modifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundColor(backgroundColor: ColorMetrics): ToolBarV2Modifier; /** @@ -586,7 +586,7 @@ export declare class ToolBarV2Modifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ padding(padding: LengthMetrics): ToolBarV2Modifier; /** @@ -597,7 +597,7 @@ export declare class ToolBarV2Modifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ stateEffect(stateEffect: boolean): ToolBarV2Modifier; } @@ -609,7 +609,7 @@ export declare class ToolBarV2Modifier { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @ComponentV2 @@ -621,7 +621,7 @@ export declare struct ToolBarV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Require @Param @@ -633,7 +633,7 @@ export declare struct ToolBarV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param activatedIndex?: number; @@ -644,7 +644,7 @@ export declare struct ToolBarV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param dividerModifier?: DividerModifier; /** @@ -654,7 +654,7 @@ export declare struct ToolBarV2 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ @Param toolBarModifier?: ToolBarV2Modifier; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.TreeView.d.ets b/api/@ohos.arkui.advanced.TreeView.d.ets index 0688933b71..d8c4bd235f 100644 --- a/api/@ohos.arkui.advanced.TreeView.d.ets +++ b/api/@ohos.arkui.advanced.TreeView.d.ets @@ -35,7 +35,7 @@ * @enum { TreeListenType } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ export declare enum TreeListenType { @@ -48,7 +48,7 @@ export declare enum TreeListenType { * register listener after a node is clicked. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ NODE_CLICK = "NodeClick", /** @@ -60,7 +60,7 @@ export declare enum TreeListenType { * register listener after a node is add. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ NODE_ADD = "NodeAdd", /** @@ -72,7 +72,7 @@ export declare enum TreeListenType { * register listener after a node is delected. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ NODE_DELETE = "NodeDelete", /** @@ -84,7 +84,7 @@ export declare enum TreeListenType { * register listener after a node is modified. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ NODE_MODIFY = "NodeModify", /** @@ -96,7 +96,7 @@ export declare enum TreeListenType { * register listener after a node is moved. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ NODE_MOVE = "NodeMove", } @@ -110,7 +110,7 @@ export declare enum TreeListenType { * Declare class TreeListener * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ export declare class TreeListener { @@ -131,7 +131,7 @@ export declare class TreeListener { * @param { callback }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ on(type: TreeListenType, callback: (callbackParam: CallbackParam) => void): void; @@ -152,7 +152,7 @@ export declare class TreeListener { * @param { callback }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ once(type: TreeListenType, callback: (callbackParam: CallbackParam) => void): void; @@ -171,7 +171,7 @@ export declare class TreeListener { * @param { callback }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ off(type: TreeListenType, callback?: (callbackParam: CallbackParam) => void): void; } @@ -185,7 +185,7 @@ export declare class TreeListener { * Declare class TreeListenerManager * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ export declare class TreeListenerManager { @@ -202,7 +202,7 @@ export declare class TreeListenerManager { * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ static getInstance(): TreeListenerManager; @@ -217,7 +217,7 @@ export declare class TreeListenerManager { * @return treeListener object * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ getTreeListener(): TreeListener; } @@ -231,7 +231,7 @@ export declare class TreeListenerManager { * Declare TreeView Component * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ @Component @@ -247,7 +247,7 @@ export declare struct TreeView { * @type TreeController * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ treeController: TreeController; } @@ -263,7 +263,7 @@ export declare struct TreeView { * @typedef CallbackParam * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ export interface CallbackParam { @@ -278,7 +278,7 @@ export interface CallbackParam { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ currentNodeId: number, @@ -293,7 +293,7 @@ export interface CallbackParam { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ parentNodeId?: number, @@ -308,7 +308,7 @@ export interface CallbackParam { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ childIndex?: number } @@ -324,7 +324,7 @@ export interface CallbackParam { * @typedef NodeParam * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ export interface NodeParam { @@ -339,7 +339,7 @@ export interface NodeParam { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ parentNodeId?: number, @@ -354,7 +354,7 @@ export interface NodeParam { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ currentNodeId?: number, @@ -369,7 +369,7 @@ export interface NodeParam { * @type { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ isFolder?: boolean; @@ -384,7 +384,7 @@ export interface NodeParam { * @type { Resource } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ icon?: ResourceStr; @@ -393,7 +393,7 @@ export interface NodeParam { * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ symbolIconStyle?: SymbolGlyphModifier; @@ -408,7 +408,7 @@ export interface NodeParam { * @type { Resource } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ selectedIcon?: ResourceStr; @@ -417,7 +417,7 @@ export interface NodeParam { * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ symbolSelectedIconStyle?: SymbolGlyphModifier; @@ -432,7 +432,7 @@ export interface NodeParam { * @type { Resource } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ editIcon?: ResourceStr; @@ -441,7 +441,7 @@ export interface NodeParam { * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ symbolEditIconStyle?: SymbolGlyphModifier; @@ -456,7 +456,7 @@ export interface NodeParam { * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ primaryTitle?: ResourceStr; @@ -471,7 +471,7 @@ export interface NodeParam { * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ secondaryTitle?: ResourceStr; @@ -486,7 +486,7 @@ export interface NodeParam { * @type { () => void } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ container?: () => void; } @@ -500,7 +500,7 @@ export interface NodeParam { * Declare TreeController * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic * @noninterop */ export declare class TreeController { @@ -515,7 +515,7 @@ export declare class TreeController { * Register an ON_ITEM_DELETE callback through the ListTreeListener mechanism to obtain the IDs of all deleted nodes. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ removeNode(): void; @@ -530,7 +530,7 @@ export declare class TreeController { * Register an ON_ITEM_MODIFY callback to obtain the ID, parent node ID, and node name of the modified node. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ modifyNode(): void; @@ -559,7 +559,7 @@ export declare class TreeController { * @return ListTreeNode Tree view component proxy class. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ addNode(nodeParam?: NodeParam): TreeController; @@ -582,7 +582,7 @@ export declare class TreeController { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ refreshNode(parentId: number, parentSubTitle: ResourceStr, currentSubtitle: ResourceStr): void; @@ -601,7 +601,7 @@ export declare class TreeController { * This interface must be called when you finish initializing the ListTreeView by addNode. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 11 + * @since 11 dynamic */ buildDone(): void; } \ No newline at end of file diff --git a/api/@ohos.arkui.advanced.TreeView.static.d.ets b/api/@ohos.arkui.advanced.TreeView.static.d.ets index b2862f958b..f5e8534b26 100644 --- a/api/@ohos.arkui.advanced.TreeView.static.d.ets +++ b/api/@ohos.arkui.advanced.TreeView.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { ResourceStr } from './arkui/component/units'; import { Component } from './arkui/component/customComponent'; @@ -28,7 +27,7 @@ import { Builder } from './arkui/component/builder'; * * @enum { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare enum TreeListenType { @@ -36,35 +35,35 @@ export declare enum TreeListenType { * register listener after a node is clicked. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ NODE_CLICK = 'NodeClick', /** * register listener after a node is add. * @syscap SystemCapability.ArkUI.ArkUI.Full * - * @since 20 + * @since 20 static */ NODE_ADD = 'NodeAdd', /** * register listener after a node is delected. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ NODE_DELETE = 'NodeDelete', /** * register listener after a node is modified. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ NODE_MODIFY = 'NodeModify', /** * register listener after a node is moved. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ NODE_MOVE = 'NodeMove', } @@ -74,7 +73,7 @@ export declare enum TreeListenType { * @typedef { function } OnChangedCallback * @param { CallbackParam } callbackParam - The result of event. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ declare type OnChangedCallback = (callbackParam: CallbackParam) => void; @@ -82,7 +81,7 @@ declare type OnChangedCallback = (callbackParam: CallbackParam) => void; * Declare class TreeListener * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class TreeListener { @@ -93,7 +92,7 @@ export declare class TreeListener { * @param { TreeListenType } type - Registered Events. * @param { OnChangedCallback } callback * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public on(type: TreeListenType, callback: OnChangedCallback): void; /** @@ -103,7 +102,7 @@ export declare class TreeListener { * @param { TreeListenType } type - Registered Events. * @param { OnChangedCallback } callback * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public once(type: TreeListenType, callback: OnChangedCallback): void; /** @@ -112,7 +111,7 @@ export declare class TreeListener { * @param { TreeListenType } type - Registered Events. * @param { OnChangedCallback } [callback] * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public off(type: TreeListenType, callback?: OnChangedCallback): void; } @@ -120,7 +119,7 @@ export declare class TreeListener { * Declare class TreeListenerManager * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class TreeListenerManager { @@ -130,7 +129,7 @@ export declare class TreeListenerManager { * @returns { TreeListenerManager } Returns the treeListenerManager instance. * @static * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ static getInstance(): TreeListenerManager; /** @@ -138,7 +137,7 @@ export declare class TreeListenerManager { * * @returns { TreeListener } Returns the treeListener object. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public getTreeListener(): TreeListener; } @@ -146,7 +145,7 @@ export declare class TreeListenerManager { * Declare TreeView Component * @struct { TreeView } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ @Component @@ -156,14 +155,14 @@ export declare struct TreeView { * * @type { TreeController } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ treeController: TreeController; /** * The method to build component. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ @Builder build(): void; } @@ -172,7 +171,7 @@ export declare struct TreeView { * * @typedef CallbackParam * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export interface CallbackParam { @@ -181,7 +180,7 @@ export interface CallbackParam { * * @type { int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ currentNodeId: int, /** @@ -189,7 +188,7 @@ export interface CallbackParam { * * @type { ?int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ parentNodeId?: int, /** @@ -197,7 +196,7 @@ export interface CallbackParam { * * @type { ?int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ childIndex?: int } @@ -206,7 +205,7 @@ export interface CallbackParam { * * @typedef NodeParam * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export interface NodeParam { @@ -215,7 +214,7 @@ export interface NodeParam { * * @type { ?int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ parentNodeId?: int, /** @@ -223,7 +222,7 @@ export interface NodeParam { * * @type { ?int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ currentNodeId?: int, /** @@ -231,7 +230,7 @@ export interface NodeParam { * * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ isFolder?: boolean; /** @@ -239,7 +238,7 @@ export interface NodeParam { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ icon?: ResourceStr; /** @@ -247,7 +246,7 @@ export interface NodeParam { * * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ symbolIconStyle?: SymbolGlyphModifier; /** @@ -255,7 +254,7 @@ export interface NodeParam { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ selectedIcon?: ResourceStr; /** @@ -263,7 +262,7 @@ export interface NodeParam { * * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ symbolSelectedIconStyle?: SymbolGlyphModifier; /** @@ -271,7 +270,7 @@ export interface NodeParam { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ editIcon?: ResourceStr; /** @@ -279,7 +278,7 @@ export interface NodeParam { * * @type { ?SymbolGlyphModifier } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ symbolEditIconStyle?: SymbolGlyphModifier; /** @@ -287,7 +286,7 @@ export interface NodeParam { * * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ primaryTitle?: ResourceStr; /** @@ -295,7 +294,7 @@ export interface NodeParam { * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * - * @since 20 + * @since 20 static */ secondaryTitle?: ResourceStr; /** @@ -303,7 +302,7 @@ export interface NodeParam { * * @type { ?function } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ container?: () => void; } @@ -311,7 +310,7 @@ export interface NodeParam { * Declare TreeController * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @noninterop */ export declare class TreeController { @@ -321,7 +320,7 @@ export declare class TreeController { * nodes. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public removeNode(): void; /** @@ -329,7 +328,7 @@ export declare class TreeController { * Register an ON_ITEM_MODIFY callback to obtain the ID, parent node ID, and node name of the modified node. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public modifyNode(): void; /** @@ -341,7 +340,7 @@ export declare class TreeController { * @param { NodeParam } [nodeParam] Configuration information of the newly added node. * @returns { TreeController } ListTreeNode Tree view component proxy class. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public addNode(nodeParam?: NodeParam): TreeController; /** @@ -351,7 +350,7 @@ export declare class TreeController { * @param { ResourceStr } parentSubTitle - secondaryTitle of parent node. * @param { ResourceStr } currentSubtitle - secondaryTitle of current node. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public refreshNode(parentId: int, parentSubTitle: ResourceStr, currentSubtitle: ResourceStr): void; /** @@ -360,7 +359,7 @@ export declare class TreeController { * This interface must be called when you finish initializing the ListTreeView by addNode. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ public buildDone(): void; } diff --git a/api/@ohos.arkui.componentSnapshot.d.ts b/api/@ohos.arkui.componentSnapshot.d.ts index bbb183f6dd..b9eaeac459 100644 --- a/api/@ohos.arkui.componentSnapshot.d.ts +++ b/api/@ohos.arkui.componentSnapshot.d.ts @@ -36,7 +36,7 @@ import image from './@ohos.multimedia.image' * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare namespace componentSnapshot { /** @@ -46,7 +46,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ interface SnapshotRegion { /** @@ -56,7 +56,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ left: number; @@ -67,7 +67,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ right: number; @@ -78,7 +78,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ top: number; @@ -89,7 +89,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ bottom: number; } @@ -102,7 +102,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ interface LocalizedSnapshotRegion { /** @@ -112,7 +112,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ start: number; @@ -123,7 +123,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ end: number; @@ -134,7 +134,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ top: number; @@ -145,7 +145,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ bottom: number; } @@ -157,7 +157,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ type SnapshotRegionType = SnapshotRegion | LocalizedSnapshotRegion; @@ -168,7 +168,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface SnapshotOptions { /** @@ -178,7 +178,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ scale?: number @@ -189,7 +189,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ waitUntilRenderFinished?: boolean @@ -200,7 +200,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ region?: SnapshotRegionType } @@ -233,7 +233,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.ComponentSnapshot#get */ @@ -267,7 +267,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.ComponentSnapshot#get */ @@ -305,7 +305,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.ComponentSnapshot#createFromBuilder */ @@ -344,7 +344,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.ComponentSnapshot#createFromBuilder */ @@ -368,7 +368,7 @@ declare namespace componentSnapshot { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function getSync(id: string, options?: SnapshotOptions): image.PixelMap; } diff --git a/api/@ohos.arkui.componentSnapshot.static.d.ets b/api/@ohos.arkui.componentSnapshot.static.d.ets index 9d8af7bcee..098477ddc2 100644 --- a/api/@ohos.arkui.componentSnapshot.static.d.ets +++ b/api/@ohos.arkui.componentSnapshot.static.d.ets @@ -15,7 +15,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { CustomBuilder } from '@ohos.arkui.component'; import { AsyncCallback } from './@ohos.base'; @@ -26,7 +25,7 @@ import image from './@ohos.multimedia.image'; * * @namespace componentSnapshot * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ declare namespace componentSnapshot { /** @@ -34,7 +33,7 @@ declare namespace componentSnapshot { * * @typedef SnapshotRegion * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface SnapshotRegion { /** @@ -42,7 +41,7 @@ declare namespace componentSnapshot { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ left: number; /** @@ -50,7 +49,7 @@ declare namespace componentSnapshot { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ right: number; /** @@ -58,7 +57,7 @@ declare namespace componentSnapshot { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ top: number; /** @@ -66,7 +65,7 @@ declare namespace componentSnapshot { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ bottom: number; } @@ -76,7 +75,7 @@ declare namespace componentSnapshot { * * @typedef LocalizedSnapshotRegion * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface LocalizedSnapshotRegion { /** @@ -84,7 +83,7 @@ declare namespace componentSnapshot { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ start: number; /** @@ -92,7 +91,7 @@ declare namespace componentSnapshot { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ end: number; /** @@ -100,7 +99,7 @@ declare namespace componentSnapshot { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ top: number; /** @@ -108,7 +107,7 @@ declare namespace componentSnapshot { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ bottom: number; } @@ -117,7 +116,7 @@ declare namespace componentSnapshot { * * @typedef { SnapshotRegion | LocalizedSnapshotRegion } SnapshotRegionType * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export type SnapshotRegionType = SnapshotRegion | LocalizedSnapshotRegion; /** @@ -125,7 +124,7 @@ declare namespace componentSnapshot { * * @typedef SnapshotOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface SnapshotOptions { /** @@ -133,7 +132,7 @@ declare namespace componentSnapshot { * * @type {?number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ scale?: number; /** @@ -141,7 +140,7 @@ declare namespace componentSnapshot { * * @type {?boolean} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ waitUntilRenderFinished?: boolean; /** @@ -149,7 +148,7 @@ declare namespace componentSnapshot { * * @type {?SnapshotRegionType} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ region?: SnapshotRegionType; } @@ -168,7 +167,7 @@ declare namespace componentSnapshot { * @throws { BusinessError } 100001 - Invalid ID. * @throws { BusinessError } 160002 - Timeout. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function getSync(id: string, options?: SnapshotOptions): image.PixelMap; } diff --git a/api/@ohos.arkui.componentUtils.d.ts b/api/@ohos.arkui.componentUtils.d.ts index 32658420dc..1008da5873 100644 --- a/api/@ohos.arkui.componentUtils.d.ts +++ b/api/@ohos.arkui.componentUtils.d.ts @@ -37,7 +37,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare namespace componentUtils { @@ -60,7 +60,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface ComponentInfo { @@ -83,7 +83,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ size: Size @@ -106,7 +106,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ localOffset: Offset @@ -129,7 +129,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ windowOffset: Offset @@ -152,7 +152,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ screenOffset: Offset @@ -175,7 +175,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ translate: TranslateResult @@ -198,7 +198,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ scale: ScaleResult @@ -221,7 +221,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ rotate: RotateResult @@ -244,7 +244,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ transform: Matrix4Result } @@ -268,7 +268,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface Size { @@ -291,7 +291,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ width: number @@ -314,7 +314,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ height: number } @@ -338,7 +338,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface Offset { @@ -361,7 +361,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ x: number @@ -384,7 +384,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ y: number } @@ -408,7 +408,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface TranslateResult { @@ -431,7 +431,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ x: number @@ -454,7 +454,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ y: number @@ -477,7 +477,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ z: number } @@ -501,7 +501,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface ScaleResult { @@ -524,7 +524,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ x: number @@ -547,7 +547,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ y: number @@ -570,7 +570,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ z: number @@ -593,7 +593,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ centerX: number @@ -616,7 +616,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ centerY: number } @@ -640,7 +640,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface RotateResult { @@ -663,7 +663,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ x: number @@ -686,7 +686,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ y: number @@ -709,7 +709,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ z: number @@ -732,7 +732,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ centerX: number @@ -755,7 +755,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ centerY: number @@ -778,7 +778,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ angle: number } @@ -802,7 +802,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ type Matrix4Result = [ number, @@ -840,7 +840,7 @@ declare namespace componentUtils { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.ComponentUtils#getRectangleById */ diff --git a/api/@ohos.arkui.componentUtils.static.d.ets b/api/@ohos.arkui.componentUtils.static.d.ets index 3db3aebc22..3b56821cd4 100644 --- a/api/@ohos.arkui.componentUtils.static.d.ets +++ b/api/@ohos.arkui.componentUtils.static.d.ets @@ -15,7 +15,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ @@ -23,7 +22,7 @@ * This module provides functionality for component coordinates and sizes. * @namespace componentUtils * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ declare namespace componentUtils { @@ -32,7 +31,7 @@ declare namespace componentUtils { * Component information. * @typedef ComponentInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface ComponentInfo { @@ -41,7 +40,7 @@ declare namespace componentUtils { * component size. * @type {Size} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ size: Size; @@ -50,7 +49,7 @@ declare namespace componentUtils { * Obtain attribute information relative to the local. * @type {Offset} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ localOffset: Offset; @@ -59,7 +58,7 @@ declare namespace componentUtils { * Obtain attribute information relative to the window. * @type {Offset} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ windowOffset: Offset; @@ -68,7 +67,7 @@ declare namespace componentUtils { * Obtain attribute information relative to the screen. * @type {Offset} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ screenOffset: Offset; @@ -77,7 +76,7 @@ declare namespace componentUtils { * Obtain attribute information for translation. * @type {TranslateResult} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ translate: TranslateResult; @@ -86,7 +85,7 @@ declare namespace componentUtils { * Obtain attribute information for scale. * @type {ScaleResult} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ scale: ScaleResult; @@ -95,7 +94,7 @@ declare namespace componentUtils { * Obtain attribute information for rotate. * @type {RotateResult} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ rotate: RotateResult; @@ -104,7 +103,7 @@ declare namespace componentUtils { * Obtain attribute information of the transformation matrix. * @type {Matrix4Result} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ transform: Matrix4Result; } @@ -114,7 +113,7 @@ declare namespace componentUtils { * Defines the size property. * @typedef Size * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface Size { @@ -123,7 +122,7 @@ declare namespace componentUtils { * Defines the width property. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ width: number; @@ -132,7 +131,7 @@ declare namespace componentUtils { * Defines the height property. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ height: number; } @@ -142,7 +141,7 @@ declare namespace componentUtils { * Defines the offset property. * @typedef Offset * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface Offset { @@ -151,7 +150,7 @@ declare namespace componentUtils { * Coordinate x of the Position. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ x: number; @@ -160,7 +159,7 @@ declare namespace componentUtils { * Coordinate y of the Position. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ y: number; } @@ -170,7 +169,7 @@ declare namespace componentUtils { * Translation Result * @typedef TranslateResult * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface TranslateResult { @@ -179,7 +178,7 @@ declare namespace componentUtils { * Indicates the translation distance of the x-axis, in vp. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ x: number; @@ -188,7 +187,7 @@ declare namespace componentUtils { * Indicates the translation distance of the y-axis, in vp. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ y: number; @@ -197,7 +196,7 @@ declare namespace componentUtils { * Indicates the translation distance of the z-axis, in vp. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ z: number; } @@ -207,7 +206,7 @@ declare namespace componentUtils { * Scale Result * @typedef ScaleResult * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface ScaleResult { @@ -216,7 +215,7 @@ declare namespace componentUtils { * Zoom factor of the x-axis. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ x: number; @@ -225,7 +224,7 @@ declare namespace componentUtils { * Zoom factor of the y-axis. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ y: number; @@ -234,7 +233,7 @@ declare namespace componentUtils { * Zoom factor of the z-axis. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ z: number; @@ -243,7 +242,7 @@ declare namespace componentUtils { * Transform the x-axis coordinate of the center point. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ centerX: number; @@ -252,7 +251,7 @@ declare namespace componentUtils { * Transform the y-axis coordinate of the center point. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ centerY: number; } @@ -262,7 +261,7 @@ declare namespace componentUtils { * Rotation Result. * @typedef RotateResult * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface RotateResult { @@ -271,7 +270,7 @@ declare namespace componentUtils { * Axis of rotation vector x coordinate. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ x: number; @@ -280,7 +279,7 @@ declare namespace componentUtils { * Axis of rotation vector y coordinate. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ y: number; @@ -289,7 +288,7 @@ declare namespace componentUtils { * Axis of rotation vector z coordinate. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ z: number; @@ -298,7 +297,7 @@ declare namespace componentUtils { * Transform the x-axis coordinate of the center point. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ centerX: number; @@ -307,7 +306,7 @@ declare namespace componentUtils { * Transform the y-axis coordinate of the center point. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ centerY: number; @@ -316,7 +315,7 @@ declare namespace componentUtils { * Rotation angle. * @type {number} * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ angle: number; } @@ -327,7 +326,7 @@ declare namespace componentUtils { * @typedef { [number, number, number, number, number, number, number, number, number, number, number, number, * number, number, number, number,] } Matrix4Result * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export type Matrix4Result = [ number, diff --git a/api/@ohos.arkui.dragController.d.ts b/api/@ohos.arkui.dragController.d.ts index 01b51d532b..8edd4e1dfc 100644 --- a/api/@ohos.arkui.dragController.d.ts +++ b/api/@ohos.arkui.dragController.d.ts @@ -42,7 +42,7 @@ import type unifiedDataChannel from './@ohos.data.unifiedDataChannel'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ declare namespace dragController { /** @@ -67,7 +67,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ const enum DragStatus { /** @@ -86,7 +86,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ STARTED = 0, /** @@ -105,7 +105,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ ENDED = 1, } @@ -132,7 +132,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface DragAndDropInfo { /** @@ -154,7 +154,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ status: DragStatus; /** @@ -176,7 +176,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ event: DragEvent; /** @@ -198,7 +198,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ extraParams?: string; } @@ -225,7 +225,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface DragAction { /** @@ -253,7 +253,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ startDrag(): Promise; /** @@ -284,7 +284,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ on(type: 'statusChange', callback: Callback): void; @@ -316,7 +316,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ off(type: 'statusChange', callback?: Callback): void; } @@ -343,7 +343,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface DragInfo { /** @@ -365,7 +365,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ pointerId: number; @@ -388,7 +388,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ data?: unifiedDataChannel.UnifiedData; @@ -411,7 +411,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ extraParams?: string; @@ -434,7 +434,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ touchPoint?: TouchPoint; @@ -457,7 +457,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ previewOptions?: DragPreviewOptions; @@ -471,7 +471,7 @@ declare namespace dragController { * @type { ?unifiedDataChannel.DataLoadParams } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ dataLoadParams?: unifiedDataChannel.DataLoadParams; } @@ -498,7 +498,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface AnimationOptions { /** @@ -520,7 +520,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ duration?: number; /** @@ -542,7 +542,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ curve?: Curve | ICurve; } @@ -563,7 +563,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ export class DragPreview { /** @@ -585,7 +585,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ setForegroundColor(color: ResourceColor): void; /** @@ -610,7 +610,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ animate(options: AnimationOptions, handler: () =>void): void; } @@ -630,7 +630,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ interface DragEventParam { @@ -653,7 +653,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ event: DragEvent; @@ -676,7 +676,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ extraParams: string; } @@ -721,7 +721,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.DragController#executeDrag */ @@ -768,7 +768,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.DragController#executeDrag */ @@ -820,7 +820,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.DragController#createDragAction */ @@ -845,7 +845,7 @@ declare namespace dragController { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.DragController#getDragPreview */ @@ -857,7 +857,7 @@ declare namespace dragController { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ const enum DragStartRequestStatus { @@ -867,7 +867,7 @@ declare namespace dragController { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ WAITING = 0, @@ -877,7 +877,7 @@ declare namespace dragController { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ READY = 1, } @@ -890,7 +890,7 @@ declare namespace dragController { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ const enum DragSpringLoadingState { /** @@ -899,7 +899,7 @@ declare namespace dragController { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ BEGIN, /** @@ -909,7 +909,7 @@ declare namespace dragController { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ UPDATE, /** @@ -918,7 +918,7 @@ declare namespace dragController { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ END, /** @@ -928,7 +928,7 @@ declare namespace dragController { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ CANCEL } @@ -941,7 +941,7 @@ declare namespace dragController { * @typedef { DragSpringLoadingConfiguration } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ interface DragSpringLoadingConfiguration { /** @@ -950,7 +950,7 @@ declare namespace dragController { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ stillTimeLimit?: number; @@ -960,7 +960,7 @@ declare namespace dragController { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ updateInterval?: number; @@ -970,7 +970,7 @@ declare namespace dragController { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ updateNotifyCount?: number; @@ -980,7 +980,7 @@ declare namespace dragController { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ updateToFinishInterval?: number; } @@ -993,7 +993,7 @@ declare namespace dragController { * @typedef { SpringLoadingDragInfos } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ interface SpringLoadingDragInfos { /** @@ -1002,7 +1002,7 @@ declare namespace dragController { * @type { ?unifiedDataChannel.Summary } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ dataSummary?: unifiedDataChannel.Summary; @@ -1013,7 +1013,7 @@ declare namespace dragController { * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ extraInfos?: string; } @@ -1025,7 +1025,7 @@ declare namespace dragController { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ class SpringLoadingContext { /** @@ -1034,7 +1034,7 @@ declare namespace dragController { * @type { DragSpringLoadingState } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ state: DragSpringLoadingState; /** @@ -1044,7 +1044,7 @@ declare namespace dragController { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ currentNotifySequence: number; /** @@ -1053,7 +1053,7 @@ declare namespace dragController { * @type { ?SpringLoadingDragInfos } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ dragInfos?: SpringLoadingDragInfos; /** @@ -1062,7 +1062,7 @@ declare namespace dragController { * @type { ?DragSpringLoadingConfiguration } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ currentConfig?: DragSpringLoadingConfiguration; /** @@ -1071,7 +1071,7 @@ declare namespace dragController { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ abort(): void; /** @@ -1084,7 +1084,7 @@ declare namespace dragController { * @param { DragSpringLoadingConfiguration } config - The spring loading detection configuration * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ updateConfiguration(config: DragSpringLoadingConfiguration): void; } diff --git a/api/@ohos.arkui.dragController.static.d.ets b/api/@ohos.arkui.dragController.static.d.ets index 73c8e57283..756f922099 100644 --- a/api/@ohos.arkui.dragController.static.d.ets +++ b/api/@ohos.arkui.dragController.static.d.ets @@ -15,7 +15,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { DragEvent, DragPreviewOptions, DragItemInfo, ICurve } from '@ohos.arkui.component'; import { CustomBuilder } from '@ohos.arkui.component'; @@ -29,7 +28,7 @@ import type unifiedDataChannel from './@ohos.data.unifiedDataChannel'; * This module allows developers to trigger a drag event. * @namespace dragController * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ declare namespace dragController { @@ -39,7 +38,7 @@ declare namespace dragController { * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ const enum DragStatus { @@ -47,7 +46,7 @@ declare namespace dragController { /** * Drag has started. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ STARTED = 0, @@ -55,7 +54,7 @@ declare namespace dragController { /** * Drag has ended. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ENDED = 1 } @@ -66,7 +65,7 @@ declare namespace dragController { * * @interface DragAndDropInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interface DragAndDropInfo { @@ -75,7 +74,7 @@ declare namespace dragController { * The drag status. * @type { DragStatus } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ status: DragStatus; @@ -84,7 +83,7 @@ declare namespace dragController { * The information containing the drag event. * @type { DragEvent } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ event: DragEvent; @@ -93,7 +92,7 @@ declare namespace dragController { * Additional information about the drag info. * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ extraParams?: string; } @@ -104,7 +103,7 @@ declare namespace dragController { * * @interface DragAction * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interface DragAction { @@ -115,7 +114,7 @@ declare namespace dragController { * @returns { Promise } A Promise can indicate the start result. * @throws { BusinessError } 100001 - Internal handling failed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ startDrag(): Promise; @@ -127,7 +126,7 @@ declare namespace dragController { * @param { 'statusChange' } type for status changing * @param { Callback } callback with drag event and status information * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'statusChange', callback: Callback): void; @@ -139,7 +138,7 @@ declare namespace dragController { * @param { 'statusChange' } type for status changing * @param { Callback } callback with drag event and status information * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'statusChange', callback?: Callback): void; } @@ -150,7 +149,7 @@ declare namespace dragController { * * @interface DragInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interface DragInfo { @@ -159,7 +158,7 @@ declare namespace dragController { * A unique identifier to identify which touch point. * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pointerId: number; @@ -168,7 +167,7 @@ declare namespace dragController { * Drag data. * @type { ?unifiedDataChannel.UnifiedData } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ data?: unifiedDataChannel.UnifiedData; @@ -177,7 +176,7 @@ declare namespace dragController { * Additional information about the drag info. * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ extraParams?: string; @@ -186,7 +185,7 @@ declare namespace dragController { * Touch point coordinates. * @type { ?TouchPoint } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ touchPoint?: TouchPoint; @@ -195,7 +194,7 @@ declare namespace dragController { * Drag preview options. * @type { ?DragPreviewOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ previewOptions?: DragPreviewOptions; } @@ -206,7 +205,7 @@ declare namespace dragController { * * @interface AnimationOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interface AnimationOptions { @@ -215,7 +214,7 @@ declare namespace dragController { * Animation duration, in ms. * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ duration?: number; @@ -224,7 +223,7 @@ declare namespace dragController { * Animation curve. * @type { ?(Curve | ICurve) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ curve?: Curve | ICurve; } @@ -233,7 +232,7 @@ declare namespace dragController { /** * Provides the functions of setting color or updating animation. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export class DragPreview { @@ -242,7 +241,7 @@ declare namespace dragController { * change foreground color of preview * @param { ResourceColor } color - color value * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setForegroundColor(color: ResourceColor): void; @@ -252,7 +251,7 @@ declare namespace dragController { * @param { AnimationOptions } options - animation options * @param { function } handler - change style functions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ animate(options: AnimationOptions, handler: () => void): void; } @@ -262,7 +261,7 @@ declare namespace dragController { * * @interface DragEventParam * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interface DragEventParam { @@ -271,7 +270,7 @@ declare namespace dragController { * The information containing the drag event. * @type { DragEvent } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ event: DragEvent; @@ -280,7 +279,7 @@ declare namespace dragController { * Additional information about the drag info. * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ extraParams: string; } @@ -289,7 +288,7 @@ declare namespace dragController { * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ const enum DragStartRequestStatus { /** @@ -297,7 +296,7 @@ declare namespace dragController { * the start of drag, only effective in onDragStart calls. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ WAITING = 0, /** @@ -305,7 +304,7 @@ declare namespace dragController { * of drag, and will not take effect when the drag is started. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ READY = 1 } diff --git a/api/@ohos.arkui.drawableDescriptor.d.ts b/api/@ohos.arkui.drawableDescriptor.d.ts index 3cee05526e..6088ca1d41 100644 --- a/api/@ohos.arkui.drawableDescriptor.d.ts +++ b/api/@ohos.arkui.drawableDescriptor.d.ts @@ -39,7 +39,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export class DrawableDescriptor { /** @@ -47,7 +47,7 @@ * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ constructor(); @@ -73,7 +73,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getPixelMap(): image.PixelMap; } @@ -100,7 +100,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export class LayeredDrawableDescriptor extends DrawableDescriptor { /** @@ -111,7 +111,7 @@ * @param { DrawableDescriptor } [mask] - Indicates the mask option to create LayeredDrawableDescriptor. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor( foreground?: DrawableDescriptor, @@ -141,7 +141,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getForeground(): DrawableDescriptor; @@ -167,7 +167,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getBackground(): DrawableDescriptor; @@ -193,7 +193,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ getMask(): DrawableDescriptor; @@ -220,7 +220,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static getMaskClipPath(): string; } @@ -231,7 +231,7 @@ * @extends DrawableDescriptor * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ export class PixelMapDrawableDescriptor extends DrawableDescriptor { /** @@ -239,7 +239,7 @@ * @param { image.PixelMap } src - Indicates the resource to create PixelMapDrawableDescriptor. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(src?: image.PixelMap); } @@ -251,7 +251,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface AnimationOptions { /** @@ -261,7 +261,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ duration?: number; /** @@ -271,7 +271,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iterations?: number; } @@ -283,7 +283,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export class AnimatedDrawableDescriptor extends DrawableDescriptor { /** @@ -294,7 +294,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(pixelMaps: Array, options?: AnimationOptions); } diff --git a/api/@ohos.arkui.drawableDescriptor.static.d.ets b/api/@ohos.arkui.drawableDescriptor.static.d.ets index 7aa2e8cbe8..68024100ed 100644 --- a/api/@ohos.arkui.drawableDescriptor.static.d.ets +++ b/api/@ohos.arkui.drawableDescriptor.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import image from './@ohos.multimedia.image'; @@ -26,7 +25,7 @@ import image from './@ohos.multimedia.image'; * Use the DrawableDescriptor class to get drawable image. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class DrawableDescriptor { /** @@ -34,7 +33,7 @@ export declare class DrawableDescriptor { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 static */ constructor(); @@ -43,7 +42,7 @@ export declare class DrawableDescriptor { * * @returns { image.PixelMap | undefined } Return the PixelMap of the calling DrawableDescriptor object. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getPixelMap(): image.PixelMap | undefined; } @@ -53,7 +52,7 @@ export declare class DrawableDescriptor { * * @extends DrawableDescriptor * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class LayeredDrawableDescriptor extends DrawableDescriptor { /** @@ -63,7 +62,7 @@ export declare class LayeredDrawableDescriptor extends DrawableDescriptor { * @param { DrawableDescriptor } [background] - Indicates the background option to create LayeredDrawableDescriptor. * @param { DrawableDescriptor } [mask] - Indicates the mask option to create LayeredDrawableDescriptor. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ constructor( foreground?: DrawableDescriptor, @@ -76,7 +75,7 @@ export declare class LayeredDrawableDescriptor extends DrawableDescriptor { * * @returns { DrawableDescriptor | undefined } Return the DrawableDescriptor object of foreground. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getForeground(): DrawableDescriptor | undefined; @@ -85,7 +84,7 @@ export declare class LayeredDrawableDescriptor extends DrawableDescriptor { * * @returns { DrawableDescriptor | undefined } Return the DrawableDescriptor object of background. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getBackground(): DrawableDescriptor | undefined; @@ -94,7 +93,7 @@ export declare class LayeredDrawableDescriptor extends DrawableDescriptor { * * @returns { DrawableDescriptor | undefined } Return the DrawableDescriptor object of mask. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ getMask(): DrawableDescriptor | undefined; @@ -104,7 +103,7 @@ export declare class LayeredDrawableDescriptor extends DrawableDescriptor { * @returns { string } Return the clip path info of mask. * @static * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ static getMaskClipPath(): string; } @@ -114,14 +113,14 @@ export declare class LayeredDrawableDescriptor extends DrawableDescriptor { * * @extends DrawableDescriptor * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class PixelMapDrawableDescriptor extends DrawableDescriptor { /** * Creates a new PixelMapDrawableDescriptor. * @param { image.PixelMap } [src] - Indicates the resource to create PixelMapDrawableDescriptor. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ constructor(src?: image.PixelMap); } @@ -131,7 +130,7 @@ export declare class PixelMapDrawableDescriptor extends DrawableDescriptor { * * @interface AnimationOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface AnimationOptions { /** @@ -139,7 +138,7 @@ export interface AnimationOptions { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ duration?: number; /** @@ -147,7 +146,7 @@ export interface AnimationOptions { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ iterations?: number; } @@ -157,7 +156,7 @@ export interface AnimationOptions { * * @extends DrawableDescriptor * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class AnimatedDrawableDescriptor extends DrawableDescriptor { /** @@ -166,7 +165,7 @@ export declare class AnimatedDrawableDescriptor extends DrawableDescriptor { * @param { Array } pixelMaps - PixelMap List. * @param { AnimationOptions } [options] - Animation control options. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ constructor(pixelMaps: Array, options?: AnimationOptions); } diff --git a/api/@ohos.arkui.inspector.d.ts b/api/@ohos.arkui.inspector.d.ts index 7588379244..5ba0838de1 100644 --- a/api/@ohos.arkui.inspector.d.ts +++ b/api/@ohos.arkui.inspector.d.ts @@ -33,7 +33,7 @@ import { Callback } from './@ohos.base'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare namespace inspector { @@ -50,7 +50,7 @@ declare namespace inspector { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface ComponentObserver { @@ -71,7 +71,7 @@ declare namespace inspector { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'layout', callback: () => void): void; @@ -92,7 +92,7 @@ declare namespace inspector { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'layout', callback?: () => void): void; @@ -113,7 +113,7 @@ declare namespace inspector { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'draw', callback: () => void): void; @@ -134,7 +134,7 @@ declare namespace inspector { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'draw', callback?: () => void): void; @@ -146,7 +146,7 @@ declare namespace inspector { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ on(type: 'drawChildren', callback: Callback): void; @@ -158,7 +158,7 @@ declare namespace inspector { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ off(type: 'drawChildren', callback?: Callback): void; } @@ -178,7 +178,7 @@ declare namespace inspector { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.UIInspector#createComponentObserver */ diff --git a/api/@ohos.arkui.inspector.static.d.ets b/api/@ohos.arkui.inspector.static.d.ets index 550453938d..6065f1b7e4 100644 --- a/api/@ohos.arkui.inspector.static.d.ets +++ b/api/@ohos.arkui.inspector.static.d.ets @@ -16,7 +16,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { Callback, RecordData } from './@ohos.base'; @@ -25,7 +24,7 @@ import { Callback, RecordData } from './@ohos.base'; * * @namespace inspector * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ declare namespace inspector { @@ -34,7 +33,7 @@ declare namespace inspector { * * @interface ComponentObserver * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interface ComponentObserver { @@ -44,7 +43,7 @@ declare namespace inspector { * @param { 'layout' } type - type of the listened event. * @param { Callback } callback - callback of the listened event. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onLayout(type: 'layout', callback: Callback): void; @@ -54,7 +53,7 @@ declare namespace inspector { * @param { 'layout' } type - type of the listened event. * @param { Callback } [callback] - callback of the listened event. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ offLayout(type: 'layout', callback?: Callback): void; @@ -64,7 +63,7 @@ declare namespace inspector { * @param { 'draw' } type - type of the listened event. * @param { Callback } callback - callback of the listened event. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onDraw(type: 'draw', callback: Callback): void; @@ -74,7 +73,7 @@ declare namespace inspector { * @param { 'draw' } type - type of the listened event. * @param { Callback } [callback] - callback of the listened event. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ offDraw(type: 'draw', callback?: Callback): void; @@ -84,7 +83,7 @@ declare namespace inspector { * @param { 'drawChildren' } type - type of the listened event. * @param { Callback } callback - callback of the listened event. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ onDrawChildren(type: 'drawChildren', callback: Callback): void; @@ -94,16 +93,16 @@ declare namespace inspector { * @param { 'drawChildren' } type - type of the listened event. * @param { Callback } [callback] - callback of the listened event. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ offDrawChildren(type: 'drawChildren', callback?: Callback): void; /** - * @since 20 + * @since 20 static */ overload on { onLayout, onDraw, onDrawChildren } /** - * @since 20 + * @since 20 static */ overload off { offLayout, offDraw, offDrawChildren } } @@ -114,7 +113,7 @@ declare namespace inspector { * @param { string } id - ID of the component whose attributes are to be obtained. * @returns { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @test */ function getInspectorByKey(id: string): string; @@ -123,7 +122,7 @@ declare namespace inspector { * * @returns { RecordData } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @test */ function getInspectorTree(): RecordData; @@ -135,7 +134,7 @@ declare namespace inspector { * @param { string } params - Event parameters. If there is no parameter, pass an empty string "". * @returns { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static * @test */ function sendEventByKey(id: string, action: int, params: string): boolean; @@ -145,20 +144,20 @@ export default inspector; * export function getInspectorByKey from inspector namespace and provide it for kit ArkUI. * @constant * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export const GETINSPECTORBYKEY = inspector.getInspectorByKey; /** * export function getInspectorTree from inspector namespace and provide it for kit ArkUI. * @constant * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export const GETINSPECTORTREE = inspector.getInspectorTree; /** * export function sendEventByKey from inspector namespace and provide it for kit ArkUI. * @constant * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export const SENDEVENTBYKEY = inspector.sendEventByKey; diff --git a/api/@ohos.arkui.modifier.d.ts b/api/@ohos.arkui.modifier.d.ts index 9d78a024b1..b0f6d75a4a 100644 --- a/api/@ohos.arkui.modifier.d.ts +++ b/api/@ohos.arkui.modifier.d.ts @@ -17,7 +17,7 @@ * Export CommonModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { CommonModifier } from './arkui/CommonModifier'; @@ -26,7 +26,7 @@ export { CommonModifier } from './arkui/CommonModifier'; * Export AlphabetIndexerModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { AlphabetIndexerModifier } from './arkui/AlphabetIndexerModifier'; @@ -35,7 +35,7 @@ export { AlphabetIndexerModifier } from './arkui/AlphabetIndexerModifier'; * Export BlankModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { BlankModifier } from './arkui/BlankModifier'; @@ -44,7 +44,7 @@ export { BlankModifier } from './arkui/BlankModifier'; * Export ButtonModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { ButtonModifier } from './arkui/ButtonModifier'; @@ -53,7 +53,7 @@ export { ButtonModifier } from './arkui/ButtonModifier'; * Export CalendarPickerModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { CalendarPickerModifier } from './arkui/CalendarPickerModifier'; @@ -62,7 +62,7 @@ export { CalendarPickerModifier } from './arkui/CalendarPickerModifier'; * Export CheckboxModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { CheckboxModifier } from './arkui/CheckboxModifier'; @@ -71,7 +71,7 @@ export { CheckboxModifier } from './arkui/CheckboxModifier'; * Export CheckboxGroupModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { CheckboxGroupModifier } from './arkui/CheckboxGroupModifier'; @@ -80,7 +80,7 @@ export { CheckboxGroupModifier } from './arkui/CheckboxGroupModifier'; * Export ColumnModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { ColumnModifier } from './arkui/ColumnModifier'; @@ -89,7 +89,7 @@ export { ColumnModifier } from './arkui/ColumnModifier'; * Export ColumnSplitModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { ColumnSplitModifier } from './arkui/ColumnSplitModifier'; @@ -98,7 +98,7 @@ export { ColumnSplitModifier } from './arkui/ColumnSplitModifier'; * Export CounterModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { CounterModifier } from './arkui/CounterModifier'; @@ -107,7 +107,7 @@ export { CounterModifier } from './arkui/CounterModifier'; * Export DataPanelModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { DataPanelModifier } from './arkui/DataPanelModifier'; @@ -116,7 +116,7 @@ export { DataPanelModifier } from './arkui/DataPanelModifier'; * Export DatePickerModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { DatePickerModifier } from './arkui/DatePickerModifier'; @@ -125,7 +125,7 @@ export { DatePickerModifier } from './arkui/DatePickerModifier'; * Export DividerModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { DividerModifier } from './arkui/DividerModifier'; @@ -135,7 +135,7 @@ export { DividerModifier } from './arkui/DividerModifier'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { FormComponentModifier } from './arkui/FormComponentModifier'; @@ -144,7 +144,7 @@ export { FormComponentModifier } from './arkui/FormComponentModifier'; * Export GaugeModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { GaugeModifier } from './arkui/GaugeModifier'; @@ -153,7 +153,7 @@ export { GaugeModifier } from './arkui/GaugeModifier'; * Export GridModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { GridModifier } from './arkui/GridModifier'; @@ -162,7 +162,7 @@ export { GridModifier } from './arkui/GridModifier'; * Export GridColModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { GridColModifier } from './arkui/GridColModifier'; @@ -171,7 +171,7 @@ export { GridColModifier } from './arkui/GridColModifier'; * Export GridItemModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { GridItemModifier } from './arkui/GridItemModifier'; @@ -180,7 +180,7 @@ export { GridItemModifier } from './arkui/GridItemModifier'; * Export GridRowModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { GridRowModifier } from './arkui/GridRowModifier'; @@ -189,7 +189,7 @@ export { GridRowModifier } from './arkui/GridRowModifier'; * Export HyperlinkModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { HyperlinkModifier } from './arkui/HyperlinkModifier'; @@ -198,7 +198,7 @@ export { HyperlinkModifier } from './arkui/HyperlinkModifier'; * Export ImageAnimatorModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { ImageAnimatorModifier } from './arkui/ImageAnimatorModifier'; @@ -207,7 +207,7 @@ export { ImageAnimatorModifier } from './arkui/ImageAnimatorModifier'; * Export ImageModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { ImageModifier } from './arkui/ImageModifier'; @@ -221,7 +221,7 @@ export { ImageModifier } from './arkui/ImageModifier'; * Export SymbolGlyphModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 dynamic * @noninterop */ export { SymbolGlyphModifier } from './arkui/SymbolGlyphModifier'; @@ -229,7 +229,7 @@ export { SymbolGlyphModifier } from './arkui/SymbolGlyphModifier'; * Export ImageSpanModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { ImageSpanModifier } from './arkui/ImageSpanModifier'; @@ -238,7 +238,7 @@ export { ImageSpanModifier } from './arkui/ImageSpanModifier'; * Export LineModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { LineModifier } from './arkui/LineModifier'; @@ -247,7 +247,7 @@ export { LineModifier } from './arkui/LineModifier'; * Export ListModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { ListModifier } from './arkui/ListModifier'; @@ -256,7 +256,7 @@ export { ListModifier } from './arkui/ListModifier'; * Export ListItemModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { ListItemModifier } from './arkui/ListItemModifier'; @@ -265,7 +265,7 @@ export { ListItemModifier } from './arkui/ListItemModifier'; * Export ListItemGroupModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { ListItemGroupModifier } from './arkui/ListItemGroupModifier'; @@ -274,7 +274,7 @@ export { ListItemGroupModifier } from './arkui/ListItemGroupModifier'; * Export LoadingProgressModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { LoadingProgressModifier } from './arkui/LoadingProgressModifier'; @@ -283,7 +283,7 @@ export { LoadingProgressModifier } from './arkui/LoadingProgressModifier'; * Export MarqueeModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { MarqueeModifier } from './arkui/MarqueeModifier'; @@ -292,7 +292,7 @@ export { MarqueeModifier } from './arkui/MarqueeModifier'; * Export MenuModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { MenuModifier } from './arkui/MenuModifier'; @@ -301,7 +301,7 @@ export { MenuModifier } from './arkui/MenuModifier'; * Export MenuItemModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { MenuItemModifier } from './arkui/MenuItemModifier'; @@ -310,7 +310,7 @@ export { MenuItemModifier } from './arkui/MenuItemModifier'; * Export NavDestinationModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { NavDestinationModifier } from './arkui/NavDestinationModifier'; @@ -319,7 +319,7 @@ export { NavDestinationModifier } from './arkui/NavDestinationModifier'; * Export NavigationModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { NavigationModifier } from './arkui/NavigationModifier'; @@ -328,7 +328,7 @@ export { NavigationModifier } from './arkui/NavigationModifier'; * Export NavigatorModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { NavigatorModifier } from './arkui/NavigatorModifier'; @@ -337,7 +337,7 @@ export { NavigatorModifier } from './arkui/NavigatorModifier'; * Export NavRouterModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { NavRouterModifier } from './arkui/NavRouterModifier'; @@ -346,7 +346,7 @@ export { NavRouterModifier } from './arkui/NavRouterModifier'; * Export PanelModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { PanelModifier } from './arkui/PanelModifier'; @@ -355,7 +355,7 @@ export { PanelModifier } from './arkui/PanelModifier'; * Export PathModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { PathModifier } from './arkui/PathModifier'; @@ -364,7 +364,7 @@ export { PathModifier } from './arkui/PathModifier'; * Export PatternLockModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { PatternLockModifier } from './arkui/PatternLockModifier'; @@ -373,7 +373,7 @@ export { PatternLockModifier } from './arkui/PatternLockModifier'; * Export PolygonModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { PolygonModifier } from './arkui/PolygonModifier'; @@ -382,7 +382,7 @@ export { PolygonModifier } from './arkui/PolygonModifier'; * Export PolylineModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { PolylineModifier } from './arkui/PolylineModifier'; @@ -391,7 +391,7 @@ export { PolylineModifier } from './arkui/PolylineModifier'; * Export ProgressModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { ProgressModifier } from './arkui/ProgressModifier'; @@ -400,7 +400,7 @@ export { ProgressModifier } from './arkui/ProgressModifier'; * Export QRCodeModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { QRCodeModifier } from './arkui/QRCodeModifier'; @@ -409,7 +409,7 @@ export { QRCodeModifier } from './arkui/QRCodeModifier'; * Export RadioModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { RadioModifier } from './arkui/RadioModifier'; @@ -418,7 +418,7 @@ export { RadioModifier } from './arkui/RadioModifier'; * Export RatingModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { RatingModifier } from './arkui/RatingModifier'; @@ -427,7 +427,7 @@ export { RatingModifier } from './arkui/RatingModifier'; * Export RectModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { RectModifier } from './arkui/RectModifier'; @@ -436,7 +436,7 @@ export { RectModifier } from './arkui/RectModifier'; * Export RefreshModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { RefreshModifier } from './arkui/RefreshModifier'; @@ -445,7 +445,7 @@ export { RefreshModifier } from './arkui/RefreshModifier'; * Export RichEditorModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { RichEditorModifier } from './arkui/RichEditorModifier'; @@ -454,7 +454,7 @@ export { RichEditorModifier } from './arkui/RichEditorModifier'; * Export RowModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { RowModifier } from './arkui/RowModifier'; @@ -463,7 +463,7 @@ export { RowModifier } from './arkui/RowModifier'; * Export RowSplitModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { RowSplitModifier } from './arkui/RowSplitModifier'; @@ -472,7 +472,7 @@ export { RowSplitModifier } from './arkui/RowSplitModifier'; * Export ScrollModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { ScrollModifier } from './arkui/ScrollModifier'; @@ -481,7 +481,7 @@ export { ScrollModifier } from './arkui/ScrollModifier'; * Export SearchModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { SearchModifier } from './arkui/SearchModifier'; @@ -490,7 +490,7 @@ export { SearchModifier } from './arkui/SearchModifier'; * Export SelectModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { SelectModifier } from './arkui/SelectModifier'; @@ -499,7 +499,7 @@ export { SelectModifier } from './arkui/SelectModifier'; * Export ShapeModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { ShapeModifier } from './arkui/ShapeModifier'; @@ -508,7 +508,7 @@ export { ShapeModifier } from './arkui/ShapeModifier'; * Export SideBarContainerModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { SideBarContainerModifier } from './arkui/SideBarContainerModifier'; @@ -517,7 +517,7 @@ export { SideBarContainerModifier } from './arkui/SideBarContainerModifier'; * Export SliderModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { SliderModifier } from './arkui/SliderModifier'; @@ -526,7 +526,7 @@ export { SliderModifier } from './arkui/SliderModifier'; * Export SpanModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { SpanModifier } from './arkui/SpanModifier'; @@ -535,7 +535,7 @@ export { SpanModifier } from './arkui/SpanModifier'; * Export StackModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { StackModifier } from './arkui/StackModifier'; @@ -544,7 +544,7 @@ export { StackModifier } from './arkui/StackModifier'; * Export StepperItemModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { StepperItemModifier } from './arkui/StepperItemModifier'; @@ -553,7 +553,7 @@ export { StepperItemModifier } from './arkui/StepperItemModifier'; * Export SwiperModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { SwiperModifier } from './arkui/SwiperModifier'; @@ -562,7 +562,7 @@ export { SwiperModifier } from './arkui/SwiperModifier'; * Export TabsModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { TabsModifier } from './arkui/TabsModifier'; @@ -571,7 +571,7 @@ export { TabsModifier } from './arkui/TabsModifier'; * Export TextAreaModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { TextAreaModifier } from './arkui/TextAreaModifier'; @@ -580,7 +580,7 @@ export { TextAreaModifier } from './arkui/TextAreaModifier'; * Export TextModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { TextModifier } from './arkui/TextModifier'; @@ -589,7 +589,7 @@ export { TextModifier } from './arkui/TextModifier'; * Export TextClockModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { TextClockModifier } from './arkui/TextClockModifier'; @@ -598,7 +598,7 @@ export { TextClockModifier } from './arkui/TextClockModifier'; * Export TextInputModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { TextInputModifier } from './arkui/TextInputModifier'; @@ -607,7 +607,7 @@ export { TextInputModifier } from './arkui/TextInputModifier'; * Export TextPickerModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { TextPickerModifier } from './arkui/TextPickerModifier'; @@ -616,7 +616,7 @@ export { TextPickerModifier } from './arkui/TextPickerModifier'; * Export TextTimerModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { TextTimerModifier } from './arkui/TextTimerModifier'; @@ -625,7 +625,7 @@ export { TextTimerModifier } from './arkui/TextTimerModifier'; * Export TimePickerModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { TimePickerModifier } from './arkui/TimePickerModifier'; @@ -634,7 +634,7 @@ export { TimePickerModifier } from './arkui/TimePickerModifier'; * Export ToggleModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { ToggleModifier } from './arkui/ToggleModifier'; @@ -643,7 +643,7 @@ export { ToggleModifier } from './arkui/ToggleModifier'; * Export VideoModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { VideoModifier } from './arkui/VideoModifier'; @@ -652,7 +652,7 @@ export { VideoModifier } from './arkui/VideoModifier'; * Export WaterFlowModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { WaterFlowModifier } from './arkui/WaterFlowModifier'; @@ -661,7 +661,7 @@ export { WaterFlowModifier } from './arkui/WaterFlowModifier'; * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 12 + * @since 12 dynamic * @noninterop */ export { AttributeUpdater } from './arkui/AttributeUpdater'; @@ -672,7 +672,7 @@ export { AttributeUpdater } from './arkui/AttributeUpdater'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export { ContainerSpanModifier } from './arkui/ContainerSpanModifier'; @@ -683,7 +683,7 @@ export { ContainerSpanModifier } from './arkui/ContainerSpanModifier'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export { SymbolSpanModifier } from './arkui/SymbolSpanModifier'; @@ -694,7 +694,7 @@ export { SymbolSpanModifier } from './arkui/SymbolSpanModifier'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export { ParticleModifier } from './arkui/ParticleModifier'; @@ -703,7 +703,7 @@ export { ParticleModifier } from './arkui/ParticleModifier'; * Export StepperModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 dynamic * @noninterop */ export { StepperModifier } from './arkui/StepperModifier'; diff --git a/api/@ohos.arkui.modifier.static.d.ets b/api/@ohos.arkui.modifier.static.d.ets index a5cea4e299..dde750963e 100644 --- a/api/@ohos.arkui.modifier.static.d.ets +++ b/api/@ohos.arkui.modifier.static.d.ets @@ -16,27 +16,26 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ /** * Export TextModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { TextModifier } from './arkui/TextModifier'; /** * Export CommonModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { CommonModifier } from './arkui/CommonModifier'; /** * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { AttributeUpdater } from './arkui/AttributeUpdater'; @@ -44,7 +43,7 @@ export { AttributeUpdater } from './arkui/AttributeUpdater'; * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 static */ export { BlankModifier } from './arkui/BlankModifier'; @@ -52,7 +51,7 @@ export { BlankModifier } from './arkui/BlankModifier'; * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 static */ export { ColumnModifier } from './arkui/ColumnModifier'; @@ -60,7 +59,7 @@ export { ColumnModifier } from './arkui/ColumnModifier'; * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 static */ export { ColumnSplitModifier } from './arkui/ColumnSplitModifier'; @@ -68,7 +67,7 @@ export { ColumnSplitModifier } from './arkui/ColumnSplitModifier'; * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 static */ export { DividerModifier } from './arkui/DividerModifier'; @@ -76,7 +75,7 @@ export { DividerModifier } from './arkui/DividerModifier'; * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 static */ export { FlexModifier } from './arkui/FlexModifier'; @@ -84,7 +83,7 @@ export { FlexModifier } from './arkui/FlexModifier'; * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 static */ export { FolderStackModifier } from './arkui/FolderStackModifier'; @@ -92,7 +91,7 @@ export { FolderStackModifier } from './arkui/FolderStackModifier'; * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 static */ export { GridColModifier } from './arkui/GridColModifier'; @@ -100,7 +99,7 @@ export { GridColModifier } from './arkui/GridColModifier'; * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 static */ export { GridRowModifier } from './arkui/GridRowModifier'; @@ -108,7 +107,7 @@ export { GridRowModifier } from './arkui/GridRowModifier'; * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 static */ export { RelativeContainerModifier } from './arkui/RelativeContainerModifier'; @@ -116,7 +115,7 @@ export { RelativeContainerModifier } from './arkui/RelativeContainerModifier'; * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 static */ export { RowModifier } from './arkui/RowModifier'; @@ -124,7 +123,7 @@ export { RowModifier } from './arkui/RowModifier'; * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 static */ export { RowSplitModifier } from './arkui/RowSplitModifier'; @@ -132,286 +131,286 @@ export { RowSplitModifier } from './arkui/RowSplitModifier'; * Export AttributeUpdater, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform - * @since 20 + * @since 20 static */ export { StackModifier } from './arkui/StackModifier'; /** * Export GridModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { GridModifier } from './arkui/GridModifier'; /** * Export GridItemModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { GridItemModifier } from './arkui/GridItemModifier'; /** * Export ListItemGroupModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { ListItemGroupModifier } from './arkui/ListItemGroupModifier'; /** * Export ListItemModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { ListItemModifier } from './arkui/ListItemModifier'; /** * Export ListModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { ListModifier } from './arkui/ListModifier'; /** * Export NavDestinationModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { NavDestinationModifier } from './arkui/NavDestinationModifier'; /** * Export NavigationModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { NavigationModifier } from './arkui/NavigationModifier'; /** * Export RefreshModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { RefreshModifier } from './arkui/RefreshModifier'; /** * Export RefreshModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { ScrollModifier } from './arkui/ScrollModifier'; /** * Export SideBarContainerModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { SideBarContainerModifier } from './arkui/SideBarContainerModifier'; /** * Export StepperItemModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { StepperItemModifier } from './arkui/StepperItemModifier'; /** * Export StepperModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { StepperModifier } from './arkui/StepperModifier'; /** * Export SwiperModifier, which is used to expose applyNormalAttribute function. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { SwiperModifier } from './arkui/SwiperModifier'; /** * Export RefreshModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { WaterFlowModifier } from './arkui/WaterFlowModifier'; /** * Export ButtonModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { ButtonModifier } from './arkui/ButtonModifier'; /** * Export SymbolGlyphModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { SymbolGlyphModifier } from 'arkui.SymbolGlyphModifier'; /** * Export LineModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { LineModifier } from './arkui/LineModifier'; /** * Export PathModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { PathModifier } from './arkui/PathModifier'; /** * Export PolygonModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { PolygonModifier } from './arkui/PolygonModifier'; /** * Export PolylineModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { PolylineModifier } from './arkui/PolylineModifier'; /** * Export RectModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { RectModifier } from './arkui/RectModifier'; /** * Export ShapeModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { ShapeModifier } from './arkui/ShapeModifier'; /** * Export VideoModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { VideoModifier } from './arkui/VideoModifier'; /** * Export TextInputModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { TextInputModifier } from './arkui/TextInputModifier'; /** * Export TextAreaModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { TextAreaModifier } from './arkui/TextAreaModifier'; /** * Export SearchModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { SearchModifier } from './arkui/SearchModifier'; /** * Export HyperlinkModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { HyperlinkModifier } from './arkui/HyperlinkModifier'; /** * Export MarqueeModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { MarqueeModifier } from './arkui/MarqueeModifier'; /** * Export SpanModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { SpanModifier } from './arkui/SpanModifier'; /** * Export SymbolSpanModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { SymbolSpanModifier } from './arkui/SymbolSpanModifier'; /** * Export ImageSpanModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { ImageSpanModifier } from './arkui/ImageSpanModifier'; /** * Export ContainerSpanModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { ContainerSpanModifier } from './arkui/ContainerSpanModifier'; /** * Export ParticleModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { ParticleModifier } from './arkui/ParticleModifier'; /** * Export SliderModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { SliderModifier } from './arkui/SliderModifier'; /** * Export SelectModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { SelectModifier } from './arkui/SelectModifier'; /** * Export CheckboxModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { CheckboxModifier } from './arkui/CheckboxModifier'; /** * Export CheckboxGroupModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { CheckboxGroupModifier } from './arkui/CheckboxGroupModifier'; /** * Export ToggleModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { ToggleModifier } from './arkui/ToggleModifier'; /** * Export RadioModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { RadioModifier } from './arkui/RadioModifier'; /** * Export RatingModifier, which is used to update attributes to native side. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export { RatingModifier } from './arkui/RatingModifier'; diff --git a/api/@ohos.arkui.observer.d.ts b/api/@ohos.arkui.observer.d.ts index 6ba74fa4c2..f6f6272f10 100644 --- a/api/@ohos.arkui.observer.d.ts +++ b/api/@ohos.arkui.observer.d.ts @@ -35,7 +35,7 @@ import type { NavigationOperation, NavBar } from '../component/navigation'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare namespace uiObserver { /** @@ -53,7 +53,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export enum NavDestinationState { /** @@ -69,7 +69,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ON_SHOWN = 0, @@ -86,7 +86,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ON_HIDDEN = 1, @@ -96,7 +96,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ON_APPEAR = 2, @@ -106,7 +106,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ON_DISAPPEAR = 3, @@ -116,7 +116,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ON_WILL_SHOW = 4, @@ -126,7 +126,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ON_WILL_HIDE = 5, @@ -136,7 +136,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ON_WILL_APPEAR = 6, @@ -146,7 +146,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ON_WILL_DISAPPEAR = 7, @@ -156,7 +156,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 17 + * @since 17 dynamic */ ON_ACTIVE = 8, @@ -166,7 +166,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 17 + * @since 17 dynamic */ ON_INACTIVE = 9, @@ -176,7 +176,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ON_BACKPRESS = 100 } @@ -196,7 +196,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export enum RouterPageState { /** @@ -212,7 +212,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ABOUT_TO_APPEAR = 0, @@ -229,7 +229,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ABOUT_TO_DISAPPEAR = 1, @@ -246,7 +246,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ON_PAGE_SHOW = 2, @@ -263,7 +263,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ON_PAGE_HIDE = 3, @@ -280,7 +280,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ON_BACK_PRESS = 4 } @@ -292,7 +292,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export enum ScrollEventType { /** @@ -301,7 +301,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SCROLL_START = 0, @@ -311,7 +311,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ SCROLL_STOP = 1 } @@ -323,7 +323,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export enum TabContentState { /** @@ -332,7 +332,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ON_SHOW = 0, @@ -342,7 +342,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ ON_HIDE = 1 } @@ -362,7 +362,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface NavDestinationInfo { /** @@ -380,7 +380,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ navigationId: ResourceStr, @@ -399,7 +399,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ name: ResourceStr, @@ -418,7 +418,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ state: NavDestinationState, @@ -429,7 +429,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ index: number; @@ -440,7 +440,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ param?: Object; @@ -451,7 +451,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ navDestinationId: string; @@ -462,7 +462,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ mode?: NavDestinationMode; @@ -473,7 +473,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ uniqueId?: number; } @@ -485,7 +485,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface NavigationInfo { /** @@ -495,7 +495,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ navigationId: string; @@ -506,7 +506,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pathStack: NavPathStack; @@ -517,7 +517,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ uniqueId?: number; } @@ -529,7 +529,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface ScrollEventInfo { /** @@ -539,7 +539,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ id: string, @@ -550,7 +550,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ uniqueId: number, @@ -561,7 +561,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ scrollEvent: ScrollEventType, @@ -572,7 +572,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ offset: number, @@ -583,7 +583,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ axis?: Axis } @@ -595,7 +595,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface TabContentInfo { /** @@ -605,7 +605,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ tabContentId: string, @@ -616,7 +616,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ tabContentUniqueId: number, @@ -627,7 +627,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ state: TabContentState, @@ -638,7 +638,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ index: number, @@ -649,7 +649,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ id: string, @@ -660,7 +660,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ uniqueId: number } @@ -672,7 +672,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface ObserverOptions { /** @@ -682,7 +682,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ id: string } @@ -700,7 +700,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export class RouterPageInfo { /** @@ -718,7 +718,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ context: UIAbilityContext | UIContext; @@ -737,7 +737,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ index: number; @@ -756,7 +756,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ name: string; @@ -775,7 +775,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ path: string; @@ -794,7 +794,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ state: RouterPageState; @@ -805,7 +805,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pageId: string; } @@ -816,7 +816,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export class DensityInfo { /** @@ -826,7 +826,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ context: UIContext; @@ -837,7 +837,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ density: number; } @@ -849,7 +849,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface NavDestinationSwitchInfo { /** @@ -859,7 +859,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ context: UIAbilityContext | UIContext; @@ -870,7 +870,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ from: NavDestinationInfo | NavBar; @@ -881,7 +881,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ to: NavDestinationInfo | NavBar; @@ -892,7 +892,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ operation: NavigationOperation; } @@ -904,7 +904,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface NavDestinationSwitchObserverOptions { /** @@ -914,7 +914,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ navigationId: ResourceStr; } @@ -938,7 +938,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function on(type: 'navDestinationUpdate', options: { navigationId: ResourceStr }, callback: Callback): void; /** @@ -962,7 +962,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function off(type: 'navDestinationUpdate', options: { navigationId: ResourceStr }, callback?: Callback): void; @@ -983,7 +983,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function on(type: 'navDestinationUpdate', callback: Callback): void; @@ -1006,7 +1006,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function off(type: 'navDestinationUpdate', callback?: Callback): void; @@ -1019,7 +1019,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function on(type: 'scrollEvent', options: ObserverOptions, callback: Callback): void; @@ -1033,7 +1033,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function off(type: 'scrollEvent', options: ObserverOptions, callback?: Callback): void; @@ -1045,7 +1045,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function on(type: 'scrollEvent', callback: Callback): void; @@ -1058,7 +1058,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function off(type: 'scrollEvent', callback?: Callback): void; @@ -1081,7 +1081,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function on(type: 'routerPageUpdate', context: UIAbilityContext | UIContext, callback: Callback): void; @@ -1106,7 +1106,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function off(type: 'routerPageUpdate', context: UIAbilityContext | UIContext, callback?: Callback): void; @@ -1119,7 +1119,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function on(type: 'densityUpdate', context: UIContext, callback: Callback): void; @@ -1133,7 +1133,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function off(type: 'densityUpdate', context: UIContext, callback?: Callback): void; @@ -1146,7 +1146,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function on(type: 'willDraw', context: UIContext, callback: Callback): void; @@ -1160,7 +1160,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function off(type: 'willDraw', context: UIContext, callback?: Callback): void; @@ -1173,7 +1173,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function on(type: 'didLayout', context: UIContext, callback: Callback): void; @@ -1187,7 +1187,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function off(type: 'didLayout', context: UIContext, callback?: Callback): void; @@ -1200,7 +1200,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function on(type: 'tabContentUpdate', options: ObserverOptions, callback: Callback): void; @@ -1214,7 +1214,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function off(type: 'tabContentUpdate', options: ObserverOptions, callback?: Callback): void; @@ -1226,7 +1226,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function on(type: 'tabContentUpdate', callback: Callback): void; @@ -1239,7 +1239,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function off(type: 'tabContentUpdate', callback?: Callback): void; @@ -1252,7 +1252,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function on( type: 'navDestinationSwitch', @@ -1270,7 +1270,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function off( type: 'navDestinationSwitch', @@ -1288,7 +1288,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function on( type: 'navDestinationSwitch', @@ -1308,7 +1308,7 @@ declare namespace uiObserver { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export function off( type: 'navDestinationSwitch', diff --git a/api/@ohos.arkui.observer.static.d.ets b/api/@ohos.arkui.observer.static.d.ets index 810edd9da5..5f7463d946 100644 --- a/api/@ohos.arkui.observer.static.d.ets +++ b/api/@ohos.arkui.observer.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { ResourceStr } from '@ohos.arkui.component'; import { NavPathStack, NavigationOperation, NavBar } from '@ohos.arkui.component'; @@ -31,7 +30,7 @@ import { NavDestinationMode } from '@ohos.arkui.component'; * * @namespace uiObserver * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ declare namespace uiObserver { @@ -40,7 +39,7 @@ declare namespace uiObserver { * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export enum NavDestinationState { @@ -48,7 +47,7 @@ declare namespace uiObserver { * When the NavDestination is displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_SHOWN = 0, @@ -56,70 +55,70 @@ declare namespace uiObserver { * When the NavDestination is hidden. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_HIDDEN = 1, /** * When the NavDestination appear. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_APPEAR = 2, /** * When the NavDestination disappear. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_DISAPPEAR = 3, /** * Before the NavDestination is displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_WILL_SHOW = 4, /** * Before the NavDestination is hidden. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_WILL_HIDE = 5, /** * Before the NavDestination is appeared. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_WILL_APPEAR = 6, /** * Before the NavDestination is disappeared. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_WILL_DISAPPEAR = 7, /** * When the NavDestination is active. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_ACTIVE = 8, /** * When the NavDestination is inactive. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_INACTIVE = 9, /** * When back press event happened in NavDestination. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_BACKPRESS = 100 } @@ -129,7 +128,7 @@ declare namespace uiObserver { * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export enum RouterPageState { @@ -137,7 +136,7 @@ declare namespace uiObserver { * When the router page create. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ABOUT_TO_APPEAR = 0, @@ -145,7 +144,7 @@ declare namespace uiObserver { * When the router page destroy. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ABOUT_TO_DISAPPEAR = 1, @@ -153,7 +152,7 @@ declare namespace uiObserver { * When the router page show. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_PAGE_SHOW = 2, @@ -161,7 +160,7 @@ declare namespace uiObserver { * When the router page hide. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_PAGE_HIDE = 3, @@ -169,7 +168,7 @@ declare namespace uiObserver { * When back press event happened in the router page. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_BACK_PRESS = 4 } @@ -178,21 +177,21 @@ declare namespace uiObserver { * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export enum ScrollEventType { /** * When the ScrollEvent start. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ SCROLL_START = 0, /** * When the ScrollEvent stop. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ SCROLL_STOP = 1 } @@ -201,21 +200,21 @@ declare namespace uiObserver { * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export enum TabContentState { /** * When the TabContent hidden. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_SHOW = 0, /** * When the TabContent hidden. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ON_HIDE = 1 } @@ -225,7 +224,7 @@ declare namespace uiObserver { * * @interface NavDestinationInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface NavDestinationInfo { @@ -234,7 +233,7 @@ declare namespace uiObserver { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ navigationId: ResourceStr; @@ -243,7 +242,7 @@ declare namespace uiObserver { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ name: ResourceStr; @@ -252,7 +251,7 @@ declare namespace uiObserver { * * @type { NavDestinationState } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ state: NavDestinationState; /** @@ -260,7 +259,7 @@ declare namespace uiObserver { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ index: number; /** @@ -268,7 +267,7 @@ declare namespace uiObserver { * * @type { ?Object } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ param?: Object; /** @@ -276,7 +275,7 @@ declare namespace uiObserver { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ navDestinationId: string; @@ -285,7 +284,7 @@ declare namespace uiObserver { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ uniqueId?: number; @@ -294,7 +293,7 @@ declare namespace uiObserver { * * @type { NavDestinationMode } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ mode?: NavDestinationMode; } @@ -303,7 +302,7 @@ declare namespace uiObserver { * * @interface NavigationInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface NavigationInfo { /** @@ -311,7 +310,7 @@ declare namespace uiObserver { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ navigationId: string; /** @@ -319,7 +318,7 @@ declare namespace uiObserver { * * @type { NavPathStack } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pathStack: NavPathStack; /** @@ -327,7 +326,7 @@ declare namespace uiObserver { * * @type { ?int } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ uniqueId?: int; } @@ -336,7 +335,7 @@ declare namespace uiObserver { * * @interface ScrollEventInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface ScrollEventInfo { /** @@ -344,7 +343,7 @@ declare namespace uiObserver { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ id: string; /** @@ -352,7 +351,7 @@ declare namespace uiObserver { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ uniqueId: number; /** @@ -360,7 +359,7 @@ declare namespace uiObserver { * * @type { ScrollEventType } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ scrollEvent: ScrollEventType; /** @@ -368,7 +367,7 @@ declare namespace uiObserver { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ offset: number; } @@ -377,7 +376,7 @@ declare namespace uiObserver { * * @typedef TabContentInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface TabContentInfo { /** @@ -385,7 +384,7 @@ declare namespace uiObserver { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ tabContentId: string; /** @@ -393,7 +392,7 @@ declare namespace uiObserver { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ tabContentUniqueId: number; /** @@ -401,7 +400,7 @@ declare namespace uiObserver { * * @type { TabContentState } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ state: TabContentState; /** @@ -409,7 +408,7 @@ declare namespace uiObserver { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ index: number; /** @@ -417,7 +416,7 @@ declare namespace uiObserver { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ id: string; /** @@ -425,7 +424,7 @@ declare namespace uiObserver { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ uniqueId: number; } @@ -434,7 +433,7 @@ declare namespace uiObserver { * * @interface ObserverOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface ObserverOptions { /** @@ -442,7 +441,7 @@ declare namespace uiObserver { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ id: string; } @@ -451,7 +450,7 @@ declare namespace uiObserver { * Router page info. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export class RouterPageInfo { @@ -460,7 +459,7 @@ declare namespace uiObserver { * * @type { UIAbilityContext | UIContext } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ context: UIAbilityContext | UIContext; @@ -469,7 +468,7 @@ declare namespace uiObserver { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ index: number; @@ -478,7 +477,7 @@ declare namespace uiObserver { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ name: string; @@ -487,7 +486,7 @@ declare namespace uiObserver { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ path: string; @@ -496,7 +495,7 @@ declare namespace uiObserver { * * @type { RouterPageState } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ state: RouterPageState; /** @@ -504,7 +503,7 @@ declare namespace uiObserver { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pageId: string; } @@ -512,7 +511,7 @@ declare namespace uiObserver { * Density info. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export class DensityInfo { /** @@ -520,7 +519,7 @@ declare namespace uiObserver { * * @type { UIContext } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ context: UIContext; /** @@ -528,7 +527,7 @@ declare namespace uiObserver { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ density: number; } @@ -537,7 +536,7 @@ declare namespace uiObserver { * * @interface NavDestinationSwitchInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface NavDestinationSwitchInfo { /** @@ -545,7 +544,7 @@ declare namespace uiObserver { * * @type { UIAbilityContext | UIContext } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ context: UIAbilityContext | UIContext; /** @@ -553,7 +552,7 @@ declare namespace uiObserver { * * @type { NavDestinationInfo | NavBar } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ from: NavDestinationInfo | NavBar; /** @@ -561,7 +560,7 @@ declare namespace uiObserver { * * @type { NavDestinationInfo | NavBar } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ to: NavDestinationInfo | NavBar; /** @@ -569,7 +568,7 @@ declare namespace uiObserver { * * @type { NavigationOperation } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ operation: NavigationOperation; } @@ -578,7 +577,7 @@ declare namespace uiObserver { * * @interface NavDestinationSwitchObserverOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface NavDestinationSwitchObserverOptions { /** @@ -586,7 +585,7 @@ declare namespace uiObserver { * * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ navigationId: ResourceStr; } @@ -598,7 +597,7 @@ declare namespace uiObserver { * @param { Callback } callback - The callback function to be called when the navigation * destination is updated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function on( type: 'navDestinationUpdate', @@ -615,7 +614,7 @@ declare namespace uiObserver { * @param { Callback } callback - The callback function to remove. If not provided, all * callbacks for the given event type and navigation ID will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function off( type: 'navDestinationUpdate', @@ -630,7 +629,7 @@ declare namespace uiObserver { * @param { Callback } callback - The callback function to be called when the navigation * destination is updated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function on(type: 'navDestinationUpdate', callback: Callback): void; @@ -642,7 +641,7 @@ declare namespace uiObserver { * @param { Callback } [callback] - The callback function to remove. If not provided, all * callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function off(type: 'navDestinationUpdate', callback?: Callback): void; /** @@ -653,7 +652,7 @@ declare namespace uiObserver { * @param { Callback } callback - The callback function to be called when the scroll event * start or stop. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function on(type: 'scrollEvent', options: ObserverOptions, callback: Callback): void; /** @@ -664,7 +663,7 @@ declare namespace uiObserver { * @param { Callback } callback - The callback function to remove. If not provided, all callbacks * for the given event type and scroll ID will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function off(type: 'scrollEvent', options: ObserverOptions, callback?: Callback): void; /** @@ -674,7 +673,7 @@ declare namespace uiObserver { * @param { Callback } callback - The callback function to be called when the scroll event * start or stop. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function on(type: 'scrollEvent', callback: Callback): void; /** @@ -684,7 +683,7 @@ declare namespace uiObserver { * @param { Callback } [callback] - The callback function to remove. If not provided, all * callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function off(type: 'scrollEvent', callback?: Callback): void; @@ -696,7 +695,7 @@ declare namespace uiObserver { * @param { Callback } callback - The callback function to be called when the router page is * updated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function on( type: 'routerPageUpdate', @@ -712,7 +711,7 @@ declare namespace uiObserver { * @param { Callback } [callback] - The callback function to remove. If not provided, all * callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function off( type: 'routerPageUpdate', @@ -728,7 +727,7 @@ declare namespace uiObserver { * @param { Callback } callback - The callback function to be called when the screen density * is updated. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function on(type: 'densityUpdate', context: UIContext, callback: Callback): void; /** @@ -739,7 +738,7 @@ declare namespace uiObserver { * @param { Callback } [callback] - The callback function to remove. If not provided, all callbacks * for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function off(type: 'densityUpdate', context: UIContext, callback?: Callback): void; /** @@ -749,7 +748,7 @@ declare namespace uiObserver { * @param { UIContext } context - The context scope of the observer. * @param { Callback } callback - The callback function to be called when the draw command will be drawn. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function on(type: 'willDraw', context: UIContext, callback: Callback): void; /** @@ -760,7 +759,7 @@ declare namespace uiObserver { * @param { Callback } [callback] - The callback function to remove. If not provided, all callbacks * for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function off(type: 'willDraw', context: UIContext, callback?: Callback): void; /** @@ -770,7 +769,7 @@ declare namespace uiObserver { * @param { UIContext } context - The context scope of the observer. * @param { Callback } callback - The callback function to be called when the layout is done. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function on(type: 'didLayout', context: UIContext, callback: Callback): void; /** @@ -781,7 +780,7 @@ declare namespace uiObserver { * @param { Callback } [callback] - The callback function to remove. If not provided, all callbacks * for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function off(type: 'didLayout', context: UIContext, callback?: Callback): void; /** @@ -792,7 +791,7 @@ declare namespace uiObserver { * @param { Callback } callback - The callback function to be called when when the tabContent * is showed or hidden. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function on(type: 'tabContentUpdate', options: ObserverOptions, callback: Callback): void; /** @@ -803,7 +802,7 @@ declare namespace uiObserver { * @param { Callback } callback - The callback function to remove. If not provided, all callbacks * for the given event type and Tabs ID will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function off(type: 'tabContentUpdate', options: ObserverOptions, callback?: Callback): void; /** @@ -813,7 +812,7 @@ declare namespace uiObserver { * @param { Callback } callback - The callback function to be called when the tabContent * is showed or hidden. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function on(type: 'tabContentUpdate', callback: Callback): void; /** @@ -823,7 +822,7 @@ declare namespace uiObserver { * @param { Callback } [callback] - The callback function to remove. If not provided, all * callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function off(type: 'tabContentUpdate', callback?: Callback): void; /** @@ -834,7 +833,7 @@ declare namespace uiObserver { * @param { Callback } callback - The callback function to be called when the navigation * switched to a new navDestination. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function on( type: 'navDestinationSwitch', @@ -850,7 +849,7 @@ declare namespace uiObserver { * @param { Callback } [callback] - The callback function to remove. * If not provided, all callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function off( type: 'navDestinationSwitch', @@ -866,7 +865,7 @@ declare namespace uiObserver { * @param { Callback } callback - The callback function to be called when the * navigation switched to a new navDestination. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function on( type: 'navDestinationSwitch', @@ -884,7 +883,7 @@ declare namespace uiObserver { * @param { Callback } [callback] - The callback function to remove. If not provided, * all callbacks for the given event type will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function off( type: 'navDestinationSwitch', diff --git a/api/@ohos.arkui.performanceMonitor.d.ts b/api/@ohos.arkui.performanceMonitor.d.ts index 19be899cf1..2ac8845b9a 100644 --- a/api/@ohos.arkui.performanceMonitor.d.ts +++ b/api/@ohos.arkui.performanceMonitor.d.ts @@ -38,7 +38,7 @@ * @namespace performanceMonitor * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ declare namespace performanceMonitor { /** @@ -47,14 +47,14 @@ declare namespace performanceMonitor { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ export enum ActionType { /** * The user presses the finger on the screen. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ LAST_DOWN = 0, @@ -62,7 +62,7 @@ declare namespace performanceMonitor { * The user lifts up the finger from the screen. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ LAST_UP = 1, @@ -70,7 +70,7 @@ declare namespace performanceMonitor { * The user first moves the finger after pressing down the screen. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ FIRST_MOVE = 2 } @@ -81,14 +81,14 @@ declare namespace performanceMonitor { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ export enum SourceType { /** * The user touches the screen to trigger the scene. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ PERF_TOUCH_EVENT = 0, @@ -96,7 +96,7 @@ declare namespace performanceMonitor { * TThe user uses the mouse to trigger the scene. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ PERF_MOUSE_EVENT = 1, @@ -104,7 +104,7 @@ declare namespace performanceMonitor { * The user uses the touchpad to trigger the scene. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ PERF_TOUCHPAD_EVENT = 2, @@ -112,7 +112,7 @@ declare namespace performanceMonitor { * The user uses the joystick to trigger the scene. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ PERF_JOYSTICK_EVENT = 3, @@ -120,7 +120,7 @@ declare namespace performanceMonitor { * The user uses the keyboard to trigger the scene. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ PERF_KEY_EVENT = 4 } @@ -133,7 +133,7 @@ declare namespace performanceMonitor { * @param { string } note Indicates the app expected info delivered. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ function begin(scene: string, startInputType: ActionType, note?: string): void; @@ -143,7 +143,7 @@ declare namespace performanceMonitor { * @param { string } scene Indicates the scene name. It must be the same with the {@code scene} of start. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 10 + * @since 10 dynamic */ function end(scene: string): void; @@ -156,7 +156,7 @@ declare namespace performanceMonitor { * @throws { BusinessError } 202 - not system application. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ function recordInputEventTime(type: ActionType, sourceType: SourceType, time: number): void; } diff --git a/api/@ohos.arkui.performanceMonitor.static.d.ets b/api/@ohos.arkui.performanceMonitor.static.d.ets index c035aa775b..0b51023655 100644 --- a/api/@ohos.arkui.performanceMonitor.static.d.ets +++ b/api/@ohos.arkui.performanceMonitor.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ /** * Provides interfaces to monitor a scene for performance measurement. @@ -39,7 +38,7 @@ * @namespace performanceMonitor * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ declare namespace performanceMonitor { /** @@ -48,28 +47,28 @@ declare namespace performanceMonitor { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ export enum ActionType { /** * The user presses the finger on the screen. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ LAST_DOWN = 0, /** * The user lifts up the finger from the screen. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ LAST_UP = 1, /** * The user first moves the finger after pressing down the screen. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ FIRST_MOVE = 2 } @@ -79,42 +78,42 @@ declare namespace performanceMonitor { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ export enum SourceType { /** * The user touches the screen to trigger the scene. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ PERF_TOUCH_EVENT = 0, /** * TThe user uses the mouse to trigger the scene. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ PERF_MOUSE_EVENT = 1, /** * The user uses the touchpad to trigger the scene. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ PERF_TOUCHPAD_EVENT = 2, /** * The user uses the joystick to trigger the scene. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ PERF_JOYSTICK_EVENT = 3, /** * The user uses the keyboard to trigger the scene. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ PERF_KEY_EVENT = 4 } @@ -126,7 +125,7 @@ declare namespace performanceMonitor { * @param { string } note Indicates the app expected info delivered. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ function begin(scene: string, startInputType: ActionType, note?: string): void; /** @@ -135,7 +134,7 @@ declare namespace performanceMonitor { * @param { string } scene Indicates the scene name. It must be the same with the {@code scene} of start. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ function end(scene: string): void; /** @@ -147,7 +146,7 @@ declare namespace performanceMonitor { * @throws { BusinessError } 202 - not system application. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ function recordInputEventTime(type: ActionType, sourceType: SourceType, time: number): void; } diff --git a/api/@ohos.arkui.shape.d.ts b/api/@ohos.arkui.shape.d.ts index f4688f6e5c..6a44c62d6c 100644 --- a/api/@ohos.arkui.shape.d.ts +++ b/api/@ohos.arkui.shape.d.ts @@ -28,7 +28,7 @@ * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ interface ShapeSize { /** @@ -37,7 +37,7 @@ interface ShapeSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ width?: number | string; @@ -47,7 +47,7 @@ interface ShapeSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ height?: number | string; } @@ -61,7 +61,7 @@ interface ShapeSize { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ interface RectShapeOptions extends ShapeSize { /** @@ -70,7 +70,7 @@ interface RectShapeOptions extends ShapeSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ radius?: number | string | Array; } @@ -84,7 +84,7 @@ interface RectShapeOptions extends ShapeSize { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ interface RoundRectShapeOptions extends ShapeSize { /** @@ -93,7 +93,7 @@ interface RoundRectShapeOptions extends ShapeSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ radiusWidth?: number | string; @@ -103,7 +103,7 @@ interface RoundRectShapeOptions extends ShapeSize { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ radiusHeight?: number | string; } @@ -116,7 +116,7 @@ interface RoundRectShapeOptions extends ShapeSize { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ interface PathShapeOptions { /** @@ -125,7 +125,7 @@ interface PathShapeOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ commands?: string; } @@ -137,7 +137,7 @@ interface PathShapeOptions { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class CommonShapeMethod { /** @@ -149,7 +149,7 @@ declare class CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ offset(offset: Position): T; @@ -162,7 +162,7 @@ declare class CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ fill(color: ResourceColor): T; @@ -175,7 +175,7 @@ declare class CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ position(position: Position): T; } @@ -188,7 +188,7 @@ declare class CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class BaseShape extends CommonShapeMethod { /** @@ -200,7 +200,7 @@ declare class BaseShape extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ width(width: Length): T; @@ -213,7 +213,7 @@ declare class BaseShape extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ height(height: Length): T; @@ -226,7 +226,7 @@ declare class BaseShape extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ size(size: SizeOptions): T; } @@ -239,7 +239,7 @@ declare class BaseShape extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class RectShape extends BaseShape { /** @@ -250,7 +250,7 @@ export declare class RectShape extends BaseShape { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(options?: RectShapeOptions | RoundRectShapeOptions); @@ -263,7 +263,7 @@ export declare class RectShape extends BaseShape { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ radiusWidth(rWidth: number | string): RectShape; @@ -276,7 +276,7 @@ export declare class RectShape extends BaseShape { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ radiusHeight(rHeight: number | string): RectShape; @@ -289,7 +289,7 @@ export declare class RectShape extends BaseShape { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ radius(radius: number | string | Array): RectShape; } @@ -302,7 +302,7 @@ export declare class RectShape extends BaseShape { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class CircleShape extends BaseShape { /** @@ -313,7 +313,7 @@ export declare class CircleShape extends BaseShape { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(options?: ShapeSize); } @@ -326,7 +326,7 @@ export declare class CircleShape extends BaseShape { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class EllipseShape extends BaseShape { /** @@ -337,7 +337,7 @@ export declare class EllipseShape extends BaseShape { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(options?: ShapeSize); } @@ -350,7 +350,7 @@ export declare class EllipseShape extends BaseShape { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class PathShape extends CommonShapeMethod { /** @@ -361,7 +361,7 @@ export declare class PathShape extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(options?: PathShapeOptions); @@ -374,7 +374,7 @@ export declare class PathShape extends CommonShapeMethod { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ commands(commands: string): PathShape; } \ No newline at end of file diff --git a/api/@ohos.arkui.shape.static.d.ets b/api/@ohos.arkui.shape.static.d.ets index 64fab1d291..31dcb9faa9 100644 --- a/api/@ohos.arkui.shape.static.d.ets +++ b/api/@ohos.arkui.shape.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { Position, ResourceColor, Length, SizeOptions } from '@ohos.arkui.component'; @@ -26,21 +25,21 @@ import { Position, ResourceColor, Length, SizeOptions } from '@ohos.arkui.compon * * @interface ShapeSize * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface ShapeSize { /** * Defines the width of Shape. * @type { ? (number | string) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ width?: number | string; /** * Defines the height of Shape. * @type { ? (number | string) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ height?: number | string; } @@ -50,14 +49,14 @@ export interface ShapeSize { * @extends ShapeSize * @interface RectShapeOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface RectShapeOptions extends ShapeSize { /** * Defines the corner radius of the RectShape. * @type { ? (number | string | Array) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ radius?: number | string | Array; } @@ -67,21 +66,21 @@ export interface RectShapeOptions extends ShapeSize { * @extends ShapeSize * @interface RoundRectShapeOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface RoundRectShapeOptions extends ShapeSize { /** * Defines the width of the corner radius for RectShape. * @type { ? (number | string) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ radiusWidth?: number | string; /** * Defines the height of the corner radius for RectShape. * @type { ? (number | string) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ radiusHeight?: number | string; } @@ -90,14 +89,14 @@ export interface RoundRectShapeOptions extends ShapeSize { * * @interface PathShapeOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface PathShapeOptions { /** * Defines the commands for drawing the PathShape. * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ commands?: string; } @@ -105,7 +104,7 @@ export interface PathShapeOptions { * Common shape method class * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ declare class CommonShapeMethod { /** @@ -114,7 +113,7 @@ declare class CommonShapeMethod { * @param { Position } offset * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ offset(offset: Position): T; /** @@ -123,7 +122,7 @@ declare class CommonShapeMethod { * @param { ResourceColor } color * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fill(color: ResourceColor): T; /** @@ -132,7 +131,7 @@ declare class CommonShapeMethod { * @param { Position } position * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ position(position: Position): T; } @@ -141,7 +140,7 @@ declare class CommonShapeMethod { * * @extends CommonShapeMethod * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ declare class BaseShape extends CommonShapeMethod { /** @@ -150,7 +149,7 @@ declare class BaseShape extends CommonShapeMethod { * @param { Length } width * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ width(width: Length): T; /** @@ -159,7 +158,7 @@ declare class BaseShape extends CommonShapeMethod { * @param { Length } height * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ height(height: Length): T; /** @@ -168,7 +167,7 @@ declare class BaseShape extends CommonShapeMethod { * @param { SizeOptions } size * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ size(size: SizeOptions): T; } @@ -177,7 +176,7 @@ declare class BaseShape extends CommonShapeMethod { * * @extends BaseShape * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class RectShape extends BaseShape { /** @@ -185,7 +184,7 @@ export declare class RectShape extends BaseShape { * * @param { RectShapeOptions | RoundRectShapeOptions } options * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ constructor(options?: RectShapeOptions | RoundRectShapeOptions); /** @@ -194,7 +193,7 @@ export declare class RectShape extends BaseShape { * @param { number | string } rWidth * @returns { RectShape } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ radiusWidth(rWidth: number | string): RectShape; /** @@ -203,7 +202,7 @@ export declare class RectShape extends BaseShape { * @param { number | string } rHeight * @returns { RectShape } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ radiusHeight(rHeight: number | string): RectShape; /** @@ -212,7 +211,7 @@ export declare class RectShape extends BaseShape { * @param { number | string | Array } radius * @returns { RectShape } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ radius(radius: number | string | Array): RectShape; } @@ -221,7 +220,7 @@ export declare class RectShape extends BaseShape { * * @extends BaseShape * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class CircleShape extends BaseShape { /** @@ -229,7 +228,7 @@ export declare class CircleShape extends BaseShape { * * @param { ShapeSize } options * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ constructor(options?: ShapeSize); } @@ -238,7 +237,7 @@ export declare class CircleShape extends BaseShape { * * @extends BaseShape * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class EllipseShape extends BaseShape { /** @@ -246,7 +245,7 @@ export declare class EllipseShape extends BaseShape { * * @param { ShapeSize } options * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ constructor(options?: ShapeSize); } @@ -255,7 +254,7 @@ export declare class EllipseShape extends BaseShape { * * @extends CommonShapeMethod * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class PathShape extends CommonShapeMethod { /** @@ -263,7 +262,7 @@ export declare class PathShape extends CommonShapeMethod { * * @param { PathShapeOptions } options * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ constructor(options?: PathShapeOptions); /** @@ -272,7 +271,7 @@ export declare class PathShape extends CommonShapeMethod { * @param { string } commands * @returns { PathShape } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ commands(commands: string): PathShape; } diff --git a/api/@ohos.arkui.stateManagement.static.d.ets b/api/@ohos.arkui.stateManagement.static.d.ets index 27c252dff6..5f85b7949e 100644 --- a/api/@ohos.arkui.stateManagement.static.d.ets +++ b/api/@ohos.arkui.stateManagement.static.d.ets @@ -17,7 +17,6 @@ /** * @file State management API file * @kit ArkUI - * @arkts 1.2 */ export * from './arkui/stateManagement/decorator'; diff --git a/api/@ohos.arkui.theme.d.ts b/api/@ohos.arkui.theme.d.ts index b2c873def5..26f3be0c09 100644 --- a/api/@ohos.arkui.theme.d.ts +++ b/api/@ohos.arkui.theme.d.ts @@ -25,7 +25,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare interface Theme { /** @@ -35,7 +35,7 @@ export declare interface Theme { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ colors: Colors; } @@ -47,7 +47,7 @@ export declare interface Theme { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare interface Colors { @@ -58,7 +58,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ brand: ResourceColor; @@ -69,7 +69,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ warning: ResourceColor; @@ -80,7 +80,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ alert: ResourceColor; @@ -91,7 +91,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ confirm: ResourceColor; @@ -102,7 +102,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontPrimary: ResourceColor; @@ -113,7 +113,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontSecondary: ResourceColor; @@ -124,7 +124,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontTertiary: ResourceColor; @@ -135,7 +135,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontFourth: ResourceColor; @@ -146,7 +146,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontEmphasize: ResourceColor; @@ -157,7 +157,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontOnPrimary: ResourceColor; @@ -168,7 +168,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontOnSecondary: ResourceColor; @@ -179,7 +179,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontOnTertiary: ResourceColor; @@ -190,7 +190,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontOnFourth: ResourceColor; @@ -201,7 +201,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iconPrimary: ResourceColor; @@ -212,7 +212,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iconSecondary: ResourceColor; @@ -223,7 +223,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iconTertiary: ResourceColor; @@ -234,7 +234,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iconFourth: ResourceColor; @@ -245,7 +245,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iconEmphasize: ResourceColor; @@ -256,7 +256,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iconSubEmphasize: ResourceColor; @@ -267,7 +267,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iconOnPrimary: ResourceColor; @@ -278,7 +278,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iconOnSecondary: ResourceColor; @@ -289,7 +289,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iconOnTertiary: ResourceColor; @@ -300,7 +300,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ iconOnFourth: ResourceColor; @@ -311,7 +311,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundPrimary: ResourceColor; @@ -322,7 +322,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundSecondary: ResourceColor; @@ -333,7 +333,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundTertiary: ResourceColor; @@ -344,7 +344,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundFourth: ResourceColor; @@ -355,7 +355,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundEmphasize: ResourceColor; @@ -366,7 +366,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compForegroundPrimary: ResourceColor; @@ -377,7 +377,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compBackgroundPrimary: ResourceColor; @@ -388,7 +388,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compBackgroundPrimaryTran: ResourceColor; @@ -399,7 +399,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compBackgroundPrimaryContrary: ResourceColor; @@ -410,7 +410,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compBackgroundGray: ResourceColor; @@ -421,7 +421,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compBackgroundSecondary: ResourceColor; @@ -432,7 +432,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compBackgroundTertiary: ResourceColor; @@ -443,7 +443,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compBackgroundEmphasize: ResourceColor; @@ -454,7 +454,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compBackgroundNeutral: ResourceColor; @@ -465,7 +465,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compEmphasizeSecondary: ResourceColor; @@ -476,7 +476,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compEmphasizeTertiary: ResourceColor; @@ -487,7 +487,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compDivider: ResourceColor; @@ -498,7 +498,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compCommonContrary: ResourceColor; @@ -509,7 +509,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compBackgroundFocus: ResourceColor; @@ -520,7 +520,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compFocusedPrimary: ResourceColor; @@ -531,7 +531,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compFocusedSecondary: ResourceColor; @@ -542,7 +542,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ compFocusedTertiary: ResourceColor; @@ -553,7 +553,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interactiveHover: ResourceColor; @@ -564,7 +564,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interactivePressed: ResourceColor; @@ -575,7 +575,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interactiveFocus: ResourceColor; @@ -586,7 +586,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interactiveActive: ResourceColor; @@ -597,7 +597,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interactiveSelect: ResourceColor; @@ -608,7 +608,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interactiveClick: ResourceColor; } @@ -620,7 +620,7 @@ export declare interface Colors { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare interface CustomTheme { /** @@ -630,7 +630,7 @@ export declare interface CustomTheme { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ colors?: CustomColors; } @@ -642,7 +642,7 @@ export declare interface CustomTheme { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare type CustomColors = Partial; /** @@ -651,7 +651,7 @@ export declare type CustomColors = Partial; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class ThemeControl { /** @@ -663,7 +663,7 @@ export declare class ThemeControl { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ static setDefaultTheme(theme: CustomTheme): void; } diff --git a/api/@ohos.arkui.theme.static.d.ets b/api/@ohos.arkui.theme.static.d.ets index 4774b998fb..d64cd9774c 100644 --- a/api/@ohos.arkui.theme.static.d.ets +++ b/api/@ohos.arkui.theme.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { ResourceColor } from '@ohos.arkui.component'; /** @@ -25,7 +24,7 @@ import { ResourceColor } from '@ohos.arkui.component'; * * @interface Theme * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare interface Theme { /** @@ -33,7 +32,7 @@ export declare interface Theme { * * @type { Colors } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ colors: Colors; } @@ -42,7 +41,7 @@ export declare interface Theme { * * @interface Colors * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare interface Colors { /** @@ -50,7 +49,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ brand: ResourceColor; /** @@ -58,7 +57,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ warning: ResourceColor; /** @@ -66,7 +65,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ alert: ResourceColor; /** @@ -74,7 +73,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ confirm: ResourceColor; /** @@ -82,7 +81,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontPrimary: ResourceColor; /** @@ -90,7 +89,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontSecondary: ResourceColor; /** @@ -98,7 +97,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontTertiary: ResourceColor; /** @@ -106,7 +105,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontFourth: ResourceColor; /** @@ -114,7 +113,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontEmphasize: ResourceColor; /** @@ -122,7 +121,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontOnPrimary: ResourceColor; /** @@ -130,7 +129,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontOnSecondary: ResourceColor; /** @@ -138,7 +137,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontOnTertiary: ResourceColor; /** @@ -146,7 +145,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontOnFourth: ResourceColor; /** @@ -154,7 +153,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ iconPrimary: ResourceColor; /** @@ -162,7 +161,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ iconSecondary: ResourceColor; /** @@ -170,7 +169,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ iconTertiary: ResourceColor; /** @@ -178,7 +177,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ iconFourth: ResourceColor; /** @@ -186,7 +185,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ iconEmphasize: ResourceColor; /** @@ -194,7 +193,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ iconSubEmphasize: ResourceColor; /** @@ -202,7 +201,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ iconOnPrimary: ResourceColor; /** @@ -210,7 +209,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ iconOnSecondary: ResourceColor; /** @@ -218,7 +217,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ iconOnTertiary: ResourceColor; /** @@ -226,7 +225,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ iconOnFourth: ResourceColor; /** @@ -234,7 +233,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ backgroundPrimary: ResourceColor; /** @@ -242,7 +241,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ backgroundSecondary: ResourceColor; /** @@ -250,7 +249,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ backgroundTertiary: ResourceColor; /** @@ -258,7 +257,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ backgroundFourth: ResourceColor; /** @@ -266,7 +265,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ backgroundEmphasize: ResourceColor; /** @@ -274,7 +273,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compForegroundPrimary: ResourceColor; /** @@ -282,7 +281,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compBackgroundPrimary: ResourceColor; /** @@ -290,7 +289,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compBackgroundPrimaryTran: ResourceColor; /** @@ -298,7 +297,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compBackgroundPrimaryContrary: ResourceColor; /** @@ -306,7 +305,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compBackgroundGray: ResourceColor; /** @@ -314,7 +313,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compBackgroundSecondary: ResourceColor; /** @@ -322,7 +321,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compBackgroundTertiary: ResourceColor; /** @@ -330,7 +329,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compBackgroundEmphasize: ResourceColor; /** @@ -338,7 +337,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compBackgroundNeutral: ResourceColor; /** @@ -346,7 +345,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compEmphasizeSecondary: ResourceColor; /** @@ -354,7 +353,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compEmphasizeTertiary: ResourceColor; /** @@ -362,7 +361,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compDivider: ResourceColor; /** @@ -370,7 +369,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compCommonContrary: ResourceColor; /** @@ -378,7 +377,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compBackgroundFocus: ResourceColor; /** @@ -386,7 +385,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compFocusedPrimary: ResourceColor; /** @@ -394,7 +393,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compFocusedSecondary: ResourceColor; /** @@ -402,7 +401,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ compFocusedTertiary: ResourceColor; /** @@ -410,7 +409,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interactiveHover: ResourceColor; /** @@ -418,7 +417,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interactivePressed: ResourceColor; /** @@ -426,7 +425,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interactiveFocus: ResourceColor; /** @@ -434,7 +433,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interactiveActive: ResourceColor; /** @@ -442,7 +441,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interactiveSelect: ResourceColor; /** @@ -450,7 +449,7 @@ export declare interface Colors { * * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interactiveClick: ResourceColor; } @@ -459,7 +458,7 @@ export declare interface Colors { * * @interface CustomTheme * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare interface CustomTheme { /** @@ -467,7 +466,7 @@ export declare interface CustomTheme { * * @type { ?CustomColors } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ colors?: CustomColors; } @@ -476,14 +475,14 @@ export declare interface CustomTheme { * * @typedef { Partial } CustomColors * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export type CustomColors = Partial; /** * Class ThemeControl provides the Theme management for whole Ability and pages. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export declare class ThemeControl { /** @@ -493,7 +492,7 @@ export declare class ThemeControl { * * @param { CustomTheme } theme * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ static setDefaultTheme(theme: CustomTheme): void; } diff --git a/api/@ohos.arkui.uiExtension.d.ts b/api/@ohos.arkui.uiExtension.d.ts index 5a91c6f9f9..8c983c715b 100644 --- a/api/@ohos.arkui.uiExtension.d.ts +++ b/api/@ohos.arkui.uiExtension.d.ts @@ -28,8 +28,8 @@ import window from './@ohos.window'; * @namespace uiExtension * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace uiExtension { /** @@ -38,8 +38,8 @@ declare namespace uiExtension { * @interface WindowProxy * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface WindowProxy { /** @@ -53,8 +53,8 @@ declare namespace uiExtension { *
3. Parameter verification failed. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getWindowAvoidArea(type: window.AvoidAreaType): window.AvoidArea; @@ -70,8 +70,8 @@ declare namespace uiExtension { *
3. Parameter verification failed. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'avoidAreaChange', callback: Callback): void; @@ -87,8 +87,8 @@ declare namespace uiExtension { *
3. Parameter verification failed. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'avoidAreaChange', callback?: Callback): void; @@ -103,8 +103,8 @@ declare namespace uiExtension { *
3. Parameter verification failed. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'windowSizeChange', callback: Callback): void; @@ -119,8 +119,8 @@ declare namespace uiExtension { *
3. Parameter verification failed. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'windowSizeChange', callback?: Callback): void; @@ -138,7 +138,7 @@ declare namespace uiExtension { * @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ on(type: 'rectChange', reasons: number, callback: Callback): void; @@ -156,7 +156,7 @@ declare namespace uiExtension { * @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ off(type: 'rectChange', callback?: Callback): void; @@ -178,8 +178,8 @@ declare namespace uiExtension { * @throws { BusinessError } 1300003 - This window manager service works abnormally. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ hideNonSecureWindows(shouldHide: boolean): Promise; @@ -199,8 +199,8 @@ declare namespace uiExtension { * @syscap SystemCapability.ArkUI.ArkUI.Full * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ createSubWindowWithOptions(name: string, subWindowOptions: window.SubWindowOptions): Promise; @@ -215,8 +215,8 @@ declare namespace uiExtension { * @throws { BusinessError } 1300008 - The display device is abnormal. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setWaterMarkFlag(enable: boolean): Promise; @@ -234,7 +234,7 @@ declare namespace uiExtension { * @throws { BusinessError } 1300003 - This window manager service works abnormally. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ occupyEvents(eventFlags: number): Promise; @@ -244,7 +244,7 @@ declare namespace uiExtension { * @type { WindowProxyProperties } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ properties: WindowProxyProperties; } @@ -255,7 +255,7 @@ declare namespace uiExtension { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ enum EventFlag { /** @@ -263,7 +263,7 @@ declare namespace uiExtension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ EVENT_NONE = 0x00000000, /** @@ -271,7 +271,7 @@ declare namespace uiExtension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ EVENT_PAN_GESTURE_LEFT = 0x00000001, /** @@ -279,7 +279,7 @@ declare namespace uiExtension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ EVENT_PAN_GESTURE_RIGHT = 0x00000002, /** @@ -287,7 +287,7 @@ declare namespace uiExtension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ EVENT_PAN_GESTURE_UP = 0x00000004, /** @@ -295,7 +295,7 @@ declare namespace uiExtension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ EVENT_PAN_GESTURE_DOWN = 0x00000008, /** @@ -303,7 +303,7 @@ declare namespace uiExtension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ EVENT_CLICK = 0x00000100, /** @@ -311,7 +311,7 @@ declare namespace uiExtension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ EVENT_LONG_PRESS = 0x00000200, } @@ -322,8 +322,8 @@ declare namespace uiExtension { * @interface AvoidAreaInfo * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface AvoidAreaInfo { /** @@ -332,8 +332,8 @@ declare namespace uiExtension { * @type { window.AvoidAreaType } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type: window.AvoidAreaType; @@ -343,8 +343,8 @@ declare namespace uiExtension { * @type { window.AvoidArea } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ area: window.AvoidArea; } @@ -355,8 +355,8 @@ declare namespace uiExtension { * @interface WindowProxyProperties * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static * */ export interface WindowProxyProperties { @@ -366,8 +366,8 @@ declare namespace uiExtension { * @type { window.Rect } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ uiExtensionHostWindowProxyRect: window.Rect; } @@ -378,7 +378,7 @@ declare namespace uiExtension { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ enum RectChangeReason { /** @@ -386,7 +386,7 @@ declare namespace uiExtension { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ HOST_WINDOW_RECT_CHANGE = 0x0001, } @@ -397,7 +397,7 @@ declare namespace uiExtension { * @interface RectChangeOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ interface RectChangeOptions { /** @@ -406,7 +406,7 @@ declare namespace uiExtension { * @type { window.Rect } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ rect: window.Rect, @@ -416,7 +416,7 @@ declare namespace uiExtension { * @type { RectChangeReason } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 14 + * @since 14 dynamic */ reason: RectChangeReason } diff --git a/api/@ohos.atomicservice.AtomicServiceNavigation.d.ets b/api/@ohos.atomicservice.AtomicServiceNavigation.d.ets index bf3974a1ae..35412d7537 100644 --- a/api/@ohos.atomicservice.AtomicServiceNavigation.d.ets +++ b/api/@ohos.atomicservice.AtomicServiceNavigation.d.ets @@ -26,7 +26,7 @@ import { Callback } from '@ohos.base'; * @enum { number }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare enum MixMode { @@ -35,7 +35,7 @@ export declare enum MixMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ AVERAGE = 1, /** @@ -44,7 +44,7 @@ export declare enum MixMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ CROSS = 2, /** @@ -52,7 +52,7 @@ export declare enum MixMode { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ TOWARDS = 3, } @@ -63,7 +63,7 @@ export declare enum MixMode { * @enum { number }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare enum GradientAlpha { @@ -72,7 +72,7 @@ export declare enum GradientAlpha { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ OPACITY_20 = 1, /** @@ -80,7 +80,7 @@ export declare enum GradientAlpha { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ OPACITY_60 = 2, /** @@ -88,7 +88,7 @@ export declare enum GradientAlpha { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ OPACITY_80 = 3, /** @@ -96,7 +96,7 @@ export declare enum GradientAlpha { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ OPACITY_100 = 4, } @@ -107,7 +107,7 @@ export declare enum GradientAlpha { * @enum { number }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare enum BackgroundTheme { @@ -116,7 +116,7 @@ export declare enum BackgroundTheme { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ DARK = 1, /** @@ -124,7 +124,7 @@ export declare enum BackgroundTheme { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ LIGHT = 2, /** @@ -132,7 +132,7 @@ export declare enum BackgroundTheme { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ DEFAULT = 3, } @@ -143,7 +143,7 @@ export declare enum BackgroundTheme { * @struct { AtomicServiceNavigation } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Component @@ -154,7 +154,7 @@ export declare struct AtomicServiceNavigation { * @type { ?NavPathStack }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @State navPathStack?: NavPathStack; @@ -164,7 +164,7 @@ export declare struct AtomicServiceNavigation { * @type { ?Callback }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @BuilderParam navigationContent?: Callback; @@ -174,7 +174,7 @@ export declare struct AtomicServiceNavigation { * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop title?: ResourceStr; @@ -184,7 +184,7 @@ export declare struct AtomicServiceNavigation { * @type { ?TitleOptions }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop titleOptions?: TitleOptions; @@ -194,7 +194,7 @@ export declare struct AtomicServiceNavigation { * @type { ?GradientBackground }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop gradientBackground?: GradientBackground; @@ -204,7 +204,7 @@ export declare struct AtomicServiceNavigation { * @type { ?boolean }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop hideTitleBar?: boolean; @@ -214,7 +214,7 @@ export declare struct AtomicServiceNavigation { * @type { ?Length }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop navBarWidth?: Length; @@ -224,7 +224,7 @@ export declare struct AtomicServiceNavigation { * @type { ?NavigationMode }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop mode?: NavigationMode; @@ -234,7 +234,7 @@ export declare struct AtomicServiceNavigation { * @type { ?NavDestinationBuilder }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @BuilderParam navDestinationBuilder?: NavDestinationBuilder; @@ -244,7 +244,7 @@ export declare struct AtomicServiceNavigation { * @type { ?[Dimension, Dimension] }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop navBarWidthRange?: [ @@ -257,7 +257,7 @@ export declare struct AtomicServiceNavigation { * @type { ?Dimension }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop minContentWidth?: Dimension; @@ -267,7 +267,7 @@ export declare struct AtomicServiceNavigation { * @type { ?Callback }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ stateChangeCallback?: Callback; /** @@ -276,7 +276,7 @@ export declare struct AtomicServiceNavigation { * @type { ?Callback }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ modeChangeCallback?: Callback; /** @@ -285,7 +285,7 @@ export declare struct AtomicServiceNavigation { * @type { ?(CustomBuilder | Array) }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ @BuilderParam menus?: CustomBuilder | Array; @@ -295,7 +295,7 @@ export declare struct AtomicServiceNavigation { * @type { ?SideBarOptions }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop sideBarOptions?: SideBarOptions; @@ -305,7 +305,7 @@ export declare struct AtomicServiceNavigation { * @type { ?Callback }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ @BuilderParam sideBarContent?: Callback; @@ -317,7 +317,7 @@ export declare struct AtomicServiceNavigation { * @typedef TitleOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export interface TitleOptions { @@ -327,7 +327,7 @@ export interface TitleOptions { * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: ResourceColor; @@ -338,7 +338,7 @@ export interface TitleOptions { * @default true * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ isBlurEnabled?: boolean; @@ -349,7 +349,7 @@ export interface TitleOptions { * @default BarStyle.STANDARD * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ barStyle?: BarStyle; @@ -360,7 +360,7 @@ export interface TitleOptions { * @default TitleBarType.ROUND_ICON * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ titleBarType?: TitleBarType; @@ -371,7 +371,7 @@ export interface TitleOptions { * @default atomicservice icon * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ titleIcon?: Resource | SymbolGlyphModifier; } @@ -382,7 +382,7 @@ export interface TitleOptions { * @typedef GradientBackground * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface GradientBackground { @@ -392,7 +392,7 @@ export interface GradientBackground { * @type { ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ primaryColor: ResourceColor; @@ -402,7 +402,7 @@ export interface GradientBackground { * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ secondaryColor?: ResourceColor; @@ -412,7 +412,7 @@ export interface GradientBackground { * @type { ?BackgroundTheme } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ backgroundTheme?: BackgroundTheme; @@ -422,7 +422,7 @@ export interface GradientBackground { * @type { ?MixMode } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ mixMode?: MixMode; @@ -432,7 +432,7 @@ export interface GradientBackground { * @type { ?GradientAlpha } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ alpha?: GradientAlpha; } @@ -443,7 +443,7 @@ export interface GradientBackground { * @typedef SideBarOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface SideBarOptions { @@ -453,7 +453,7 @@ export interface SideBarOptions { * @type { ?ResourceColor }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ sideBarBackground?: ResourceColor; @@ -463,7 +463,7 @@ export interface SideBarOptions { * @type { ?Callback }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onChange?: Callback; @@ -474,7 +474,7 @@ export interface SideBarOptions { * @default $r('sys.symbol.open_sidebar') * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ sideBarIcon?: Resource | SymbolGlyphModifier; } @@ -485,7 +485,7 @@ export interface SideBarOptions { * @enum { number }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export declare enum TitleBarType { @@ -494,7 +494,7 @@ export declare enum TitleBarType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ SQUARED_ICON = 1, @@ -503,7 +503,7 @@ export declare enum TitleBarType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ ROUND_ICON = 2, @@ -512,7 +512,7 @@ export declare enum TitleBarType { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ DRAWER = 3 } @@ -525,7 +525,7 @@ export declare enum TitleBarType { * @param { ?Object } - param - The detailed parameter of the route page. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export type NavDestinationBuilder = (name: string, param?: Object) => void; \ No newline at end of file diff --git a/api/@ohos.atomicservice.AtomicServiceSearch.d.ets b/api/@ohos.atomicservice.AtomicServiceSearch.d.ets index 766dfdced4..525d8776a9 100644 --- a/api/@ohos.atomicservice.AtomicServiceSearch.d.ets +++ b/api/@ohos.atomicservice.AtomicServiceSearch.d.ets @@ -25,7 +25,7 @@ import { OperationOption } from '@ohos.arkui.advanced.SubHeader'; * @param { string } [selectValue] - Indicates the value of the selected item. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare type OnSelectCallback = (index: number, selectValue: string) => void; @@ -37,7 +37,7 @@ declare type OnSelectCallback = (index: number, selectValue: string) => void; * @param { PasteEvent } event - Indicates a user-defined paste event. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare type OnPasteCallback = (pasteValue: string, event: PasteEvent) => void; @@ -49,7 +49,7 @@ declare type OnPasteCallback = (pasteValue: string, event: PasteEvent) => void; * @param { number } selectionEnd - Indicates end position of the text selection area. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare type OnTextSelectionChangeCallback = (selectionStart: number, selectionEnd: number) => void; @@ -61,7 +61,7 @@ declare type OnTextSelectionChangeCallback = (selectionStart: number, selectionE * @param { number } totalOffsetY - Indicates the vertical coordinate offset of the text in the content area, in px. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ declare type OnContentScrollCallback = (totalOffsetX: number, totalOffsetY: number) => void; @@ -71,7 +71,7 @@ declare type OnContentScrollCallback = (totalOffsetX: number, totalOffsetY: numb * @typedef InputFilterParams * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface InputFilterParams { @@ -81,7 +81,7 @@ export interface InputFilterParams { * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ inputFilterValue: ResourceStr; /** @@ -90,7 +90,7 @@ export interface InputFilterParams { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ error?: Callback; } @@ -100,7 +100,7 @@ export interface InputFilterParams { * @typedef SearchButtonParams * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface SearchButtonParams { @@ -110,7 +110,7 @@ export interface SearchButtonParams { * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ searchButtonValue: ResourceStr; /** @@ -119,7 +119,7 @@ export interface SearchButtonParams { * @type { ?SearchButtonOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ options?: SearchButtonOptions; } @@ -129,7 +129,7 @@ export interface SearchButtonParams { * @typedef MenuAlignParams * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface MenuAlignParams { @@ -139,7 +139,7 @@ export interface MenuAlignParams { * @type { MenuAlignType } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ alignType: MenuAlignType; /** @@ -149,7 +149,7 @@ export interface MenuAlignParams { * @type { ?Offset } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ offset?: Offset; } @@ -159,7 +159,7 @@ export interface MenuAlignParams { * @typedef SearchParams * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface SearchParams { @@ -169,7 +169,7 @@ export interface SearchParams { * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ searchKey?: ResourceStr; /** @@ -178,7 +178,7 @@ export interface SearchParams { * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ componentBackgroundColor?: ResourceColor; /** @@ -187,7 +187,7 @@ export interface SearchParams { * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ pressedBackgroundColor?: ResourceColor; /** @@ -196,7 +196,7 @@ export interface SearchParams { * @type { ?SearchButtonParams } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ searchButton?: SearchButtonParams; /** @@ -205,7 +205,7 @@ export interface SearchParams { * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ placeholderColor?: ResourceColor; /** @@ -214,7 +214,7 @@ export interface SearchParams { * @type { ?Font } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ placeholderFont?: Font; /** @@ -223,7 +223,7 @@ export interface SearchParams { * @type { ?Font } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ textFont?: Font; /** @@ -232,7 +232,7 @@ export interface SearchParams { * @type { ?TextAlign } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ textAlign?: TextAlign; /** @@ -241,7 +241,7 @@ export interface SearchParams { * @type { ?CopyOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ copyOptions?: CopyOptions; /** @@ -250,7 +250,7 @@ export interface SearchParams { * @type { ?(IconOptions | SymbolGlyphModifier) } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ searchIcon?: IconOptions | SymbolGlyphModifier; /** @@ -259,7 +259,7 @@ export interface SearchParams { * @type { ?IconOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ cancelIcon?: IconOptions; /** @@ -268,7 +268,7 @@ export interface SearchParams { * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ fontColor?: ResourceColor; /** @@ -277,7 +277,7 @@ export interface SearchParams { * @type { ?CaretStyle } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ caretStyle?: CaretStyle; /** @@ -286,7 +286,7 @@ export interface SearchParams { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ enableKeyboardOnFocus?: boolean; /** @@ -295,7 +295,7 @@ export interface SearchParams { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ hideSelectionMenu?: boolean; /** @@ -304,7 +304,7 @@ export interface SearchParams { * @type { ?SearchType } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ type?: SearchType; /** @@ -313,7 +313,7 @@ export interface SearchParams { * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ maxLength?: number; /** @@ -322,7 +322,7 @@ export interface SearchParams { * @type { ?EnterKeyType } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ enterKeyType?: EnterKeyType; /** @@ -331,7 +331,7 @@ export interface SearchParams { * @type { ?TextDecorationOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ decoration?: TextDecorationOptions; /** @@ -340,7 +340,7 @@ export interface SearchParams { * @type { ?(number | string | Resource) } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ letterSpacing?: number | string | Resource; /** @@ -353,7 +353,7 @@ export interface SearchParams { * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ fontFeature?: ResourceStr; /** @@ -362,7 +362,7 @@ export interface SearchParams { * @type { ?ResourceColor } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedBackgroundColor?: ResourceColor; /** @@ -371,7 +371,7 @@ export interface SearchParams { * @type { ?InputFilterParams } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ inputFilter?: InputFilterParams; /** @@ -380,7 +380,7 @@ export interface SearchParams { * @type { ?Dimension } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ textIndent?: Dimension; /** @@ -389,7 +389,7 @@ export interface SearchParams { * @type { ?(number | string | Resource) } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ minFontSize?: number | string | Resource; /** @@ -398,7 +398,7 @@ export interface SearchParams { * @type { ?(number | string | Resource) } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ maxFontSize?: number | string | Resource; /** @@ -407,7 +407,7 @@ export interface SearchParams { * @type { ?EditMenuOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ editMenuOptions?: EditMenuOptions; /** @@ -416,7 +416,7 @@ export interface SearchParams { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ enablePreviewText?: boolean; /** @@ -425,7 +425,7 @@ export interface SearchParams { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ enableHapticFeedback?: boolean; /** @@ -434,7 +434,7 @@ export interface SearchParams { * @type { ?(Callback | SearchSubmitCallback) } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onSubmit?: Callback | SearchSubmitCallback; /** @@ -443,7 +443,7 @@ export interface SearchParams { * @type { ?EditableTextOnChangeCallback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onChange?: EditableTextOnChangeCallback; /** @@ -452,7 +452,7 @@ export interface SearchParams { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onCopy?: Callback; /** @@ -461,7 +461,7 @@ export interface SearchParams { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onCut?: Callback; /** @@ -470,7 +470,7 @@ export interface SearchParams { * @type { ?OnPasteCallback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onPaste?: OnPasteCallback; /** @@ -479,7 +479,7 @@ export interface SearchParams { * @type { ?OnTextSelectionChangeCallback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onTextSelectionChange?: OnTextSelectionChangeCallback; /** @@ -488,7 +488,7 @@ export interface SearchParams { * @type { ?OnContentScrollCallback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onContentScroll?: OnContentScrollCallback; /** @@ -497,7 +497,7 @@ export interface SearchParams { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onEditChange?: Callback; /** @@ -506,7 +506,7 @@ export interface SearchParams { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onWillInsert?: Callback; /** @@ -515,7 +515,7 @@ export interface SearchParams { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onDidInsert?: Callback; /** @@ -524,7 +524,7 @@ export interface SearchParams { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onWillDelete?: Callback; /** @@ -533,7 +533,7 @@ export interface SearchParams { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onDidDelete?: Callback; } @@ -543,7 +543,7 @@ export interface SearchParams { * @typedef SelectParams * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface SelectParams { @@ -553,7 +553,7 @@ export interface SelectParams { * @type { ?Array } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ options?: Array; /** @@ -562,7 +562,7 @@ export interface SelectParams { * @type { ?number }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ selected?: number; /** @@ -571,7 +571,7 @@ export interface SelectParams { * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ selectValue?: ResourceStr; /** @@ -580,7 +580,7 @@ export interface SelectParams { * @type { ?OnSelectCallback }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onSelect?: OnSelectCallback; /** @@ -589,7 +589,7 @@ export interface SelectParams { * @type { ?ContentModifier }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ menuItemContentModifier?: ContentModifier; /** @@ -598,7 +598,7 @@ export interface SelectParams { * @type { ?(Optional | null) }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ divider?: Optional | null; /** @@ -607,7 +607,7 @@ export interface SelectParams { * @type { ?Font }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ font?: Font; /** @@ -616,7 +616,7 @@ export interface SelectParams { * @type { ?ResourceColor }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ fontColor?: ResourceColor; /** @@ -625,7 +625,7 @@ export interface SelectParams { * @type { ?ResourceColor }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedOptionBgColor?: ResourceColor; /** @@ -634,7 +634,7 @@ export interface SelectParams { * @type { ?Font }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedOptionFont?: Font; /** @@ -643,7 +643,7 @@ export interface SelectParams { * @type { ?ResourceColor }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ selectedOptionFontColor?: ResourceColor; /** @@ -652,7 +652,7 @@ export interface SelectParams { * @type { ?ResourceColor }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ optionBgColor?: ResourceColor; /** @@ -661,7 +661,7 @@ export interface SelectParams { * @type { ?Font }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ optionFont?: Font; /** @@ -670,7 +670,7 @@ export interface SelectParams { * @type { ?ResourceColor }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ optionFontColor?: ResourceColor; /** @@ -679,7 +679,7 @@ export interface SelectParams { * @type { ?(Dimension | OptionWidthMode) }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ optionWidth?: Dimension | OptionWidthMode; /** @@ -688,7 +688,7 @@ export interface SelectParams { * @type { ?Dimension }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ optionHeight?: Dimension; /** @@ -697,7 +697,7 @@ export interface SelectParams { * @type { ?Length }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ space?: Length; /** @@ -706,7 +706,7 @@ export interface SelectParams { * @type { ?ArrowPosition }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ arrowPosition?: ArrowPosition; /** @@ -715,7 +715,7 @@ export interface SelectParams { * @type { ?MenuAlignParams }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ menuAlign?: MenuAlignParams; /** @@ -724,7 +724,7 @@ export interface SelectParams { * @type { ?ResourceColor }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ menuBackgroundColor?: ResourceColor; /** @@ -733,7 +733,7 @@ export interface SelectParams { * @type { ?BlurStyle }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ menuBackgroundBlurStyle?: BlurStyle; } @@ -743,7 +743,7 @@ export interface SelectParams { * @typedef OperationParams * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ export interface OperationParams { @@ -753,7 +753,7 @@ export interface OperationParams { * @type { ?OperationOption }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ auxiliaryItem?: OperationOption; /** @@ -762,7 +762,7 @@ export interface OperationParams { * @type { ?OperationOption }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ independentItem?: OperationOption; } @@ -772,7 +772,7 @@ export interface OperationParams { * @struct {AtomicServiceSearch} * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @Component @@ -783,7 +783,7 @@ export declare struct AtomicServiceSearch { * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop value?: ResourceStr; @@ -794,7 +794,7 @@ export declare struct AtomicServiceSearch { * @type { ?ResourceStr }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop placeholder?: ResourceStr; @@ -804,7 +804,7 @@ export declare struct AtomicServiceSearch { * @type { ?SearchParams }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop search?: SearchParams; @@ -814,7 +814,7 @@ export declare struct AtomicServiceSearch { * @type { ?SelectParams }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop select?: SelectParams; @@ -824,7 +824,7 @@ export declare struct AtomicServiceSearch { * @type { ?OperationParams }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ operation?: OperationParams; /** @@ -833,7 +833,7 @@ export declare struct AtomicServiceSearch { * @type { ?SearchController }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ controller?: SearchController; } \ No newline at end of file diff --git a/api/@ohos.atomicservice.AtomicServiceTabs.d.ets b/api/@ohos.atomicservice.AtomicServiceTabs.d.ets index a2ae7de1d3..6c0cdbeeec 100644 --- a/api/@ohos.atomicservice.AtomicServiceTabs.d.ets +++ b/api/@ohos.atomicservice.AtomicServiceTabs.d.ets @@ -24,7 +24,7 @@ * @struct { AtomicServiceTabs } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Component @@ -35,7 +35,7 @@ export declare struct AtomicServiceTabs { * @type { ?[TabContentBuilder?, TabContentBuilder?, TabContentBuilder?, TabContentBuilder?, TabContentBuilder?] }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @BuilderParam tabContents?: [ @@ -51,7 +51,7 @@ export declare struct AtomicServiceTabs { * @type { [TabBarOptions, TabBarOptions, TabBarOptions?, TabBarOptions?, TabBarOptions?] }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop tabBarOptionsArray: [ @@ -67,7 +67,7 @@ export declare struct AtomicServiceTabs { * @type { ?TabBarPosition }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop tabBarPosition?: TabBarPosition; @@ -77,7 +77,7 @@ export declare struct AtomicServiceTabs { * @type { ?LayoutMode }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ @Prop layoutMode?: LayoutMode; @@ -87,7 +87,7 @@ export declare struct AtomicServiceTabs { * @type { ?ResourceColor }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop barBackgroundColor?: ResourceColor; @@ -97,7 +97,7 @@ export declare struct AtomicServiceTabs { * @type { ?number }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop index?: number; @@ -107,7 +107,7 @@ export declare struct AtomicServiceTabs { * @type { ?boolean }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop barOverlap?: boolean; @@ -117,7 +117,7 @@ export declare struct AtomicServiceTabs { * @type { ?TabsController }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ controller?: TabsController; /** @@ -126,7 +126,7 @@ export declare struct AtomicServiceTabs { * @type { ?Callback }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onChange?: Callback; /** @@ -135,7 +135,7 @@ export declare struct AtomicServiceTabs { * @type { ?Callback }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onTabBarClick?: Callback; /** @@ -144,7 +144,7 @@ export declare struct AtomicServiceTabs { * @type { ?OnContentWillChangeCallback }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onContentWillChange?: OnContentWillChangeCallback; } @@ -154,7 +154,7 @@ export declare struct AtomicServiceTabs { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare class TabBarOptions { @@ -167,7 +167,7 @@ export declare class TabBarOptions { * @param { ?ResourceColor } - selectedColor - the color of icon and text when tabbar is selected * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic **/ constructor(icon: ResourceStr | TabBarSymbol, text: ResourceStr, unselectedColor?: ResourceColor, selectedColor?: ResourceColor); @@ -179,7 +179,7 @@ export declare class TabBarOptions { * @enum { number }. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare enum TabBarPosition { @@ -189,7 +189,7 @@ export declare enum TabBarPosition { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ LEFT = 0, @@ -198,7 +198,7 @@ export declare enum TabBarPosition { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ BOTTOM = 1, } @@ -209,7 +209,7 @@ export declare enum TabBarPosition { * @typedef { function } TabContentBuilder * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export type TabContentBuilder = () => void; @@ -223,7 +223,7 @@ export type TabContentBuilder = () => void; * @returns { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export type OnContentWillChangeCallback = (currentIndex: number, comingIndex: number) => boolean; \ No newline at end of file diff --git a/api/@ohos.atomicservice.AtomicServiceWeb.d.ets b/api/@ohos.atomicservice.AtomicServiceWeb.d.ets index 2972dfe13c..eeebc2d5c7 100644 --- a/api/@ohos.atomicservice.AtomicServiceWeb.d.ets +++ b/api/@ohos.atomicservice.AtomicServiceWeb.d.ets @@ -26,7 +26,7 @@ import { Callback } from '@ohos.base'; * @struct { AtomicServiceWeb } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Component @@ -37,7 +37,7 @@ export declare struct AtomicServiceWeb { * @type { ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ src: ResourceStr; /** @@ -46,7 +46,7 @@ export declare struct AtomicServiceWeb { * @type { AtomicServiceWebController } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @ObjectLink controller: AtomicServiceWebController; @@ -56,7 +56,7 @@ export declare struct AtomicServiceWeb { * @type { ?MixedMode } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop mixedMode?: MixedMode; @@ -66,7 +66,7 @@ export declare struct AtomicServiceWeb { * @type { ?WebDarkMode } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop darkMode?: WebDarkMode; @@ -76,7 +76,7 @@ export declare struct AtomicServiceWeb { * @type { ?boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ @Prop forceDarkAccess?: boolean; @@ -86,7 +86,7 @@ export declare struct AtomicServiceWeb { * @type { ?(NestedScrollOptions | NestedScrollOptionsExt) } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 15 + * @since 15 dynamic */ @Prop nestedScroll?: NestedScrollOptions | NestedScrollOptionsExt; @@ -96,7 +96,7 @@ export declare struct AtomicServiceWeb { * @type { ?NavPathStack } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ navPathStack?: NavPathStack; /** @@ -105,7 +105,7 @@ export declare struct AtomicServiceWeb { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onMessage?: Callback; /** @@ -114,7 +114,7 @@ export declare struct AtomicServiceWeb { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onErrorReceive?: Callback; /** @@ -123,7 +123,7 @@ export declare struct AtomicServiceWeb { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onHttpErrorReceive?: Callback; /** @@ -132,7 +132,7 @@ export declare struct AtomicServiceWeb { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onPageBegin?: Callback; /** @@ -141,7 +141,7 @@ export declare struct AtomicServiceWeb { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onPageEnd?: Callback; /** @@ -151,7 +151,7 @@ export declare struct AtomicServiceWeb { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onControllerAttached?: Callback; /** @@ -160,7 +160,7 @@ export declare struct AtomicServiceWeb { * @type { ?OnLoadInterceptCallback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onLoadIntercept?: OnLoadInterceptCallback; /** @@ -169,7 +169,7 @@ export declare struct AtomicServiceWeb { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onProgressChange?: Callback; } @@ -180,7 +180,7 @@ export declare struct AtomicServiceWeb { * @typedef OnMessageEvent * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare interface OnMessageEvent { @@ -190,7 +190,7 @@ export declare interface OnMessageEvent { * @type { object[] } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ data: object[]; } @@ -201,7 +201,7 @@ export declare interface OnMessageEvent { * @typedef OnErrorReceiveEvent * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare interface OnErrorReceiveEvent { @@ -211,7 +211,7 @@ export declare interface OnErrorReceiveEvent { * @type { WebResourceRequest } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ request: WebResourceRequest; @@ -221,7 +221,7 @@ export declare interface OnErrorReceiveEvent { * @type { WebResourceError } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ error: WebResourceError; } @@ -232,7 +232,7 @@ export declare interface OnErrorReceiveEvent { * @typedef OnHttpErrorReceiveEvent * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare interface OnHttpErrorReceiveEvent { @@ -242,7 +242,7 @@ export declare interface OnHttpErrorReceiveEvent { * @type { WebResourceRequest } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ request: WebResourceRequest; @@ -252,7 +252,7 @@ export declare interface OnHttpErrorReceiveEvent { * @type { WebResourceResponse } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ response: WebResourceResponse; } @@ -263,7 +263,7 @@ export declare interface OnHttpErrorReceiveEvent { * @typedef OnPageBeginEvent * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare interface OnPageBeginEvent { @@ -273,7 +273,7 @@ export declare interface OnPageBeginEvent { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ url: string; } @@ -284,7 +284,7 @@ export declare interface OnPageBeginEvent { * @typedef OnPageEndEvent * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare interface OnPageEndEvent { @@ -294,7 +294,7 @@ export declare interface OnPageEndEvent { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ url: string; } @@ -305,7 +305,7 @@ export declare interface OnPageEndEvent { * @typedef OnLoadInterceptEvent * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare interface OnLoadInterceptEvent { @@ -315,7 +315,7 @@ export declare interface OnLoadInterceptEvent { * @type { WebResourceRequest } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ data: WebResourceRequest; } @@ -326,7 +326,7 @@ export declare interface OnLoadInterceptEvent { * @typedef OnProgressChangeEvent * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare interface OnProgressChangeEvent { @@ -336,7 +336,7 @@ export declare interface OnProgressChangeEvent { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ newProgress: number; } @@ -346,7 +346,7 @@ export declare interface OnProgressChangeEvent { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ @Observed @@ -359,7 +359,7 @@ export declare class AtomicServiceWebController { * AtomicServiceWeb component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ getUserAgent(): string; @@ -371,7 +371,7 @@ export declare class AtomicServiceWebController { * AtomicServiceWeb component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ getCustomUserAgent(): string; @@ -385,7 +385,7 @@ export declare class AtomicServiceWebController { * AtomicServiceWeb component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ setCustomUserAgent(userAgent: string): void; @@ -396,7 +396,7 @@ export declare class AtomicServiceWebController { * AtomicServiceWeb component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ refresh(): void; @@ -407,7 +407,7 @@ export declare class AtomicServiceWebController { * AtomicServiceWeb component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ forward(): void; @@ -418,7 +418,7 @@ export declare class AtomicServiceWebController { * AtomicServiceWeb component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ backward(): void; @@ -430,7 +430,7 @@ export declare class AtomicServiceWebController { * AtomicServiceWeb component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ accessForward(): boolean; @@ -442,7 +442,7 @@ export declare class AtomicServiceWebController { * AtomicServiceWeb component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ accessBackward(): boolean; @@ -457,7 +457,7 @@ export declare class AtomicServiceWebController { * AtomicServiceWeb component. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ accessStep(step: number): boolean; @@ -474,7 +474,7 @@ export declare class AtomicServiceWebController { * @throws { BusinessError } 17100003 - Invalid resource path or file type. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ loadUrl(url: string | Resource, headers?: Array): void; } @@ -485,7 +485,7 @@ export declare class AtomicServiceWebController { * @typedef WebHeader * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare interface WebHeader { @@ -495,7 +495,7 @@ export declare interface WebHeader { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ headerKey: string; @@ -505,7 +505,7 @@ export declare interface WebHeader { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ headerValue: string; } @@ -518,7 +518,7 @@ export declare interface WebHeader { * @returns { boolean } True if the load is intercepted else false. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export type OnLoadInterceptCallback = (event: OnLoadInterceptEvent) => boolean; diff --git a/api/@ohos.atomicservice.HalfScreenLaunchComponent.d.ets b/api/@ohos.atomicservice.HalfScreenLaunchComponent.d.ets index 70e8caa05e..72e00c14a9 100644 --- a/api/@ohos.atomicservice.HalfScreenLaunchComponent.d.ets +++ b/api/@ohos.atomicservice.HalfScreenLaunchComponent.d.ets @@ -26,7 +26,7 @@ import { Callback, ErrorCallback } from '@ohos.base'; * @struct { HalfScreenLaunchComponent } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic * @noninterop */ @Component @@ -36,7 +36,7 @@ export declare struct HalfScreenLaunchComponent { * @type { Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ @BuilderParam content: Callback; /** @@ -44,7 +44,7 @@ export declare struct HalfScreenLaunchComponent { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ appId: string; /** @@ -52,7 +52,7 @@ export declare struct HalfScreenLaunchComponent { * @type { ?AtomicServiceOptions } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ options?: AtomicServiceOptions; /** @@ -60,7 +60,7 @@ export declare struct HalfScreenLaunchComponent { * @type { ?ErrorCallback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onError?: ErrorCallback; /** @@ -68,7 +68,7 @@ export declare struct HalfScreenLaunchComponent { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 18 + * @since 18 dynamic */ onTerminated?: Callback; @@ -77,7 +77,7 @@ export declare struct HalfScreenLaunchComponent { * @type { ?Callback> } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 + * @since 20 dynamic */ onReceive?: Callback>; } \ No newline at end of file diff --git a/api/@ohos.atomicservice.InterstitialDialogAction.d.ets b/api/@ohos.atomicservice.InterstitialDialogAction.d.ets index c2bbc22ef3..8ce0b30c2c 100644 --- a/api/@ohos.atomicservice.InterstitialDialogAction.d.ets +++ b/api/@ohos.atomicservice.InterstitialDialogAction.d.ets @@ -25,7 +25,7 @@ import { ComponentContent } from '@ohos.arkui.node'; * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare enum IconStyle { @@ -34,7 +34,7 @@ export declare enum IconStyle { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ DARK = 0, /** @@ -42,7 +42,7 @@ export declare enum IconStyle { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ LIGHT = 1 } @@ -52,7 +52,7 @@ export declare enum IconStyle { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare enum TitlePosition { @@ -61,7 +61,7 @@ export declare enum TitlePosition { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ TOP = 0, /** @@ -69,7 +69,7 @@ export declare enum TitlePosition { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ BOTTOM = 1 } @@ -79,7 +79,7 @@ export declare enum TitlePosition { * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare enum BottomOffset { @@ -88,7 +88,7 @@ export declare enum BottomOffset { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ OFFSET_FOR_BAR = 0, /** @@ -96,7 +96,7 @@ export declare enum BottomOffset { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ OFFSET_FOR_NONE = 1 } @@ -106,7 +106,7 @@ export declare enum BottomOffset { * @interface DialogOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare interface DialogOptions { @@ -116,7 +116,7 @@ export declare interface DialogOptions { * @type { UIContext } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ uiContext: UIContext; /** @@ -125,7 +125,7 @@ export declare interface DialogOptions { * @type { ?BottomOffset } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ bottomOffsetType?: BottomOffset /** @@ -134,7 +134,7 @@ export declare interface DialogOptions { * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ title?: ResourceStr; /** @@ -143,7 +143,7 @@ export declare interface DialogOptions { * @type { ?ResourceStr } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ subtitle?: ResourceStr; /** @@ -152,7 +152,7 @@ export declare interface DialogOptions { * @type { ?(ResourceStr | Color) } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ titleColor?: ResourceStr | Color; /** @@ -161,7 +161,7 @@ export declare interface DialogOptions { * @type { ?(ResourceStr | Color) } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ subtitleColor?: ResourceStr | Color; /** @@ -170,7 +170,7 @@ export declare interface DialogOptions { * @type { ?Resource } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundImage?: Resource; /** @@ -179,7 +179,7 @@ export declare interface DialogOptions { * @type { ?Resource } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ foregroundImage?: Resource; /** @@ -188,7 +188,7 @@ export declare interface DialogOptions { * @type { ?IconStyle } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ iconStyle?: IconStyle; /** @@ -197,7 +197,7 @@ export declare interface DialogOptions { * @type { ?TitlePosition } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ titlePosition?: TitlePosition; /** @@ -206,7 +206,7 @@ export declare interface DialogOptions { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onDialogClick?: Callback; /** @@ -215,7 +215,7 @@ export declare interface DialogOptions { * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ onDialogClose?: Callback; } @@ -224,7 +224,7 @@ export declare interface DialogOptions { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare class InterstitialDialogAction { @@ -234,7 +234,7 @@ export declare class InterstitialDialogAction { * @param { DialogOptions } dialogOptions - Creates a new dialog action object. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(dialogOptions: DialogOptions); /** @@ -242,7 +242,7 @@ export declare class InterstitialDialogAction { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ openDialog(): void; /** @@ -250,7 +250,7 @@ export declare class InterstitialDialogAction { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ closeDialog(): void; } \ No newline at end of file diff --git a/api/@ohos.atomicservice.NavPushPathHelper.d.ets b/api/@ohos.atomicservice.NavPushPathHelper.d.ets index c715ae2e20..6b2f44c586 100644 --- a/api/@ohos.atomicservice.NavPushPathHelper.d.ets +++ b/api/@ohos.atomicservice.NavPushPathHelper.d.ets @@ -23,7 +23,7 @@ * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic * @noninterop */ export declare class NavPushPathHelper { @@ -33,7 +33,7 @@ export declare class NavPushPathHelper { * @param { NavPathStack } navPathStack - The stack of the route table. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(navPathStack: NavPathStack); @@ -47,7 +47,7 @@ export declare class NavPushPathHelper { * @throws { BusinessError } 300001 - hsp silent install fail. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ pushPath(moduleName: string, info: NavPathInfo, animated?: boolean): Promise; @@ -61,7 +61,7 @@ export declare class NavPushPathHelper { * @throws { BusinessError } 300001 - hsp silent install fail. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ pushPath(moduleName: string, info: NavPathInfo, options?: NavigationOptions): Promise; @@ -82,7 +82,7 @@ export declare class NavPushPathHelper { * @throws { BusinessError } 300001 - hsp silent install fail. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ pushDestination(moduleName: string, info: NavPathInfo, animated?: boolean): Promise; @@ -103,7 +103,7 @@ export declare class NavPushPathHelper { * @throws { BusinessError } 300001 - hsp silent install fail. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ pushDestination(moduleName: string, info: NavPathInfo, options?: NavigationOptions): Promise; @@ -118,7 +118,7 @@ export declare class NavPushPathHelper { * @throws { BusinessError } 300001 - hsp silent install fail. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ pushPathByName(moduleName: string, name: string, param: Object, animated?: boolean): Promise; @@ -134,7 +134,7 @@ export declare class NavPushPathHelper { * @throws { BusinessError } 300001 - hsp silent install fail. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ pushPathByName(moduleName: string, name: string, param: Object, onPop: Callback, animated?: boolean): Promise; @@ -157,7 +157,7 @@ export declare class NavPushPathHelper { * @throws { BusinessError } 300001 - hsp silent install fail. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ pushDestinationByName(moduleName: string, name: string, param: Object, animated?: boolean): Promise; @@ -180,7 +180,7 @@ export declare class NavPushPathHelper { * @throws { BusinessError } 300001 - hsp silent install fail. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ pushDestinationByName(moduleName: string, name: string, param: Object, onPop: Callback, animated?: boolean): Promise; @@ -195,7 +195,7 @@ export declare class NavPushPathHelper { * @throws { BusinessError } 300001 - hsp silent install fail. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ replacePath(moduleName: string, info: NavPathInfo, animated?: boolean): Promise; @@ -209,7 +209,7 @@ export declare class NavPushPathHelper { * @throws { BusinessError } 300001 - hsp silent install fail. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ replacePath(moduleName: string, info: NavPathInfo, options?: NavigationOptions): Promise; @@ -224,7 +224,7 @@ export declare class NavPushPathHelper { * @throws { BusinessError } 300001 - hsp silent install fail. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ replacePathByName(moduleName: string, name: string, param: Object, animated?: boolean): Promise; } \ No newline at end of file diff --git a/api/@ohos.base.d.ts b/api/@ohos.base.d.ts index 12b9052cb6..fe647f38ed 100644 --- a/api/@ohos.base.d.ts +++ b/api/@ohos.base.d.ts @@ -46,7 +46,7 @@ * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface Callback { /** @@ -77,7 +77,7 @@ export interface Callback { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ (data: T): void; } @@ -101,7 +101,7 @@ export interface Callback { * @syscap SystemCapability.Base * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export interface ErrorCallback { /** @@ -123,7 +123,7 @@ export interface ErrorCallback { * @syscap SystemCapability.Base * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ (err: T): void; } @@ -156,7 +156,7 @@ export interface ErrorCallback { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface AsyncCallback { /** @@ -191,7 +191,7 @@ export interface AsyncCallback { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ (err: BusinessError, data: T): void; } @@ -225,7 +225,7 @@ export interface AsyncCallback { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface BusinessError extends Error { /** @@ -256,7 +256,7 @@ export interface BusinessError extends Error { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ code: number; /** @@ -287,7 +287,7 @@ export interface BusinessError extends Error { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ data?: T; } diff --git a/api/@ohos.base.static.d.ets b/api/@ohos.base.static.d.ets index 3e22da2fda..861ec52f31 100644 --- a/api/@ohos.base.static.d.ets +++ b/api/@ohos.base.static.d.ets @@ -23,7 +23,7 @@ * * @typedef { Callback } * @syscap SystemCapability.Base - * @since 20 + * @since 20 static */ export type Callback = (data: T) => void; @@ -32,7 +32,7 @@ * * @typedef { ErrorCallback } * @syscap SystemCapability.Base - * @since 20 + * @since 20 static */ export type ErrorCallback = (err: T)=> void; @@ -41,20 +41,20 @@ * * @typedef { AsyncCallback } * @syscap SystemCapability.Base - * @since 20 + * @since 20 static */ export type AsyncCallback = (err: BusinessError | null, data: T | undefined)=> void; /** * Defines the error interface. * @syscap SystemCapability.Base - * @since 20 + * @since 20 static */ export declare class BusinessError extends Error { /** * A constructor used to create a BusinessError object * @syscap SystemCapability.Base - * @since 20 + * @since 20 static */ constructor(); /** @@ -62,7 +62,7 @@ * @param { int } code * @param { Error } error * @syscap SystemCapability.Base - * @since 20 + * @since 20 static */ constructor(code: int, error: Error); /** @@ -71,7 +71,7 @@ * @param { T } data * @param { Error } error * @syscap SystemCapability.Base - * @since 20 + * @since 20 static */ constructor(code: int, data: T, error: Error); @@ -79,14 +79,14 @@ * Defines the basic error code. * @type { int } code * @syscap SystemCapability.Base - * @since 20 + * @since 20 static */ code: int; /** * Defines the additional information for business * @type { ?T } data * @syscap SystemCapability.Base - * @since 20 + * @since 20 static */ data?: T; } @@ -96,7 +96,7 @@ * of attributes per level are uncertain, you can use RecordData for initialization. * @typedef RecordData * @syscap SystemCapability.Base - * @since 20 + * @since 20 static * @example * import { RecordData } from '@kit.BasicServiceKit'; * const param: RecordData = { diff --git a/api/@ohos.batteryInfo.d.ets b/api/@ohos.batteryInfo.d.ets index 8e969c8d95..6812850698 100644 --- a/api/@ohos.batteryInfo.d.ets +++ b/api/@ohos.batteryInfo.d.ets @@ -16,7 +16,6 @@ /** * @file * @kit BasicServicesKit - * @arkts 1.2 */ /** @@ -26,7 +25,7 @@ * * @namespace batteryInfo * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ declare namespace batteryInfo { /** @@ -41,7 +40,7 @@ declare namespace batteryInfo { * @throws { BusinessError } 5100101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since 20 + * @since 20 static */ function setBatteryConfig(sceneName: string, sceneValue: string): int; @@ -55,7 +54,7 @@ declare namespace batteryInfo { * @throws { BusinessError } 5100101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since 20 + * @since 20 static */ function getBatteryConfig(sceneName: string): string; @@ -69,7 +68,7 @@ declare namespace batteryInfo { * @throws { BusinessError } 5100101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since 20 + * @since 20 static */ function isBatteryConfigSupported(sceneName: string): boolean; @@ -78,7 +77,7 @@ declare namespace batteryInfo { * * @returns { int } Returns the battery state of charge (SoC) of the current device, in percent. * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ function batterySOC(): int; @@ -87,7 +86,7 @@ declare namespace batteryInfo { * * @returns { BatteryChargeState } Returns the battery charging status of the current device. * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ function chargingStatus(): BatteryChargeState; @@ -96,7 +95,7 @@ declare namespace batteryInfo { * * @returns { BatteryHealthState } Returns the battery health state of the current device. * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ function healthStatus(): BatteryHealthState; @@ -105,7 +104,7 @@ declare namespace batteryInfo { * * @returns { BatteryPluggedType } Returns the charger type of the current device. * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ function pluggedType(): BatteryPluggedType; @@ -114,7 +113,7 @@ declare namespace batteryInfo { * * @returns { int } Returns the battery voltage of the current device, in µV. * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ function voltage(): int; @@ -123,7 +122,7 @@ declare namespace batteryInfo { * * @returns { string } Returns the battery technology of the current device. * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ function technology(): string; @@ -132,7 +131,7 @@ declare namespace batteryInfo { * * @returns { int } Returns the battery temperature of the current device, in 0.1℃. * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ function batteryTemperature(): int; @@ -141,7 +140,7 @@ declare namespace batteryInfo { * * @returns { boolean } Returns true if the battery is present; returns false if the battery is absent. * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ function isBatteryPresent(): boolean; @@ -150,7 +149,7 @@ declare namespace batteryInfo { * * @returns { BatteryCapacityLevel } Returns the battery capacity level of the current device. * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ function batteryCapacityLevel(): BatteryCapacityLevel; @@ -160,7 +159,7 @@ declare namespace batteryInfo { * @returns { long } Returns the estimated remaining time for the current device to be fully charged, in ms. * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since 20 + * @since 20 static */ function estimatedRemainingChargeTime(): long; @@ -170,7 +169,7 @@ declare namespace batteryInfo { * @returns { int } Returns the battery total energy of the current device, in mAh. * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since 20 + * @since 20 static */ function totalEnergy(): int; @@ -179,7 +178,7 @@ declare namespace batteryInfo { * * @returns { int } Returns the battery immediate current of the current device, in mA. * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ function nowCurrent(): int; @@ -189,7 +188,7 @@ declare namespace batteryInfo { * @returns { int } Returns the battery remaining energy of the current device, in mAh. * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since 20 + * @since 20 static */ function remainingEnergy(): int; @@ -198,35 +197,35 @@ declare namespace batteryInfo { * * @enum { int } * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ export enum BatteryPluggedType { /** * Unknown type * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ NONE, /** * AC charger * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ AC, /** * USB charger * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ USB, /** * Wireless charger * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ WIRELESS } @@ -236,35 +235,35 @@ declare namespace batteryInfo { * * @enum { int } * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ export enum BatteryChargeState { /** * Unknown state. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ NONE, /** * The battery is being charged. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ ENABLE, /** * The battery is not being charged. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ DISABLE, /** * The battery is fully charged. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ FULL } @@ -274,49 +273,49 @@ declare namespace batteryInfo { * * @enum { int } * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ export enum BatteryHealthState { /** * Unknown state. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ UNKNOWN, /** * The battery is in healthy state. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ GOOD, /** * The battery is overheated. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ OVERHEAT, /** * The battery voltage is over high. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ OVERVOLTAGE, /** * The battery temperature is low. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ COLD, /** * The battery is dead. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ DEAD } @@ -326,56 +325,56 @@ declare namespace batteryInfo { * * @enum { int } * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ export enum BatteryCapacityLevel { /** * The battery is in full capacity level. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ LEVEL_FULL, /** * The battery is in high capacity level. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ LEVEL_HIGH, /** * The battery is in normal capacity level. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ LEVEL_NORMAL, /** * The battery is in low capacity level. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ LEVEL_LOW, /** * The battery is in warning low capacity level. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ LEVEL_WARNING, /** * The battery is in critical low capacity level. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ LEVEL_CRITICAL, /** * The battery is in the lowest capacity level, system will shut down automatically in a few seconds. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ LEVEL_SHUTDOWN } @@ -385,70 +384,70 @@ declare namespace batteryInfo { * * @enum { string } * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ export enum CommonEventBatteryChangedKey { /** * Extra code of batterySOC. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ EXTRA_SOC = 'soc', /** * Extra code of chargingStatus. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ EXTRA_CHARGE_STATE = 'chargeState', /** * Extra code of healthStatus. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ EXTRA_HEALTH_STATE = 'healthState', /** * Extra code of pluggedType. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ EXTRA_PLUGGED_TYPE = 'pluggedType', /** * Extra code of voltage. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ EXTRA_VOLTAGE = 'voltage', /** * Extra code of technology. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ EXTRA_TECHNOLOGY = 'technology', /** * Extra code of batteryTemperature. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ EXTRA_TEMPERATURE = 'temperature', /** * Extra code of isBatteryPresent. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ EXTRA_PRESENT = 'present', /** * Extra code of batteryCapacityLevel. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 20 + * @since 20 static */ EXTRA_CAPACITY_LEVEL = 'capacityLevel' } diff --git a/api/@ohos.batteryInfo.d.ts b/api/@ohos.batteryInfo.d.ts index 9d6e0cf842..add9c18608 100644 --- a/api/@ohos.batteryInfo.d.ts +++ b/api/@ohos.batteryInfo.d.ts @@ -35,7 +35,7 @@ * @namespace batteryInfo * @syscap SystemCapability.PowerManager.BatteryManager.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ declare namespace batteryInfo { /** @@ -51,7 +51,7 @@ declare namespace batteryInfo { * @throws { BusinessError } 5100101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since 11 + * @since 11 dynamic */ function setBatteryConfig(sceneName: string, sceneValue: string): number; @@ -66,7 +66,7 @@ declare namespace batteryInfo { * @throws { BusinessError } 5100101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since 11 + * @since 11 dynamic */ function getBatteryConfig(sceneName: string): string; @@ -81,7 +81,7 @@ declare namespace batteryInfo { * @throws { BusinessError } 5100101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since 11 + * @since 11 dynamic */ function isBatteryConfigSupported(sceneName: string): boolean; @@ -97,7 +97,7 @@ declare namespace batteryInfo { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ const batterySOC: number; @@ -113,7 +113,7 @@ declare namespace batteryInfo { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ const chargingStatus: BatteryChargeState; @@ -121,7 +121,7 @@ declare namespace batteryInfo { * Battery health state of the current device. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ const healthStatus: BatteryHealthState; @@ -129,7 +129,7 @@ declare namespace batteryInfo { * Charger type of the current device. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ const pluggedType: BatteryPluggedType; @@ -137,7 +137,7 @@ declare namespace batteryInfo { * Battery voltage of the current device, in µV. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ const voltage: number; @@ -145,7 +145,7 @@ declare namespace batteryInfo { * Battery technology of the current device. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ const technology: string; @@ -153,7 +153,7 @@ declare namespace batteryInfo { * Battery temperature of the current device, in 0.1℃. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ const batteryTemperature: number; @@ -161,7 +161,7 @@ declare namespace batteryInfo { * Battery present state of the current device. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 7 + * @since 7 dynamic */ const isBatteryPresent: boolean; @@ -169,7 +169,7 @@ declare namespace batteryInfo { * Battery capacity level of the current device. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ const batteryCapacityLevel: BatteryCapacityLevel; @@ -178,7 +178,7 @@ declare namespace batteryInfo { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ const estimatedRemainingChargeTime: number; @@ -187,7 +187,7 @@ declare namespace batteryInfo { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ const totalEnergy: number; @@ -195,7 +195,7 @@ declare namespace batteryInfo { * Battery immediate current of the current device, in mA. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 12 + * @since 12 dynamic */ const nowCurrent: number; @@ -204,7 +204,7 @@ declare namespace batteryInfo { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ const remainingEnergy: number; @@ -213,35 +213,35 @@ declare namespace batteryInfo { * * @enum { number } * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ export enum BatteryPluggedType { /** * Unknown type * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ NONE, /** * AC charger * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ AC, /** * USB charger * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ USB, /** * Wireless charger * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ WIRELESS } @@ -259,7 +259,7 @@ declare namespace batteryInfo { * @enum { number } * @syscap SystemCapability.PowerManager.BatteryManager.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export enum BatteryChargeState { /** @@ -273,7 +273,7 @@ declare namespace batteryInfo { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ NONE, /** @@ -287,7 +287,7 @@ declare namespace batteryInfo { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ ENABLE, /** @@ -301,7 +301,7 @@ declare namespace batteryInfo { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ DISABLE, /** @@ -315,7 +315,7 @@ declare namespace batteryInfo { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ FULL } @@ -325,49 +325,49 @@ declare namespace batteryInfo { * * @enum { number } * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ export enum BatteryHealthState { /** * Unknown state. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ UNKNOWN, /** * The battery is in healthy state. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ GOOD, /** * The battery is overheated. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ OVERHEAT, /** * The battery voltage is over high. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ OVERVOLTAGE, /** * The battery temperature is low. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ COLD, /** * The battery is dead. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 6 + * @since 6 dynamic */ DEAD } @@ -377,56 +377,56 @@ declare namespace batteryInfo { * * @enum { number } * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ export enum BatteryCapacityLevel { /** * The battery is in full capacity level. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ LEVEL_FULL, /** * The battery is in high capacity level. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ LEVEL_HIGH, /** * The battery is in normal capacity level. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ LEVEL_NORMAL, /** * The battery is in low capacity level. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ LEVEL_LOW, /** * The battery is in warning low capacity level. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ LEVEL_WARNING, /** * The battery is in critical low capacity level. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ LEVEL_CRITICAL, /** * The battery is in the lowest capacity level, system will shut down automatically in a few seconds. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ LEVEL_SHUTDOWN } @@ -436,70 +436,70 @@ declare namespace batteryInfo { * * @enum { string } * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ export enum CommonEventBatteryChangedKey { /** * Extra code of batterySOC. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ EXTRA_SOC = 'soc', /** * Extra code of chargingStatus. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ EXTRA_CHARGE_STATE = 'chargeState', /** * Extra code of healthStatus. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ EXTRA_HEALTH_STATE = 'healthState', /** * Extra code of pluggedType. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ EXTRA_PLUGGED_TYPE = 'pluggedType', /** * Extra code of voltage. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ EXTRA_VOLTAGE = 'voltage', /** * Extra code of technology. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ EXTRA_TECHNOLOGY = 'technology', /** * Extra code of batteryTemperature. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ EXTRA_TEMPERATURE = 'temperature', /** * Extra code of isBatteryPresent. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ EXTRA_PRESENT = 'present', /** * Extra code of batteryCapacityLevel. * * @syscap SystemCapability.PowerManager.BatteryManager.Core - * @since 9 + * @since 9 dynamic */ EXTRA_CAPACITY_LEVEL = 'capacityLevel' } diff --git a/api/@ohos.batteryStatistics.d.ts b/api/@ohos.batteryStatistics.d.ts index 1ccd48e007..9a9873889e 100644 --- a/api/@ohos.batteryStatistics.d.ts +++ b/api/@ohos.batteryStatistics.d.ts @@ -16,7 +16,6 @@ /** * @file * @kit BasicServicesKit - * @arkts 1.1&1.2 */ import { AsyncCallback, BusinessError } from './@ohos.base'; @@ -27,8 +26,8 @@ import { AsyncCallback, BusinessError } from './@ohos.base'; * @namespace batteryStats * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ declare namespace batteryStats { /** @@ -37,8 +36,8 @@ declare namespace batteryStats { * @enum { int } * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ export enum ConsumptionType { /** @@ -46,8 +45,8 @@ declare namespace batteryStats { * * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ CONSUMPTION_TYPE_INVALID = -17, @@ -56,8 +55,8 @@ declare namespace batteryStats { * * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ CONSUMPTION_TYPE_APP, @@ -66,8 +65,8 @@ declare namespace batteryStats { * * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ CONSUMPTION_TYPE_BLUETOOTH, @@ -76,8 +75,8 @@ declare namespace batteryStats { * * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ CONSUMPTION_TYPE_IDLE, @@ -86,8 +85,8 @@ declare namespace batteryStats { * * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ CONSUMPTION_TYPE_PHONE, @@ -96,8 +95,8 @@ declare namespace batteryStats { * * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ CONSUMPTION_TYPE_RADIO, @@ -106,8 +105,8 @@ declare namespace batteryStats { * * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ CONSUMPTION_TYPE_SCREEN, @@ -116,8 +115,8 @@ declare namespace batteryStats { * * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ CONSUMPTION_TYPE_USER, @@ -126,8 +125,8 @@ declare namespace batteryStats { * * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ CONSUMPTION_TYPE_WIFI } @@ -140,8 +139,8 @@ declare namespace batteryStats { * @throws { BusinessError } 4600101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getBatteryStats(): Promise>; @@ -155,8 +154,8 @@ declare namespace batteryStats { * @throws { BusinessError } 4600101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getBatteryStats(callback: AsyncCallback>): void; @@ -170,8 +169,8 @@ declare namespace batteryStats { * @throws { BusinessError } 4600101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getAppPowerValue(uid: int): double; @@ -185,8 +184,8 @@ declare namespace batteryStats { * @throws { BusinessError } 4600101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getAppPowerPercent(uid: int): double; @@ -201,8 +200,8 @@ declare namespace batteryStats { * @throws { BusinessError } 4600101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getHardwareUnitPowerValue(type: ConsumptionType): double; @@ -217,8 +216,8 @@ declare namespace batteryStats { * @throws { BusinessError } 4600101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getHardwareUnitPowerPercent(type: ConsumptionType): double; @@ -229,8 +228,8 @@ declare namespace batteryStats { * @typedef BatteryStatsInfo * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ interface BatteryStatsInfo { /** @@ -239,8 +238,8 @@ declare namespace batteryStats { * @type { int } * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ uid: int; @@ -250,8 +249,8 @@ declare namespace batteryStats { * @type { ConsumptionType } * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ type: ConsumptionType; @@ -261,8 +260,8 @@ declare namespace batteryStats { * @type { double } * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ power: double; } @@ -274,7 +273,7 @@ declare namespace batteryStats { * @namespace batteryStats * @syscap SystemCapability.PowerManager.BatteryStatistics * @systemapi - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ export default batteryStats; diff --git a/api/@ohos.bluetooth.a2dp.d.ts b/api/@ohos.bluetooth.a2dp.d.ts index b9774a32f6..b0f4c43816 100644 --- a/api/@ohos.bluetooth.a2dp.d.ts +++ b/api/@ohos.bluetooth.a2dp.d.ts @@ -34,8 +34,8 @@ import type baseProfile from './@ohos.bluetooth.baseProfile'; * @namespace a2dp * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ declare namespace a2dp { /** @@ -43,8 +43,8 @@ declare namespace a2dp { * * @typedef { baseProfile.BaseProfile } BaseProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ type BaseProfile = baseProfile.BaseProfile; @@ -67,8 +67,8 @@ declare namespace a2dp { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function createA2dpSrcProfile(): A2dpSourceProfile; @@ -86,8 +86,8 @@ declare namespace a2dp { * @typedef A2dpSourceProfile * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface A2dpSourceProfile extends BaseProfile { /** @@ -106,8 +106,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ connect(deviceId: string): void; @@ -127,8 +127,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ disconnect(deviceId: string): void; @@ -147,8 +147,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getPlayingState(deviceId: string): PlayingState; @@ -168,8 +168,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isAbsoluteVolumeSupported(deviceId: string): Promise; @@ -189,8 +189,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isAbsoluteVolumeSupported(deviceId: string, callback: AsyncCallback): void; @@ -210,8 +210,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isAbsoluteVolumeEnabled(deviceId: string): Promise; @@ -231,8 +231,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isAbsoluteVolumeEnabled(deviceId: string, callback: AsyncCallback): void; @@ -252,8 +252,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enableAbsoluteVolume(deviceId: string): Promise; @@ -273,8 +273,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enableAbsoluteVolume(deviceId: string, callback: AsyncCallback): void; @@ -294,8 +294,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ disableAbsoluteVolume(deviceId: string): Promise; @@ -315,8 +315,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ disableAbsoluteVolume(deviceId: string, callback: AsyncCallback): void; @@ -335,7 +335,7 @@ declare namespace a2dp { * @throws { BusinessError } 2902008 - Current device is not an active device. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 19 + * @since 19 dynamic */ getCurrentFullCodecInfo(deviceId: string): CodecInfoList[]; @@ -355,8 +355,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getCurrentCodecInfo(deviceId: string): CodecInfo; @@ -376,8 +376,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setCurrentCodecInfo(deviceId: string, codecInfo: CodecInfo): void; @@ -398,8 +398,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ disableAutoPlay(deviceId: string, duration: int): Promise; @@ -419,8 +419,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enableAutoPlay(deviceId: string): Promise; @@ -441,8 +441,8 @@ declare namespace a2dp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAutoPlayDisabledDuration(deviceId: string): Promise; } @@ -452,8 +452,8 @@ declare namespace a2dp { * * @typedef CodecInfo * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface CodecInfo { /** @@ -461,8 +461,8 @@ declare namespace a2dp { * * @type { CodecType } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ codecType: CodecType; /** @@ -470,8 +470,8 @@ declare namespace a2dp { * * @type { CodecBitsPerSample } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ codecBitsPerSample: CodecBitsPerSample; /** @@ -479,8 +479,8 @@ declare namespace a2dp { * * @type { CodecChannelMode } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ codecChannelMode: CodecChannelMode; /** @@ -488,8 +488,8 @@ declare namespace a2dp { * * @type { CodecSampleRate } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ codecSampleRate: CodecSampleRate; /** @@ -497,7 +497,7 @@ declare namespace a2dp { * * @type { ?CodecBitRate } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ codecBitRate?: CodecBitRate; /** @@ -505,7 +505,7 @@ declare namespace a2dp { * * @type { ?CodecFrameLength } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ codecFrameLength?: CodecFrameLength; } @@ -515,7 +515,7 @@ declare namespace a2dp { * * @typedef CodecInfoList * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ interface CodecInfoList { /** @@ -523,7 +523,7 @@ declare namespace a2dp { * * @type { CodecType } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ codecType: CodecType; /** @@ -531,7 +531,7 @@ declare namespace a2dp { * * @type { CodecBitsPerSample[] } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ codecBitsPerSampleArray: CodecBitsPerSample[]; /** @@ -539,7 +539,7 @@ declare namespace a2dp { * * @type { CodecChannelMode[] } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ codecChannelModeArray: CodecChannelMode[]; /** @@ -547,7 +547,7 @@ declare namespace a2dp { * * @type { CodecSampleRate[] } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ codecSampleRateArray: CodecSampleRate[]; /** @@ -555,7 +555,7 @@ declare namespace a2dp { * * @type { CodecBitRate[] } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ codecBitRateArray: CodecBitRate[]; /** @@ -563,7 +563,7 @@ declare namespace a2dp { * * @type { CodecFrameLength[] } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ codecFrameLengthArray: CodecFrameLength[]; } @@ -573,24 +573,24 @@ declare namespace a2dp { * * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum PlayingState { /** * Not playing. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ STATE_NOT_PLAYING, /** * Playing. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ STATE_PLAYING } @@ -600,56 +600,56 @@ declare namespace a2dp { * * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum CodecType { /** * invalid codec type. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_TYPE_INVALID = -1, /** * SBC - Sub-band coding. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_TYPE_SBC = 0, /** * AAC -Advanced Audio Coding. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_TYPE_AAC = 1, /** * L2HC. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_TYPE_L2HC = 2, /** * L2HCST. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ CODEC_TYPE_L2HCST = 3, /** * LDAC. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ CODEC_TYPE_LDAC = 4 } @@ -659,32 +659,32 @@ declare namespace a2dp { * * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum CodecChannelMode { /** * Codec channel mode none. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_CHANNEL_MODE_NONE = 0, /** * Codec channel mode MONO. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_CHANNEL_MODE_MONO = 1, /** * Codec channel mode STEREO. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_CHANNEL_MODE_STEREO = 2 } @@ -694,40 +694,40 @@ declare namespace a2dp { * * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum CodecBitsPerSample { /** * Codec bits per sample none. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_BITS_PER_SAMPLE_NONE = 0, /** * Codec 16 bits per sample. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_BITS_PER_SAMPLE_16 = 1, /** * Codec 24 bits per sample. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_BITS_PER_SAMPLE_24 = 2, /** * Codec 32 bits per sample. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_BITS_PER_SAMPLE_32 = 3 } @@ -737,64 +737,64 @@ declare namespace a2dp { * * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum CodecSampleRate { /** * Codec sample rate none. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_SAMPLE_RATE_NONE = 0, /** * Codec sample rate 44.1k. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_SAMPLE_RATE_44100 = 1, /** * Codec sample rate 48k. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_SAMPLE_RATE_48000 = 2, /** * Codec sample rate 88.2k. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_SAMPLE_RATE_88200 = 3, /** * Codec sample rate 96k. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_SAMPLE_RATE_96000 = 4, /** * Codec sample rate 176.4k. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_SAMPLE_RATE_176400 = 5, /** * Codec sample rate 192k. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CODEC_SAMPLE_RATE_192000 = 6 } @@ -803,70 +803,70 @@ declare namespace a2dp { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ enum CodecBitRate { /** * Codec bit rate 96k. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ CODEC_BIT_RATE_96000 = 0, /** * Codec bit rate 128k. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ CODEC_BIT_RATE_128000 = 1, /** * Codec bit rate 192k. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ CODEC_BIT_RATE_192000 = 2, /** * Codec bit rate 256k. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ CODEC_BIT_RATE_256000 = 3, /** * Codec bit rate 320k. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ CODEC_BIT_RATE_320000 = 4, /** * Codec bit rate 480k. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ CODEC_BIT_RATE_480000 = 5, /** * Codec bit rate 640k. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ CODEC_BIT_RATE_640000 = 6, /** * Codec bit rate 960k. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ CODEC_BIT_RATE_960000 = 7, /** * Codec bit rate adaptive bitrate streaming. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ CODEC_BIT_RATE_ABR = 8 } @@ -875,21 +875,21 @@ declare namespace a2dp { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ enum CodecFrameLength { /** * Codec frame length 5ms. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ CODEC_FRAME_LENGTH_5MS = 0, /** * Codec frame length 10ms. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 19 + * @since 19 dynamic */ CODEC_FRAME_LENGTH_10MS = 1 } diff --git a/api/@ohos.bluetooth.access.d.ts b/api/@ohos.bluetooth.access.d.ts index 886358a213..61b6baab27 100644 --- a/api/@ohos.bluetooth.access.d.ts +++ b/api/@ohos.bluetooth.access.d.ts @@ -42,8 +42,8 @@ import type { AsyncCallback, Callback } from './@ohos.base'; * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ declare namespace access { /** @@ -80,8 +80,8 @@ declare namespace access { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function enableBluetooth(): void; @@ -119,8 +119,8 @@ declare namespace access { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function disableBluetooth(): void; @@ -138,8 +138,7 @@ declare namespace access { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function enableBluetoothAsync(): Promise; @@ -157,8 +156,7 @@ declare namespace access { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function disableBluetoothAsync(): Promise; @@ -175,8 +173,7 @@ declare namespace access { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function notifyDialogResult(notifyDialogResultParams: NotifyDialogResultParams): Promise; @@ -192,8 +189,8 @@ declare namespace access { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function restrictBluetooth(): Promise; @@ -232,8 +229,8 @@ declare namespace access { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function getState(): BluetoothState; @@ -251,8 +248,8 @@ declare namespace access { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function factoryReset(callback: AsyncCallback): void; @@ -268,8 +265,8 @@ declare namespace access { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function factoryReset(): Promise; @@ -285,8 +282,8 @@ declare namespace access { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getLocalAddress(): string; @@ -347,8 +344,8 @@ declare namespace access { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function on(type: 'stateChange', callback: Callback): void; @@ -409,8 +406,8 @@ declare namespace access { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function off(type: 'stateChange', callback?: Callback): void; @@ -430,8 +427,8 @@ declare namespace access { * @throws { BusinessError } 2900099 - Add persistent device address failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function addPersistentDeviceId(deviceId: string): Promise; @@ -449,8 +446,8 @@ declare namespace access { * @throws { BusinessError } 2900099 - delete persistent device address failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function deletePersistentDeviceId(deviceId: string): Promise; @@ -465,8 +462,8 @@ declare namespace access { * @throws { BusinessError } 2900099 - Get persistent device address failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function getPersistentDeviceIds(): string[]; @@ -484,8 +481,8 @@ declare namespace access { * @throws { BusinessError } 2900099 - Check persistent device address failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function isValidRandomDeviceId(deviceId: string): boolean; @@ -511,8 +508,8 @@ declare namespace access { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ export enum BluetoothState { /** @@ -534,8 +531,8 @@ declare namespace access { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ STATE_OFF = 0, /** @@ -557,8 +554,8 @@ declare namespace access { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ STATE_TURNING_ON = 1, /** @@ -580,8 +577,8 @@ declare namespace access { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ STATE_ON = 2, /** @@ -603,8 +600,8 @@ declare namespace access { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ STATE_TURNING_OFF = 3, /** @@ -618,8 +615,8 @@ declare namespace access { * * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ STATE_BLE_TURNING_ON = 4, /** @@ -633,8 +630,8 @@ declare namespace access { * * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ STATE_BLE_ON = 5, /** @@ -648,8 +645,8 @@ declare namespace access { * * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ STATE_BLE_TURNING_OFF = 6 } @@ -660,8 +657,7 @@ declare namespace access { * @typedef NotifyDialogResultParams * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface NotifyDialogResultParams { /** @@ -670,8 +666,7 @@ declare namespace access { * @type { DialogType } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ dialogType: DialogType; /** @@ -681,8 +676,7 @@ declare namespace access { * @type { boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ dialogResult: boolean; } @@ -693,8 +687,7 @@ declare namespace access { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum DialogType { /** @@ -702,8 +695,7 @@ declare namespace access { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ BLUETOOTH_SWITCH = 0 } diff --git a/api/@ohos.bluetooth.baseProfile.d.ts b/api/@ohos.bluetooth.baseProfile.d.ts index 27f240b774..62233100d1 100644 --- a/api/@ohos.bluetooth.baseProfile.d.ts +++ b/api/@ohos.bluetooth.baseProfile.d.ts @@ -34,8 +34,8 @@ import type constant from './@ohos.bluetooth.constant'; * @namespace baseProfile * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ declare namespace baseProfile { /** @@ -51,8 +51,8 @@ declare namespace baseProfile { * @typedef { constant.ProfileConnectionState } ProfileConnectionState * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ type ProfileConnectionState = constant.ProfileConnectionState; @@ -62,8 +62,8 @@ declare namespace baseProfile { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export enum ConnectionStrategy { /** @@ -71,8 +71,8 @@ declare namespace baseProfile { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CONNECTION_STRATEGY_UNSUPPORTED = 0, /** @@ -80,8 +80,8 @@ declare namespace baseProfile { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CONNECTION_STRATEGY_ALLOWED = 1, /** @@ -89,8 +89,8 @@ declare namespace baseProfile { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CONNECTION_STRATEGY_FORBIDDEN = 2 } @@ -108,8 +108,8 @@ declare namespace baseProfile { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum DisconnectCause { /** @@ -123,48 +123,48 @@ declare namespace baseProfile { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ USER_DISCONNECT = 0, /** * The connection needs to be initiated from the keyboard side. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONNECT_FROM_KEYBOARD = 1, /** * The connection needs to be initiated from the mouse side. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONNECT_FROM_MOUSE = 2, /** * The connection needs to be initiated from the car side. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONNECT_FROM_CAR = 3, /** * Too many devices are currently connected. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TOO_MANY_CONNECTED_DEVICES = 4, /** * Connection failed due to an internal error. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONNECT_FAIL_INTERNAL = 5 } @@ -182,8 +182,8 @@ declare namespace baseProfile { * @typedef StateChangeParam * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ export interface StateChangeParam { /** @@ -199,8 +199,8 @@ declare namespace baseProfile { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ deviceId: string; @@ -217,8 +217,8 @@ declare namespace baseProfile { * @type { ProfileConnectionState } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ state: ProfileConnectionState; @@ -235,8 +235,8 @@ declare namespace baseProfile { * @type { DisconnectCause } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ cause: DisconnectCause; } @@ -254,8 +254,8 @@ declare namespace baseProfile { * @typedef BaseProfile * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ export interface BaseProfile { /** @@ -276,8 +276,8 @@ declare namespace baseProfile { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setConnectionStrategy(deviceId: string, strategy: ConnectionStrategy): Promise; @@ -299,8 +299,8 @@ declare namespace baseProfile { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setConnectionStrategy(deviceId: string, strategy: ConnectionStrategy, callback: AsyncCallback): void; @@ -321,8 +321,8 @@ declare namespace baseProfile { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getConnectionStrategy(deviceId: string, callback: AsyncCallback): void; @@ -343,8 +343,8 @@ declare namespace baseProfile { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getConnectionStrategy(deviceId: string): Promise; @@ -375,8 +375,8 @@ declare namespace baseProfile { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getConnectedDevices(): Array; @@ -413,8 +413,8 @@ declare namespace baseProfile { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getConnectionState(deviceId: string): ProfileConnectionState; @@ -443,8 +443,8 @@ declare namespace baseProfile { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'connectionStateChange', callback: Callback): void; @@ -473,8 +473,8 @@ declare namespace baseProfile { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'connectionStateChange', callback?: Callback): void; } diff --git a/api/@ohos.bluetooth.ble.d.ts b/api/@ohos.bluetooth.ble.d.ts index eb1d6594a1..b5e1b2ff12 100644 --- a/api/@ohos.bluetooth.ble.d.ts +++ b/api/@ohos.bluetooth.ble.d.ts @@ -43,8 +43,8 @@ import type constant from './@ohos.bluetooth.constant'; * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ declare namespace ble { /** @@ -68,8 +68,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ type ProfileConnectionState = constant.ProfileConnectionState; @@ -95,8 +95,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function createGattServer(): GattServer; @@ -134,8 +134,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function createGattClientDevice(deviceId: string): GattClientDevice; @@ -146,8 +146,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function createBleScanner(): BleScanner; @@ -176,8 +176,8 @@ declare namespace ble { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function getConnectedBLEDevices(): Array; @@ -241,7 +241,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ function startBLEScan(filters: Array, options?: ScanOptions): void; @@ -262,8 +262,7 @@ declare namespace ble { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function startBLEScan(filters: Array | null, options?: ScanOptions): void; @@ -304,8 +303,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function stopBLEScan(): void; @@ -382,8 +381,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void; @@ -424,8 +422,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function stopAdvertising(): void; @@ -488,8 +486,7 @@ declare namespace ble { * @throws { BusinessError } 2902054 - The length of the advertising data exceeds the upper limit. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function startAdvertising(advertisingParams: AdvertisingParams, callback: AsyncCallback): void; @@ -552,8 +549,7 @@ declare namespace ble { * @throws { BusinessError } 2902054 - The length of the advertising data exceeds the upper limit. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function startAdvertising(advertisingParams: AdvertisingParams): Promise; @@ -588,8 +584,7 @@ declare namespace ble { * @throws { BusinessError } 2900099 - Operation failed. * @throws { BusinessError } 2902055 - Invalid advertising id. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function enableAdvertising(advertisingEnableParams: AdvertisingEnableParams, callback: AsyncCallback): void; @@ -624,8 +619,7 @@ declare namespace ble { * @throws { BusinessError } 2900099 - Operation failed. * @throws { BusinessError } 2902055 - Invalid advertising id. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function enableAdvertising(advertisingEnableParams: AdvertisingEnableParams): Promise; @@ -660,8 +654,7 @@ declare namespace ble { * @throws { BusinessError } 2900099 - Operation failed. * @throws { BusinessError } 2902055 - Invalid advertising id. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function disableAdvertising(advertisingDisableParams: AdvertisingDisableParams, callback: AsyncCallback): void; @@ -696,8 +689,7 @@ declare namespace ble { * @throws { BusinessError } 2900099 - Operation failed. * @throws { BusinessError } 2902055 - Invalid advertising id. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function disableAdvertising(advertisingDisableParams: AdvertisingDisableParams): Promise; @@ -753,7 +745,7 @@ declare namespace ble { * @throws { BusinessError } 2902055 - Invalid advertising id. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ function stopAdvertising(advertisingId: number, callback: AsyncCallback): void; @@ -809,7 +801,7 @@ declare namespace ble { * @throws { BusinessError } 2902055 - Invalid advertising id. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ function stopAdvertising(advertisingId: number): Promise; @@ -840,7 +832,7 @@ declare namespace ble { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since 13 + * @since 13 dynamic */ function on(type: 'advertisingStateChange', callback: Callback): void; @@ -871,7 +863,7 @@ declare namespace ble { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since 13 + * @since 13 dynamic */ function off(type: 'advertisingStateChange', callback?: Callback): void; @@ -918,7 +910,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ function on(type: 'BLEDeviceFind', callback: Callback>): void; @@ -965,7 +957,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ function off(type: 'BLEDeviceFind', callback?: Callback>): void; @@ -991,8 +983,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface GattServer { /** @@ -1044,8 +1036,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ addService(service: GattService): void; @@ -1098,8 +1090,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ removeService(serviceUuid: string): void; @@ -1140,8 +1132,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ close(): void; @@ -1200,8 +1192,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ notifyCharacteristicChanged( deviceId: string, @@ -1264,8 +1256,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): Promise; @@ -1315,8 +1307,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ sendResponse(serverResponse: ServerResponse): void; @@ -1360,7 +1352,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ on(type: 'characteristicRead', callback: Callback): void; @@ -1404,7 +1396,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ off(type: 'characteristicRead', callback?: Callback): void; @@ -1448,7 +1440,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ on(type: 'characteristicWrite', callback: Callback): void; @@ -1492,7 +1484,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ off(type: 'characteristicWrite', callback?: Callback): void; @@ -1536,7 +1528,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ on(type: 'descriptorRead', callback: Callback): void; @@ -1580,7 +1572,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ off(type: 'descriptorRead', callback?: Callback): void; @@ -1624,7 +1616,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ on(type: 'descriptorWrite', callback: Callback): void; @@ -1668,7 +1660,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ off(type: 'descriptorWrite', callback?: Callback): void; @@ -1712,7 +1704,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ on(type: 'connectionStateChange', callback: Callback): void; @@ -1756,7 +1748,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ off(type: 'connectionStateChange', callback?: Callback): void; @@ -1785,7 +1777,7 @@ declare namespace ble { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since 13 + * @since 13 dynamic */ on(type: 'BLEMtuChange', callback: Callback): void; @@ -1814,7 +1806,7 @@ declare namespace ble { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since 13 + * @since 13 dynamic */ off(type: 'BLEMtuChange', callback?: Callback): void; } @@ -1841,8 +1833,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface GattClientDevice { /** @@ -1885,8 +1877,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ connect(): void; @@ -1927,8 +1919,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ disconnect(): void; @@ -1972,8 +1964,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ close(): void; @@ -2020,8 +2012,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getDeviceName(callback: AsyncCallback): void; @@ -2068,8 +2060,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getDeviceName(): Promise; @@ -2116,7 +2108,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ getServices(callback: AsyncCallback>): void; @@ -2163,7 +2155,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ getServices(): Promise>; @@ -2240,8 +2232,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback): void; @@ -2318,8 +2309,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ readCharacteristicValue(characteristic: BLECharacteristic): Promise; @@ -2396,8 +2386,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback): void; @@ -2474,8 +2463,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ readDescriptorValue(descriptor: BLEDescriptor): Promise; @@ -2556,7 +2544,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ writeCharacteristicValue( characteristic: BLECharacteristic, @@ -2641,7 +2629,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ writeCharacteristicValue(characteristic: BLECharacteristic, writeType: GattWriteType): Promise; @@ -2718,7 +2706,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ writeDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback): void; @@ -2795,7 +2783,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ writeDescriptorValue(descriptor: BLEDescriptor): Promise; @@ -2840,7 +2828,7 @@ declare namespace ble { * @throws { BusinessError } 2901003 - The connection is not established. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ getRssiValue(callback: AsyncCallback): void; @@ -2885,7 +2873,7 @@ declare namespace ble { * @throws { BusinessError } 2901003 - The connection is not established. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ getRssiValue(): Promise; @@ -2932,8 +2920,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ setBLEMtuSize(mtu: int): void; @@ -2990,7 +2978,7 @@ declare namespace ble { * @throws { BusinessError } 2901003 - The connection is not established. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ setCharacteristicChangeNotification( characteristic: BLECharacteristic, @@ -3051,7 +3039,7 @@ declare namespace ble { * @throws { BusinessError } 2901003 - The connection is not established. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ setCharacteristicChangeNotification(characteristic: BLECharacteristic, enable: boolean): Promise; @@ -3108,8 +3096,7 @@ declare namespace ble { * @throws { BusinessError } 2901003 - The connection is not established. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ setCharacteristicChangeIndication( characteristic: BLECharacteristic, @@ -3170,8 +3157,7 @@ declare namespace ble { * @throws { BusinessError } 2901003 - The connection is not established. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ setCharacteristicChangeIndication(characteristic: BLECharacteristic, enable: boolean): Promise; @@ -3200,7 +3186,7 @@ declare namespace ble { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'BLECharacteristicChange', callback: Callback): void; @@ -3229,7 +3215,7 @@ declare namespace ble { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'BLECharacteristicChange', callback?: Callback): void; @@ -3273,7 +3259,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ on(type: 'BLEConnectionStateChange', callback: Callback): void; @@ -3317,7 +3303,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ off(type: 'BLEConnectionStateChange', callback?: Callback): void; @@ -3361,7 +3347,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ on(type: 'BLEMtuChange', callback: Callback): void; @@ -3405,7 +3391,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 13 + * @since 13 dynamic */ off(type: 'BLEMtuChange', callback?: Callback): void; } @@ -3418,8 +3404,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ interface BleScanner { /** @@ -3447,7 +3433,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ startScan(filters: Array, options?: ScanOptions): Promise; @@ -3473,8 +3459,7 @@ declare namespace ble { * @throws { BusinessError } 2902050 - Failed to start scan as Ble scan is already started by the app. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ startScan(filters: Array | null, options?: ScanOptions): Promise; /** @@ -3490,8 +3475,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ stopScan(): Promise; /** @@ -3508,7 +3493,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ on(type: 'BLEDeviceFind', callback: Callback): void; /** @@ -3525,7 +3510,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ off(type: 'BLEDeviceFind', callback?: Callback): void; } @@ -3552,8 +3537,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface GattService { /** @@ -3578,8 +3563,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceUuid: string; /** @@ -3604,8 +3589,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ isPrimary: boolean; /** @@ -3630,8 +3615,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ characteristics: Array; /** @@ -3647,8 +3632,8 @@ declare namespace ble { * @type { ?Array } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ includeServices?: Array; } @@ -3675,8 +3660,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface BLECharacteristic { /** @@ -3701,8 +3686,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceUuid: string; /** @@ -3727,8 +3712,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ characteristicUuid: string; /** @@ -3753,8 +3738,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ characteristicValue: ArrayBuffer; /** @@ -3779,8 +3764,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ descriptors: Array; /** @@ -3805,8 +3790,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ properties?: GattProperties; /** @@ -3816,8 +3801,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ characteristicValueHandle?: int; @@ -3828,7 +3813,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ permissions?: GattPermissions; } @@ -3855,8 +3840,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface BLEDescriptor { /** @@ -3881,8 +3866,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceUuid: string; /** @@ -3907,8 +3892,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ characteristicUuid: string; /** @@ -3933,8 +3918,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ descriptorUuid: string; /** @@ -3959,8 +3944,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ descriptorValue: ArrayBuffer; /** @@ -3970,8 +3955,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ descriptorHandle?: int; @@ -3983,7 +3968,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ permissions?: GattPermissions; } @@ -4010,8 +3995,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface NotifyCharacteristic { /** @@ -4036,8 +4021,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceUuid: string; /** @@ -4062,8 +4047,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ characteristicUuid: string; /** @@ -4088,8 +4073,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ characteristicValue: ArrayBuffer; /** @@ -4107,8 +4092,8 @@ declare namespace ble { * @type { boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ confirm: boolean; } @@ -4135,8 +4120,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface CharacteristicReadRequest { /** @@ -4161,8 +4146,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ deviceId: string; /** @@ -4187,8 +4172,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ transId: int; /** @@ -4204,8 +4189,8 @@ declare namespace ble { * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ offset: int; /** @@ -4230,8 +4215,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ characteristicUuid: string; /** @@ -4256,8 +4241,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceUuid: string; } @@ -4284,8 +4269,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface CharacteristicWriteRequest { /** @@ -4310,8 +4295,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ deviceId: string; /** @@ -4336,8 +4321,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ transId: int; /** @@ -4353,8 +4338,8 @@ declare namespace ble { * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ offset: int; /** @@ -4370,8 +4355,8 @@ declare namespace ble { * @type { boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isPrepared: boolean; /** @@ -4387,8 +4372,8 @@ declare namespace ble { * @type { boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ needRsp: boolean; /** @@ -4413,8 +4398,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ value: ArrayBuffer; /** @@ -4439,8 +4424,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ characteristicUuid: string; /** @@ -4465,8 +4450,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceUuid: string; } @@ -4493,8 +4478,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface DescriptorReadRequest { /** @@ -4519,8 +4504,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ deviceId: string; /** @@ -4545,8 +4530,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ transId: int; /** @@ -4562,8 +4547,8 @@ declare namespace ble { * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ offset: int; /** @@ -4588,8 +4573,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ descriptorUuid: string; /** @@ -4614,8 +4599,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ characteristicUuid: string; /** @@ -4640,8 +4625,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceUuid: string; } @@ -4668,8 +4653,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface DescriptorWriteRequest { /** @@ -4694,8 +4679,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ deviceId: string; /** @@ -4720,8 +4705,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ transId: int; /** @@ -4737,8 +4722,8 @@ declare namespace ble { * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ offset: int; /** @@ -4754,8 +4739,8 @@ declare namespace ble { * @type { boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isPrepared: boolean; /** @@ -4771,8 +4756,8 @@ declare namespace ble { * @type { boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ needRsp: boolean; /** @@ -4797,8 +4782,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ value: ArrayBuffer; /** @@ -4823,8 +4808,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ descriptorUuid: string; /** @@ -4849,8 +4834,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ characteristicUuid: string; /** @@ -4875,8 +4860,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceUuid: string; } @@ -4903,8 +4888,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface ServerResponse { /** @@ -4929,8 +4914,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ deviceId: string; /** @@ -4955,8 +4940,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ transId: int; /** @@ -4981,8 +4966,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ status: int; /** @@ -4998,8 +4983,8 @@ declare namespace ble { * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ offset: int; /** @@ -5024,8 +5009,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ value: ArrayBuffer; } @@ -5052,8 +5037,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface BLEConnectionChangeState { /** @@ -5078,8 +5063,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ deviceId: string; /** @@ -5104,8 +5089,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ state: ProfileConnectionState; } @@ -5132,8 +5117,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface ScanResult { /** @@ -5158,8 +5143,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ deviceId: string; /** @@ -5184,8 +5169,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ rssi: int; /** @@ -5210,8 +5195,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ data: ArrayBuffer; /** @@ -5236,8 +5221,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ deviceName: string; /** @@ -5262,8 +5247,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ connectable: boolean; } @@ -5275,8 +5260,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ interface ScanReport { /** @@ -5286,8 +5271,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ reportType: ScanReportType; /** @@ -5297,8 +5282,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ scanResult: Array; } @@ -5325,8 +5310,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface AdvertiseSetting { /** @@ -5346,8 +5331,8 @@ declare namespace ble { * @type { ?int } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interval?: int; /** @@ -5367,8 +5352,8 @@ declare namespace ble { * @type { ?int } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ txPower?: int; /** @@ -5393,8 +5378,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ connectable?: boolean; } @@ -5421,8 +5406,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface AdvertiseData { /** @@ -5447,8 +5432,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceUuids: Array; /** @@ -5473,8 +5458,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ manufactureData: Array; /** @@ -5499,8 +5484,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceData: Array; /** @@ -5525,8 +5510,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ includeDeviceName?: boolean; /** @@ -5536,8 +5521,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ includeTxPower?: boolean; } @@ -5555,8 +5540,8 @@ declare namespace ble { * @typedef AdvertisingParams * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface AdvertisingParams { /** @@ -5572,8 +5557,8 @@ declare namespace ble { * @type { AdvertiseSetting } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ advertisingSettings: AdvertiseSetting; /** @@ -5589,8 +5574,8 @@ declare namespace ble { * @type { AdvertiseData } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ advertisingData: AdvertiseData; /** @@ -5606,8 +5591,8 @@ declare namespace ble { * @type { ?AdvertiseData } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ advertisingResponse?: AdvertiseData; /** @@ -5617,8 +5602,8 @@ declare namespace ble { * * @type { ?int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ duration?: int; } @@ -5628,8 +5613,8 @@ declare namespace ble { * * @typedef AdvertisingEnableParams * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface AdvertisingEnableParams { /** @@ -5637,8 +5622,8 @@ declare namespace ble { * * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ advertisingId: int; /** @@ -5648,8 +5633,8 @@ declare namespace ble { * * @type { ?int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ duration?: int; } @@ -5659,8 +5644,8 @@ declare namespace ble { * * @typedef AdvertisingDisableParams * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface AdvertisingDisableParams { /** @@ -5668,8 +5653,8 @@ declare namespace ble { * * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ advertisingId: int; } @@ -5687,8 +5672,8 @@ declare namespace ble { * @typedef AdvertisingStateChangeInfo * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface AdvertisingStateChangeInfo { /** @@ -5704,8 +5689,8 @@ declare namespace ble { * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ advertisingId: int; /** @@ -5721,8 +5706,8 @@ declare namespace ble { * @type { AdvertisingState } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ state: AdvertisingState; } @@ -5749,8 +5734,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface ManufactureData { /** @@ -5775,8 +5760,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ manufactureId: int; /** @@ -5801,8 +5786,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ manufactureValue: ArrayBuffer; } @@ -5829,8 +5814,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface ServiceData { /** @@ -5855,8 +5840,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceUuid: string; /** @@ -5881,8 +5866,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceValue: ArrayBuffer; } @@ -5909,8 +5894,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface ScanFilter { /** @@ -5935,8 +5920,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ deviceId?: string; @@ -5962,8 +5947,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ name?: string; @@ -5989,8 +5974,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceUuid?: string; @@ -6016,8 +6001,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceUuidMask?: string; @@ -6043,8 +6028,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceSolicitationUuid?: string; @@ -6070,8 +6055,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceSolicitationUuidMask?: string; @@ -6097,8 +6082,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceData?: ArrayBuffer; @@ -6124,8 +6109,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ serviceDataMask?: ArrayBuffer; @@ -6151,8 +6136,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ manufactureId?: int; @@ -6178,8 +6163,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ manufactureData?: ArrayBuffer; @@ -6205,8 +6190,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ manufactureDataMask?: ArrayBuffer; } @@ -6233,8 +6218,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface ScanOptions { /** @@ -6259,8 +6244,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interval?: int; /** @@ -6285,8 +6270,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ dutyMode?: ScanDuty; /** @@ -6302,8 +6287,8 @@ declare namespace ble { * @type { ?MatchMode } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ matchMode?: MatchMode; /** @@ -6321,8 +6306,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ phyType?: PhyType; /** @@ -6332,8 +6317,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ reportMode?: ScanReportMode; } @@ -6360,8 +6345,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface GattProperties { /** @@ -6386,8 +6371,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ write?: boolean; /** @@ -6412,8 +6397,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ writeNoResponse?: boolean; /** @@ -6438,8 +6423,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ read?: boolean; /** @@ -6464,8 +6449,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ notify?: boolean; /** @@ -6481,8 +6466,8 @@ declare namespace ble { * @type { ?boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ indicate?: boolean; @@ -6492,7 +6477,7 @@ declare namespace ble { * @type { ?boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ broadcast?: boolean; @@ -6502,7 +6487,7 @@ declare namespace ble { * @type { ?boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ authenticatedSignedWrite?: boolean; @@ -6512,7 +6497,7 @@ declare namespace ble { * @type { ?boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ extendedProperties?: boolean; } @@ -6539,8 +6524,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum GattWriteType { /** @@ -6562,8 +6547,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ WRITE = 1, /** @@ -6585,8 +6570,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ WRITE_NO_RESPONSE = 2 } @@ -6613,8 +6598,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum ScanDuty { /** @@ -6636,8 +6621,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ SCAN_MODE_LOW_POWER = 0, /** @@ -6659,8 +6644,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ SCAN_MODE_BALANCED = 1, /** @@ -6682,8 +6667,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ SCAN_MODE_LOW_LATENCY = 2 } @@ -6701,8 +6686,8 @@ declare namespace ble { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum MatchMode { /** @@ -6716,8 +6701,8 @@ declare namespace ble { * * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MATCH_MODE_AGGRESSIVE = 1, /** @@ -6731,8 +6716,8 @@ declare namespace ble { * * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MATCH_MODE_STICKY = 2 } @@ -6750,8 +6735,8 @@ declare namespace ble { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum AdvertisingState { /** @@ -6765,24 +6750,24 @@ declare namespace ble { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ STARTED = 1, /** * advertising temporarily enabled. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ENABLED = 2, /** * advertising temporarily disabled. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DISABLED = 3, /** @@ -6796,8 +6781,8 @@ declare namespace ble { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ STOPPED = 4 } @@ -6817,8 +6802,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum PhyType { /** @@ -6834,8 +6819,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PHY_LE_1M = 1, /** @@ -6851,8 +6836,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PHY_LE_ALL_SUPPORTED = 255 } @@ -6864,8 +6849,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum ScanReportMode { /** @@ -6874,8 +6859,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ NORMAL = 1, /** @@ -6883,7 +6868,7 @@ declare namespace ble { * ScanOptions#interval}. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ BATCH = 2, /** @@ -6893,8 +6878,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ FENCE_SENSITIVITY_LOW = 10, /** @@ -6904,8 +6889,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ FENCE_SENSITIVITY_HIGH = 11, } @@ -6917,8 +6902,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum ScanReportType { /** @@ -6927,8 +6912,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ ON_FOUND = 1, /** @@ -6937,8 +6922,8 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ ON_LOST = 2, /** @@ -6946,7 +6931,7 @@ declare namespace ble { * * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ ON_BATCH = 3, } @@ -6958,7 +6943,7 @@ declare namespace ble { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ interface GattPermissions { @@ -6968,7 +6953,7 @@ declare namespace ble { * @type { ?boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ read?: boolean; @@ -6978,7 +6963,7 @@ declare namespace ble { * @type { ?boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ readEncrypted?: boolean; @@ -6988,7 +6973,7 @@ declare namespace ble { * @type { ?boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ readEncryptedMitm?: boolean; @@ -6998,7 +6983,7 @@ declare namespace ble { * @type { ?boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ write?: boolean; @@ -7008,7 +6993,7 @@ declare namespace ble { * @type { ?boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ writeEncrypted?: boolean; @@ -7018,7 +7003,7 @@ declare namespace ble { * @type { ?boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ writeEncryptedMitm?: boolean; @@ -7028,7 +7013,7 @@ declare namespace ble { * @type { ?boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ writeSigned?: boolean; @@ -7038,7 +7023,7 @@ declare namespace ble { * @type { ?boolean } * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ writeSignedMitm?: boolean; } diff --git a/api/@ohos.bluetooth.connection.d.ts b/api/@ohos.bluetooth.connection.d.ts index ecc70d378d..887ad2261a 100644 --- a/api/@ohos.bluetooth.connection.d.ts +++ b/api/@ohos.bluetooth.connection.d.ts @@ -43,8 +43,8 @@ import type constant from './@ohos.bluetooth.constant'; * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ declare namespace connection { /** @@ -60,8 +60,8 @@ declare namespace connection { * @typedef { constant.ProfileConnectionState } ProfileConnectionState * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ type ProfileConnectionState = constant.ProfileConnectionState; @@ -78,8 +78,8 @@ declare namespace connection { * @typedef { constant.ProfileId } ProfileId * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ type ProfileId = constant.ProfileId; @@ -104,8 +104,8 @@ declare namespace connection { * @typedef { constant.ProfileUuids } ProfileUuids * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ type ProfileUuids = constant.ProfileUuids; @@ -122,8 +122,8 @@ declare namespace connection { * @typedef { constant.MajorClass } MajorClass * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ type MajorClass = constant.MajorClass; @@ -140,8 +140,8 @@ declare namespace connection { * @typedef { constant.MajorMinorClass } MajorMinorClass * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ type MajorMinorClass = constant.MajorMinorClass; @@ -182,8 +182,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function getProfileConnectionState(profileId?: ProfileId): ProfileConnectionState; @@ -236,8 +236,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function pairDevice(deviceId: string, callback: AsyncCallback): void; @@ -290,8 +290,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function pairDevice(deviceId: string): Promise; @@ -314,8 +314,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function pairCredibleDevice(deviceId: string, transport: BluetoothTransport, callback: AsyncCallback): void; @@ -338,8 +338,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function pairCredibleDevice(deviceId: string, transport: BluetoothTransport): Promise; @@ -359,8 +359,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function cancelPairedDevice(deviceId: string, callback: AsyncCallback): void; @@ -380,8 +380,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function cancelPairedDevice(deviceId: string): Promise; @@ -401,8 +401,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function cancelPairingDevice(deviceId: string, callback: AsyncCallback): void; @@ -422,8 +422,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function cancelPairingDevice(deviceId: string): Promise; @@ -476,8 +476,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function getRemoteDeviceName(deviceId: string): string; @@ -497,8 +497,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Failed to obtain the name or alias of the peer Bluetooth device. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function getRemoteDeviceName(deviceId: string, alias?: boolean): string; @@ -548,8 +548,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getRemoteDeviceClass(deviceId: string): DeviceClass; @@ -576,8 +576,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function getLocalName(): string; @@ -621,8 +621,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function getPairedDevices(): Array; @@ -675,8 +675,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function getPairState(deviceId: string): BondState; @@ -694,8 +694,8 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setDevicePairingConfirmation(deviceId: string, accept: boolean): void; @@ -714,8 +714,8 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setDevicePinCode(deviceId: string, code: string, callback: AsyncCallback): void; @@ -734,8 +734,8 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setDevicePinCode(deviceId: string, code: string): Promise; @@ -753,7 +753,7 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic * @deprecated since 12 */ function setLocalName(name: string): void; @@ -772,8 +772,8 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setBluetoothScanMode(mode: ScanMode, duration: int): void; @@ -802,8 +802,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function getBluetoothScanMode(): ScanMode; @@ -844,8 +844,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function startBluetoothDiscovery(): void; @@ -886,8 +886,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function stopBluetoothDiscovery(): void; @@ -916,8 +916,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function isBluetoothDiscovering(): boolean; @@ -936,8 +936,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getLocalProfileUuids(callback: AsyncCallback>): void; @@ -956,8 +956,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getLocalProfileUuids(): Promise>; @@ -1008,8 +1008,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function getRemoteProfileUuids(deviceId: string, callback: AsyncCallback>): void; @@ -1060,8 +1060,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function getRemoteProfileUuids(deviceId: string): Promise>; @@ -1097,8 +1097,8 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function connectAllowedProfiles(deviceId: string, callback: AsyncCallback): void; @@ -1134,8 +1134,8 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function connectAllowedProfiles(deviceId: string): Promise; @@ -1155,8 +1155,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function disconnectAllowedProfiles(deviceId: string, callback: AsyncCallback): void; @@ -1172,8 +1172,8 @@ declare namespace connection { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900003 - Bluetooth disabled. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getRemoteDeviceBatteryInfo(deviceId: string): Promise; @@ -1209,8 +1209,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function getRemoteProductId(deviceId: string): string; @@ -1230,8 +1230,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function disconnectAllowedProfiles(deviceId: string): Promise; @@ -1249,8 +1249,8 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @syscap SystemCapability.Communication.Bluetooth.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function setRemoteDeviceName(deviceId: string, name: string): Promise; @@ -1268,8 +1268,8 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function setRemoteDeviceType(deviceId: string, type: DeviceType): Promise; @@ -1300,8 +1300,8 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getRemoteDeviceType(deviceId: string): Promise; @@ -1321,8 +1321,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function controlDeviceAction(controlDeviceActionParams: ControlDeviceActionParams): Promise; @@ -1338,8 +1338,8 @@ declare namespace connection { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function getLastConnectionTime(deviceId: string): Promise; @@ -1359,8 +1359,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function updateCloudBluetoothDevice(trustedPairedDevices: TrustedPairedDevices): Promise; @@ -1408,8 +1408,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function on(type: 'bluetoothDeviceFind', callback: Callback>): void; @@ -1450,8 +1450,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function off(type: 'bluetoothDeviceFind', callback?: Callback>): void; @@ -1482,8 +1482,8 @@ declare namespace connection { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function on(type: 'discoveryResult', callback: Callback>): void; @@ -1510,8 +1510,8 @@ declare namespace connection { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function off(type: 'discoveryResult', callback?: Callback>): void; @@ -1542,8 +1542,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function on(type: 'bondStateChange', callback: Callback): void; @@ -1574,8 +1574,8 @@ declare namespace connection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function off(type: 'bondStateChange', callback?: Callback): void; @@ -1591,8 +1591,8 @@ declare namespace connection { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function on(type: 'pinRequired', callback: Callback): void; @@ -1608,8 +1608,8 @@ declare namespace connection { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function off(type: 'pinRequired', callback?: Callback): void; @@ -1622,8 +1622,8 @@ declare namespace connection { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function on(type: 'batteryChange', callback: Callback): void; @@ -1636,8 +1636,8 @@ declare namespace connection { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function off(type: 'batteryChange', callback?: Callback): void; @@ -1654,8 +1654,8 @@ declare namespace connection { * @typedef BondStateParam * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface BondStateParam { /** @@ -1671,8 +1671,8 @@ declare namespace connection { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ deviceId: string; /** @@ -1688,8 +1688,8 @@ declare namespace connection { * @type { BondState } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ state: BondState; /** @@ -1705,8 +1705,8 @@ declare namespace connection { * @type { UnbondCause } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ cause: UnbondCause; } @@ -1716,8 +1716,8 @@ declare namespace connection { * * @typedef PinRequiredParam * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface PinRequiredParam { /** @@ -1725,8 +1725,8 @@ declare namespace connection { * * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ deviceId: string; /** @@ -1734,8 +1734,8 @@ declare namespace connection { * * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ pinCode: string; /** @@ -1744,8 +1744,8 @@ declare namespace connection { * @type { PinType } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ pinType: PinType; } @@ -1763,8 +1763,8 @@ declare namespace connection { * @typedef DeviceClass * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface DeviceClass { /** @@ -1780,8 +1780,8 @@ declare namespace connection { * @type { MajorClass } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ majorClass: MajorClass; /** @@ -1797,8 +1797,8 @@ declare namespace connection { * @type { MajorMinorClass } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ majorMinorClass: MajorMinorClass; /** @@ -1814,8 +1814,8 @@ declare namespace connection { * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ classOfDevice: int; } @@ -1825,24 +1825,24 @@ declare namespace connection { * * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum BluetoothTransport { /** * The value of bluetooth transport BR/EDR. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ TRANSPORT_BR_EDR = 0, /** * The value of bluetooth transport LE. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ TRANSPORT_LE = 1 } @@ -1860,8 +1860,8 @@ declare namespace connection { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum ScanMode { /** @@ -1875,8 +1875,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ SCAN_MODE_NONE = 0, /** @@ -1890,24 +1890,24 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ SCAN_MODE_CONNECTABLE = 1, /** * Indicates the scan mode is general discoverable * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SCAN_MODE_GENERAL_DISCOVERABLE = 2, /** * Indicates the scan mode is limited discoverable * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SCAN_MODE_LIMITED_DISCOVERABLE = 3, /** @@ -1921,16 +1921,16 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ SCAN_MODE_CONNECTABLE_GENERAL_DISCOVERABLE = 4, /** * Indicates the scan mode is connectable and limited discoverable * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SCAN_MODE_CONNECTABLE_LIMITED_DISCOVERABLE = 5 } @@ -1957,8 +1957,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum BondState { /** @@ -1980,8 +1980,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ BOND_STATE_INVALID = 0, /** @@ -2003,8 +2003,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ BOND_STATE_BONDING = 1, /** @@ -2026,8 +2026,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ BOND_STATE_BONDED = 2 } @@ -2038,8 +2038,8 @@ declare namespace connection { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum PinType { /** @@ -2047,8 +2047,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PIN_TYPE_ENTER_PIN_CODE = 0, /** @@ -2056,8 +2056,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PIN_TYPE_ENTER_PASSKEY = 1, /** @@ -2065,8 +2065,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PIN_TYPE_CONFIRM_PASSKEY = 2, /** @@ -2074,8 +2074,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PIN_TYPE_NO_PASSKEY_CONSENT = 3, /** @@ -2083,8 +2083,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PIN_TYPE_NOTIFY_PASSKEY = 4, /** @@ -2092,8 +2092,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PIN_TYPE_DISPLAY_PIN_CODE = 5, /** @@ -2101,8 +2101,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PIN_TYPE_OOB_CONSENT = 6, /** @@ -2110,8 +2110,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PIN_TYPE_PIN_16_DIGITS = 7 } @@ -2129,8 +2129,8 @@ declare namespace connection { * * @typedef DiscoveryResult * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface DiscoveryResult { /** @@ -2146,8 +2146,8 @@ declare namespace connection { * * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ deviceId: string; /** @@ -2163,8 +2163,8 @@ declare namespace connection { * * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ rssi: int; /** @@ -2180,8 +2180,8 @@ declare namespace connection { * * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ deviceName: string; /** @@ -2197,8 +2197,8 @@ declare namespace connection { * * @type { DeviceClass } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ deviceClass: DeviceClass; } @@ -2208,8 +2208,8 @@ declare namespace connection { * * @typedef BatteryInfo * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface BatteryInfo { /** @@ -2218,8 +2218,8 @@ declare namespace connection { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deviceId: string; /** @@ -2227,8 +2227,8 @@ declare namespace connection { * * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ batteryLevel: int; /** @@ -2236,8 +2236,8 @@ declare namespace connection { * * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ leftEarBatteryLevel: int; /** @@ -2245,8 +2245,8 @@ declare namespace connection { * * @type { DeviceChargeState } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ leftEarChargeState: DeviceChargeState; /** @@ -2254,8 +2254,8 @@ declare namespace connection { * * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ rightEarBatteryLevel: int; /** @@ -2263,8 +2263,8 @@ declare namespace connection { * * @type { DeviceChargeState } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ rightEarChargeState: DeviceChargeState; /** @@ -2272,8 +2272,8 @@ declare namespace connection { * * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ boxBatteryLevel: int; /** @@ -2281,8 +2281,8 @@ declare namespace connection { * * @type { DeviceChargeState } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ boxChargeState: DeviceChargeState; } @@ -2292,40 +2292,40 @@ declare namespace connection { * * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum DeviceChargeState { /** * Not support super charge, and not charged. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_NORMAL_CHARGE_NOT_CHARGED = 0, /** * Not support super charge, and in charging. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_NORMAL_CHARGE_IN_CHARGING = 1, /** * Support super charge, and not charged. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_SUPER_CHARGE_NOT_CHARGED = 2, /** * Support super charge, and in charging. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_SUPER_CHARGE_IN_CHARGING = 3 } @@ -2336,8 +2336,8 @@ declare namespace connection { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum DeviceType { /** @@ -2345,8 +2345,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_TYPE_DEFAULT = 0, /** @@ -2354,8 +2354,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_TYPE_CAR = 1, /** @@ -2363,8 +2363,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_TYPE_HEADSET = 2, /** @@ -2372,8 +2372,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_TYPE_HEARING = 3, /** @@ -2381,8 +2381,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_TYPE_GLASSES = 4, /** @@ -2390,8 +2390,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_TYPE_WATCH = 5, /** @@ -2399,8 +2399,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_TYPE_SPEAKER = 6, /** @@ -2408,8 +2408,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_TYPE_OTHERS = 7 } @@ -2427,8 +2427,8 @@ declare namespace connection { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum UnbondCause { /** @@ -2442,40 +2442,40 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ USER_REMOVED = 0, /** * Remote device shut down. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REMOTE_DEVICE_DOWN = 1, /** * Wrong PIN code. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUTH_FAILURE = 2, /** * Remote device rejected. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUTH_REJECTED = 3, /** * Internal error. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTERNAL_ERROR = 4 } @@ -2485,8 +2485,8 @@ declare namespace connection { * @typedef ControlDeviceActionParams * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ interface ControlDeviceActionParams { /** @@ -2495,8 +2495,8 @@ declare namespace connection { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ deviceId: string; /** @@ -2505,8 +2505,8 @@ declare namespace connection { * @type { ControlType } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ type: ControlType; /** @@ -2515,8 +2515,8 @@ declare namespace connection { * @type { ControlTypeValue } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ typeValue: ControlTypeValue; /** @@ -2525,8 +2525,8 @@ declare namespace connection { * @type { ControlObject } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ controlObject: ControlObject; } @@ -2537,8 +2537,8 @@ declare namespace connection { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum ControlType { /** @@ -2546,8 +2546,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ PLAY = 0, /** @@ -2555,8 +2555,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ VIBRATE = 1, /** @@ -2564,8 +2564,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ FLASH = 2, /** @@ -2573,8 +2573,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ LOCK = 3, /** @@ -2582,8 +2582,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ ERASE = 4, } @@ -2594,8 +2594,8 @@ declare namespace connection { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum ControlTypeValue { /** @@ -2603,8 +2603,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ DISABLE = 0, /** @@ -2612,8 +2612,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ ENABLE = 1, /** @@ -2621,8 +2621,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ QUERY = 2, } @@ -2633,8 +2633,8 @@ declare namespace connection { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum ControlObject { /** @@ -2642,8 +2642,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ LEFT_EAR = 0, /** @@ -2651,8 +2651,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ RIGHT_EAR = 1, /** @@ -2660,8 +2660,8 @@ declare namespace connection { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ LEFT_RIGHT_EAR = 2, } @@ -2672,8 +2672,8 @@ declare namespace connection { * @typedef TrustedPairedDevices * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ interface TrustedPairedDevices { /** @@ -2682,8 +2682,8 @@ declare namespace connection { * @type { Array } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ trustedPairedDevices: Array; } @@ -2694,8 +2694,8 @@ declare namespace connection { * @typedef TrustedPairedDevice * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ interface TrustedPairedDevice { /** @@ -2704,8 +2704,8 @@ declare namespace connection { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ sn: string; /** @@ -2714,8 +2714,8 @@ declare namespace connection { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ deviceType: string; /** @@ -2724,8 +2724,8 @@ declare namespace connection { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ modelId: string; /** @@ -2734,8 +2734,8 @@ declare namespace connection { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ manufactory: string; /** @@ -2744,8 +2744,8 @@ declare namespace connection { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ productId: string; /** @@ -2754,8 +2754,8 @@ declare namespace connection { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ hiLinkVersion: string; /** @@ -2764,8 +2764,8 @@ declare namespace connection { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ macAddress: string; /** @@ -2774,8 +2774,8 @@ declare namespace connection { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ serviceType: string; /** @@ -2784,8 +2784,8 @@ declare namespace connection { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ serviceId: string; /** @@ -2794,8 +2794,8 @@ declare namespace connection { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ deviceName: string; /** @@ -2804,8 +2804,8 @@ declare namespace connection { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ uuids: string; /** @@ -2814,8 +2814,8 @@ declare namespace connection { * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ bluetoothClass: int; /** @@ -2824,8 +2824,8 @@ declare namespace connection { * @type { ArrayBuffer } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ token: ArrayBuffer; /** @@ -2834,8 +2834,8 @@ declare namespace connection { * @type { long } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ deviceNameTime: long; /** @@ -2844,8 +2844,8 @@ declare namespace connection { * @type { ArrayBuffer } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ secureAdvertisingInfo: ArrayBuffer; /** @@ -2854,8 +2854,8 @@ declare namespace connection { * @type { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ pairState: int; } diff --git a/api/@ohos.bluetooth.constant.d.ts b/api/@ohos.bluetooth.constant.d.ts index 70b86ec807..68050351fb 100644 --- a/api/@ohos.bluetooth.constant.d.ts +++ b/api/@ohos.bluetooth.constant.d.ts @@ -40,8 +40,8 @@ * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ declare namespace constant { /** @@ -57,8 +57,8 @@ declare namespace constant { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ export enum ProfileId { /** @@ -72,8 +72,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PROFILE_A2DP_SOURCE = 1, @@ -88,8 +88,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PROFILE_HANDSFREE_AUDIO_GATEWAY = 4, @@ -97,8 +97,8 @@ declare namespace constant { * Human Interface Device (HID) profile. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PROFILE_HID_HOST = 6, @@ -106,8 +106,8 @@ declare namespace constant { * PAN profile. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PROFILE_PAN_NETWORK = 7 } @@ -133,8 +133,8 @@ declare namespace constant { * @enum { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ export enum ProfileUuids { /** @@ -155,8 +155,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PROFILE_UUID_HFP_AG = '0000111F-0000-1000-8000-00805F9B34FB', /** @@ -177,8 +177,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PROFILE_UUID_HFP_HF = '0000111E-0000-1000-8000-00805F9B34FB', /** @@ -199,8 +199,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PROFILE_UUID_HSP_AG = '00001112-0000-1000-8000-00805F9B34FB', /** @@ -221,8 +221,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PROFILE_UUID_HSP_HS = '00001108-0000-1000-8000-00805F9B34FB', /** @@ -243,8 +243,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PROFILE_UUID_A2DP_SRC = '0000110A-0000-1000-8000-00805F9B34FB', /** @@ -265,8 +265,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PROFILE_UUID_A2DP_SINK = '0000110B-0000-1000-8000-00805F9B34FB', /** @@ -287,8 +287,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PROFILE_UUID_AVRCP_CT = '0000110E-0000-1000-8000-00805F9B34FB', /** @@ -309,8 +309,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PROFILE_UUID_AVRCP_TG = '0000110C-0000-1000-8000-00805F9B34FB', /** @@ -331,8 +331,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PROFILE_UUID_HID = '00001124-0000-1000-8000-00805F9B34FB', /** @@ -353,8 +353,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PROFILE_UUID_HOGP = '00001812-0000-1000-8000-00805F9B34FB' } @@ -381,8 +381,8 @@ declare namespace constant { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ export enum ProfileConnectionState { /** @@ -404,8 +404,8 @@ declare namespace constant { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ STATE_DISCONNECTED = 0, /** @@ -427,8 +427,8 @@ declare namespace constant { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ STATE_CONNECTING = 1, /** @@ -450,8 +450,8 @@ declare namespace constant { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ STATE_CONNECTED = 2, /** @@ -473,8 +473,8 @@ declare namespace constant { * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ STATE_DISCONNECTING = 3 } @@ -492,40 +492,40 @@ declare namespace constant { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ export enum MajorClass { /** * Miscellaneous device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MAJOR_MISC = 0x0000, /** * Computer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MAJOR_COMPUTER = 0x0100, /** * Mobile phone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MAJOR_PHONE = 0x0200, /** * Network device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MAJOR_NETWORKING = 0x0300, /** @@ -539,40 +539,40 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ MAJOR_AUDIO_VIDEO = 0x0400, /** * Peripheral device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MAJOR_PERIPHERAL = 0x0500, /** * Imaging device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MAJOR_IMAGING = 0x0600, /** * Wearable device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MAJOR_WEARABLE = 0x0700, /** * Toy. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MAJOR_TOY = 0x0800, /** @@ -586,16 +586,16 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ MAJOR_HEALTH = 0x0900, /** * Unclassified device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MAJOR_UNCATEGORIZED = 0x1F00 } @@ -613,8 +613,8 @@ declare namespace constant { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ export enum MajorMinorClass { /** @@ -630,8 +630,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ COMPUTER_UNCATEGORIZED = 0x0100, /** @@ -645,8 +645,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ COMPUTER_DESKTOP = 0x0104, /** @@ -660,8 +660,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ COMPUTER_SERVER = 0x0108, /** @@ -675,8 +675,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ COMPUTER_LAPTOP = 0x010C, /** @@ -690,8 +690,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ COMPUTER_HANDHELD_PC_PDA = 0x0110, /** @@ -705,8 +705,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ COMPUTER_PALM_SIZE_PC_PDA = 0x0114, /** @@ -720,16 +720,16 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ COMPUTER_WEARABLE = 0x0118, /** * Tablet. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMPUTER_TABLET = 0x011C, @@ -744,8 +744,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PHONE_UNCATEGORIZED = 0x0200, /** @@ -759,8 +759,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PHONE_CELLULAR = 0x0204, /** @@ -774,8 +774,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PHONE_CORDLESS = 0x0208, /** @@ -789,8 +789,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PHONE_SMART = 0x020C, /** @@ -804,8 +804,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PHONE_MODEM_OR_GATEWAY = 0x0210, /** @@ -819,8 +819,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PHONE_ISDN = 0x0214, @@ -828,64 +828,64 @@ declare namespace constant { * LAN/Network Access Point Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NETWORK_FULLY_AVAILABLE = 0x0300, /** * Device used on network 1 to 17. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NETWORK_1_TO_17_UTILIZED = 0x0320, /** * Device used on network 17 to 33. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NETWORK_17_TO_33_UTILIZED = 0x0340, /** * Device used on network 33 to 50. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NETWORK_33_TO_50_UTILIZED = 0x0360, /** * Device used on network 60 to 67. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NETWORK_60_TO_67_UTILIZED = 0x0380, /** * Device used on network 67 to 83. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NETWORK_67_TO_83_UTILIZED = 0x03A0, /** * Device used on network 83 to 99. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NETWORK_83_TO_99_UTILIZED = 0x03C0, /** * Device without network service. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NETWORK_NO_SERVICE = 0x03E0, @@ -893,8 +893,8 @@ declare namespace constant { * Unclassified audio or video device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ AUDIO_VIDEO_UNCATEGORIZED = 0x0400, /** @@ -908,8 +908,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_WEARABLE_HEADSET = 0x0404, /** @@ -923,8 +923,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_HANDSFREE = 0x0408, /** @@ -938,8 +938,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_MICROPHONE = 0x0410, /** @@ -953,8 +953,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_LOUDSPEAKER = 0x0414, /** @@ -968,8 +968,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_HEADPHONES = 0x0418, /** @@ -983,8 +983,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_PORTABLE_AUDIO = 0x041C, /** @@ -998,8 +998,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_CAR_AUDIO = 0x0420, /** @@ -1013,8 +1013,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_SET_TOP_BOX = 0x0424, /** @@ -1028,8 +1028,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_HIFI_AUDIO = 0x0428, /** @@ -1043,8 +1043,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_VCR = 0x042C, /** @@ -1058,8 +1058,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_VIDEO_CAMERA = 0x0430, /** @@ -1073,8 +1073,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_CAMCORDER = 0x0434, /** @@ -1088,8 +1088,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_VIDEO_MONITOR = 0x0438, /** @@ -1103,8 +1103,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_VIDEO_DISPLAY_AND_LOUDSPEAKER = 0x043C, /** @@ -1118,8 +1118,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_VIDEO_CONFERENCING = 0x0440, /** @@ -1133,8 +1133,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AUDIO_VIDEO_VIDEO_GAMING_TOY = 0x0448, @@ -1149,8 +1149,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PERIPHERAL_NON_KEYBOARD_NON_POINTING = 0x0500, /** @@ -1164,8 +1164,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PERIPHERAL_KEYBOARD = 0x0540, /** @@ -1179,8 +1179,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PERIPHERAL_POINTING_DEVICE = 0x0580, /** @@ -1194,88 +1194,88 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PERIPHERAL_KEYBOARD_POINTING = 0x05C0, /** * Unclassified peripheral device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PERIPHERAL_UNCATEGORIZED = 0x0500, /** * Peripheral joystick. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PERIPHERAL_JOYSTICK = 0x0504, /** * Peripheral game pad. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PERIPHERAL_GAMEPAD = 0x0508, /** * Peripheral remote control device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PERIPHERAL_REMOTE_CONTROL = 0x05C0, /** * Peripheral sensing device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PERIPHERAL_SENSING_DEVICE = 0x0510, /** * Peripheral digitizer tablet. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PERIPHERAL_DIGITIZER_TABLET = 0x0514, /** * Peripheral card reader. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PERIPHERAL_CARD_READER = 0x0518, /** * Peripheral digital pen. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PERIPHERAL_DIGITAL_PEN = 0x051C, /** * Peripheral RFID scanner. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PERIPHERAL_SCANNER_RFID = 0x0520, /** * Gesture input device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PERIPHERAL_GESTURAL_INPUT = 0x0522, @@ -1283,40 +1283,40 @@ declare namespace constant { * Imaging Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ IMAGING_UNCATEGORIZED = 0x0600, /** * Imaging display device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ IMAGING_DISPLAY = 0x0610, /** * Imaging camera device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ IMAGING_CAMERA = 0x0620, /** * Imaging scanner. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ IMAGING_SCANNER = 0x0640, /** * Imaging printer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ IMAGING_PRINTER = 0x0680, @@ -1331,8 +1331,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ WEARABLE_UNCATEGORIZED = 0x0700, /** @@ -1346,8 +1346,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ WEARABLE_WRIST_WATCH = 0x0704, /** @@ -1361,8 +1361,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ WEARABLE_PAGER = 0x0708, /** @@ -1376,8 +1376,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ WEARABLE_JACKET = 0x070C, /** @@ -1391,8 +1391,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ WEARABLE_HELMET = 0x0710, /** @@ -1406,8 +1406,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ WEARABLE_GLASSES = 0x0714, @@ -1422,8 +1422,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ TOY_UNCATEGORIZED = 0x0800, /** @@ -1437,8 +1437,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ TOY_ROBOT = 0x0804, /** @@ -1452,8 +1452,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ TOY_VEHICLE = 0x0808, /** @@ -1467,8 +1467,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ TOY_DOLL_ACTION_FIGURE = 0x080C, /** @@ -1482,8 +1482,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ TOY_CONTROLLER = 0x0810, /** @@ -1497,8 +1497,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ TOY_GAME = 0x0814, @@ -1506,8 +1506,8 @@ declare namespace constant { * Minor Device Class field - Health * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ HEALTH_UNCATEGORIZED = 0x0900, /** @@ -1521,8 +1521,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ HEALTH_BLOOD_PRESSURE = 0x0904, /** @@ -1536,8 +1536,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ HEALTH_THERMOMETER = 0x0908, /** @@ -1551,8 +1551,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ HEALTH_WEIGHING = 0x090C, /** @@ -1566,8 +1566,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ HEALTH_GLUCOSE = 0x0910, /** @@ -1581,8 +1581,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ HEALTH_PULSE_OXIMETER = 0x0914, /** @@ -1596,8 +1596,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ HEALTH_PULSE_RATE = 0x0918, /** @@ -1611,72 +1611,72 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @crossplatform - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ HEALTH_DATA_DISPLAY = 0x091C, /** * Step counter. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ HEALTH_STEP_COUNTER = 0x0920, /** * Body composition analyzer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ HEALTH_BODY_COMPOSITION_ANALYZER = 0x0924, /** * Hygrometer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ HEALTH_PEAK_FLOW_MONITOR = 0x0928, /** * Medication monitor. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ HEALTH_MEDICATION_MONITOR = 0x092C, /** * Prosthetic knee. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ HEALTH_KNEE_PROSTHESIS = 0x0930, /** * Prosthetic ankle. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ HEALTH_ANKLE_PROSTHESIS = 0x0934, /** * Generic health management device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ HEALTH_GENERIC_HEALTH_MANAGER = 0x0938, /** * Personal mobility device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ HEALTH_PERSONAL_MOBILITY_DEVICE = 0x093C } @@ -1687,8 +1687,8 @@ declare namespace constant { * @enum { int } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum AccessAuthorization { /** @@ -1696,8 +1696,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNKNOWN = 0, /** @@ -1705,8 +1705,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ALLOWED = 1, /** @@ -1714,8 +1714,8 @@ declare namespace constant { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ REJECTED = 2 } diff --git a/api/@ohos.bluetooth.d.ts b/api/@ohos.bluetooth.d.ts index 7eb5ac90db..eaef8e1b79 100644 --- a/api/@ohos.bluetooth.d.ts +++ b/api/@ohos.bluetooth.d.ts @@ -25,7 +25,7 @@ import type { AsyncCallback, Callback } from './@ohos.base'; * * @namespace bluetooth * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager */ @@ -39,7 +39,7 @@ declare namespace bluetooth { * {@link BluetoothState#STATE_BLE_TURNING_ON}, {@link BluetoothState#STATE_BLE_ON}, * or {@link BluetoothState#STATE_BLE_TURNING_OFF}. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.getState */ @@ -53,7 +53,7 @@ declare namespace bluetooth { * {@link ProfileConnectionState#STATE_CONNECTING}, {@link ProfileConnectionState#STATE_CONNECTED}, * {@link ProfileConnectionState#STATE_DISCONNECTING}. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.getBtConnectionState */ @@ -66,7 +66,7 @@ declare namespace bluetooth { * @param { string } deviceId - The address of the remote device to pair. * @returns { boolean } Returns {@code true} if the pairing process is started; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.pairDevice */ @@ -80,7 +80,7 @@ declare namespace bluetooth { * @returns { boolean } Returns {@code true} if the cancel process is started; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.cancelPairedDevice */ @@ -93,7 +93,7 @@ declare namespace bluetooth { * @param { string } deviceId - The address of the remote device. * @returns { string } Returns the device name in character string format. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.getRemoteDeviceName */ @@ -106,7 +106,7 @@ declare namespace bluetooth { * @param { string } deviceId - The address of the remote device. * @returns { DeviceClass } The class of the remote device, {@link DeviceClass}. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.getRemoteDeviceClass */ @@ -118,7 +118,7 @@ declare namespace bluetooth { * @permission ohos.permission.DISCOVER_BLUETOOTH * @returns { boolean } Returns {@code true} if Bluetooth is being enabled; returns {@code false} if an error occurs. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.enableBluetooth */ @@ -130,7 +130,7 @@ declare namespace bluetooth { * @permission ohos.permission.DISCOVER_BLUETOOTH * @returns { boolean } Returns {@code true} if Bluetooth is being disabled; returns {@code false} if an error occurs. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.disableBluetooth */ @@ -142,7 +142,7 @@ declare namespace bluetooth { * @permission ohos.permission.USE_BLUETOOTH * @returns { string } Returns the name the device. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.getLocalName */ @@ -154,7 +154,7 @@ declare namespace bluetooth { * @permission ohos.permission.USE_BLUETOOTH * @returns { Array } Returns a list of paired Bluetooth devices's address. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.getPairedDevices */ @@ -167,7 +167,7 @@ declare namespace bluetooth { * @param { ProfileId } profileId - The profile id. * @returns { ProfileConnectionState } Returns the connection state. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.getProfileConnectionState */ @@ -181,7 +181,7 @@ declare namespace bluetooth { * @param { boolean } accept - Indicates whether to accept the pairing request, {@code true} indicates accept or {@code false} otherwise. * @returns { boolean } Returns {@code true} if the pairing confirmation is set; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.setDevicePairingConfirmation */ @@ -194,7 +194,7 @@ declare namespace bluetooth { * @param { string } name - Indicates a valid Bluetooth name. * @returns { boolean } Returns {@code true} if the Bluetooth name is set successfully; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.setLocalName */ @@ -208,7 +208,7 @@ declare namespace bluetooth { * @param { number } duration - Indicates the duration in seconds, in which the host is discoverable. * @returns { boolean } Returns {@code true} if the Bluetooth scan mode is set; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.setBluetoothScanMode */ @@ -220,7 +220,7 @@ declare namespace bluetooth { * @permission ohos.permission.USE_BLUETOOTH * @returns { ScanMode } Returns the Bluetooth scanning mode, {@link ScanMode}. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.getBluetoothScanMode */ @@ -232,7 +232,7 @@ declare namespace bluetooth { * @permission ohos.permission.DISCOVER_BLUETOOTH and ohos.permission.LOCATION * @returns { boolean } Returns {@code true} if the scan is started successfully; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.startBluetoothDiscovery */ @@ -244,7 +244,7 @@ declare namespace bluetooth { * @permission ohos.permission.DISCOVER_BLUETOOTH * @returns { boolean } Returns {@code true} if scanning is stopped successfully; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.stopBluetoothDiscovery */ @@ -257,7 +257,7 @@ declare namespace bluetooth { * @param { 'bluetoothDeviceFind' } type - Type of the discovering event to listen for. * @param { Callback> } callback - Callback used to listen for the discovering event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.on#event:bluetoothDeviceFind */ @@ -270,7 +270,7 @@ declare namespace bluetooth { * @param { 'bluetoothDeviceFind' } type - Type of the discovering event to listen for. * @param { Callback> } callback - Callback used to listen for the discovering event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.off#event:bluetoothDeviceFind */ @@ -283,7 +283,7 @@ declare namespace bluetooth { * @param { 'bondStateChange' } type - Type of the bond state event to listen for. * @param { Callback } callback - Callback used to listen for the bond state event, {@link BondStateParam}. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.on#event:bondStateChange */ @@ -296,7 +296,7 @@ declare namespace bluetooth { * @param { 'bondStateChange' } type - Type of the bond state event to listen for. * @param { Callback } callback - Callback used to listen for the bond state event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.off#event:bondStateChange */ @@ -309,7 +309,7 @@ declare namespace bluetooth { * @param { 'pinRequired' } type - Type of the pairing request event to listen for. * @param { Callback } callback - Callback used to listen for the pairing request event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.on#event:pinRequired */ @@ -322,7 +322,7 @@ declare namespace bluetooth { * @param { 'pinRequired' } type - Type of the pairing request event to listen for. * @param { Callback } callback - Callback used to listen for the pairing request event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.off#event:pinRequired */ @@ -335,7 +335,7 @@ declare namespace bluetooth { * @param { 'stateChange' } type - Type of the Bluetooth state changes event to listen for. * @param { Callback } callback - Callback used to listen for the Bluetooth state event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.on#event:stateChange */ @@ -348,7 +348,7 @@ declare namespace bluetooth { * @param { 'stateChange' } type - Type of the Bluetooth state changes event to listen for. * @param { Callback } callback - Callback used to listen for the Bluetooth state event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.off#event:stateChange */ @@ -362,7 +362,7 @@ declare namespace bluetooth { * @param { SppOption } option - Indicates the listen parameters {@link SppOption}. * @param { AsyncCallback } callback - Callback used to return a server socket ID. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.sppListen */ @@ -374,7 +374,7 @@ declare namespace bluetooth { * @param { number } serverSocket - Indicates the server socket ID, returned by {@link sppListen}. * @param { AsyncCallback } callback - Callback used to return a client socket ID. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.sppAccept */ @@ -388,7 +388,7 @@ declare namespace bluetooth { * @param { SppOption } option - Indicates the connect parameters {@link SppOption}. * @param { AsyncCallback } callback - Callback used to return a client socket ID. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.sppConnect */ @@ -399,7 +399,7 @@ declare namespace bluetooth { * * @param { number } socket - Indicates the server socket ID, returned by {@link sppListen}. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.sppCloseServerSocket */ @@ -410,7 +410,7 @@ declare namespace bluetooth { * * @param { number } socket - Indicates the client socket ID, returned by {@link sppAccept} or {@link sppConnect}. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.sppCloseClientSocket */ @@ -423,7 +423,7 @@ declare namespace bluetooth { * @param { ArrayBuffer } data - Indicates the data to write. * @returns { boolean } Returns {@code true} if the data is write successfully; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.sppWrite */ @@ -436,7 +436,7 @@ declare namespace bluetooth { * @param { number } clientSocket - Client socket ID, which is obtained by sppAccept or sppConnect. * @param { Callback } callback - Callback used to listen for the spp read event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.on#event:sppRead */ @@ -449,7 +449,7 @@ declare namespace bluetooth { * @param { number } clientSocket - Client socket ID, which is obtained by sppAccept or sppConnect. * @param { Callback } callback - Callback used to listen for the spp read event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.off#event:sppRead */ @@ -461,7 +461,7 @@ declare namespace bluetooth { * @param { ProfileId } profileId - The profile id.. * @returns { A2dpSourceProfile | HandsFreeAudioGatewayProfile } Returns instance of profile. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.getProfileInstance */ @@ -472,7 +472,7 @@ declare namespace bluetooth { * * @typedef BaseProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BaseProfile */ @@ -483,7 +483,7 @@ declare namespace bluetooth { * @permission ohos.permission.USE_BLUETOOTH * @returns { Array } Returns the address of connected devices list. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BaseProfile#getConnectionDevices */ @@ -496,7 +496,7 @@ declare namespace bluetooth { * @param { string } device - The address of bluetooth device. * @returns { ProfileConnectionState } Returns {@link ProfileConnectionState} of device. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BaseProfile#getDeviceState */ @@ -508,7 +508,7 @@ declare namespace bluetooth { * * @typedef A2dpSourceProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.A2dpSourceProfile */ @@ -520,7 +520,7 @@ declare namespace bluetooth { * @param { string } device - The address of the remote device to connect. * @returns { boolean } Returns {@code true} if the connect is in process; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.A2dpSourceProfile#connect */ @@ -533,7 +533,7 @@ declare namespace bluetooth { * @param { string } device - The address of the remote device to disconnect. * @returns { boolean } Returns {@code true} if the disconnect is in process; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.A2dpSourceProfile#disconnect */ @@ -545,7 +545,7 @@ declare namespace bluetooth { * @param { 'connectionStateChange' } type - Type of the profile connection state changes event to listen for . * @param { Callback } callback - Callback used to listen for event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.A2dpSourceProfile.on#event:connectionStateChange */ @@ -557,7 +557,7 @@ declare namespace bluetooth { * @param { 'connectionStateChange' } type - Type of the profile connection state changes event to listen for . * @param { Callback } callback - Callback used to listen for event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.A2dpSourceProfile.off#event:connectionStateChange */ @@ -569,7 +569,7 @@ declare namespace bluetooth { * @param { string } device - The address of the remote device. * @returns { PlayingState } Returns {@link PlayingState} of the remote device. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.A2dpSourceProfile#getPlayingState */ @@ -581,7 +581,7 @@ declare namespace bluetooth { * * @typedef HandsFreeAudioGatewayProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.HandsFreeAudioGatewayProfile */ @@ -593,7 +593,7 @@ declare namespace bluetooth { * @param { string } device - The address of the remote device to connect. * @returns { boolean } Returns {@code true} if the connect is in process; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.HandsFreeAudioGatewayProfile#connect */ @@ -606,7 +606,7 @@ declare namespace bluetooth { * @param { string } device - The address of the remote device to disconnect. * @returns { boolean } Returns {@code true} if the disconnect is in process; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.HandsFreeAudioGatewayProfile#disconnect */ @@ -618,7 +618,7 @@ declare namespace bluetooth { * @param { 'connectionStateChange' } type - Type of the profile connection state changes event to listen for . * @param { Callback } callback - Callback used to listen for event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.HandsFreeAudioGatewayProfile.on#event:connectionStateChange */ @@ -630,7 +630,7 @@ declare namespace bluetooth { * @param { 'connectionStateChange' } type - Type of the profile connection state changes event to listen for . * @param { Callback } callback - Callback used to listen for event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.HandsFreeAudioGatewayProfile.off#event:connectionStateChange */ @@ -642,7 +642,7 @@ declare namespace bluetooth { * * @namespace BLE * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BLE */ @@ -652,7 +652,7 @@ declare namespace bluetooth { * * @returns { GattServer } Returns a JavaScript Gatt server instance {@code GattServer}. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BLE.createGattServer */ @@ -664,7 +664,7 @@ declare namespace bluetooth { * @param { string } deviceId - The address of the remote device. * @returns { GattClientDevice } Returns a JavaScript Gatt client device instance {@code GattClientDevice}. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BLE.createGattClientDevice */ @@ -676,7 +676,7 @@ declare namespace bluetooth { * @permission ohos.permission.USE_BLUETOOTH * @returns { Array } Returns the list of device address. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BLE.getConnectedBLEDevices */ @@ -692,7 +692,7 @@ declare namespace bluetooth { * {@link ScanOptions#interval} set to 0, {@link ScanOptions#dutyMode} set to {@link SCAN_MODE_LOW_POWER} * and {@link ScanOptions#matchMode} set to {@link MATCH_MODE_AGGRESSIVE}. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BLE.startBLEScan */ @@ -703,7 +703,7 @@ declare namespace bluetooth { * * @permission ohos.permission.DISCOVER_BLUETOOTH * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BLE.stopBLEScan */ @@ -716,7 +716,7 @@ declare namespace bluetooth { * @param { 'BLEDeviceFind' } type - Type of the scan result event to listen for. * @param { Callback> } callback - Callback used to listen for the scan result event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BLE.on#event:BLEDeviceFind */ @@ -729,7 +729,7 @@ declare namespace bluetooth { * @param { 'BLEDeviceFind' } type - Type of the scan result event to listen for. * @param { Callback> } callback - Callback used to listen for the scan result event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BLE.off#event:BLEDeviceFind */ @@ -741,7 +741,7 @@ declare namespace bluetooth { * * @typedef GattServer * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer */ @@ -755,7 +755,7 @@ declare namespace bluetooth { * @param { AdvertiseData } advData - Indicates the advertising data. * @param { AdvertiseData } advResponse - Indicates the scan response associated with the advertising data. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer#startAdvertising */ @@ -766,7 +766,7 @@ declare namespace bluetooth { * * @permission ohos.permission.DISCOVER_BLUETOOTH * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer#stopAdvertising */ @@ -780,7 +780,7 @@ declare namespace bluetooth { * @param { GattService } service - Indicates the service to add. * @returns { boolean } Returns {@code true} if the service is added; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer#addService */ @@ -793,7 +793,7 @@ declare namespace bluetooth { * @param { string } serviceUuid - Indicates the UUID of the service to remove. * @returns { boolean } Returns {@code true} if the service is removed; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer#removeService */ @@ -804,7 +804,7 @@ declare namespace bluetooth { * * @permission ohos.permission.USE_BLUETOOTH * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer#close */ @@ -819,7 +819,7 @@ declare namespace bluetooth { * @param { NotifyCharacteristic } notifyCharacteristic - Indicates the local characteristic that has changed. * @returns { boolean } Returns {@code true} if the notification is sent successfully; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer#notifyCharacteristicChanged */ @@ -832,7 +832,7 @@ declare namespace bluetooth { * @param { ServerResponse } serverResponse - Indicates the response parameters {@link ServerResponse}. * @returns { boolean } Returns {@code true} if the response is sent successfully; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer#sendResponse */ @@ -845,7 +845,7 @@ declare namespace bluetooth { * @param { 'characteristicRead' } type - Type of the characteristic read event to listen for. * @param { Callback } callback - Callback used to listen for the characteristic read event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer.on#event:characteristicRead */ @@ -858,7 +858,7 @@ declare namespace bluetooth { * @param { 'characteristicRead' } type - Type of the characteristic read event to listen for. * @param { Callback } callback - Callback used to listen for the characteristic read event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer.off#event:characteristicRead */ @@ -871,7 +871,7 @@ declare namespace bluetooth { * @param { 'characteristicWrite' } type - Type of the characteristic write event to listen for. * @param { Callback } callback - Callback used to listen for the characteristic write event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer.on#event:characteristicWrite */ @@ -884,7 +884,7 @@ declare namespace bluetooth { * @param { 'characteristicWrite' } type - Type of the characteristic write event to listen for. * @param { Callback } callback - Callback used to listen for the characteristic write event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer.off#event:characteristicWrite */ @@ -897,7 +897,7 @@ declare namespace bluetooth { * @param { 'descriptorRead' } type - Type of the descriptor read event to listen for. * @param { Callback } callback - Callback used to listen for the descriptor read event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer.on#event:descriptorRead */ @@ -910,7 +910,7 @@ declare namespace bluetooth { * @param { 'descriptorRead' } type - Type of the descriptor read event to listen for. * @param { Callback } callback - Callback used to listen for the descriptor read event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer.off#event:descriptorRead */ @@ -923,7 +923,7 @@ declare namespace bluetooth { * @param { 'descriptorWrite' } type - Type of the descriptor write event to listen for. * @param { Callback } callback - Callback used to listen for the descriptor write event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer.on#event:descriptorWrite */ @@ -936,7 +936,7 @@ declare namespace bluetooth { * @param { 'descriptorWrite' } type - Type of the descriptor write event to listen for. * @param { Callback } callback - Callback used to listen for the descriptor write event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer.off#event:descriptorWrite */ @@ -949,7 +949,7 @@ declare namespace bluetooth { * @param { 'connectStateChange' } type - Type of the connection state changed event to listen for. * @param { Callback } callback - Callback used to listen for the connection state changed event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer.on#event:connectStateChange */ @@ -962,7 +962,7 @@ declare namespace bluetooth { * @param { 'connectStateChange' } type - Type of the connection state changed event to listen for. * @param { Callback } callback - Callback used to listen for the connection state changed event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattServer.off#event:connectStateChange */ @@ -974,7 +974,7 @@ declare namespace bluetooth { * * @typedef GattClientDevice * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice */ @@ -986,7 +986,7 @@ declare namespace bluetooth { * @permission ohos.permission.USE_BLUETOOTH * @returns { boolean } Returns {@code true} if the connection process starts; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#connect */ @@ -998,7 +998,7 @@ declare namespace bluetooth { * @permission ohos.permission.USE_BLUETOOTH * @returns { boolean } Returns {@code true} if the disconnection process starts; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#disconnect */ @@ -1011,7 +1011,7 @@ declare namespace bluetooth { * @permission ohos.permission.USE_BLUETOOTH * @returns { boolean } Returns {@code true} if the the device is disabled; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#close */ @@ -1023,7 +1023,7 @@ declare namespace bluetooth { * @permission ohos.permission.USE_BLUETOOTH * @param { AsyncCallback } callback - Callback used to obtain the device name. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#getDeviceName */ @@ -1036,7 +1036,7 @@ declare namespace bluetooth { * @returns { Promise } Returns a string representation of the name if obtained; * returns {@code null} if the name fails to be obtained or the name does not exist. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#getDeviceName */ @@ -1048,7 +1048,7 @@ declare namespace bluetooth { * @permission ohos.permission.USE_BLUETOOTH * @param { AsyncCallback> } callback - Callback used to catch the services. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#getServices */ @@ -1060,7 +1060,7 @@ declare namespace bluetooth { * @permission ohos.permission.USE_BLUETOOTH * @returns { Promise> } Returns the list of services {@link GattService} of the BLE peripheral device. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#getServices */ @@ -1073,7 +1073,7 @@ declare namespace bluetooth { * @param { BLECharacteristic } characteristic - Indicates the characteristic to read. * @param { AsyncCallback } callback - Callback invoked to return the characteristic value read. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#readCharacteristicValue */ @@ -1086,7 +1086,7 @@ declare namespace bluetooth { * @param { BLECharacteristic } characteristic - Indicates the characteristic to read. * @returns { Promise } - Promise used to return the characteristic value read. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#readCharacteristicValue */ @@ -1099,7 +1099,7 @@ declare namespace bluetooth { * @param { BLEDescriptor } descriptor - Indicates the descriptor to read. * @param { AsyncCallback } callback - Callback invoked to return the descriptor read. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#readDescriptorValue */ @@ -1112,7 +1112,7 @@ declare namespace bluetooth { * @param { BLEDescriptor } descriptor - Indicates the descriptor to read. * @returns { Promise } - Promise used to return the descriptor read. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#readDescriptorValue */ @@ -1125,7 +1125,7 @@ declare namespace bluetooth { * @param { BLECharacteristic } characteristic - Indicates the characteristic to write. * @returns { boolean } Returns {@code true} if the characteristic is written successfully; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#writeCharacteristicValue */ @@ -1138,7 +1138,7 @@ declare namespace bluetooth { * @param { BLEDescriptor } descriptor - Indicates the descriptor to write. * @returns { boolean } Returns {@code true} if the descriptor is written successfully; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#writeDescriptorValue */ @@ -1150,7 +1150,7 @@ declare namespace bluetooth { * @permission ohos.permission.USE_BLUETOOTH * @param { AsyncCallback } callback - Callback invoked to return the RSSI, in dBm. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#getRssiValue */ @@ -1162,7 +1162,7 @@ declare namespace bluetooth { * @permission ohos.permission.USE_BLUETOOTH * @returns { Promise } Returns the RSSI value. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#getRssiValue */ @@ -1175,7 +1175,7 @@ declare namespace bluetooth { * @param { number } mtu - The maximum transmission unit. * @returns { boolean } Returns {@code true} if the set mtu is successfully; returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#setBLEMtuSize */ @@ -1191,7 +1191,7 @@ declare namespace bluetooth { * @returns { boolean } Returns {@code true} if notification of the characteristic is enabled or disabled; * returns {@code false} otherwise. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice#setNotifyCharacteristicChanged */ @@ -1204,7 +1204,7 @@ declare namespace bluetooth { * @param { 'BLECharacteristicChange' } type - Type of the characteristic value changed event to listen for. * @param { Callback } callback - Callback used to listen for the characteristic value changed event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice.on#event:BLECharacteristicChange */ @@ -1217,7 +1217,7 @@ declare namespace bluetooth { * @param { 'BLECharacteristicChange' } type - Type of the characteristic value changed event to listen for. * @param { Callback } callback - Callback used to listen for the characteristic value changed event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice.off#event:BLECharacteristicChange */ @@ -1230,7 +1230,7 @@ declare namespace bluetooth { * @param { 'BLEConnectionStateChange' } type - Type of the connection state changed event to listen for. * @param { Callback } callback - Callback used to listen for the connection state changed event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice.on#event:BLEConnectionStateChange */ @@ -1243,7 +1243,7 @@ declare namespace bluetooth { * @param { 'BLEConnectionStateChange' } type - Type of the connection state changed event to listen for. * @param { Callback } callback - Callback used to listen for the connection state changed event. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattClientDevice.off#event:BLEConnectionStateChange */ @@ -1255,7 +1255,7 @@ declare namespace bluetooth { * * @typedef GattService * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.GattService */ @@ -1264,7 +1264,7 @@ declare namespace bluetooth { * The UUID of a GattService instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ serviceUuid: string; @@ -1272,7 +1272,7 @@ declare namespace bluetooth { * Indicates whether the GattService instance is primary or secondary. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ isPrimary: boolean; @@ -1280,7 +1280,7 @@ declare namespace bluetooth { * The {@link BLECharacteristic} list belongs to this GattService instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ characteristics: Array; @@ -1288,7 +1288,7 @@ declare namespace bluetooth { * The list of GATT services contained in the service * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ includeServices?: Array; @@ -1299,7 +1299,7 @@ declare namespace bluetooth { * * @typedef BLECharacteristic * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BLECharacteristic */ @@ -1308,7 +1308,7 @@ declare namespace bluetooth { * The UUID of the {@link GattService} instance to which the characteristic belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ serviceUuid: string; @@ -1316,7 +1316,7 @@ declare namespace bluetooth { * The UUID of a BLECharacteristic instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ characteristicUuid: string; @@ -1324,7 +1324,7 @@ declare namespace bluetooth { * The value of a BLECharacteristic instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ characteristicValue: ArrayBuffer; @@ -1332,7 +1332,7 @@ declare namespace bluetooth { * The list of {@link BLEDescriptor} contained in the characteristic * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ descriptors: Array; @@ -1343,7 +1343,7 @@ declare namespace bluetooth { * * @typedef BLEDescriptor * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BLEDescriptor */ @@ -1352,7 +1352,7 @@ declare namespace bluetooth { * The UUID of the {@link GattService} instance to which the descriptor belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ serviceUuid: string; @@ -1360,7 +1360,7 @@ declare namespace bluetooth { * The UUID of the {@link BLECharacteristic} instance to which the descriptor belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ characteristicUuid: string; @@ -1368,7 +1368,7 @@ declare namespace bluetooth { * The UUID of the BLEDescriptor instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ descriptorUuid: string; @@ -1376,7 +1376,7 @@ declare namespace bluetooth { * The value of the BLEDescriptor instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ descriptorValue: ArrayBuffer; @@ -1387,7 +1387,7 @@ declare namespace bluetooth { * * @typedef NotifyCharacteristic * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.NotifyCharacteristic */ @@ -1396,7 +1396,7 @@ declare namespace bluetooth { * The UUID of the {@link GattService} instance to which the characteristic belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ serviceUuid: string; @@ -1404,7 +1404,7 @@ declare namespace bluetooth { * The UUID of a NotifyCharacteristic instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ characteristicUuid: string; @@ -1412,7 +1412,7 @@ declare namespace bluetooth { * The value of a NotifyCharacteristic instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ characteristicValue: ArrayBuffer; @@ -1421,7 +1421,7 @@ declare namespace bluetooth { * send a notification. Value {@code true} indicates the former and {@code false} indicates the latter. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ confirm: boolean; @@ -1432,7 +1432,7 @@ declare namespace bluetooth { * * @typedef CharacteristicReadReq * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.CharacteristicReadRequest */ @@ -1441,7 +1441,7 @@ declare namespace bluetooth { * Indicates the address of the client that initiates the read request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ deviceId: string; @@ -1449,7 +1449,7 @@ declare namespace bluetooth { * The Id of the read request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ transId: number; @@ -1457,7 +1457,7 @@ declare namespace bluetooth { * Indicates the byte offset of the start position for reading characteristic value * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ offset: number; @@ -1465,7 +1465,7 @@ declare namespace bluetooth { * The UUID of a CharacteristicReadReq instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ characteristicUuid: string; @@ -1473,7 +1473,7 @@ declare namespace bluetooth { * The UUID of the service to which the characteristic belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ serviceUuid: string; @@ -1484,7 +1484,7 @@ declare namespace bluetooth { * * @typedef CharacteristicWriteReq * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.CharacteristicWriteRequest */ @@ -1493,7 +1493,7 @@ declare namespace bluetooth { * Indicates the address of the client that initiates the write request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ deviceId: string; @@ -1501,7 +1501,7 @@ declare namespace bluetooth { * The Id of the write request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ transId: number; @@ -1509,7 +1509,7 @@ declare namespace bluetooth { * Indicates the byte offset of the start position for writing characteristic value * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ offset: number; @@ -1517,7 +1517,7 @@ declare namespace bluetooth { * Whether this request should be pending for later operation * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ isPrep: boolean; @@ -1525,7 +1525,7 @@ declare namespace bluetooth { * Whether the remote client need a response * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ needRsp: boolean; @@ -1533,7 +1533,7 @@ declare namespace bluetooth { * Indicates the value to be written * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ value: ArrayBuffer; @@ -1541,7 +1541,7 @@ declare namespace bluetooth { * The UUID of a CharacteristicWriteReq instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ characteristicUuid: string; @@ -1549,7 +1549,7 @@ declare namespace bluetooth { * The UUID of the service to which the characteristic belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ serviceUuid: string; @@ -1560,7 +1560,7 @@ declare namespace bluetooth { * * @typedef DescriptorReadReq * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.DescriptorReadRequest */ @@ -1569,7 +1569,7 @@ declare namespace bluetooth { * Indicates the address of the client that initiates the read request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ deviceId: string; @@ -1577,7 +1577,7 @@ declare namespace bluetooth { * The Id of the read request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ transId: number; @@ -1585,7 +1585,7 @@ declare namespace bluetooth { * Indicates the byte offset of the start position for reading characteristic value * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ offset: number; @@ -1593,7 +1593,7 @@ declare namespace bluetooth { * The UUID of a DescriptorReadReq instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ descriptorUuid: string; @@ -1601,7 +1601,7 @@ declare namespace bluetooth { * The UUID of the characteristic to which the descriptor belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ characteristicUuid: string; @@ -1609,7 +1609,7 @@ declare namespace bluetooth { * The UUID of the service to which the descriptor belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ serviceUuid: string; @@ -1620,7 +1620,7 @@ declare namespace bluetooth { * * @typedef DescriptorWriteReq * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.DescriptorWriteRequest */ @@ -1629,7 +1629,7 @@ declare namespace bluetooth { * Indicates the address of the client that initiates the write request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ deviceId: string; @@ -1637,7 +1637,7 @@ declare namespace bluetooth { * The Id of the write request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ transId: number; @@ -1645,7 +1645,7 @@ declare namespace bluetooth { * Indicates the byte offset of the start position for writing characteristic value * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ offset: number; @@ -1653,7 +1653,7 @@ declare namespace bluetooth { * Whether this request should be pending for later operation * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ isPrep: boolean; @@ -1661,7 +1661,7 @@ declare namespace bluetooth { * Whether the remote client need a response * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ needRsp: boolean; @@ -1669,7 +1669,7 @@ declare namespace bluetooth { * Indicates the value to be written * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ value: ArrayBuffer; @@ -1677,7 +1677,7 @@ declare namespace bluetooth { * The UUID of a DescriptorWriteReq instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ descriptorUuid: string; @@ -1685,7 +1685,7 @@ declare namespace bluetooth { * The UUID of the characteristic to which the descriptor belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ characteristicUuid: string; @@ -1693,7 +1693,7 @@ declare namespace bluetooth { * The UUID of the service to which the descriptor belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ serviceUuid: string; @@ -1704,7 +1704,7 @@ declare namespace bluetooth { * * @typedef ServerResponse * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.ServerResponse */ @@ -1713,7 +1713,7 @@ declare namespace bluetooth { * Indicates the address of the client to which to send the response * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ deviceId: string; @@ -1721,7 +1721,7 @@ declare namespace bluetooth { * The Id of the write request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ transId: number; @@ -1729,7 +1729,7 @@ declare namespace bluetooth { * Indicates the status of the read or write request, set this parameter to '0' in normal cases * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ status: number; @@ -1737,7 +1737,7 @@ declare namespace bluetooth { * Indicates the byte offset of the start position for reading or writing operation * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ offset: number; @@ -1745,7 +1745,7 @@ declare namespace bluetooth { * Indicates the value to be sent * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ value: ArrayBuffer; @@ -1756,7 +1756,7 @@ declare namespace bluetooth { * * @typedef BLEConnectChangedState * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BLEConnectChangedState */ @@ -1765,7 +1765,7 @@ declare namespace bluetooth { * Indicates the peer device address * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ deviceId: string; @@ -1773,7 +1773,7 @@ declare namespace bluetooth { * Connection state of the Gatt profile * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ state: ProfileConnectionState; @@ -1784,7 +1784,7 @@ declare namespace bluetooth { * * @typedef ScanResult * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.ScanResult */ @@ -1793,7 +1793,7 @@ declare namespace bluetooth { * Address of the scanned device * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ deviceId: string; @@ -1801,7 +1801,7 @@ declare namespace bluetooth { * RSSI of the remote device * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ rssi: number; @@ -1809,7 +1809,7 @@ declare namespace bluetooth { * The raw data of broadcast packet * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ data: ArrayBuffer; @@ -1820,7 +1820,7 @@ declare namespace bluetooth { * * @typedef AdvertiseSetting * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.AdvertiseSetting */ @@ -1831,7 +1831,7 @@ declare namespace bluetooth { * Default slot value for the advertising interval, which is {@code 1600} (1s) * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ interval?: number; @@ -1841,7 +1841,7 @@ declare namespace bluetooth { * Default transmission power level for advertising, which is {@code -7} * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ txPower?: number; @@ -1849,7 +1849,7 @@ declare namespace bluetooth { * Indicates whether the BLE is connectable, default is {@code true} * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ connectable?: boolean; @@ -1860,7 +1860,7 @@ declare namespace bluetooth { * * @typedef AdvertiseData * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.AdvertiseData */ @@ -1869,7 +1869,7 @@ declare namespace bluetooth { * The specified service UUID list to this advertisement * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ serviceUuids: Array; @@ -1877,7 +1877,7 @@ declare namespace bluetooth { * The specified manufacturer data list to this advertisement * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ manufactureData: Array; @@ -1885,7 +1885,7 @@ declare namespace bluetooth { * The specified service data list to this advertisement * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ serviceData: Array; @@ -1896,7 +1896,7 @@ declare namespace bluetooth { * * @typedef ManufactureData * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.ManufactureData */ @@ -1905,7 +1905,7 @@ declare namespace bluetooth { * Indicates the manufacturer ID assigned by Bluetooth SIG * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ manufactureId: number; @@ -1913,7 +1913,7 @@ declare namespace bluetooth { * Indicates the manufacturer data to add * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ manufactureValue: ArrayBuffer; @@ -1924,7 +1924,7 @@ declare namespace bluetooth { * * @typedef ServiceData * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.ServiceData */ @@ -1933,7 +1933,7 @@ declare namespace bluetooth { * Indicates the UUID of the service data to add * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ serviceUuid: string; @@ -1941,7 +1941,7 @@ declare namespace bluetooth { * Indicates the service data to add * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ serviceValue: ArrayBuffer; @@ -1952,7 +1952,7 @@ declare namespace bluetooth { * * @typedef ScanFilter * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.ScanFilter */ @@ -1961,7 +1961,7 @@ declare namespace bluetooth { * The address of a BLE peripheral device * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ deviceId?: string; @@ -1969,7 +1969,7 @@ declare namespace bluetooth { * The name of a BLE peripheral device * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ name?: string; @@ -1977,7 +1977,7 @@ declare namespace bluetooth { * The service UUID of a BLE peripheral device * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ serviceUuid?: string; @@ -1988,7 +1988,7 @@ declare namespace bluetooth { * * @typedef ScanOptions * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.ScanOptions */ @@ -1997,7 +1997,7 @@ declare namespace bluetooth { * Time of delay for reporting the scan result * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ interval?: number; @@ -2005,7 +2005,7 @@ declare namespace bluetooth { * Bluetooth LE scan mode * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ dutyMode?: ScanDuty; @@ -2013,7 +2013,7 @@ declare namespace bluetooth { * Match mode for Bluetooth LE scan filters hardware match * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ matchMode?: MatchMode; @@ -2024,7 +2024,7 @@ declare namespace bluetooth { * * @typedef SppOption * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.SppOption */ @@ -2033,7 +2033,7 @@ declare namespace bluetooth { * Indicates the UUID in the SDP record. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ uuid: string; @@ -2041,7 +2041,7 @@ declare namespace bluetooth { * Indicates secure channel or not * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ secure: boolean; @@ -2049,7 +2049,7 @@ declare namespace bluetooth { * Spp link type {@link SppType} * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ type: SppType; @@ -2060,7 +2060,7 @@ declare namespace bluetooth { * * @typedef PinRequiredParam * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.PinRequiredParam */ @@ -2069,7 +2069,7 @@ declare namespace bluetooth { * ID of the device to pair. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ deviceId: string; @@ -2077,7 +2077,7 @@ declare namespace bluetooth { * Key for the device pairing. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ pinCode: string; @@ -2088,7 +2088,7 @@ declare namespace bluetooth { * * @typedef DeviceClass * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.DeviceClass */ @@ -2097,7 +2097,7 @@ declare namespace bluetooth { * Major classes of Bluetooth devices. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ majorClass: MajorClass; @@ -2105,7 +2105,7 @@ declare namespace bluetooth { * Major and minor classes of Bluetooth devices. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ majorMinorClass: MajorMinorClass; @@ -2113,7 +2113,7 @@ declare namespace bluetooth { * Class of the device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ classOfDevice: number; @@ -2124,7 +2124,7 @@ declare namespace bluetooth { * * @typedef BondStateParam * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BondStateParam */ @@ -2133,7 +2133,7 @@ declare namespace bluetooth { * Address of a Bluetooth device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ deviceId: string; @@ -2141,7 +2141,7 @@ declare namespace bluetooth { * Profile connection state of the device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ state: BondState; @@ -2152,7 +2152,7 @@ declare namespace bluetooth { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.ScanDuty */ @@ -2161,7 +2161,7 @@ declare namespace bluetooth { * low power mode * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ SCAN_MODE_LOW_POWER = 0, @@ -2169,7 +2169,7 @@ declare namespace bluetooth { * balanced power mode * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ SCAN_MODE_BALANCED = 1, @@ -2177,7 +2177,7 @@ declare namespace bluetooth { * Scan using highest duty cycle * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ SCAN_MODE_LOW_LATENCY = 2 @@ -2188,7 +2188,7 @@ declare namespace bluetooth { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.MatchMode */ @@ -2197,7 +2197,7 @@ declare namespace bluetooth { * aggressive mode * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ MATCH_MODE_AGGRESSIVE = 1, @@ -2205,7 +2205,7 @@ declare namespace bluetooth { * sticky mode * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ MATCH_MODE_STICKY = 2 @@ -2216,7 +2216,7 @@ declare namespace bluetooth { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.ProfileConnectionState */ @@ -2225,7 +2225,7 @@ declare namespace bluetooth { * the current profile is disconnected * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATE_DISCONNECTED = 0, @@ -2233,7 +2233,7 @@ declare namespace bluetooth { * the current profile is being connected * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATE_CONNECTING = 1, @@ -2241,7 +2241,7 @@ declare namespace bluetooth { * the current profile is connected * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATE_CONNECTED = 2, @@ -2249,7 +2249,7 @@ declare namespace bluetooth { * the current profile is being disconnected * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATE_DISCONNECTING = 3 @@ -2260,7 +2260,7 @@ declare namespace bluetooth { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BluetoothState */ @@ -2269,7 +2269,7 @@ declare namespace bluetooth { * Indicates the local Bluetooth is off * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATE_OFF = 0, @@ -2277,7 +2277,7 @@ declare namespace bluetooth { * Indicates the local Bluetooth is turning on * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATE_TURNING_ON = 1, @@ -2285,7 +2285,7 @@ declare namespace bluetooth { * Indicates the local Bluetooth is on, and ready for use * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATE_ON = 2, @@ -2293,7 +2293,7 @@ declare namespace bluetooth { * Indicates the local Bluetooth is turning off * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATE_TURNING_OFF = 3, @@ -2301,7 +2301,7 @@ declare namespace bluetooth { * Indicates the local Bluetooth is turning LE mode on * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATE_BLE_TURNING_ON = 4, @@ -2309,7 +2309,7 @@ declare namespace bluetooth { * Indicates the local Bluetooth is in LE only mode * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATE_BLE_ON = 5, @@ -2317,7 +2317,7 @@ declare namespace bluetooth { * Indicates the local Bluetooth is turning off LE only mode * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATE_BLE_TURNING_OFF = 6 @@ -2328,7 +2328,7 @@ declare namespace bluetooth { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.SppType */ @@ -2337,7 +2337,7 @@ declare namespace bluetooth { * RFCOMM * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ SPP_RFCOMM @@ -2348,7 +2348,7 @@ declare namespace bluetooth { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.ScanMode */ @@ -2357,7 +2357,7 @@ declare namespace bluetooth { * Indicates the scan mode is none * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ SCAN_MODE_NONE = 0, @@ -2365,7 +2365,7 @@ declare namespace bluetooth { * Indicates the scan mode is connectable * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ SCAN_MODE_CONNECTABLE = 1, @@ -2373,7 +2373,7 @@ declare namespace bluetooth { * Indicates the scan mode is general discoverable * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ SCAN_MODE_GENERAL_DISCOVERABLE = 2, @@ -2381,7 +2381,7 @@ declare namespace bluetooth { * Indicates the scan mode is limited discoverable * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ SCAN_MODE_LIMITED_DISCOVERABLE = 3, @@ -2389,7 +2389,7 @@ declare namespace bluetooth { * Indicates the scan mode is connectable and general discoverable * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ SCAN_MODE_CONNECTABLE_GENERAL_DISCOVERABLE = 4, @@ -2397,7 +2397,7 @@ declare namespace bluetooth { * Indicates the scan mode is connectable and limited discoverable * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ SCAN_MODE_CONNECTABLE_LIMITED_DISCOVERABLE = 5 @@ -2408,7 +2408,7 @@ declare namespace bluetooth { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.BondState */ @@ -2417,7 +2417,7 @@ declare namespace bluetooth { * Indicate the bond state is invalid * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ BOND_STATE_INVALID = 0, @@ -2425,7 +2425,7 @@ declare namespace bluetooth { * Indicate the bond state is bonding * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ BOND_STATE_BONDING = 1, @@ -2433,7 +2433,7 @@ declare namespace bluetooth { * Indicate the bond state is bonded * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ BOND_STATE_BONDED = 2 @@ -2444,7 +2444,7 @@ declare namespace bluetooth { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.MajorClass */ @@ -2453,7 +2453,7 @@ declare namespace bluetooth { * Miscellaneous device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ MAJOR_MISC = 0x0000, @@ -2461,7 +2461,7 @@ declare namespace bluetooth { * Computer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ MAJOR_COMPUTER = 0x0100, @@ -2469,7 +2469,7 @@ declare namespace bluetooth { * Mobile phone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ MAJOR_PHONE = 0x0200, @@ -2477,7 +2477,7 @@ declare namespace bluetooth { * Network device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ MAJOR_NETWORKING = 0x0300, @@ -2485,7 +2485,7 @@ declare namespace bluetooth { * Audio or video device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ MAJOR_AUDIO_VIDEO = 0x0400, @@ -2493,7 +2493,7 @@ declare namespace bluetooth { * Peripheral device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ MAJOR_PERIPHERAL = 0x0500, @@ -2501,7 +2501,7 @@ declare namespace bluetooth { * Imaging device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ MAJOR_IMAGING = 0x0600, @@ -2509,7 +2509,7 @@ declare namespace bluetooth { * Wearable device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ MAJOR_WEARABLE = 0x0700, @@ -2517,7 +2517,7 @@ declare namespace bluetooth { * Toy. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ MAJOR_TOY = 0x0800, @@ -2525,7 +2525,7 @@ declare namespace bluetooth { * Health device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ MAJOR_HEALTH = 0x0900, @@ -2533,7 +2533,7 @@ declare namespace bluetooth { * Unclassified device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ MAJOR_UNCATEGORIZED = 0x1F00 @@ -2544,7 +2544,7 @@ declare namespace bluetooth { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.MajorMinorClass */ @@ -2554,7 +2554,7 @@ declare namespace bluetooth { * Computer Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ COMPUTER_UNCATEGORIZED = 0x0100, @@ -2562,7 +2562,7 @@ declare namespace bluetooth { * Desktop computer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ COMPUTER_DESKTOP = 0x0104, @@ -2570,7 +2570,7 @@ declare namespace bluetooth { * Server. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ COMPUTER_SERVER = 0x0108, @@ -2578,7 +2578,7 @@ declare namespace bluetooth { * Laptop. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ COMPUTER_LAPTOP = 0x010C, @@ -2586,7 +2586,7 @@ declare namespace bluetooth { * Hand-held computer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ COMPUTER_HANDHELD_PC_PDA = 0x0110, @@ -2594,7 +2594,7 @@ declare namespace bluetooth { * Palmtop computer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ COMPUTER_PALM_SIZE_PC_PDA = 0x0114, @@ -2602,7 +2602,7 @@ declare namespace bluetooth { * Wearable computer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ COMPUTER_WEARABLE = 0x0118, @@ -2610,7 +2610,7 @@ declare namespace bluetooth { * Tablet. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ COMPUTER_TABLET = 0x011C, @@ -2619,7 +2619,7 @@ declare namespace bluetooth { * Phone Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PHONE_UNCATEGORIZED = 0x0200, @@ -2627,7 +2627,7 @@ declare namespace bluetooth { * Portable phone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PHONE_CELLULAR = 0x0204, @@ -2635,7 +2635,7 @@ declare namespace bluetooth { * Cordless phone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PHONE_CORDLESS = 0x0208, @@ -2643,7 +2643,7 @@ declare namespace bluetooth { * Smartphone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PHONE_SMART = 0x020C, @@ -2651,7 +2651,7 @@ declare namespace bluetooth { * Modem or gateway phone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PHONE_MODEM_OR_GATEWAY = 0x0210, @@ -2659,7 +2659,7 @@ declare namespace bluetooth { * ISDN phone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PHONE_ISDN = 0x0214, @@ -2668,7 +2668,7 @@ declare namespace bluetooth { * LAN/Network Access Point Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ NETWORK_FULLY_AVAILABLE = 0x0300, @@ -2676,7 +2676,7 @@ declare namespace bluetooth { * Device used on network 1 to 17. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ NETWORK_1_TO_17_UTILIZED = 0x0320, @@ -2684,7 +2684,7 @@ declare namespace bluetooth { * Device used on network 17 to 33. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ NETWORK_17_TO_33_UTILIZED = 0x0340, @@ -2692,7 +2692,7 @@ declare namespace bluetooth { * Device used on network 33 to 50. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ NETWORK_33_TO_50_UTILIZED = 0x0360, @@ -2700,7 +2700,7 @@ declare namespace bluetooth { * Device used on network 60 to 67. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ NETWORK_60_TO_67_UTILIZED = 0x0380, @@ -2708,7 +2708,7 @@ declare namespace bluetooth { * Device used on network 67 to 83. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ NETWORK_67_TO_83_UTILIZED = 0x03A0, @@ -2716,7 +2716,7 @@ declare namespace bluetooth { * Device used on network 83 to 99. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ NETWORK_83_TO_99_UTILIZED = 0x03C0, @@ -2724,7 +2724,7 @@ declare namespace bluetooth { * Device without network service. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ NETWORK_NO_SERVICE = 0x03E0, @@ -2733,7 +2733,7 @@ declare namespace bluetooth { * Unclassified audio or video device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_UNCATEGORIZED = 0x0400, @@ -2741,7 +2741,7 @@ declare namespace bluetooth { * Wearable audio or video headset. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_WEARABLE_HEADSET = 0x0404, @@ -2749,7 +2749,7 @@ declare namespace bluetooth { * Hands-free audio or video device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_HANDSFREE = 0x0408, @@ -2757,7 +2757,7 @@ declare namespace bluetooth { * Audio or video microphone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_MICROPHONE = 0x0410, @@ -2765,7 +2765,7 @@ declare namespace bluetooth { * Audio or video loudspeaker. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_LOUDSPEAKER = 0x0414, @@ -2773,7 +2773,7 @@ declare namespace bluetooth { * Audio or video headphones. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_HEADPHONES = 0x0418, @@ -2781,7 +2781,7 @@ declare namespace bluetooth { * Portable audio or video device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_PORTABLE_AUDIO = 0x041C, @@ -2789,7 +2789,7 @@ declare namespace bluetooth { * In-vehicle audio or video device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_CAR_AUDIO = 0x0420, @@ -2797,7 +2797,7 @@ declare namespace bluetooth { * Audio or video STB device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_SET_TOP_BOX = 0x0424, @@ -2805,7 +2805,7 @@ declare namespace bluetooth { * High-fidelity speaker device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_HIFI_AUDIO = 0x0428, @@ -2813,7 +2813,7 @@ declare namespace bluetooth { * Video cassette recording (VCR) device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_VCR = 0x042C, @@ -2821,7 +2821,7 @@ declare namespace bluetooth { * Camera. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_VIDEO_CAMERA = 0x0430, @@ -2829,7 +2829,7 @@ declare namespace bluetooth { * Camcorder. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_CAMCORDER = 0x0434, @@ -2837,7 +2837,7 @@ declare namespace bluetooth { * Audio or video monitor. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_VIDEO_MONITOR = 0x0438, @@ -2845,7 +2845,7 @@ declare namespace bluetooth { * Video display or loudspeaker. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_VIDEO_DISPLAY_AND_LOUDSPEAKER = 0x043C, @@ -2853,7 +2853,7 @@ declare namespace bluetooth { * Video conferencing device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_VIDEO_CONFERENCING = 0x0440, @@ -2861,7 +2861,7 @@ declare namespace bluetooth { * Audio or video gaming toy. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ AUDIO_VIDEO_VIDEO_GAMING_TOY = 0x0448, @@ -2870,7 +2870,7 @@ declare namespace bluetooth { * Peripheral Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PERIPHERAL_NON_KEYBOARD_NON_POINTING = 0x0500, @@ -2878,7 +2878,7 @@ declare namespace bluetooth { * Keyboard device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PERIPHERAL_KEYBOARD = 0x0540, @@ -2886,7 +2886,7 @@ declare namespace bluetooth { * Pointing peripheral device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PERIPHERAL_POINTING_DEVICE = 0x0580, @@ -2894,7 +2894,7 @@ declare namespace bluetooth { * Keyboard pointing device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PERIPHERAL_KEYBOARD_POINTING = 0x05C0, @@ -2902,7 +2902,7 @@ declare namespace bluetooth { * Unclassified peripheral device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PERIPHERAL_UNCATEGORIZED = 0x0500, @@ -2910,7 +2910,7 @@ declare namespace bluetooth { * Peripheral joystick. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PERIPHERAL_JOYSTICK = 0x0504, @@ -2918,7 +2918,7 @@ declare namespace bluetooth { * Peripheral game pad. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PERIPHERAL_GAMEPAD = 0x0508, @@ -2926,7 +2926,7 @@ declare namespace bluetooth { * Peripheral remote control device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PERIPHERAL_REMOTE_CONTROL = 0x05C0, @@ -2934,7 +2934,7 @@ declare namespace bluetooth { * Peripheral sensing device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PERIPHERAL_SENSING_DEVICE = 0x0510, @@ -2942,7 +2942,7 @@ declare namespace bluetooth { * Peripheral digitizer tablet. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PERIPHERAL_DIGITIZER_TABLET = 0x0514, @@ -2950,7 +2950,7 @@ declare namespace bluetooth { * Peripheral card reader. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PERIPHERAL_CARD_READER = 0x0518, @@ -2958,7 +2958,7 @@ declare namespace bluetooth { * Peripheral digital pen. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PERIPHERAL_DIGITAL_PEN = 0x051C, @@ -2966,7 +2966,7 @@ declare namespace bluetooth { * Peripheral RFID scanner. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PERIPHERAL_SCANNER_RFID = 0x0520, @@ -2974,7 +2974,7 @@ declare namespace bluetooth { * Gesture input device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PERIPHERAL_GESTURAL_INPUT = 0x0522, @@ -2983,7 +2983,7 @@ declare namespace bluetooth { * Imaging Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ IMAGING_UNCATEGORIZED = 0x0600, @@ -2991,7 +2991,7 @@ declare namespace bluetooth { * Imaging display device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ IMAGING_DISPLAY = 0x0610, @@ -2999,7 +2999,7 @@ declare namespace bluetooth { * Imaging camera device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ IMAGING_CAMERA = 0x0620, @@ -3007,7 +3007,7 @@ declare namespace bluetooth { * Imaging scanner. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ IMAGING_SCANNER = 0x0640, @@ -3015,7 +3015,7 @@ declare namespace bluetooth { * Imaging printer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ IMAGING_PRINTER = 0x0680, @@ -3024,7 +3024,7 @@ declare namespace bluetooth { * Wearable Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ WEARABLE_UNCATEGORIZED = 0x0700, @@ -3032,7 +3032,7 @@ declare namespace bluetooth { * Smart watch. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ WEARABLE_WRIST_WATCH = 0x0704, @@ -3040,7 +3040,7 @@ declare namespace bluetooth { * Wearable pager. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ WEARABLE_PAGER = 0x0708, @@ -3048,7 +3048,7 @@ declare namespace bluetooth { * Smart jacket. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ WEARABLE_JACKET = 0x070C, @@ -3056,7 +3056,7 @@ declare namespace bluetooth { * Wearable helmet. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ WEARABLE_HELMET = 0x0710, @@ -3064,7 +3064,7 @@ declare namespace bluetooth { * Wearable glasses. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ WEARABLE_GLASSES = 0x0714, @@ -3073,7 +3073,7 @@ declare namespace bluetooth { * Minor Device Class field - Toy Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ TOY_UNCATEGORIZED = 0x0800, @@ -3081,7 +3081,7 @@ declare namespace bluetooth { * Toy robot. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ TOY_ROBOT = 0x0804, @@ -3089,7 +3089,7 @@ declare namespace bluetooth { * Toy vehicle. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ TOY_VEHICLE = 0x0808, @@ -3097,7 +3097,7 @@ declare namespace bluetooth { * Humanoid toy doll. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ TOY_DOLL_ACTION_FIGURE = 0x080C, @@ -3105,7 +3105,7 @@ declare namespace bluetooth { * Toy controller. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ TOY_CONTROLLER = 0x0810, @@ -3113,7 +3113,7 @@ declare namespace bluetooth { * Toy gaming device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ TOY_GAME = 0x0814, @@ -3122,7 +3122,7 @@ declare namespace bluetooth { * Minor Device Class field - Health * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_UNCATEGORIZED = 0x0900, @@ -3130,7 +3130,7 @@ declare namespace bluetooth { * Blood pressure device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_BLOOD_PRESSURE = 0x0904, @@ -3138,7 +3138,7 @@ declare namespace bluetooth { * Thermometer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_THERMOMETER = 0x0908, @@ -3146,7 +3146,7 @@ declare namespace bluetooth { * Body scale. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_WEIGHING = 0x090C, @@ -3154,7 +3154,7 @@ declare namespace bluetooth { * Blood glucose monitor. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_GLUCOSE = 0x0910, @@ -3162,7 +3162,7 @@ declare namespace bluetooth { * Pulse oximeter. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_PULSE_OXIMETER = 0x0914, @@ -3170,7 +3170,7 @@ declare namespace bluetooth { * Heart rate monitor. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_PULSE_RATE = 0x0918, @@ -3178,7 +3178,7 @@ declare namespace bluetooth { * Health data display. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_DATA_DISPLAY = 0x091C, @@ -3186,7 +3186,7 @@ declare namespace bluetooth { * Step counter. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_STEP_COUNTER = 0x0920, @@ -3194,7 +3194,7 @@ declare namespace bluetooth { * Body composition analyzer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_BODY_COMPOSITION_ANALYZER = 0x0924, @@ -3202,7 +3202,7 @@ declare namespace bluetooth { * Hygrometer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_PEAK_FLOW_MOITOR = 0x0928, @@ -3210,7 +3210,7 @@ declare namespace bluetooth { * Medication monitor. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_MEDICATION_MONITOR = 0x092C, @@ -3218,7 +3218,7 @@ declare namespace bluetooth { * Prosthetic knee. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_KNEE_PROSTHESIS = 0x0930, @@ -3226,7 +3226,7 @@ declare namespace bluetooth { * Prosthetic ankle. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_ANKLE_PROSTHESIS = 0x0934, @@ -3234,7 +3234,7 @@ declare namespace bluetooth { * Generic health management device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_GENERIC_HEALTH_MANAGER = 0x0938, @@ -3242,7 +3242,7 @@ declare namespace bluetooth { * Personal mobility device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ HEALTH_PERSONAL_MOBILITY_DEVICE = 0x093C @@ -3253,7 +3253,7 @@ declare namespace bluetooth { * * @typedef StateChangeParam * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.StateChangeParam */ @@ -3262,7 +3262,7 @@ declare namespace bluetooth { * The address of device * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ deviceId: string; @@ -3271,7 +3271,7 @@ declare namespace bluetooth { * Profile state value * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ state: ProfileConnectionState; @@ -3282,7 +3282,7 @@ declare namespace bluetooth { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.PlayingState */ @@ -3291,7 +3291,7 @@ declare namespace bluetooth { * Not playing. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ STATE_NOT_PLAYING, @@ -3299,7 +3299,7 @@ declare namespace bluetooth { * Playing. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ STATE_PLAYING @@ -3310,7 +3310,7 @@ declare namespace bluetooth { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bluetoothManager/bluetoothManager.ProfileId */ @@ -3319,7 +3319,7 @@ declare namespace bluetooth { * A2DP profile. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PROFILE_A2DP_SOURCE = 1, @@ -3328,7 +3328,7 @@ declare namespace bluetooth { * HFP profile. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ PROFILE_HANDS_FREE_AUDIO_GATEWAY = 4 diff --git a/api/@ohos.bluetooth.hfp.d.ts b/api/@ohos.bluetooth.hfp.d.ts index d0690b3934..b03336e3df 100644 --- a/api/@ohos.bluetooth.hfp.d.ts +++ b/api/@ohos.bluetooth.hfp.d.ts @@ -25,8 +25,8 @@ import type baseProfile from './@ohos.bluetooth.baseProfile'; * * @namespace hfp * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare namespace hfp { /** @@ -34,8 +34,8 @@ declare namespace hfp { * * @typedef { baseProfile.BaseProfile } BaseProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ type BaseProfile = baseProfile.BaseProfile; @@ -47,8 +47,8 @@ declare namespace hfp { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function createHfpAgProfile(): HandsFreeAudioGatewayProfile; @@ -58,8 +58,8 @@ declare namespace hfp { * @extends BaseProfile * @typedef HandsFreeAudioGatewayProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface HandsFreeAudioGatewayProfile extends BaseProfile { /** @@ -78,8 +78,8 @@ declare namespace hfp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ connect(deviceId: string): void; @@ -99,8 +99,8 @@ declare namespace hfp { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ disconnect(deviceId: string): void; } diff --git a/api/@ohos.bluetooth.hid.d.ts b/api/@ohos.bluetooth.hid.d.ts index 758d9a0237..f6d92c44f4 100644 --- a/api/@ohos.bluetooth.hid.d.ts +++ b/api/@ohos.bluetooth.hid.d.ts @@ -25,8 +25,8 @@ import type baseProfile from './@ohos.bluetooth.baseProfile'; * * @namespace hid * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare namespace hid { /** @@ -34,8 +34,8 @@ declare namespace hid { * * @typedef { baseProfile.BaseProfile } BaseProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ type BaseProfile = baseProfile.BaseProfile; @@ -47,8 +47,8 @@ declare namespace hid { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function createHidHostProfile(): HidHostProfile; @@ -58,8 +58,8 @@ declare namespace hid { * @extends BaseProfile * @typedef HidHostProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface HidHostProfile extends BaseProfile { /** @@ -78,8 +78,8 @@ declare namespace hid { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ connect(deviceId: string): void; @@ -99,8 +99,8 @@ declare namespace hid { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ disconnect(deviceId: string): void; } diff --git a/api/@ohos.bluetooth.map.d.ts b/api/@ohos.bluetooth.map.d.ts index 76daeda260..a8588dbbd9 100644 --- a/api/@ohos.bluetooth.map.d.ts +++ b/api/@ohos.bluetooth.map.d.ts @@ -26,7 +26,7 @@ import type constant from './@ohos.bluetooth.constant'; * * @namespace map * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 11 + * @since 11 dynamic */ declare namespace map { /** @@ -34,7 +34,7 @@ declare namespace map { * * @typedef { baseProfile.BaseProfile } BaseProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 11 + * @since 11 dynamic */ type BaseProfile = baseProfile.BaseProfile; @@ -44,7 +44,7 @@ declare namespace map { * @typedef { constant.AccessAuthorization } AccessAuthorization * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ type AccessAuthorization = constant.AccessAuthorization; @@ -56,7 +56,7 @@ declare namespace map { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 11 + * @since 11 dynamic */ function createMapMseProfile(): MapMseProfile; @@ -66,7 +66,7 @@ declare namespace map { * @extends BaseProfile * @typedef MapMseProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 11 + * @since 11 dynamic */ interface MapMseProfile extends BaseProfile { /** @@ -85,7 +85,7 @@ declare namespace map { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ disconnect(deviceId: string): void; @@ -107,7 +107,7 @@ declare namespace map { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ setMessageAccessAuthorization(deviceId: string, authorization: AccessAuthorization): Promise; @@ -128,7 +128,7 @@ declare namespace map { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ getMessageAccessAuthorization(deviceId: string): Promise; } diff --git a/api/@ohos.bluetooth.opp.d.ts b/api/@ohos.bluetooth.opp.d.ts index 8fa7272431..00eb3357c1 100644 --- a/api/@ohos.bluetooth.opp.d.ts +++ b/api/@ohos.bluetooth.opp.d.ts @@ -25,7 +25,7 @@ import type { Callback } from './@ohos.base'; * * @namespace opp * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 16 + * @since 16 dynamic */ declare namespace opp { /** @@ -36,7 +36,7 @@ declare namespace opp { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ function createOppServerProfile(): OppServerProfile; @@ -45,7 +45,7 @@ declare namespace opp { * * @typedef OppServerProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 16 + * @since 16 dynamic */ interface OppServerProfile { /** @@ -65,7 +65,7 @@ declare namespace opp { * @throws { BusinessError } 2900004 - Profile not supported. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ on(type: 'transferStateChange', callback: Callback): void; @@ -86,7 +86,7 @@ declare namespace opp { * @throws { BusinessError } 2900004 - Profile not supported. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ off(type: 'transferStateChange', callback?: Callback): void; @@ -107,7 +107,7 @@ declare namespace opp { * @throws { BusinessError } 2900004 - Profile not supported. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ on(type: 'receiveIncomingFile', callback: Callback): void; @@ -128,7 +128,7 @@ declare namespace opp { * @throws { BusinessError } 2900004 - Profile not supported. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ off(type: 'receiveIncomingFile', callback?: Callback): void; @@ -153,7 +153,7 @@ declare namespace opp { * @throws { BusinessError } 2903003 - The file is not accessible. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ sendFile(deviceId: string, fileHolds: Array): Promise; @@ -177,7 +177,7 @@ declare namespace opp { * @throws { BusinessError } 2903003 - The file is not accessible. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ setIncomingFileConfirmation(accept: boolean, fileFd: number): Promise; @@ -197,7 +197,7 @@ declare namespace opp { * @throws { BusinessError } 2903002 - Current Transfer Information is busy. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ cancelTransfer(): Promise; @@ -217,7 +217,7 @@ declare namespace opp { * @throws { BusinessError } 2903004 - Current Transfer Information is empty. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ getCurrentTransferInformation(): Promise; @@ -239,7 +239,7 @@ declare namespace opp { * @throws { BusinessError } 2900099 - Failed to set the URI of the last file. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ setLastReceivedFileUri(uri: string): Promise; } @@ -250,7 +250,7 @@ declare namespace opp { * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ enum DirectionType { /** @@ -258,7 +258,7 @@ declare namespace opp { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ OUTBOUND = 0, @@ -267,7 +267,7 @@ declare namespace opp { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ INBOUND = 1 } @@ -278,7 +278,7 @@ declare namespace opp { * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ enum TransferStatus { /** @@ -286,7 +286,7 @@ declare namespace opp { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ PENDING = 0, @@ -295,7 +295,7 @@ declare namespace opp { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ RUNNING = 1, @@ -304,7 +304,7 @@ declare namespace opp { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ FINISH = 2 } @@ -315,7 +315,7 @@ declare namespace opp { * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ enum TransferResult { /** @@ -323,7 +323,7 @@ declare namespace opp { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ SUCCESS = 0, @@ -332,7 +332,7 @@ declare namespace opp { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ ERROR_UNSUPPORTED_TYPE = 1, @@ -341,7 +341,7 @@ declare namespace opp { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ ERROR_BAD_REQUEST = 2, @@ -350,7 +350,7 @@ declare namespace opp { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ ERROR_NOT_ACCEPTABLE = 3, @@ -360,7 +360,7 @@ declare namespace opp { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ ERROR_CANCELED = 4, @@ -369,7 +369,7 @@ declare namespace opp { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ ERROR_CONNECTION_FAILED = 5, @@ -378,7 +378,7 @@ declare namespace opp { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ ERROR_TRANSFER_FAILED = 6, @@ -387,7 +387,7 @@ declare namespace opp { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ ERROR_UNKNOWN = 7 } @@ -398,7 +398,7 @@ declare namespace opp { * @typedef OppTransferInformation * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ interface OppTransferInformation { /** @@ -407,7 +407,7 @@ declare namespace opp { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ filePath: string; @@ -417,7 +417,7 @@ declare namespace opp { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ remoteDeviceName: string; @@ -427,7 +427,7 @@ declare namespace opp { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ remoteDeviceId: string; @@ -437,7 +437,7 @@ declare namespace opp { * @type { DirectionType } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ direction: DirectionType; @@ -447,7 +447,7 @@ declare namespace opp { * @type { TransferStatus } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ status: TransferStatus; @@ -457,7 +457,7 @@ declare namespace opp { * @type { TransferResult } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ result: TransferResult; @@ -467,7 +467,7 @@ declare namespace opp { * @type { number } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ currentBytes: number; @@ -477,7 +477,7 @@ declare namespace opp { * @type { number } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ totalBytes: number; @@ -487,7 +487,7 @@ declare namespace opp { * @type { number } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ currentCount: number; @@ -497,7 +497,7 @@ declare namespace opp { * @type { number } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ totalCount: number; } @@ -508,7 +508,7 @@ declare namespace opp { * @typedef FileHolder * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ interface FileHolder { /** @@ -517,7 +517,7 @@ declare namespace opp { * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ filePath: string; @@ -527,7 +527,7 @@ declare namespace opp { * @type { number } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ fileSize: number; @@ -537,7 +537,7 @@ declare namespace opp { * @type { number } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 16 + * @since 16 dynamic */ fileFd: number; } diff --git a/api/@ohos.bluetooth.pan.d.ts b/api/@ohos.bluetooth.pan.d.ts index 9518219472..1f2a4db2b7 100644 --- a/api/@ohos.bluetooth.pan.d.ts +++ b/api/@ohos.bluetooth.pan.d.ts @@ -25,7 +25,7 @@ import type baseProfile from './@ohos.bluetooth.baseProfile'; * * @namespace pan * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ declare namespace pan { /** @@ -33,7 +33,7 @@ declare namespace pan { * * @typedef { baseProfile.BaseProfile } BaseProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ type BaseProfile = baseProfile.BaseProfile; @@ -45,7 +45,7 @@ declare namespace pan { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ function createPanProfile(): PanProfile; @@ -55,7 +55,7 @@ declare namespace pan { * @extends BaseProfile * @typedef PanProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ interface PanProfile extends BaseProfile { /** @@ -74,7 +74,7 @@ declare namespace pan { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 10 + * @since 10 dynamic */ disconnect(deviceId: string): void; @@ -94,7 +94,7 @@ declare namespace pan { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setTethering(enable: boolean): void; @@ -108,7 +108,7 @@ declare namespace pan { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 10 + * @since 10 dynamic */ isTetheringOn(): boolean; } diff --git a/api/@ohos.bluetooth.pbap.d.ts b/api/@ohos.bluetooth.pbap.d.ts index 8da3174b21..2e9f2a5acd 100644 --- a/api/@ohos.bluetooth.pbap.d.ts +++ b/api/@ohos.bluetooth.pbap.d.ts @@ -27,7 +27,7 @@ import type constant from './@ohos.bluetooth.constant'; * * @namespace pbap * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 11 + * @since 11 dynamic */ declare namespace pbap { /** @@ -35,7 +35,7 @@ declare namespace pbap { * * @typedef { baseProfile.BaseProfile } BaseProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 11 + * @since 11 dynamic */ type BaseProfile = baseProfile.BaseProfile; @@ -45,7 +45,7 @@ declare namespace pbap { * @typedef { constant.AccessAuthorization } AccessAuthorization * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ type AccessAuthorization = constant.AccessAuthorization; @@ -55,7 +55,7 @@ declare namespace pbap { * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ enum ShareType { /** @@ -63,7 +63,7 @@ declare namespace pbap { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ SHARE_NAME_AND_PHONE_NUMBER = 0, /** @@ -71,7 +71,7 @@ declare namespace pbap { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ SHARE_ALL = 1, /** @@ -79,7 +79,7 @@ declare namespace pbap { * * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ SHARE_NOTHING = 2 } @@ -92,7 +92,7 @@ declare namespace pbap { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 11 + * @since 11 dynamic */ function createPbapServerProfile(): PbapServerProfile; @@ -102,7 +102,7 @@ declare namespace pbap { * @extends BaseProfile * @typedef PbapServerProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 11 + * @since 11 dynamic */ interface PbapServerProfile extends BaseProfile { /** @@ -121,7 +121,7 @@ declare namespace pbap { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ disconnect(deviceId: string): void; @@ -143,7 +143,7 @@ declare namespace pbap { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ setShareType(deviceId: string, type: ShareType, callback: AsyncCallback): void; @@ -165,7 +165,7 @@ declare namespace pbap { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ setShareType(deviceId: string, type: ShareType): Promise; @@ -186,7 +186,7 @@ declare namespace pbap { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ getShareType(deviceId: string, callback: AsyncCallback): void; @@ -207,7 +207,7 @@ declare namespace pbap { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ getShareType(deviceId: string): Promise; @@ -229,7 +229,7 @@ declare namespace pbap { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ setPhoneBookAccessAuthorization( deviceId: string, @@ -255,7 +255,7 @@ declare namespace pbap { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ setPhoneBookAccessAuthorization(deviceId: string, authorization: AccessAuthorization): Promise; @@ -276,7 +276,7 @@ declare namespace pbap { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ getPhoneBookAccessAuthorization(deviceId: string, callback: AsyncCallback): void; @@ -297,7 +297,7 @@ declare namespace pbap { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ getPhoneBookAccessAuthorization(deviceId: string): Promise; } diff --git a/api/@ohos.bluetooth.socket.d.ts b/api/@ohos.bluetooth.socket.d.ts index c44b7866c5..4600499b78 100644 --- a/api/@ohos.bluetooth.socket.d.ts +++ b/api/@ohos.bluetooth.socket.d.ts @@ -25,7 +25,7 @@ import type { AsyncCallback, Callback } from './@ohos.base'; * * @namespace socket * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ declare namespace socket { /** @@ -44,7 +44,7 @@ declare namespace socket { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ function sppListen(name: string, options: SppOptions, callback: AsyncCallback): void; @@ -61,7 +61,7 @@ declare namespace socket { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ function sppAccept(serverSocket: number, callback: AsyncCallback): void; @@ -81,7 +81,7 @@ declare namespace socket { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ function sppConnect(deviceId: string, options: SppOptions, callback: AsyncCallback): void; @@ -95,7 +95,7 @@ declare namespace socket { * 2. Incorrect parameter types; * 3. Parameter verification failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 17 + * @since 17 dynamic */ function getDeviceId(clientSocket: number): string; @@ -109,7 +109,7 @@ declare namespace socket { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ function sppCloseServerSocket(socket: number): void; @@ -123,7 +123,7 @@ declare namespace socket { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ function sppCloseClientSocket(socket: number): void; @@ -138,7 +138,7 @@ declare namespace socket { * @throws { BusinessError } 2901054 - IO error. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ function sppWrite(clientSocket: number, data: ArrayBuffer): void; @@ -154,7 +154,7 @@ declare namespace socket { * @throws { BusinessError } 2901054 - IO error. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ function on(type: 'sppRead', clientSocket: number, callback: Callback): void; @@ -168,7 +168,7 @@ declare namespace socket { *
2. Incorrect parameter types. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ function off(type: 'sppRead', clientSocket: number, callback?: Callback): void; @@ -182,7 +182,7 @@ declare namespace socket { * @throws { BusinessError } 2901054 - IO error. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 18 + * @since 18 dynamic */ function sppWriteAsync(clientSocket: number, data: ArrayBuffer): Promise; @@ -195,7 +195,7 @@ declare namespace socket { * @throws { BusinessError } 2901054 - IO error. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 18 + * @since 18 dynamic */ function sppReadAsync(clientSocket: number): Promise; @@ -204,7 +204,7 @@ declare namespace socket { * * @typedef SppOptions * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ interface SppOptions { /** @@ -212,7 +212,7 @@ declare namespace socket { * * @type { string } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ uuid: string; /** @@ -220,7 +220,7 @@ declare namespace socket { * * @type { boolean } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ secure: boolean; /** @@ -228,7 +228,7 @@ declare namespace socket { * * @type { SppType } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ type: SppType; } @@ -238,14 +238,14 @@ declare namespace socket { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ enum SppType { /** * RFCOMM * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamic */ SPP_RFCOMM } diff --git a/api/@ohos.bluetooth.wearDetection.d.ts b/api/@ohos.bluetooth.wearDetection.d.ts index be5af03c24..12fe821b27 100644 --- a/api/@ohos.bluetooth.wearDetection.d.ts +++ b/api/@ohos.bluetooth.wearDetection.d.ts @@ -25,7 +25,7 @@ import type { AsyncCallback, Callback } from './@ohos.base'; * * @namespace wearDetection * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 11 + * @since 11 dynamic */ declare namespace wearDetection { /** @@ -44,7 +44,7 @@ declare namespace wearDetection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ function enableWearDetection(deviceId: string, callback: AsyncCallback): void; @@ -64,7 +64,7 @@ declare namespace wearDetection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ function enableWearDetection(deviceId: string): Promise; @@ -84,7 +84,7 @@ declare namespace wearDetection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ function disableWearDetection(deviceId: string, callback: AsyncCallback): void; @@ -104,7 +104,7 @@ declare namespace wearDetection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ function disableWearDetection(deviceId: string): Promise; @@ -124,7 +124,7 @@ declare namespace wearDetection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ function isWearDetectionSupported(deviceId: string, callback: AsyncCallback): void; @@ -144,7 +144,7 @@ declare namespace wearDetection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ function isWearDetectionSupported(deviceId: string): Promise; @@ -164,7 +164,7 @@ declare namespace wearDetection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ function isWearDetectionEnabled(deviceId: string, callback: AsyncCallback): void; @@ -184,7 +184,7 @@ declare namespace wearDetection { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi - * @since 11 + * @since 11 dynamic */ function isWearDetectionEnabled(deviceId: string): Promise; } diff --git a/api/@ohos.bluetoothManager.d.ts b/api/@ohos.bluetoothManager.d.ts index ee99e0a957..705d0f1763 100644 --- a/api/@ohos.bluetoothManager.d.ts +++ b/api/@ohos.bluetoothManager.d.ts @@ -25,7 +25,7 @@ import type { AsyncCallback, Callback } from './@ohos.base'; * * @namespace bluetoothManager * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ declare namespace bluetoothManager { @@ -60,7 +60,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.access/access#getState */ @@ -97,7 +97,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection#getProfileConnectionState */ @@ -134,7 +134,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection#pairDevice */ @@ -175,7 +175,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection#cancelPairedDevice */ @@ -214,7 +214,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection#getRemoteDeviceName */ @@ -253,7 +253,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection#getRemoteDeviceClass */ @@ -282,7 +282,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.access/access#enableBluetooth */ @@ -311,7 +311,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.access/access#disableBluetooth */ @@ -342,7 +342,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection#getLocalName */ @@ -375,7 +375,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection#getPairedDevices */ @@ -416,7 +416,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection#getProfileConnectionState */ @@ -455,7 +455,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection#setDevicePairingConfirmation */ @@ -492,7 +492,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection#setLocalName */ @@ -531,7 +531,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection#setBluetoothScanMode */ @@ -564,7 +564,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection#getBluetoothScanMode */ @@ -596,7 +596,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection#startBluetoothDiscovery */ @@ -627,7 +627,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection#stopBluetoothDiscovery */ @@ -662,7 +662,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.on#event:bluetoothDeviceFind */ @@ -693,7 +693,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.off#event:bluetoothDeviceFind */ @@ -728,7 +728,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.on#event:bondStateChange */ @@ -763,7 +763,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.off#event:bondStateChange */ @@ -798,7 +798,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.on#event:pinRequired */ @@ -833,7 +833,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.off#event:pinRequired */ @@ -868,7 +868,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.access/access.on#event:stateChange */ @@ -903,7 +903,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.access/access.off#event:stateChange */ @@ -946,7 +946,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.socket/socket#sppListen */ @@ -965,7 +965,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.socket/socket#sppAccept */ @@ -1008,7 +1008,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.socket/socket#sppConnect */ @@ -1024,7 +1024,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.socket/socket#sppCloseServerSocket */ @@ -1040,7 +1040,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.socket/socket#sppCloseClientSocket */ @@ -1057,7 +1057,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2901054 - IO error. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.socket/socket#sppWrite */ @@ -1075,7 +1075,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2901054 - IO error. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.socket/socket.on#event:sppRead */ @@ -1091,7 +1091,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.socket/socket.off#event:sppRead */ @@ -1106,7 +1106,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ function getProfileInstance( @@ -1118,7 +1118,7 @@ declare namespace bluetoothManager { * * @typedef BaseProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.baseProfile/baseProfile.BaseProfile */ @@ -1152,7 +1152,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.baseProfile/baseProfile#getConnectedDevices */ @@ -1193,7 +1193,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.baseProfile/baseProfile#getConnectionState */ @@ -1205,7 +1205,7 @@ declare namespace bluetoothManager { * * @typedef A2dpSourceProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.a2dp/a2dp.A2dpSourceProfile */ @@ -1243,7 +1243,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.a2dp/a2dp.A2dpSourceProfile#connect */ @@ -1282,7 +1282,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.a2dp/a2dp.A2dpSourceProfile#disconnect */ @@ -1312,7 +1312,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.a2dp/a2dp.A2dpSourceProfile.on#event:connectionStateChange */ @@ -1342,7 +1342,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.a2dp/a2dp.A2dpSourceProfile.off#event:connectionStateChange */ @@ -1380,7 +1380,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.a2dp/a2dp.A2dpSourceProfile#getPlayingState */ @@ -1392,7 +1392,7 @@ declare namespace bluetoothManager { * * @typedef HandsFreeAudioGatewayProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.hfp/hfp.HandsFreeAudioGatewayProfile */ @@ -1430,7 +1430,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.hfp/hfp.HandsFreeAudioGatewayProfile#connect */ @@ -1469,7 +1469,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.hfp/hfp.HandsFreeAudioGatewayProfile#disconnect */ @@ -1499,7 +1499,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.hfp/hfp.HandsFreeAudioGatewayProfile.on#event:connectionStateChange */ @@ -1529,7 +1529,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.hfp/hfp.HandsFreeAudioGatewayProfile.off#event:connectionStateChange */ @@ -1541,7 +1541,7 @@ declare namespace bluetoothManager { * * @typedef HidHostProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.hid/hid.HidHostProfile */ @@ -1583,7 +1583,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.hid/hid.HidHostProfile#connect */ @@ -1626,7 +1626,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.hid/hid.HidHostProfile#disconnect */ @@ -1656,7 +1656,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.hid/hid.HidHostProfile.on#event:connectionStateChange */ @@ -1686,7 +1686,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.hid/hid.HidHostProfile.off#event:connectionStateChange */ @@ -1698,7 +1698,7 @@ declare namespace bluetoothManager { * * @typedef PanProfile * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.pan/pan.PanProfile */ @@ -1740,7 +1740,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.pan/pan.PanProfile#disconnect */ @@ -1770,7 +1770,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.pan/pan.PanProfile.on#event:connectionStateChange */ @@ -1800,7 +1800,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.pan/pan.PanProfile.off#event:connectionStateChange */ @@ -1845,7 +1845,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.pan/pan.PanProfile#setTethering */ @@ -1873,7 +1873,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.pan/pan.PanProfile#isTetheringOn */ @@ -1885,7 +1885,7 @@ declare namespace bluetoothManager { * * @namespace BLE * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble */ @@ -1895,7 +1895,7 @@ declare namespace bluetoothManager { * * @returns { GattServer } Returns a JavaScript Gatt server instance {@code GattServer}. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble#createGattServer */ @@ -1910,7 +1910,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble#createGattClientDevice */ @@ -1943,7 +1943,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble#getConnectedBLEDevices */ @@ -1989,7 +1989,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble#startBLEScan */ @@ -2020,7 +2020,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble#stopBLEScan */ @@ -2055,7 +2055,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.on#event:BLEDeviceFind */ @@ -2090,7 +2090,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.off#event:BLEDeviceFind */ @@ -2102,7 +2102,7 @@ declare namespace bluetoothManager { * * @typedef GattServer * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer */ @@ -2144,7 +2144,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble#startAdvertising */ @@ -2175,7 +2175,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble#stopAdvertising */ @@ -2214,7 +2214,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer#addService */ @@ -2253,7 +2253,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900004 - Profile not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer#removeService */ @@ -2284,7 +2284,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer#close */ @@ -2325,7 +2325,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer#notifyCharacteristicChanged */ @@ -2362,7 +2362,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer#sendResponse */ @@ -2395,7 +2395,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer.on#event:characteristicRead */ @@ -2428,7 +2428,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer.off#event:characteristicRead */ @@ -2461,7 +2461,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer.on#event:characteristicWrite */ @@ -2494,7 +2494,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer.off#event:characteristicWrite */ @@ -2527,7 +2527,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer.on#event:descriptorRead */ @@ -2560,7 +2560,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer.off#event:descriptorRead */ @@ -2593,7 +2593,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer.on#event:descriptorWrite */ @@ -2626,7 +2626,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer.off#event:descriptorWrite */ @@ -2659,7 +2659,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer.on#event:connectionStateChange */ @@ -2692,7 +2692,7 @@ declare namespace bluetoothManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattServer.off#event:connectionStateChange */ @@ -2704,7 +2704,7 @@ declare namespace bluetoothManager { * * @typedef GattClientDevice * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice */ @@ -2736,7 +2736,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#connect */ @@ -2767,7 +2767,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#disconnect */ @@ -2800,7 +2800,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900003 - Bluetooth disabled. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#close */ @@ -2835,7 +2835,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#getDeviceName */ @@ -2872,7 +2872,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#getDeviceName */ @@ -2907,7 +2907,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#getServices */ @@ -2942,7 +2942,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#getServices */ @@ -2981,7 +2981,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2901000 - Read forbidden. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#readCharacteristicValue */ @@ -3020,7 +3020,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2901000 - Read forbidden. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#readCharacteristicValue */ @@ -3059,7 +3059,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2901000 - Read forbidden. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#readDescriptorValue */ @@ -3098,7 +3098,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2901000 - Read forbidden. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#readDescriptorValue */ @@ -3135,7 +3135,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2901001 - Write forbidden. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#writeCharacteristicValue */ @@ -3172,7 +3172,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2901001 - Write forbidden. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#writeDescriptorValue */ @@ -3205,7 +3205,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#getRssiValue */ @@ -3238,7 +3238,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#getRssiValue */ @@ -3273,7 +3273,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#setBLEMtuSize */ @@ -3312,7 +3312,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 2900001 - Service stopped. * @throws { BusinessError } 2900099 - Operation failed. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice#setCharacteristicChangeNotification */ @@ -3341,7 +3341,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice.on#event:BLECharacteristicChange */ @@ -3370,7 +3370,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice.off#event:BLECharacteristicChange */ @@ -3399,7 +3399,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice.on#event:BLEConnectionStateChange */ @@ -3428,7 +3428,7 @@ declare namespace bluetoothManager { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattClientDevice.off#event:BLEConnectionStateChange */ @@ -3440,7 +3440,7 @@ declare namespace bluetoothManager { * * @typedef GattService * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattService */ @@ -3449,7 +3449,7 @@ declare namespace bluetoothManager { * The UUID of a GattService instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattService#serviceUuid */ @@ -3458,7 +3458,7 @@ declare namespace bluetoothManager { * Indicates whether the GattService instance is primary or secondary. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattService#isPrimary */ @@ -3467,7 +3467,7 @@ declare namespace bluetoothManager { * The {@link BLECharacteristic} list belongs to this GattService instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattService#characteristics */ @@ -3476,7 +3476,7 @@ declare namespace bluetoothManager { * The list of GATT services contained in the service * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.GattService#includeServices */ @@ -3488,7 +3488,7 @@ declare namespace bluetoothManager { * * @typedef BLECharacteristic * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.BLECharacteristic */ @@ -3497,7 +3497,7 @@ declare namespace bluetoothManager { * The UUID of the {@link GattService} instance to which the characteristic belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.BLECharacteristic#serviceUuid */ @@ -3506,7 +3506,7 @@ declare namespace bluetoothManager { * The UUID of a BLECharacteristic instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.BLECharacteristic#characteristicUuid */ @@ -3515,7 +3515,7 @@ declare namespace bluetoothManager { * The value of a BLECharacteristic instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.BLECharacteristic#characteristicValue */ @@ -3524,7 +3524,7 @@ declare namespace bluetoothManager { * The list of {@link BLEDescriptor} contained in the characteristic * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.BLECharacteristic#descriptors */ @@ -3536,7 +3536,7 @@ declare namespace bluetoothManager { * * @typedef BLEDescriptor * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.BLEDescriptor */ @@ -3545,7 +3545,7 @@ declare namespace bluetoothManager { * The UUID of the {@link GattService} instance to which the descriptor belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.BLEDescriptor#serviceUuid */ @@ -3554,7 +3554,7 @@ declare namespace bluetoothManager { * The UUID of the {@link BLECharacteristic} instance to which the descriptor belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.BLEDescriptor#characteristicUuid */ @@ -3563,7 +3563,7 @@ declare namespace bluetoothManager { * The UUID of the BLEDescriptor instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.BLEDescriptor#descriptorUuid */ @@ -3572,7 +3572,7 @@ declare namespace bluetoothManager { * The value of the BLEDescriptor instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.BLEDescriptor#descriptorValue */ @@ -3584,7 +3584,7 @@ declare namespace bluetoothManager { * * @typedef NotifyCharacteristic * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.NotifyCharacteristic */ @@ -3593,7 +3593,7 @@ declare namespace bluetoothManager { * The UUID of the {@link GattService} instance to which the characteristic belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.NotifyCharacteristic#serviceUuid */ @@ -3602,7 +3602,7 @@ declare namespace bluetoothManager { * The UUID of a NotifyCharacteristic instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.NotifyCharacteristic#characteristicUuid */ @@ -3611,7 +3611,7 @@ declare namespace bluetoothManager { * The value of a NotifyCharacteristic instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.NotifyCharacteristic#characteristicValue */ @@ -3621,7 +3621,7 @@ declare namespace bluetoothManager { * send a notification. Value {@code true} indicates the former and {@code false} indicates the latter. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.NotifyCharacteristic#confirm */ @@ -3633,7 +3633,7 @@ declare namespace bluetoothManager { * * @typedef CharacteristicReadRequest * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicReadRequest */ @@ -3642,7 +3642,7 @@ declare namespace bluetoothManager { * Indicates the address of the client that initiates the read request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicReadRequest#deviceId */ @@ -3651,7 +3651,7 @@ declare namespace bluetoothManager { * The Id of the read request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicReadRequest#transId */ @@ -3660,7 +3660,7 @@ declare namespace bluetoothManager { * Indicates the byte offset of the start position for reading characteristic value * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicReadRequest#offset */ @@ -3669,7 +3669,7 @@ declare namespace bluetoothManager { * The UUID of a CharacteristicReadRequest instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicReadRequest#characteristicUuid */ @@ -3678,7 +3678,7 @@ declare namespace bluetoothManager { * The UUID of the service to which the characteristic belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicReadRequest#serviceUuid */ @@ -3690,7 +3690,7 @@ declare namespace bluetoothManager { * * @typedef CharacteristicWriteRequest * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicWriteRequest */ @@ -3699,7 +3699,7 @@ declare namespace bluetoothManager { * Indicates the address of the client that initiates the write request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicWriteRequest#deviceId */ @@ -3708,7 +3708,7 @@ declare namespace bluetoothManager { * The Id of the write request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicWriteRequest#transId */ @@ -3717,7 +3717,7 @@ declare namespace bluetoothManager { * Indicates the byte offset of the start position for writing characteristic value * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicWriteRequest#offset */ @@ -3726,7 +3726,7 @@ declare namespace bluetoothManager { * Whether this request should be pending for later operation * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicWriteRequest#isPrepared */ @@ -3735,7 +3735,7 @@ declare namespace bluetoothManager { * Whether the remote client need a response * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicWriteRequest#needRsp */ @@ -3744,7 +3744,7 @@ declare namespace bluetoothManager { * Indicates the value to be written * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicWriteRequest#value */ @@ -3753,7 +3753,7 @@ declare namespace bluetoothManager { * The UUID of a CharacteristicWriteRequest instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicWriteRequest#characteristicUuid */ @@ -3762,7 +3762,7 @@ declare namespace bluetoothManager { * The UUID of the service to which the characteristic belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.CharacteristicWriteRequest#serviceUuid */ @@ -3774,7 +3774,7 @@ declare namespace bluetoothManager { * * @typedef DescriptorReadRequest * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorReadRequest */ @@ -3783,7 +3783,7 @@ declare namespace bluetoothManager { * Indicates the address of the client that initiates the read request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorReadRequest#deviceId */ @@ -3792,7 +3792,7 @@ declare namespace bluetoothManager { * The Id of the read request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorReadRequest#transId */ @@ -3801,7 +3801,7 @@ declare namespace bluetoothManager { * Indicates the byte offset of the start position for reading characteristic value * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorReadRequest#offset */ @@ -3810,7 +3810,7 @@ declare namespace bluetoothManager { * The UUID of a DescriptorReadRequest instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorReadRequest#descriptorUuid */ @@ -3819,7 +3819,7 @@ declare namespace bluetoothManager { * The UUID of the characteristic to which the descriptor belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorReadRequest#characteristicUuid */ @@ -3828,7 +3828,7 @@ declare namespace bluetoothManager { * The UUID of the service to which the descriptor belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorReadRequest#serviceUuid */ @@ -3840,7 +3840,7 @@ declare namespace bluetoothManager { * * @typedef DescriptorWriteRequest * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorWriteRequest */ @@ -3849,7 +3849,7 @@ declare namespace bluetoothManager { * Indicates the address of the client that initiates the write request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorWriteRequest#deviceId */ @@ -3858,7 +3858,7 @@ declare namespace bluetoothManager { * The Id of the write request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorWriteRequest#transId */ @@ -3867,7 +3867,7 @@ declare namespace bluetoothManager { * Indicates the byte offset of the start position for writing characteristic value * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorWriteRequest#offset */ @@ -3876,7 +3876,7 @@ declare namespace bluetoothManager { * Whether this request should be pending for later operation * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorWriteRequest#isPrepared */ @@ -3885,7 +3885,7 @@ declare namespace bluetoothManager { * Whether the remote client need a response * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorWriteRequest#needRsp */ @@ -3894,7 +3894,7 @@ declare namespace bluetoothManager { * Indicates the value to be written * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorWriteRequest#value */ @@ -3903,7 +3903,7 @@ declare namespace bluetoothManager { * The UUID of a DescriptorWriteRequest instance * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorWriteRequest#descriptorUuid */ @@ -3912,7 +3912,7 @@ declare namespace bluetoothManager { * The UUID of the characteristic to which the descriptor belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorWriteRequest#characteristicUuid */ @@ -3921,7 +3921,7 @@ declare namespace bluetoothManager { * The UUID of the service to which the descriptor belongs * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.DescriptorWriteRequest#serviceUuid */ @@ -3933,7 +3933,7 @@ declare namespace bluetoothManager { * * @typedef ServerResponse * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ServerResponse */ @@ -3942,7 +3942,7 @@ declare namespace bluetoothManager { * Indicates the address of the client to which to send the response * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ServerResponse#deviceId */ @@ -3951,7 +3951,7 @@ declare namespace bluetoothManager { * The Id of the write request * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ServerResponse#transId */ @@ -3960,7 +3960,7 @@ declare namespace bluetoothManager { * Indicates the status of the read or write request, set this parameter to '0' in normal cases * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ServerResponse#status */ @@ -3969,7 +3969,7 @@ declare namespace bluetoothManager { * Indicates the byte offset of the start position for reading or writing operation * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ServerResponse#offset */ @@ -3978,7 +3978,7 @@ declare namespace bluetoothManager { * Indicates the value to be sent * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ServerResponse#value */ @@ -3990,7 +3990,7 @@ declare namespace bluetoothManager { * * @typedef BLEConnectChangedState * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.BLEConnectionChangeState */ @@ -3999,7 +3999,7 @@ declare namespace bluetoothManager { * Indicates the peer device address * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.BLEConnectionChangeState#deviceId */ @@ -4008,7 +4008,7 @@ declare namespace bluetoothManager { * Connection state of the Gatt profile * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.BLEConnectionChangeState#state */ @@ -4020,7 +4020,7 @@ declare namespace bluetoothManager { * * @typedef ScanResult * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanResult */ @@ -4029,7 +4029,7 @@ declare namespace bluetoothManager { * Address of the scanned device * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanResult#deviceId */ @@ -4038,7 +4038,7 @@ declare namespace bluetoothManager { * RSSI of the remote device * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanResult#rssi */ @@ -4047,7 +4047,7 @@ declare namespace bluetoothManager { * The raw data of broadcast packet * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanResult#data */ @@ -4059,7 +4059,7 @@ declare namespace bluetoothManager { * * @typedef AdvertiseSetting * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.AdvertiseSetting */ @@ -4070,7 +4070,7 @@ declare namespace bluetoothManager { * Default slot value for the advertising interval, which is {@code 1600} (1s) * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.AdvertiseSetting#interval */ @@ -4081,7 +4081,7 @@ declare namespace bluetoothManager { * Default transmission power level for advertising, which is {@code -7} * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.AdvertiseSetting#txPower */ @@ -4090,7 +4090,7 @@ declare namespace bluetoothManager { * Indicates whether the BLE is connectable, default is {@code true} * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.AdvertiseSetting#connectable */ @@ -4102,7 +4102,7 @@ declare namespace bluetoothManager { * * @typedef AdvertiseData * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.AdvertiseData */ @@ -4111,7 +4111,7 @@ declare namespace bluetoothManager { * The specified service UUID list to this advertisement * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.AdvertiseData#serviceUuids */ @@ -4120,7 +4120,7 @@ declare namespace bluetoothManager { * The specified manufacturer data list to this advertisement * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.AdvertiseData#manufactureData */ @@ -4129,7 +4129,7 @@ declare namespace bluetoothManager { * The specified service data list to this advertisement * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.AdvertiseData#serviceData */ @@ -4141,7 +4141,7 @@ declare namespace bluetoothManager { * * @typedef ManufactureData * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ManufactureData */ @@ -4150,7 +4150,7 @@ declare namespace bluetoothManager { * Indicates the manufacturer ID assigned by Bluetooth SIG * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ManufactureData#manufactureId */ @@ -4159,7 +4159,7 @@ declare namespace bluetoothManager { * Indicates the manufacturer data to add * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ManufactureData#manufactureValue */ @@ -4171,7 +4171,7 @@ declare namespace bluetoothManager { * * @typedef ServiceData * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ServiceData */ @@ -4180,7 +4180,7 @@ declare namespace bluetoothManager { * Indicates the UUID of the service data to add * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ServiceData#serviceUuid */ @@ -4189,7 +4189,7 @@ declare namespace bluetoothManager { * Indicates the service data to add * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ServiceData#serviceValue */ @@ -4201,7 +4201,7 @@ declare namespace bluetoothManager { * * @typedef ScanFilter * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanFilter */ @@ -4210,7 +4210,7 @@ declare namespace bluetoothManager { * The address of a BLE peripheral device * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanFilter#deviceId */ @@ -4220,7 +4220,7 @@ declare namespace bluetoothManager { * The name of a BLE peripheral device * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanFilter#name */ @@ -4230,7 +4230,7 @@ declare namespace bluetoothManager { * The service UUID of a BLE peripheral device * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanFilter#serviceUuid */ @@ -4240,7 +4240,7 @@ declare namespace bluetoothManager { * Service UUID mask. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanFilter#serviceUuidMask */ @@ -4250,7 +4250,7 @@ declare namespace bluetoothManager { * Service solicitation UUID. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanFilter#serviceSolicitationUuid */ @@ -4260,7 +4260,7 @@ declare namespace bluetoothManager { * Service solicitation UUID mask. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanFilter#serviceSolicitationUuidMask */ @@ -4270,7 +4270,7 @@ declare namespace bluetoothManager { * Service data. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanFilter#serviceData */ @@ -4280,7 +4280,7 @@ declare namespace bluetoothManager { * Service data mask. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanFilter#serviceDataMask */ @@ -4290,7 +4290,7 @@ declare namespace bluetoothManager { * Manufacture id. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanFilter#manufactureId */ @@ -4300,7 +4300,7 @@ declare namespace bluetoothManager { * Manufacture data. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanFilter#manufactureData */ @@ -4310,7 +4310,7 @@ declare namespace bluetoothManager { * Manufacture data mask. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanFilter#manufactureDataMask */ @@ -4322,7 +4322,7 @@ declare namespace bluetoothManager { * * @typedef ScanOptions * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanOptions */ @@ -4331,7 +4331,7 @@ declare namespace bluetoothManager { * Time of delay for reporting the scan result * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanOptions#interval */ @@ -4340,7 +4340,7 @@ declare namespace bluetoothManager { * Bluetooth LE scan mode * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanOptions#dutyMode */ @@ -4349,7 +4349,7 @@ declare namespace bluetoothManager { * Match mode for Bluetooth LE scan filters hardware match * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanOptions#matchMode */ @@ -4361,7 +4361,7 @@ declare namespace bluetoothManager { * * @typedef SppOption * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.socket/socket.SppOptions */ @@ -4370,7 +4370,7 @@ declare namespace bluetoothManager { * Indicates the UUID in the SDP record. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.socket/socket.SppOptions#uuid */ @@ -4379,7 +4379,7 @@ declare namespace bluetoothManager { * Indicates secure channel or not * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.socket/socket.SppOptions#secure */ @@ -4388,7 +4388,7 @@ declare namespace bluetoothManager { * Spp link type {@link SppType} * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.socket/socket.SppOptions#type */ @@ -4400,7 +4400,7 @@ declare namespace bluetoothManager { * * @typedef PinRequiredParam * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.PinRequiredParam */ @@ -4409,7 +4409,7 @@ declare namespace bluetoothManager { * ID of the device to pair. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.PinRequiredParam#deviceId */ @@ -4418,7 +4418,7 @@ declare namespace bluetoothManager { * Key for the device pairing. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.PinRequiredParam#pinCode */ @@ -4430,7 +4430,7 @@ declare namespace bluetoothManager { * * @typedef DeviceClass * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.DeviceClass */ @@ -4439,7 +4439,7 @@ declare namespace bluetoothManager { * Major classes of Bluetooth devices. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.DeviceClass#majorClass */ @@ -4448,7 +4448,7 @@ declare namespace bluetoothManager { * Major and minor classes of Bluetooth devices. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.DeviceClass#majorMinorClass */ @@ -4457,7 +4457,7 @@ declare namespace bluetoothManager { * Class of the device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.DeviceClass#classOfDevice */ @@ -4469,7 +4469,7 @@ declare namespace bluetoothManager { * * @typedef BondStateParam * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.BondStateParam */ @@ -4478,7 +4478,7 @@ declare namespace bluetoothManager { * Address of a Bluetooth device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.BondStateParam#deviceId */ @@ -4487,7 +4487,7 @@ declare namespace bluetoothManager { * Profile connection state of the device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.BondStateParam#state */ @@ -4499,7 +4499,7 @@ declare namespace bluetoothManager { * * @typedef StateChangeParam * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.baseProfile/baseProfile.StateChangeParam */ @@ -4508,7 +4508,7 @@ declare namespace bluetoothManager { * The address of device * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.baseProfile/baseProfile.StateChangeParam#deviceId */ @@ -4518,7 +4518,7 @@ declare namespace bluetoothManager { * Profile state value * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.baseProfile/baseProfile.StateChangeParam#state */ @@ -4530,7 +4530,7 @@ declare namespace bluetoothManager { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanDuty */ @@ -4539,7 +4539,7 @@ declare namespace bluetoothManager { * low power mode * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanDuty#SCAN_MODE_LOW_POWER */ @@ -4548,7 +4548,7 @@ declare namespace bluetoothManager { * balanced power mode * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanDuty#SCAN_MODE_BALANCED */ @@ -4557,7 +4557,7 @@ declare namespace bluetoothManager { * Scan using highest duty cycle * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.ScanDuty#SCAN_MODE_LOW_LATENCY */ @@ -4569,7 +4569,7 @@ declare namespace bluetoothManager { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.MatchMode */ @@ -4578,7 +4578,7 @@ declare namespace bluetoothManager { * aggressive mode * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.MatchMode#MATCH_MODE_AGGRESSIVE */ @@ -4587,7 +4587,7 @@ declare namespace bluetoothManager { * sticky mode * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.ble/ble.MatchMode#MATCH_MODE_STICKY */ @@ -4599,7 +4599,7 @@ declare namespace bluetoothManager { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.ProfileConnectionState */ @@ -4608,7 +4608,7 @@ declare namespace bluetoothManager { * the current profile is disconnected * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.ProfileConnectionState#STATE_DISCONNECTED */ @@ -4617,7 +4617,7 @@ declare namespace bluetoothManager { * the current profile is being connected * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.ProfileConnectionState#STATE_CONNECTING */ @@ -4626,7 +4626,7 @@ declare namespace bluetoothManager { * the current profile is connected * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.ProfileConnectionState#STATE_CONNECTED */ @@ -4635,7 +4635,7 @@ declare namespace bluetoothManager { * the current profile is being disconnected * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.ProfileConnectionState#STATE_DISCONNECTING */ @@ -4647,7 +4647,7 @@ declare namespace bluetoothManager { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.access/access.BluetoothState */ @@ -4656,7 +4656,7 @@ declare namespace bluetoothManager { * Indicates the local Bluetooth is off * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.access/access.BluetoothState#STATE_OFF */ @@ -4665,7 +4665,7 @@ declare namespace bluetoothManager { * Indicates the local Bluetooth is turning on * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.access/access.BluetoothState#STATE_TURNING_ON */ @@ -4674,7 +4674,7 @@ declare namespace bluetoothManager { * Indicates the local Bluetooth is on, and ready for use * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.access/access.BluetoothState#STATE_ON */ @@ -4683,7 +4683,7 @@ declare namespace bluetoothManager { * Indicates the local Bluetooth is turning off * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.access/access.BluetoothState#STATE_TURNING_OFF */ @@ -4692,7 +4692,7 @@ declare namespace bluetoothManager { * Indicates the local Bluetooth is turning LE mode on * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.access/access.BluetoothState#STATE_BLE_TURNING_ON */ @@ -4701,7 +4701,7 @@ declare namespace bluetoothManager { * Indicates the local Bluetooth is in LE only mode * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.access/access.BluetoothState#STATE_BLE_ON */ @@ -4710,7 +4710,7 @@ declare namespace bluetoothManager { * Indicates the local Bluetooth is turning off LE only mode * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.access/access.BluetoothState#STATE_BLE_TURNING_OFF */ @@ -4722,7 +4722,7 @@ declare namespace bluetoothManager { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.socket/socket.SppType */ @@ -4731,7 +4731,7 @@ declare namespace bluetoothManager { * RFCOMM * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.socket/socket.SppType#SPP_RFCOMM */ @@ -4743,7 +4743,7 @@ declare namespace bluetoothManager { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.ScanMode */ @@ -4752,7 +4752,7 @@ declare namespace bluetoothManager { * Indicates the scan mode is none * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.ScanMode#SCAN_MODE_NONE */ @@ -4761,7 +4761,7 @@ declare namespace bluetoothManager { * Indicates the scan mode is connectable * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.ScanMode#SCAN_MODE_CONNECTABLE */ @@ -4770,7 +4770,7 @@ declare namespace bluetoothManager { * Indicates the scan mode is general discoverable * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.ScanMode#SCAN_MODE_GENERAL_DISCOVERABLE */ @@ -4779,7 +4779,7 @@ declare namespace bluetoothManager { * Indicates the scan mode is limited discoverable * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.ScanMode#SCAN_MODE_LIMITED_DISCOVERABLE */ @@ -4788,7 +4788,7 @@ declare namespace bluetoothManager { * Indicates the scan mode is connectable and general discoverable * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.ScanMode#SCAN_MODE_CONNECTABLE_GENERAL_DISCOVERABLE */ @@ -4797,7 +4797,7 @@ declare namespace bluetoothManager { * Indicates the scan mode is connectable and limited discoverable * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.ScanMode#SCAN_MODE_CONNECTABLE_LIMITED_DISCOVERABLE */ @@ -4809,7 +4809,7 @@ declare namespace bluetoothManager { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.BondState */ @@ -4818,7 +4818,7 @@ declare namespace bluetoothManager { * Indicate the bond state is invalid * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.BondState#BOND_STATE_INVALID */ @@ -4827,7 +4827,7 @@ declare namespace bluetoothManager { * Indicate the bond state is bonding * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.BondState#BOND_STATE_BONDING */ @@ -4836,7 +4836,7 @@ declare namespace bluetoothManager { * Indicate the bond state is bonded * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.connection/connection.BondState#BOND_STATE_BONDED */ @@ -4848,7 +4848,7 @@ declare namespace bluetoothManager { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorClass */ @@ -4857,7 +4857,7 @@ declare namespace bluetoothManager { * Miscellaneous device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorClass#MAJOR_MISC */ @@ -4866,7 +4866,7 @@ declare namespace bluetoothManager { * Computer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorClass#MAJOR_COMPUTER */ @@ -4875,7 +4875,7 @@ declare namespace bluetoothManager { * Mobile phone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorClass#MAJOR_PHONE */ @@ -4884,7 +4884,7 @@ declare namespace bluetoothManager { * Network device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorClass#MAJOR_NETWORKING */ @@ -4893,7 +4893,7 @@ declare namespace bluetoothManager { * Audio or video device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorClass#MAJOR_AUDIO_VIDEO */ @@ -4902,7 +4902,7 @@ declare namespace bluetoothManager { * Peripheral device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorClass#MAJOR_PERIPHERAL */ @@ -4911,7 +4911,7 @@ declare namespace bluetoothManager { * Imaging device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorClass#MAJOR_IMAGING */ @@ -4920,7 +4920,7 @@ declare namespace bluetoothManager { * Wearable device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorClass#MAJOR_WEARABLE */ @@ -4929,7 +4929,7 @@ declare namespace bluetoothManager { * Toy. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorClass#MAJOR_TOY */ @@ -4938,7 +4938,7 @@ declare namespace bluetoothManager { * Health device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorClass#MAJOR_HEALTH */ @@ -4947,7 +4947,7 @@ declare namespace bluetoothManager { * Unclassified device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorClass#MAJOR_UNCATEGORIZED */ @@ -4959,7 +4959,7 @@ declare namespace bluetoothManager { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass */ @@ -4969,7 +4969,7 @@ declare namespace bluetoothManager { * Computer Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_UNCATEGORIZED */ @@ -4978,7 +4978,7 @@ declare namespace bluetoothManager { * Desktop computer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_DESKTOP */ @@ -4987,7 +4987,7 @@ declare namespace bluetoothManager { * Server. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_SERVER */ @@ -4996,7 +4996,7 @@ declare namespace bluetoothManager { * Laptop. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_LAPTOP */ @@ -5005,7 +5005,7 @@ declare namespace bluetoothManager { * Hand-held computer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_HANDHELD_PC_PDA */ @@ -5014,7 +5014,7 @@ declare namespace bluetoothManager { * Palmtop computer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_PALM_SIZE_PC_PDA */ @@ -5023,7 +5023,7 @@ declare namespace bluetoothManager { * Wearable computer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_WEARABLE */ @@ -5032,7 +5032,7 @@ declare namespace bluetoothManager { * Tablet. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#COMPUTER_TABLET */ @@ -5042,7 +5042,7 @@ declare namespace bluetoothManager { * Phone Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PHONE_UNCATEGORIZED */ @@ -5051,7 +5051,7 @@ declare namespace bluetoothManager { * Portable phone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PHONE_CELLULAR */ @@ -5060,7 +5060,7 @@ declare namespace bluetoothManager { * Cordless phone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PHONE_CORDLESS */ @@ -5069,7 +5069,7 @@ declare namespace bluetoothManager { * Smartphone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PHONE_SMART */ @@ -5078,7 +5078,7 @@ declare namespace bluetoothManager { * Modem or gateway phone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PHONE_MODEM_OR_GATEWAY */ @@ -5087,7 +5087,7 @@ declare namespace bluetoothManager { * ISDN phone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PHONE_ISDN */ @@ -5097,7 +5097,7 @@ declare namespace bluetoothManager { * LAN/Network Access Point Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_FULLY_AVAILABLE */ @@ -5106,7 +5106,7 @@ declare namespace bluetoothManager { * Device used on network 1 to 17. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_1_TO_17_UTILIZED */ @@ -5115,7 +5115,7 @@ declare namespace bluetoothManager { * Device used on network 17 to 33. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_17_TO_33_UTILIZED */ @@ -5124,7 +5124,7 @@ declare namespace bluetoothManager { * Device used on network 33 to 50. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_33_TO_50_UTILIZED */ @@ -5133,7 +5133,7 @@ declare namespace bluetoothManager { * Device used on network 60 to 67. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_60_TO_67_UTILIZED */ @@ -5142,7 +5142,7 @@ declare namespace bluetoothManager { * Device used on network 67 to 83. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_67_TO_83_UTILIZED */ @@ -5151,7 +5151,7 @@ declare namespace bluetoothManager { * Device used on network 83 to 99. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_83_TO_99_UTILIZED */ @@ -5160,7 +5160,7 @@ declare namespace bluetoothManager { * Device without network service. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#NETWORK_NO_SERVICE */ @@ -5170,7 +5170,7 @@ declare namespace bluetoothManager { * Unclassified audio or video device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_UNCATEGORIZED */ @@ -5179,7 +5179,7 @@ declare namespace bluetoothManager { * Wearable audio or video headset. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_WEARABLE_HEADSET */ @@ -5188,7 +5188,7 @@ declare namespace bluetoothManager { * Hands-free audio or video device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_HANDSFREE */ @@ -5197,7 +5197,7 @@ declare namespace bluetoothManager { * Audio or video microphone. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_MICROPHONE */ @@ -5206,7 +5206,7 @@ declare namespace bluetoothManager { * Audio or video loudspeaker. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_LOUDSPEAKER */ @@ -5215,7 +5215,7 @@ declare namespace bluetoothManager { * Audio or video headphones. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_HEADPHONES */ @@ -5224,7 +5224,7 @@ declare namespace bluetoothManager { * Portable audio or video device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_PORTABLE_AUDIO */ @@ -5233,7 +5233,7 @@ declare namespace bluetoothManager { * In-vehicle audio or video device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_CAR_AUDIO */ @@ -5242,7 +5242,7 @@ declare namespace bluetoothManager { * Audio or video STB device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_SET_TOP_BOX */ @@ -5251,7 +5251,7 @@ declare namespace bluetoothManager { * High-fidelity speaker device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_HIFI_AUDIO */ @@ -5260,7 +5260,7 @@ declare namespace bluetoothManager { * Video cassette recording (VCR) device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_VCR */ @@ -5269,7 +5269,7 @@ declare namespace bluetoothManager { * Camera. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_VIDEO_CAMERA */ @@ -5278,7 +5278,7 @@ declare namespace bluetoothManager { * Camcorder. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_CAMCORDER */ @@ -5287,7 +5287,7 @@ declare namespace bluetoothManager { * Audio or video monitor. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_VIDEO_MONITOR */ @@ -5296,7 +5296,7 @@ declare namespace bluetoothManager { * Video display or loudspeaker. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_VIDEO_DISPLAY_AND_LOUDSPEAKER */ @@ -5305,7 +5305,7 @@ declare namespace bluetoothManager { * Video conferencing device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_VIDEO_CONFERENCING */ @@ -5314,7 +5314,7 @@ declare namespace bluetoothManager { * Audio or video gaming toy. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#AUDIO_VIDEO_VIDEO_GAMING_TOY */ @@ -5324,7 +5324,7 @@ declare namespace bluetoothManager { * Peripheral Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_NON_KEYBOARD_NON_POINTING */ @@ -5333,7 +5333,7 @@ declare namespace bluetoothManager { * Keyboard device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_KEYBOARD */ @@ -5342,7 +5342,7 @@ declare namespace bluetoothManager { * Pointing peripheral device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_POINTING_DEVICE */ @@ -5351,7 +5351,7 @@ declare namespace bluetoothManager { * Keyboard pointing device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_KEYBOARD_POINTING */ @@ -5360,7 +5360,7 @@ declare namespace bluetoothManager { * Unclassified peripheral device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_UNCATEGORIZED */ @@ -5369,7 +5369,7 @@ declare namespace bluetoothManager { * Peripheral joystick. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_JOYSTICK */ @@ -5378,7 +5378,7 @@ declare namespace bluetoothManager { * Peripheral game pad. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_GAMEPAD */ @@ -5387,7 +5387,7 @@ declare namespace bluetoothManager { * Peripheral remote control device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_REMOTE_CONTROL */ @@ -5396,7 +5396,7 @@ declare namespace bluetoothManager { * Peripheral sensing device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_SENSING_DEVICE */ @@ -5405,7 +5405,7 @@ declare namespace bluetoothManager { * Peripheral digitizer tablet. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_DIGITIZER_TABLET */ @@ -5414,7 +5414,7 @@ declare namespace bluetoothManager { * Peripheral card reader. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_CARD_READER */ @@ -5423,7 +5423,7 @@ declare namespace bluetoothManager { * Peripheral digital pen. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_DIGITAL_PEN */ @@ -5432,7 +5432,7 @@ declare namespace bluetoothManager { * Peripheral RFID scanner. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_SCANNER_RFID */ @@ -5441,7 +5441,7 @@ declare namespace bluetoothManager { * Gesture input device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#PERIPHERAL_GESTURAL_INPUT */ @@ -5451,7 +5451,7 @@ declare namespace bluetoothManager { * Imaging Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#IMAGING_UNCATEGORIZED */ @@ -5460,7 +5460,7 @@ declare namespace bluetoothManager { * Imaging display device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#IMAGING_DISPLAY */ @@ -5469,7 +5469,7 @@ declare namespace bluetoothManager { * Imaging camera device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#IMAGING_CAMERA */ @@ -5478,7 +5478,7 @@ declare namespace bluetoothManager { * Imaging scanner. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#IMAGING_SCANNER */ @@ -5487,7 +5487,7 @@ declare namespace bluetoothManager { * Imaging printer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#IMAGING_PRINTER */ @@ -5497,7 +5497,7 @@ declare namespace bluetoothManager { * Wearable Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#WEARABLE_UNCATEGORIZED */ @@ -5506,7 +5506,7 @@ declare namespace bluetoothManager { * Smart watch. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#WEARABLE_WRIST_WATCH */ @@ -5515,7 +5515,7 @@ declare namespace bluetoothManager { * Wearable pager. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#WEARABLE_PAGER */ @@ -5524,7 +5524,7 @@ declare namespace bluetoothManager { * Smart jacket. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#WEARABLE_JACKET */ @@ -5533,7 +5533,7 @@ declare namespace bluetoothManager { * Wearable helmet. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#WEARABLE_HELMET */ @@ -5542,7 +5542,7 @@ declare namespace bluetoothManager { * Wearable glasses. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#WEARABLE_GLASSES */ @@ -5552,7 +5552,7 @@ declare namespace bluetoothManager { * Minor Device Class field - Toy Major Class * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#TOY_UNCATEGORIZED */ @@ -5561,7 +5561,7 @@ declare namespace bluetoothManager { * Toy robot. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#TOY_ROBOT */ @@ -5570,7 +5570,7 @@ declare namespace bluetoothManager { * Toy vehicle. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#TOY_VEHICLE */ @@ -5579,7 +5579,7 @@ declare namespace bluetoothManager { * Humanoid toy doll. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#TOY_DOLL_ACTION_FIGURE */ @@ -5588,7 +5588,7 @@ declare namespace bluetoothManager { * Toy controller. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#TOY_CONTROLLER */ @@ -5597,7 +5597,7 @@ declare namespace bluetoothManager { * Toy gaming device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#TOY_GAME */ @@ -5607,7 +5607,7 @@ declare namespace bluetoothManager { * Minor Device Class field - Health * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_UNCATEGORIZED */ @@ -5616,7 +5616,7 @@ declare namespace bluetoothManager { * Blood pressure device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_BLOOD_PRESSURE */ @@ -5625,7 +5625,7 @@ declare namespace bluetoothManager { * Thermometer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_THERMOMETER */ @@ -5634,7 +5634,7 @@ declare namespace bluetoothManager { * Body scale. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_WEIGHING */ @@ -5643,7 +5643,7 @@ declare namespace bluetoothManager { * Blood glucose monitor. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_GLUCOSE */ @@ -5652,7 +5652,7 @@ declare namespace bluetoothManager { * Pulse oximeter. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_PULSE_OXIMETER */ @@ -5661,7 +5661,7 @@ declare namespace bluetoothManager { * Heart rate monitor. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_PULSE_RATE */ @@ -5670,7 +5670,7 @@ declare namespace bluetoothManager { * Health data display. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_DATA_DISPLAY */ @@ -5679,7 +5679,7 @@ declare namespace bluetoothManager { * Step counter. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_STEP_COUNTER */ @@ -5688,7 +5688,7 @@ declare namespace bluetoothManager { * Body composition analyzer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_BODY_COMPOSITION_ANALYZER */ @@ -5697,7 +5697,7 @@ declare namespace bluetoothManager { * Hygrometer. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_PEAK_FLOW_MONITOR */ @@ -5706,7 +5706,7 @@ declare namespace bluetoothManager { * Medication monitor. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_MEDICATION_MONITOR */ @@ -5715,7 +5715,7 @@ declare namespace bluetoothManager { * Prosthetic knee. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_KNEE_PROSTHESIS */ @@ -5724,7 +5724,7 @@ declare namespace bluetoothManager { * Prosthetic ankle. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_ANKLE_PROSTHESIS */ @@ -5733,7 +5733,7 @@ declare namespace bluetoothManager { * Generic health management device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_GENERIC_HEALTH_MANAGER */ @@ -5742,7 +5742,7 @@ declare namespace bluetoothManager { * Personal mobility device. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.MajorMinorClass#HEALTH_PERSONAL_MOBILITY_DEVICE */ @@ -5754,7 +5754,7 @@ declare namespace bluetoothManager { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.a2dp/a2dp.PlayingState */ @@ -5763,7 +5763,7 @@ declare namespace bluetoothManager { * Not playing. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.a2dp/a2dp.PlayingState#STATE_NOT_PLAYING */ @@ -5772,7 +5772,7 @@ declare namespace bluetoothManager { * Playing. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.a2dp/a2dp.PlayingState#STATE_PLAYING */ @@ -5784,7 +5784,7 @@ declare namespace bluetoothManager { * * @enum { number } * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.ProfileId */ @@ -5793,7 +5793,7 @@ declare namespace bluetoothManager { * A2DP profile. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.ProfileId#PROFILE_A2DP_SOURCE */ @@ -5803,7 +5803,7 @@ declare namespace bluetoothManager { * HFP profile. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.ProfileId#PROFILE_HANDSFREE_AUDIO_GATEWAY */ @@ -5813,7 +5813,7 @@ declare namespace bluetoothManager { * Human Interface Device (HID) profile. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.ProfileId#PROFILE_HID_HOST */ @@ -5823,7 +5823,7 @@ declare namespace bluetoothManager { * PAN profile. * * @syscap SystemCapability.Communication.Bluetooth.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 10 * @useinstead ohos.bluetooth.constant/constant.ProfileId#PROFILE_PAN_NETWORK */ diff --git a/api/@ohos.brightness.d.ts b/api/@ohos.brightness.d.ts index 1545fa73d8..a1768a66a8 100644 --- a/api/@ohos.brightness.d.ts +++ b/api/@ohos.brightness.d.ts @@ -16,7 +16,6 @@ /** * @file * @kit BasicServicesKit - * @arkts 1.1&1.2 */ import { BusinessError } from './@ohos.base'; @@ -27,7 +26,8 @@ import { BusinessError } from './@ohos.base'; * @namespace brightness * @syscap SystemCapability.PowerManager.DisplayPowerManager * @systemapi - * @since arkts {'1.1':'7', '1.2':'20'} + * @since 7 dynamic + * @since 20 static */ declare namespace brightness { /** @@ -41,7 +41,8 @@ declare namespace brightness { * @throws { BusinessError } 4700101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.DisplayPowerManager * @systemapi - * @since arkts {'1.1':'7', '1.2':'20'} + * @since 7 dynamic + * @since 20 static */ function setValue(value: int): void; @@ -60,7 +61,8 @@ declare namespace brightness { * @throws { BusinessError } 4700101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.DisplayPowerManager * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ function setValue(value: int, continuous: boolean): void; } diff --git a/api/@ohos.buffer.d.ts b/api/@ohos.buffer.d.ts index 07478c41ee..5289014e54 100644 --- a/api/@ohos.buffer.d.ts +++ b/api/@ohos.buffer.d.ts @@ -40,8 +40,8 @@ * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace buffer { /** @@ -66,8 +66,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type BufferEncoding = | 'ascii' @@ -102,7 +102,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface TypedArray extends Int8Array {} /** @@ -112,8 +112,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ type TypedArray = Int8Array | Uint8Array @@ -136,8 +135,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ type ArrayUnionType = Array | Array @@ -198,8 +196,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function alloc(size: int, fill?: string | Buffer | int | double | long, encoding?: BufferEncoding): Buffer; @@ -242,8 +240,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function allocUninitializedFromPool(size: int): Buffer; @@ -284,8 +282,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function allocUninitialized(size: int): Buffer; @@ -330,7 +328,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function byteLength( string: string | Buffer | TypedArray | DataView | ArrayBuffer | SharedArrayBuffer, @@ -346,8 +344,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ function byteLength( doc: string | Buffer | TypedArray | DataView | ArrayBuffer, @@ -397,8 +394,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function concat(list: Buffer[] | Uint8Array[], totalLength?: int): Buffer; @@ -436,7 +433,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function from(array: double[]): Buffer; @@ -489,7 +486,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function from(arrayBuffer: ArrayBuffer | SharedArrayBuffer, byteOffset?: number, length?: number): Buffer; @@ -527,7 +524,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function from(buffer: Buffer | Uint8Array): Buffer; @@ -572,7 +569,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function from(object: Object, offsetOrEncoding: int | string, length: int): Buffer; @@ -614,7 +611,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function from(string: String, encoding?: BufferEncoding): Buffer; @@ -626,8 +623,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ function fromWithArray(array: double[]): Buffer; @@ -643,8 +639,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ function fromWithArrayBufferByteOffsetLength(arrayBuffer: ArrayBuffer, byteOffset?: int, length?: int): Buffer; @@ -656,8 +651,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ function fromWithBuffer(buffer: Buffer | Uint8Array): Buffer; @@ -671,8 +665,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ function fromWithObjectTypedInputOffsetOrEncodingLength(input: Object, offsetOrEncoding: int | string, length: int): Buffer; @@ -685,14 +678,12 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ function fromWithStringTypedInputEncoding(input: string, encoding?: BufferEncoding): Buffer; /** - * @since 20 - * @arkts 1.2 + * @since 20 static */ export overload from { fromWithArray, fromWithArrayBufferByteOffsetLength, fromWithBuffer, fromWithObjectTypedInputOffsetOrEncodingLength, fromWithStringTypedInputEncoding } @@ -722,8 +713,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function isBuffer(obj: Object): boolean; @@ -752,8 +743,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function isEncoding(encoding: string): boolean; @@ -800,7 +791,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function compare(buf1: Buffer | Uint8Array, buf2: Buffer | Uint8Array): -1 | 0 | 1; @@ -815,8 +806,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ function compare(buf1: Buffer | Uint8Array, buf2: Buffer | Uint8Array): int; @@ -860,8 +850,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function transcode(source: Buffer | Uint8Array, fromEnc: string, toEnc: string): Buffer; @@ -885,8 +875,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class Buffer { /** @@ -914,7 +904,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ length: number; @@ -925,8 +915,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ get length(): int; @@ -955,7 +944,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ buffer: ArrayBuffer; @@ -967,8 +956,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ get buffer(): ArrayBuffer; @@ -997,7 +985,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ byteOffset: number; @@ -1009,8 +997,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ get byteOffset(): int; @@ -1060,8 +1047,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ fill( value: string | Buffer | Uint8Array | int | double | long, @@ -1131,7 +1118,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ compare( target: Buffer | Uint8Array, @@ -1159,8 +1146,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ compare( target: Buffer | Uint8Array, @@ -1222,8 +1208,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ copy(target: Buffer | Uint8Array, targetStart?: int, sourceStart?: int, sourceEnd?: int): int; @@ -1255,8 +1241,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ equals(otherBuffer: Uint8Array | Buffer): boolean; @@ -1304,8 +1290,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ includes(value: string | int | double | long | Buffer | Uint8Array, byteOffset?: int, encoding?: BufferEncoding): boolean; @@ -1352,8 +1338,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ indexOf(value: string | int | double | long | Buffer | Uint8Array, byteOffset?: int, encoding?: BufferEncoding): int; @@ -1379,8 +1365,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ keys(): IterableIterator; @@ -1406,8 +1392,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ values(): IterableIterator; @@ -1433,8 +1419,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ entries(): IterableIterator<[int, long]>; @@ -1484,8 +1470,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ lastIndexOf(value: string | int | double | long | Buffer | Uint8Array, byteOffset?: int, encoding?: BufferEncoding): int; @@ -1520,8 +1506,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readBigInt64BE(offset?: int): bigint; @@ -1556,8 +1542,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readBigInt64LE(offset?: int): bigint; @@ -1592,8 +1578,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readBigUInt64BE(offset?: int): bigint; @@ -1628,8 +1614,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readBigUInt64LE(offset?: int): bigint; @@ -1664,8 +1650,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readDoubleBE(offset?: int): double; @@ -1700,8 +1686,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readDoubleLE(offset?: int): double; @@ -1736,8 +1722,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readFloatBE(offset?: int): double; @@ -1772,8 +1758,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readFloatLE(offset?: int): double; @@ -1808,8 +1794,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readInt8(offset?: int): long; @@ -1844,8 +1830,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readInt16BE(offset?: int): long; @@ -1880,8 +1866,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readInt16LE(offset?: int): long; @@ -1916,8 +1902,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readInt32BE(offset?: int): long; @@ -1952,8 +1938,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readInt32LE(offset?: int): long; @@ -2000,8 +1986,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readIntBE(offset: int, byteLength: int): long; @@ -2048,8 +2034,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readIntLE(offset: int, byteLength: int): long; @@ -2084,8 +2070,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readUInt8(offset?: int): long; @@ -2120,8 +2106,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readUInt16BE(offset?: int): long; @@ -2156,8 +2142,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readUInt16LE(offset?: int): long; @@ -2192,8 +2178,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readUInt32BE(offset?: int): long; @@ -2228,8 +2214,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readUInt32LE(offset?: int): long; @@ -2276,8 +2262,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readUIntBE(offset: int, byteLength: int): long; @@ -2324,8 +2310,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readUIntLE(offset: int, byteLength: int): long; @@ -2357,8 +2343,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ subarray(start?: int, end?: int): Buffer; @@ -2387,8 +2373,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ swap16(): Buffer; @@ -2417,8 +2403,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ swap32(): Buffer; @@ -2447,8 +2433,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ swap64(): Buffer; @@ -2474,7 +2460,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ toJSON(): Object; @@ -2485,8 +2471,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ toJSON(): jsonx.JsonElement; @@ -2524,7 +2509,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ toString(encoding?: string, start?: number, end?: number): string; @@ -2538,8 +2523,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ toString(encoding?: BufferEncoding, start?: int, end?: int): string; @@ -2589,8 +2573,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ write(str: string, offset?: int, length?: int, encoding?: string): int; @@ -2636,8 +2620,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeBigInt64BE(value: bigint, offset?: int): int; @@ -2684,8 +2668,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeBigInt64LE(value: bigint, offset?: int): int; @@ -2732,8 +2716,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeBigUInt64BE(value: bigint, offset?: int): int; @@ -2780,8 +2764,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeBigUInt64LE(value: bigint, offset?: int): int; @@ -2825,8 +2809,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeDoubleBE(value: double, offset?: int): int; @@ -2870,8 +2854,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeDoubleLE(value: double, offset?: int): int; @@ -2915,8 +2899,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeFloatBE(value: double, offset?: int): int; @@ -2960,8 +2944,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeFloatLE(value: double, offset?: int): int; @@ -3008,8 +2992,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeInt8(value: long, offset?: int): int; @@ -3056,8 +3040,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeInt16BE(value: long, offset?: int): int; @@ -3104,8 +3088,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeInt16LE(value: long, offset?: int): int; @@ -3152,8 +3136,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeInt32BE(value: long, offset?: int): int; @@ -3200,8 +3184,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeInt32LE(value: long, offset?: int): int; @@ -3249,8 +3233,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeIntBE(value: long, offset: int, byteLength: int): int; @@ -3298,8 +3282,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeIntLE(value: long, offset: int, byteLength: int): int; @@ -3346,8 +3330,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeUInt8(value: long, offset?: int): int; @@ -3394,8 +3378,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeUInt16BE(value: long, offset?: int): int; @@ -3442,8 +3426,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeUInt16LE(value: long, offset?: int): int; @@ -3490,8 +3474,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeUInt32BE(value: long, offset?: int): int; @@ -3538,8 +3522,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeUInt32LE(value: long, offset?: int): int; @@ -3587,8 +3571,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeUIntBE(value: long, offset: int, byteLength: int): int; @@ -3636,8 +3620,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ writeUIntLE(value: long, offset: int, byteLength: int): int; @@ -3651,8 +3635,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ [index: int]: long; } @@ -3664,8 +3647,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ interface BlobOptions { /** @@ -3674,8 +3656,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ type?: string; @@ -3685,8 +3666,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ endings?: string; } @@ -3710,8 +3690,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class Blob { /** @@ -3757,7 +3737,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ constructor(sources: string[] | ArrayBuffer[] | TypedArray[] | DataView[] | Blob[], options?: Object); @@ -3771,8 +3751,7 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ constructor(sources: ArrayUnionType, options?: BlobOptions); @@ -3798,8 +3777,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ get size(): int; @@ -3825,8 +3804,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ get type(): string; @@ -3852,8 +3831,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ arrayBuffer(): Promise; @@ -3888,8 +3867,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ slice(start?: int, end?: int, type?: string): Blob; @@ -3915,8 +3894,8 @@ declare namespace buffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ text(): Promise; } diff --git a/api/@ohos.bundle.appControl.d.ts b/api/@ohos.bundle.appControl.d.ts index 66ab0dc4ac..48b4bf646e 100644 --- a/api/@ohos.bundle.appControl.d.ts +++ b/api/@ohos.bundle.appControl.d.ts @@ -19,10 +19,10 @@ */ import { AsyncCallback } from './@ohos.base'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type { ElementName } from './bundleManager/ElementName'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { ElementName } from './bundleManager/ElementName'; /*** endif */ import Want from './@ohos.app.ability.Want'; @@ -33,8 +33,8 @@ import Want from './@ohos.app.ability.Want'; * @namespace appControl * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace appControl { /** @@ -43,8 +43,8 @@ declare namespace appControl { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum ComponentType { /** @@ -52,8 +52,8 @@ declare namespace appControl { * * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UI_ABILITY = 1, @@ -62,8 +62,8 @@ declare namespace appControl { * * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UI_EXTENSION = 2 } @@ -74,8 +74,8 @@ declare namespace appControl { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ export enum UninstallComponentType { /** @@ -83,8 +83,8 @@ declare namespace appControl { * * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ EXTENSION = 1, } @@ -95,8 +95,8 @@ declare namespace appControl { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum DisposedType { /** @@ -104,8 +104,8 @@ declare namespace appControl { * * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BLOCK_APPLICATION = 1, /** @@ -113,8 +113,8 @@ declare namespace appControl { * * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BLOCK_ABILITY = 2, /** @@ -122,8 +122,8 @@ declare namespace appControl { * * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NON_BLOCK = 3 } @@ -134,8 +134,8 @@ declare namespace appControl { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum ControlType { /** @@ -143,8 +143,8 @@ declare namespace appControl { * * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ALLOWED_LIST = 1, /** @@ -152,8 +152,8 @@ declare namespace appControl { * * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DISALLOWED_LIST = 2 } @@ -164,8 +164,8 @@ declare namespace appControl { * @typedef DisposedRule * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface DisposedRule { /** @@ -174,8 +174,8 @@ declare namespace appControl { * @type { Want } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ want: Want; @@ -185,8 +185,8 @@ declare namespace appControl { * @type { ComponentType } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ componentType: ComponentType; @@ -196,8 +196,8 @@ declare namespace appControl { * @type { DisposedType } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ disposedType: DisposedType; @@ -207,8 +207,8 @@ declare namespace appControl { * @type { ControlType } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ controlType: ControlType; @@ -218,8 +218,8 @@ declare namespace appControl { * @type { Array } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ elementList: Array; @@ -229,8 +229,8 @@ declare namespace appControl { * @type { int } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ priority: int; } @@ -241,8 +241,8 @@ declare namespace appControl { * @typedef UninstallDisposedRule * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ export interface UninstallDisposedRule { /** @@ -251,8 +251,8 @@ declare namespace appControl { * @type { Want } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ want: Want; @@ -262,8 +262,8 @@ declare namespace appControl { * @type { UninstallComponentType } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ uninstallComponentType: UninstallComponentType; @@ -273,8 +273,8 @@ declare namespace appControl { * @type { int } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ priority: int; } @@ -285,8 +285,7 @@ declare namespace appControl { * @typedef DisposedRuleConfiguration * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export interface DisposedRuleConfiguration { /** @@ -295,8 +294,7 @@ declare namespace appControl { * @type { string } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ appId: string; @@ -306,8 +304,7 @@ declare namespace appControl { * @type { int } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ appIndex: int; @@ -317,8 +314,7 @@ declare namespace appControl { * @type { DisposedRule } * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ disposedRule: DisposedRule; } @@ -337,8 +333,8 @@ declare namespace appControl { * @throws { BusinessError } 17700005 - The specified app ID is empty string. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setDisposedStatus(appId: string, disposedWant: Want, callback: AsyncCallback): void; @@ -356,8 +352,8 @@ declare namespace appControl { * @throws { BusinessError } 17700005 - The specified app ID is empty string. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setDisposedStatus(appId: string, disposedWant: Want): Promise; @@ -374,8 +370,8 @@ declare namespace appControl { * @throws { BusinessError } 17700005 - The specified app ID is empty string. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setDisposedStatusSync(appId: string, disposedWant: Want): void; @@ -392,8 +388,8 @@ declare namespace appControl { * @throws { BusinessError } 17700005 - The specified app ID is empty string. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getDisposedStatus(appId: string, callback: AsyncCallback): void; @@ -410,8 +406,8 @@ declare namespace appControl { * @throws { BusinessError } 17700005 - The specified app ID is empty string. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getDisposedStatus(appId: string): Promise; @@ -428,8 +424,8 @@ declare namespace appControl { * @throws { BusinessError } 17700005 - The specified app ID is empty string. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getDisposedStatusSync(appId: string): Want; @@ -446,8 +442,8 @@ declare namespace appControl { * @throws { BusinessError } 17700005 - The specified app ID is empty string. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function deleteDisposedStatus(appId: string, callback: AsyncCallback): void; @@ -464,8 +460,8 @@ declare namespace appControl { * @throws { BusinessError } 17700005 - The specified app ID is empty string. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function deleteDisposedStatus(appId: string): Promise; @@ -497,8 +493,8 @@ declare namespace appControl { * @throws { BusinessError } 17700061 - AppIndex is not in the valid range. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function deleteDisposedStatusSync(appId: string, appIndex?: int): void; @@ -532,8 +528,8 @@ declare namespace appControl { * @throws { BusinessError } 17700061 - AppIndex is not in the valid range. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getDisposedRule(appId: string, appIndex?: int): DisposedRule; @@ -567,8 +563,8 @@ declare namespace appControl { * @throws { BusinessError } 17700061 - AppIndex is not in the valid range. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function setDisposedRule(appId: string, rule: DisposedRule, appIndex?: int): void; @@ -588,8 +584,8 @@ declare namespace appControl { * @throws { BusinessError } 17700075 - The specified bundleName of want is not the same with caller. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function setUninstallDisposedRule(appIdentifier: string, rule: UninstallDisposedRule, appIndex?: int): void; @@ -608,8 +604,8 @@ declare namespace appControl { * @throws { BusinessError } 17700074 - The specified appIdentifier is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function getUninstallDisposedRule(appIdentifier: string, appIndex?: int): UninstallDisposedRule; @@ -627,8 +623,8 @@ declare namespace appControl { * @throws { BusinessError } 17700074 - The specified appIdentifier is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function deleteUninstallDisposedRule(appIdentifier: string, appIndex?: int): void; @@ -644,8 +640,7 @@ declare namespace appControl { * @throws { BusinessError } 17700061 - AppIndex is not in the valid range. * @syscap SystemCapability.BundleManager.BundleFramework.AppControl * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function setDisposedRules(disposedRuleConfigurations: Array): void; } diff --git a/api/@ohos.bundle.bundleManager.d.ts b/api/@ohos.bundle.bundleManager.d.ts index 2b929348ed..668bf818b2 100644 --- a/api/@ohos.bundle.bundleManager.d.ts +++ b/api/@ohos.bundle.bundleManager.d.ts @@ -25,7 +25,7 @@ import Want from './@ohos.app.ability.Want'; import { PermissionDef as _PermissionDef } from './bundleManager/PermissionDef'; import { PluginBundleInfo as _PluginBundleInfo, PluginModuleInfo as _PluginModuleInfo} from './bundleManager/PluginBundleInfo'; import { SharedBundleInfo as _SharedBundleInfo } from './bundleManager/SharedBundleInfo'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type { ApplicationInfo as _ApplicationInfo, ModuleMetadata as _ModuleMetadata, PreinstalledApplicationInfo as _PreinstalledApplicationInfo } from './bundleManager/ApplicationInfo'; import type { RecoverableApplicationInfo as _RecoverableApplicationInfo } from './bundleManager/RecoverableApplicationInfo'; @@ -36,7 +36,7 @@ import * as _HapModuleInfo from './bundleManager/HapModuleInfo'; import * as _ExtensionAbilityInfo from './bundleManager/ExtensionAbilityInfo'; import * as _Skill from './bundleManager/Skill'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { ApplicationInfo as _ApplicationInfo, ModuleMetadata as _ModuleMetadata, PreinstalledApplicationInfo as _PreinstalledApplicationInfo } from './bundleManager/ApplicationInfo'; import { RecoverableApplicationInfo as _RecoverableApplicationInfo } from './bundleManager/RecoverableApplicationInfo'; @@ -72,8 +72,8 @@ import { Skill as _Skill, SkillUri as _SkillUri } from './bundleManager/Skill'; * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace bundleManager { /** @@ -100,8 +100,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum BundleFlag { /** @@ -126,8 +125,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_BUNDLE_INFO_DEFAULT = 0x00000000, /** @@ -152,8 +150,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_BUNDLE_INFO_WITH_APPLICATION = 0x00000001, /** @@ -178,8 +175,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_BUNDLE_INFO_WITH_HAP_MODULE = 0x00000002, /** @@ -210,8 +206,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_BUNDLE_INFO_WITH_ABILITY = 0x00000004, /** @@ -231,8 +226,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY = 0x00000008, /** @@ -257,8 +252,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_BUNDLE_INFO_WITH_REQUESTED_PERMISSION = 0x00000010, /** @@ -292,8 +286,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_BUNDLE_INFO_WITH_METADATA = 0x00000020, /** @@ -321,8 +314,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_BUNDLE_INFO_WITH_DISABLE = 0x00000040, /** @@ -347,8 +339,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_BUNDLE_INFO_WITH_SIGNATURE_INFO = 0x00000080, /** @@ -359,8 +350,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ GET_BUNDLE_INFO_WITH_MENU = 0x00000100, /** @@ -371,8 +362,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GET_BUNDLE_INFO_WITH_ROUTER_MAP = 0x00000200, /** @@ -384,8 +375,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GET_BUNDLE_INFO_WITH_SKILL = 0x00000800, /** @@ -394,8 +385,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GET_BUNDLE_INFO_ONLY_WITH_LAUNCHER_ABILITY = 0x00001000, /** @@ -405,8 +396,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GET_BUNDLE_INFO_OF_ANY_USER = 0x00002000, /** @@ -415,8 +406,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GET_BUNDLE_INFO_EXCLUDE_CLONE = 0x00004000, } @@ -428,8 +419,8 @@ declare namespace bundleManager { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum ApplicationFlag { /** @@ -438,8 +429,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ GET_APPLICATION_INFO_DEFAULT = 0x00000000, /** @@ -447,8 +438,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ GET_APPLICATION_INFO_WITH_PERMISSION = 0x00000001, /** @@ -456,8 +447,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ GET_APPLICATION_INFO_WITH_METADATA = 0x00000002, /** @@ -465,8 +456,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ GET_APPLICATION_INFO_WITH_DISABLE = 0x00000004 } @@ -485,8 +476,7 @@ declare namespace bundleManager { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum AbilityFlag { /** @@ -503,8 +493,7 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_ABILITY_INFO_DEFAULT = 0x00000000, /** @@ -519,8 +508,7 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_ABILITY_INFO_WITH_PERMISSION = 0x00000001, /** @@ -535,8 +523,7 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_ABILITY_INFO_WITH_APPLICATION = 0x00000002, /** @@ -551,8 +538,7 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_ABILITY_INFO_WITH_METADATA = 0x00000004, /** @@ -567,8 +553,7 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_ABILITY_INFO_WITH_DISABLE = 0x00000008, /** @@ -590,8 +575,7 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_ABILITY_INFO_ONLY_SYSTEM_APP = 0x00000010, /** @@ -606,8 +590,7 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_ABILITY_INFO_WITH_APP_LINKING = 0x00000040, /** @@ -622,8 +605,7 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_ABILITY_INFO_WITH_SKILL = 0x00000080, } @@ -634,8 +616,8 @@ declare namespace bundleManager { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum ExtensionAbilityFlag { /** @@ -644,8 +626,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ GET_EXTENSION_ABILITY_INFO_DEFAULT = 0x00000000, /** @@ -653,8 +635,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ GET_EXTENSION_ABILITY_INFO_WITH_PERMISSION = 0x00000001, /** @@ -662,8 +644,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ GET_EXTENSION_ABILITY_INFO_WITH_APPLICATION = 0x00000002, /** @@ -671,8 +653,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ GET_EXTENSION_ABILITY_INFO_WITH_METADATA = 0x00000004, /** @@ -680,8 +662,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GET_EXTENSION_ABILITY_INFO_WITH_SKILL = 0x00000010, } @@ -699,8 +681,8 @@ declare namespace bundleManager { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum ExtensionAbilityType { /** @@ -714,8 +696,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FORM = 0, @@ -723,8 +705,8 @@ declare namespace bundleManager { * Indicates extension info with type of work schedule * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ WORK_SCHEDULER = 1, @@ -732,8 +714,8 @@ declare namespace bundleManager { * Indicates extension info with type of input method * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ INPUT_METHOD = 2, @@ -741,8 +723,8 @@ declare namespace bundleManager { * Indicates extension info with type of service * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SERVICE = 3, @@ -750,8 +732,8 @@ declare namespace bundleManager { * Indicates extension info with type of accessibility * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ ACCESSIBILITY = 4, @@ -759,8 +741,8 @@ declare namespace bundleManager { * Indicates extension info with type of dataShare * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ DATA_SHARE = 5, @@ -768,8 +750,8 @@ declare namespace bundleManager { * Indicates extension info with type of filesShare * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ FILE_SHARE = 6, @@ -777,8 +759,8 @@ declare namespace bundleManager { * Indicates extension info with type of staticSubscriber * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ STATIC_SUBSCRIBER = 7, @@ -786,8 +768,8 @@ declare namespace bundleManager { * Indicates extension info with type of wallpaper * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ WALLPAPER = 8, @@ -795,8 +777,8 @@ declare namespace bundleManager { * Indicates extension info with type of backup * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ BACKUP = 9, @@ -804,8 +786,8 @@ declare namespace bundleManager { * Indicates extension info with type of window * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ WINDOW = 10, @@ -813,8 +795,8 @@ declare namespace bundleManager { * Indicates extension info with type of enterprise admin * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ ENTERPRISE_ADMIN = 11, @@ -822,8 +804,8 @@ declare namespace bundleManager { * Indicates extension info with type of thumbnail * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ THUMBNAIL = 13, @@ -831,8 +813,8 @@ declare namespace bundleManager { * Indicates extension info with type of preview * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ PREVIEW = 14, @@ -840,8 +822,8 @@ declare namespace bundleManager { * Indicates extension info with type of print * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PRINT = 15, @@ -849,8 +831,8 @@ declare namespace bundleManager { * Indicates extension info with type of share * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SHARE = 16, @@ -858,8 +840,8 @@ declare namespace bundleManager { * Indicates extension info with type of push * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PUSH = 17, @@ -867,8 +849,8 @@ declare namespace bundleManager { * Indicates extension info with type of driver * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ DRIVER = 18, @@ -876,8 +858,8 @@ declare namespace bundleManager { * Indicates extension info with type of action * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ACTION = 19, @@ -885,8 +867,8 @@ declare namespace bundleManager { * Indicates extension info with type of ads service * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ADS_SERVICE = 20, @@ -894,8 +876,8 @@ declare namespace bundleManager { * Indicates extension info with type of embedded UI * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EMBEDDED_UI = 21, @@ -903,8 +885,8 @@ declare namespace bundleManager { * Indicates extension info with type of insight intent UI * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INSIGHT_INTENT_UI = 22, @@ -912,8 +894,8 @@ declare namespace bundleManager { * Indicates extension info with type of FENCE * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ FENCE = 24, @@ -921,8 +903,8 @@ declare namespace bundleManager { * Indicates extension info with type of CALLER_INFO_QUERY * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CALLER_INFO_QUERY = 25, @@ -930,8 +912,8 @@ declare namespace bundleManager { * Indicates extension info with type of asset acceleration * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ ASSET_ACCELERATION = 26, @@ -939,8 +921,8 @@ declare namespace bundleManager { * Indicates extension info with type of form edit * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ FORM_EDIT = 27, @@ -948,8 +930,7 @@ declare namespace bundleManager { * Indicates extension info with type of distributed * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DISTRIBUTED = 28, @@ -957,8 +938,7 @@ declare namespace bundleManager { * Indicates extension info with type of app service * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ APP_SERVICE = 29, @@ -967,8 +947,7 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ LIVE_FORM = 30, @@ -976,8 +955,8 @@ declare namespace bundleManager { * Indicates extension info with type of unspecified * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ UNSPECIFIED = 255 } @@ -1004,8 +983,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export enum PermissionGrantState { /** @@ -1027,8 +1005,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ PERMISSION_DENIED = -1, @@ -1051,8 +1028,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ PERMISSION_GRANTED = 0 } @@ -1079,8 +1055,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export enum SupportWindowMode { /** @@ -1102,8 +1077,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FULL_SCREEN = 0, /** @@ -1125,8 +1099,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ SPLIT = 1, /** @@ -1148,8 +1121,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FLOATING = 2 } @@ -1176,8 +1148,8 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum LaunchType { /** @@ -1199,8 +1171,8 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SINGLETON = 0, @@ -1223,8 +1195,8 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MULTITON = 1, @@ -1247,8 +1219,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ SPECIFIED = 2 } @@ -1259,7 +1230,7 @@ declare namespace bundleManager { * @enum { number } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @FAModelOnly - * @since 9 + * @since 9 dynamiconly */ export enum AbilityType { /** @@ -1267,7 +1238,7 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @FAModelOnly - * @since 9 + * @since 9 dynamiconly */ PAGE = 1, @@ -1276,7 +1247,7 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @FAModelOnly - * @since 9 + * @since 9 dynamiconly */ SERVICE = 2, @@ -1285,7 +1256,7 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @FAModelOnly - * @since 9 + * @since 9 dynamiconly */ DATA = 3 } @@ -1312,8 +1283,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export enum DisplayOrientation { /** @@ -1335,8 +1305,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ UNSPECIFIED, @@ -1359,8 +1328,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ LANDSCAPE, @@ -1383,8 +1351,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ PORTRAIT, @@ -1407,8 +1374,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FOLLOW_RECENT, @@ -1431,8 +1397,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ LANDSCAPE_INVERTED, @@ -1455,8 +1420,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ PORTRAIT_INVERTED, @@ -1479,8 +1443,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ AUTO_ROTATION, @@ -1503,8 +1466,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ AUTO_ROTATION_LANDSCAPE, @@ -1527,8 +1489,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ AUTO_ROTATION_PORTRAIT, @@ -1551,8 +1512,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ AUTO_ROTATION_RESTRICTED, @@ -1575,8 +1535,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ AUTO_ROTATION_LANDSCAPE_RESTRICTED, @@ -1599,8 +1558,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ AUTO_ROTATION_PORTRAIT_RESTRICTED, @@ -1623,8 +1581,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ LOCKED, @@ -1633,8 +1590,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUTO_ROTATION_UNSPECIFIED, @@ -1643,8 +1600,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FOLLOW_DESKTOP } @@ -1671,8 +1628,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export enum ModuleType { /** @@ -1694,8 +1650,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ ENTRY = 1, /** @@ -1717,8 +1672,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FEATURE = 2, /** @@ -1740,8 +1694,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ SHARED = 3 } @@ -1759,8 +1712,8 @@ declare namespace bundleManager { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum BundleType { /** @@ -1774,8 +1727,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ APP = 0, /** @@ -1787,8 +1740,8 @@ declare namespace bundleManager { * Indicates atomic service * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ATOMIC_SERVICE = 1 } @@ -1806,8 +1759,8 @@ declare namespace bundleManager { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum CompatiblePolicy { /** @@ -1821,8 +1774,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BACKWARD_COMPATIBILITY = 1 } @@ -1833,8 +1786,8 @@ declare namespace bundleManager { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum ProfileType { /** @@ -1842,8 +1795,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ INTENT_PROFILE = 1 } @@ -1854,8 +1807,8 @@ declare namespace bundleManager { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum AppDistributionType { /** @@ -1863,8 +1816,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ APP_GALLERY = 1, @@ -1873,8 +1826,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ENTERPRISE = 2, @@ -1884,8 +1837,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ENTERPRISE_NORMAL = 3, @@ -1895,8 +1848,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ENTERPRISE_MDM = 4, @@ -1905,8 +1858,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OS_INTEGRATION = 5, @@ -1915,8 +1868,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CROWDTESTING = 6, @@ -1925,8 +1878,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NONE = 7 } @@ -1936,32 +1889,32 @@ declare namespace bundleManager { * * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum MultiAppModeType { /** * Indicates multi app mode with type of unspecified * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UNSPECIFIED = 0, /** * Indicates multi app mode with type of multiInstance * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MULTI_INSTANCE = 1, /** * Indicates multi app mode with type of appClone * * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ APP_CLONE = 2, } @@ -1972,8 +1925,8 @@ declare namespace bundleManager { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum ApplicationInfoFlag { /** @@ -1981,8 +1934,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FLAG_INSTALLED = 0x00000001, /** @@ -1990,8 +1943,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ FLAG_OTHER_INSTALLED = 0x00000010, /** @@ -1999,8 +1952,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ FLAG_PREINSTALLED_APP = 0x00000020, /** @@ -2008,8 +1961,8 @@ declare namespace bundleManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ FLAG_PREINSTALLED_APP_UPDATE = 0x00000040, } @@ -2042,8 +1995,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getBundleInfoForSelf(bundleFlags: int): Promise; @@ -2075,8 +2027,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getBundleInfoForSelf(bundleFlags: int, callback: AsyncCallback): void; @@ -2108,8 +2059,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getBundleInfoForSelfSync(bundleFlags: int): BundleInfo; @@ -2125,8 +2075,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700001 - The specified bundleName is not found. * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getBundleInfo(bundleName: string, bundleFlags: int, callback: AsyncCallback): void; @@ -2144,8 +2094,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getBundleInfo(bundleName: string, bundleFlags: int, userId: int, callback: AsyncCallback): void; @@ -2164,8 +2114,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getBundleInfo(bundleName: string, bundleFlags: int, userId?: int): Promise; @@ -2183,8 +2133,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getApplicationInfo(bundleName: string, appFlags: int, callback: AsyncCallback): void; @@ -2204,8 +2154,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getApplicationInfo(bundleName: string, appFlags: int, userId: int, callback: AsyncCallback): void; @@ -2226,8 +2176,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getApplicationInfo(bundleName: string, appFlags: int, userId?: int): Promise; @@ -2242,8 +2192,8 @@ declare namespace bundleManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAllBundleInfo(bundleFlags: int, callback: AsyncCallback>): void; @@ -2260,8 +2210,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAllBundleInfo(bundleFlags: int, userId: int, callback: AsyncCallback>): void; @@ -2278,8 +2228,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAllBundleInfo(bundleFlags: int, userId?: int): Promise>; @@ -2294,8 +2244,8 @@ declare namespace bundleManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAllApplicationInfo(appFlags: int, callback: AsyncCallback>): void; @@ -2312,8 +2262,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAllApplicationInfo(appFlags: int, userId: int, callback: AsyncCallback>): void; @@ -2331,8 +2281,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAllApplicationInfo(appFlags: int, userId?: int): Promise>; @@ -2353,8 +2303,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700029 - The specified ability is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function queryAbilityInfo(want: Want, abilityFlags: int, callback: AsyncCallback>): void; @@ -2377,8 +2327,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700029 - The specified ability is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function queryAbilityInfo(want: Want, abilityFlags: int, userId: int, callback: AsyncCallback>): void; @@ -2402,8 +2352,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700029 - The specified ability is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function queryAbilityInfo(want: Want, abilityFlags: int, userId?: int): Promise>; @@ -2426,8 +2376,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700029 - The specified ability is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function queryAbilityInfo(wants: Array, abilityFlags: int, userId?: int): Promise>; @@ -2450,8 +2400,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700029 - The specified ability is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function queryAbilityInfoSync(want: Want, abilityFlags: int, userId?: int): Array; @@ -2466,8 +2416,7 @@ declare namespace bundleManager { * @throws { BusinessError } 17700003 - The ability is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getAbilityInfo(uri: string, abilityFlags: int): Promise>; @@ -2489,8 +2438,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function queryExtensionAbilityInfo(want: Want, extensionAbilityType: ExtensionAbilityType, extensionAbilityFlags: int, callback: AsyncCallback>): void; @@ -2515,8 +2464,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function queryExtensionAbilityInfo(want: Want, extensionAbilityType: ExtensionAbilityType, extensionAbilityFlags: int, userId: int, callback: AsyncCallback>): void; @@ -2541,8 +2490,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function queryExtensionAbilityInfo(want: Want, extensionAbilityType: ExtensionAbilityType, extensionAbilityFlags: int, userId?: int): Promise>; @@ -2567,8 +2516,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function queryExtensionAbilityInfoSync(want: Want, extensionAbilityType: ExtensionAbilityType, extensionAbilityFlags: int, userId?: int): Array; @@ -2593,8 +2542,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function queryExtensionAbilityInfoSync(want: Want, extensionAbilityType: string, extensionAbilityFlags: int, userId?: int): Array; @@ -2616,8 +2565,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700004 - The specified userId is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function queryExtensionAbilityInfoSync(extensionAbilityType: string, extensionAbilityFlags: int, userId?: int): Array; @@ -2632,8 +2581,8 @@ declare namespace bundleManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @throws { BusinessError } 17700021 - The uid is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getBundleNameByUid(uid: int, callback: AsyncCallback): void; @@ -2647,8 +2596,8 @@ declare namespace bundleManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @throws { BusinessError } 17700021 - The uid is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getBundleNameByUid(uid: int): Promise; @@ -2662,8 +2611,8 @@ declare namespace bundleManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @throws { BusinessError } 17700021 - The uid is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getBundleNameByUidSync(uid: int): string; @@ -2681,8 +2630,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700022 - The hapFilePath is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getBundleArchiveInfo(hapFilePath: string, bundleFlags: int, callback: AsyncCallback): void; @@ -2700,8 +2649,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700022 - The hapFilePath is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getBundleArchiveInfo(hapFilePath: string, bundleFlags: int): Promise; @@ -2719,8 +2668,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700022 - The hapFilePath is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getBundleArchiveInfoSync(hapFilePath: string, bundleFlags: int): BundleInfo; @@ -2737,8 +2686,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700030 - The specified bundle does not support clearing of cache files. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function cleanBundleCacheFiles(bundleName: string, callback: AsyncCallback): void; @@ -2755,8 +2704,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700030 - The specified bundle does not support clearing of cache files. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function cleanBundleCacheFiles(bundleName: string): Promise; @@ -2775,8 +2724,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700061 - AppIndex not in valid range. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function cleanBundleCacheFiles(bundleName: string, appIndex: int): Promise; @@ -2789,8 +2738,8 @@ declare namespace bundleManager { * @throws { BusinessError } 202 - Permission denied, non-system app called system api. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function getAllBundleCacheSize(): Promise; @@ -2803,8 +2752,8 @@ declare namespace bundleManager { * @throws { BusinessError } 202 - Permission denied, non-system app called system api. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function cleanAllBundleCache(): Promise; @@ -2823,8 +2772,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700061 - AppIndex not in valid range. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function setApplicationEnabled(bundleName: string, appIndex: int, isEnabled: boolean): Promise; @@ -2841,8 +2790,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700001 - The specified bundleName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setApplicationEnabled(bundleName: string, isEnabled: boolean, callback: AsyncCallback): void; @@ -2859,8 +2808,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700001 - The specified bundleName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setApplicationEnabled(bundleName: string, isEnabled: boolean): Promise; @@ -2876,8 +2825,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700001 - The specified bundleName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setApplicationEnabledSync(bundleName: string, isEnabled: boolean): void; @@ -2897,8 +2846,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700061 - AppIndex not in valid range. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function setAbilityEnabled(info: AbilityInfo, appIndex: int, isEnabled: boolean): Promise; @@ -2916,8 +2865,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700003 - The specified abilityInfo is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setAbilityEnabled(info: AbilityInfo, isEnabled: boolean, callback: AsyncCallback): void; @@ -2935,8 +2884,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700003 - The specified abilityInfo is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setAbilityEnabled(info: AbilityInfo, isEnabled: boolean): Promise; @@ -2953,8 +2902,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700003 - The specified abilityInfo is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setAbilityEnabledSync(info: AbilityInfo, isEnabled: boolean): void; @@ -2970,8 +2919,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700061 - AppIndex not in valid range. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function isApplicationEnabled(bundleName: string, appIndex: int): Promise; @@ -2985,8 +2934,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700001 - The specified bundleName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isApplicationEnabled(bundleName: string, callback: AsyncCallback): void; @@ -3000,8 +2949,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700001 - The specified bundleName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isApplicationEnabled(bundleName: string): Promise; @@ -3015,8 +2964,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700001 - The specified bundleName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function isApplicationEnabledSync(bundleName: string): boolean; @@ -3033,8 +2982,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700061 - AppIndex not in valid range. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function isAbilityEnabled(info: AbilityInfo, appIndex: int): Promise; @@ -3049,8 +2998,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700003 - The specified abilityName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isAbilityEnabled(info: AbilityInfo, callback: AsyncCallback): void; @@ -3065,8 +3014,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700003 - The specified abilityName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isAbilityEnabled(info: AbilityInfo): Promise; @@ -3081,8 +3030,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700003 - The specified abilityName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function isAbilityEnabledSync(info: AbilityInfo): boolean; @@ -3103,8 +3052,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getLaunchWantForBundle(bundleName: string, userId: int, callback: AsyncCallback): void; @@ -3123,8 +3072,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getLaunchWantForBundle(bundleName: string, callback: AsyncCallback): void; @@ -3145,8 +3094,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getLaunchWantForBundle(bundleName: string, userId?: int): Promise; @@ -3167,8 +3116,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getLaunchWantForBundleSync(bundleName: string, userId?: int): Want; @@ -3181,8 +3130,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700072 - The launch want is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function getLaunchWant(): Want; @@ -3215,8 +3164,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700029 - The specified ability is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getProfileByAbility(moduleName: string, abilityName: string, metadataName: string, callback: AsyncCallback>): void; @@ -3249,8 +3198,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700029 - The specified ability is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getProfileByAbility(moduleName: string, abilityName: string, metadataName?: string): Promise>; @@ -3283,8 +3232,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700029 - The specified ability is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getProfileByAbilitySync(moduleName: string, abilityName: string, metadataName?: string): Array; @@ -3315,8 +3264,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getProfileByExtensionAbility(moduleName: string, extensionAbilityName: string, metadataName: string, callback: AsyncCallback>): void; @@ -3347,8 +3296,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getProfileByExtensionAbility(moduleName: string, extensionAbilityName: string, metadataName?: string): Promise>; @@ -3379,8 +3328,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700024 - Failed to get the profile because there is no profile in the HAP. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getProfileByExtensionAbilitySync(moduleName: string, extensionAbilityName: string, metadataName?: string): Array; @@ -3396,8 +3345,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700006 - The specified permission is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getPermissionDef(permissionName: string, callback: AsyncCallback): void; @@ -3413,8 +3362,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700006 - The specified permission is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getPermissionDef(permissionName: string): Promise; @@ -3430,8 +3379,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700006 - The specified permission is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getPermissionDefSync(permissionName: string): PermissionDef; @@ -3454,8 +3403,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700029 - The specified ability is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAbilityLabel(bundleName: string, moduleName: string, abilityName: string, callback: AsyncCallback): void; @@ -3478,8 +3427,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700029 - The specified ability is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAbilityLabel(bundleName: string, moduleName: string, abilityName: string): Promise; @@ -3502,8 +3451,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700029 - The specified ability is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getAbilityLabelSync(bundleName: string, moduleName: string, abilityName: string): string; @@ -3523,8 +3472,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getApplicationInfoSync(bundleName: string, applicationFlags: int, userId: int): ApplicationInfo; @@ -3542,8 +3491,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getApplicationInfoSync(bundleName: string, applicationFlags: int): ApplicationInfo; @@ -3561,8 +3510,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getBundleInfoSync(bundleName: string, bundleFlags: int, userId: int): BundleInfo; @@ -3578,8 +3527,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700001 - The specified bundleName is not found. * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getBundleInfoSync(bundleName: string, bundleFlags: int): BundleInfo; @@ -3592,8 +3541,8 @@ declare namespace bundleManager { * @throws { BusinessError } 202 - Permission denied, non-system app called system api. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getAllSharedBundleInfo(callback: AsyncCallback>): void; @@ -3606,8 +3555,8 @@ declare namespace bundleManager { * @throws { BusinessError } 202 - Permission denied, non-system app called system api. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getAllSharedBundleInfo(): Promise>; @@ -3625,8 +3574,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700002 - The specified moduleName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getSharedBundleInfo(bundleName: string, moduleName: string, callback: AsyncCallback>): void; @@ -3644,8 +3593,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700002 - The specified moduleName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getSharedBundleInfo(bundleName: string, moduleName: string): Promise>; @@ -3662,8 +3611,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700001 - The specified bundleName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getAppProvisionInfo(bundleName: string, callback: AsyncCallback): void; @@ -3682,8 +3631,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getAppProvisionInfo(bundleName: string, userId: int, callback: AsyncCallback): void; @@ -3702,8 +3651,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getAppProvisionInfo(bundleName: string, userId?: int): Promise; @@ -3722,8 +3671,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getAppProvisionInfoSync(bundleName: string, userId?: int): AppProvisionInfo; @@ -3739,8 +3688,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700001 - The specified bundleName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getSpecifiedDistributionType(bundleName: string): string; @@ -3757,8 +3706,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700001 - The specified bundleName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getAdditionalInfo(bundleName: string): string; @@ -3800,8 +3749,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle is disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getJsonProfile(profileType: ProfileType, bundleName: string, moduleName?: string, userId?: int): string; @@ -3818,8 +3767,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700303 - Failed to obtain extended resources. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getExtResource(bundleName: string): Promise>; @@ -3856,8 +3805,7 @@ declare namespace bundleManager { * @throws { BusinessError } 17700307 - Dynamic icons cannot take effect due to existing custom themes. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function enableDynamicIcon(bundleName: string, moduleName: string): Promise; @@ -3883,8 +3831,7 @@ declare namespace bundleManager { * @throws { BusinessError } 17700307 - Dynamic icons cannot take effect due to existing custom themes. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function enableDynamicIcon(bundleName: string, moduleName: string, option?: BundleOptions): Promise; @@ -3901,8 +3848,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700305 - Failed to disable the dynamic icon. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function disableDynamicIcon(bundleName: string): Promise; @@ -3925,8 +3872,7 @@ declare namespace bundleManager { * @throws { BusinessError } 17700305 - Failed to disable the dynamic icon. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function disableDynamicIcon(bundleName: string, option?: BundleOptions): Promise; @@ -3943,8 +3889,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700306 - Failed to obtain the dynamic icon. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getDynamicIcon(bundleName: string): Promise; @@ -3960,8 +3906,7 @@ declare namespace bundleManager { * @throws { BusinessError } 17700306 - Failed to obtain the dynamic icon. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getDynamicIconInfo(bundleName: string): Promise>; @@ -3981,8 +3926,7 @@ declare namespace bundleManager { * @throws { BusinessError } 17700306 - Failed to obtain the dynamic icon. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getAllDynamicIconInfo(userId?: int): Promise>; @@ -4012,8 +3956,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700201 - Failed to verify the abc file. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function verifyAbc(abcPaths: Array, deleteOriginalFiles: boolean, callback: AsyncCallback): void; @@ -4043,8 +3987,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700201 - Failed to verify the abc file. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function verifyAbc(abcPaths: Array, deleteOriginalFiles: boolean): Promise; @@ -4057,8 +4001,8 @@ declare namespace bundleManager { * @throws { BusinessError } 202 - Permission denied, non-system app called system api. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getRecoverableApplicationInfo(callback: AsyncCallback>): void; @@ -4071,8 +4015,8 @@ declare namespace bundleManager { * @throws { BusinessError } 202 - Permission denied, non-system app called system api. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getRecoverableApplicationInfo(): Promise>; @@ -4090,8 +4034,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700053 - The caller is not AppGallery. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function setAdditionalInfo(bundleName: string, additionalInfo: string): void; @@ -4119,8 +4063,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700202 - Failed to delete the abc file. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function deleteAbc(abcPath: string): Promise; @@ -4134,8 +4078,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700056 - The scheme of the specified link is not in the querySchemes. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function canOpenLink(link: string): boolean; @@ -4148,8 +4092,8 @@ declare namespace bundleManager { * @throws { BusinessError } 202 - Permission denied, non-system app called system api. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getAllPreinstalledApplicationInfo(): Promise>; @@ -4166,8 +4110,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700059 - The specified developerId is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getAllBundleInfoByDeveloperId(developerId: string): Array; @@ -4182,8 +4126,8 @@ declare namespace bundleManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getDeveloperIds(appDistributionType?: int): Array; @@ -4200,8 +4144,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700060 - The specified application cannot be uninstalled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function switchUninstallState(bundleName: string, state: boolean): void; @@ -4214,8 +4158,8 @@ declare namespace bundleManager { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 17700021 - The uid is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getSignatureInfo(uid: int): SignatureInfo; @@ -4237,8 +4181,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700061 - AppIndex not in valid range. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getAppCloneBundleInfo(bundleName: string, appIndex: int, bundleFlags: int, userId?: int): Promise; @@ -4258,8 +4202,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700026 - The specified bundle and clone apps are all disabled. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getAllAppCloneBundleInfo(bundleName: string, bundleFlags: int, userId?: int): Promise>; @@ -4273,8 +4217,8 @@ declare namespace bundleManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @throws { BusinessError } 17700021 - The uid is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getAppCloneIdentity(uid: int): Promise; @@ -4291,8 +4235,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function getAllPluginInfo(hostBundleName: string, userId?: int): Promise>; @@ -4314,8 +4258,8 @@ declare namespace bundleManager { * @throws { BusinessError } 17700086 - System error occurred during copy execution. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function migrateData(sourcePaths: Array, destinationPath: string): Promise; @@ -4332,8 +4276,7 @@ declare namespace bundleManager { * @throws { BusinessError } 17700061 - AppIndex not in valid range. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getSandboxDataDir(bundleName: string, appIndex: int): string; @@ -4344,8 +4287,7 @@ declare namespace bundleManager { * @returns { AppCloneIdentity } Returns the clone Identity contains bundleName and appIndex. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getAppCloneIdentityBySandboxDataDir(sandboxDataDir: string): AppCloneIdentity; @@ -4371,8 +4313,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export type ApplicationInfo = _ApplicationInfo; @@ -4398,8 +4339,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export type ModuleMetadata = _ModuleMetadata; @@ -4425,8 +4365,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export type Metadata = _Metadata; @@ -4452,7 +4391,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export type BundleInfo = _BundleInfo.BundleInfo; @@ -4462,8 +4401,7 @@ declare namespace bundleManager { * @typedef { _BundleInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type BundleInfo = _BundleInfo; @@ -4489,7 +4427,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export type UsedScene = _BundleInfo.UsedScene; @@ -4499,8 +4437,7 @@ declare namespace bundleManager { * @typedef { _UsedScene } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type UsedScene = _UsedScene; @@ -4526,7 +4463,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export type ReqPermissionDetail = _BundleInfo.ReqPermissionDetail; @@ -4536,8 +4473,7 @@ declare namespace bundleManager { * @typedef { _ReqPermissionDetail } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type ReqPermissionDetail = _ReqPermissionDetail; @@ -4563,7 +4499,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export type SignatureInfo = _BundleInfo.SignatureInfo; @@ -4573,8 +4509,7 @@ declare namespace bundleManager { * @typedef { _SignatureInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type SignatureInfo = _SignatureInfo; @@ -4583,7 +4518,7 @@ declare namespace bundleManager { * * @typedef { _BundleInfo.AppCloneIdentity } * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since 15 + * @since 15 dynamic */ export type AppCloneIdentity = _BundleInfo.AppCloneIdentity; @@ -4592,8 +4527,7 @@ declare namespace bundleManager { * * @typedef { _AppCloneIdentity } * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AppCloneIdentity = _AppCloneIdentity; @@ -4619,7 +4553,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export type HapModuleInfo = _HapModuleInfo.HapModuleInfo; @@ -4630,8 +4564,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type HapModuleInfo = _HapModuleInfo; @@ -4648,7 +4581,7 @@ declare namespace bundleManager { * @typedef { _HapModuleInfo.PreloadItem } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ export type PreloadItem = _HapModuleInfo.PreloadItem; @@ -4658,8 +4591,7 @@ declare namespace bundleManager { * @typedef { _PreloadItem } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type PreloadItem = _PreloadItem; @@ -4676,7 +4608,7 @@ declare namespace bundleManager { * @typedef { _HapModuleInfo.Dependency } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ export type Dependency = _HapModuleInfo.Dependency; @@ -4686,8 +4618,7 @@ declare namespace bundleManager { * @typedef { _Dependency } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type Dependency = _Dependency; @@ -4697,7 +4628,7 @@ declare namespace bundleManager { * @typedef { _HapModuleInfo.RouterItem} * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export type RouterItem = _HapModuleInfo.RouterItem; @@ -4706,8 +4637,7 @@ declare namespace bundleManager { * * @typedef { _RouterItem} * @syscap SystemCapability.BundleManager.BundleFramework.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type RouterItem = _RouterItem; @@ -4717,7 +4647,7 @@ declare namespace bundleManager { * @typedef { _HapModuleInfo.DataItem } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export type DataItem = _HapModuleInfo.DataItem; @@ -4727,8 +4657,7 @@ declare namespace bundleManager { * @typedef { _DataItem } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type DataItem = _DataItem; @@ -4754,7 +4683,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export type AbilityInfo = _AbilityInfo.AbilityInfo; @@ -4765,8 +4694,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AbilityInfo = _AbilityInfo; @@ -4792,7 +4720,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export type WindowSize = _AbilityInfo.WindowSize; @@ -4803,8 +4731,7 @@ declare namespace bundleManager { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type WindowSize = _WindowSize; @@ -4821,7 +4748,7 @@ declare namespace bundleManager { * @typedef { _ExtensionAbilityInfo.ExtensionAbilityInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ export type ExtensionAbilityInfo = _ExtensionAbilityInfo.ExtensionAbilityInfo; @@ -4831,8 +4758,7 @@ declare namespace bundleManager { * @typedef { _ExtensionAbilityInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type ExtensionAbilityInfo = _ExtensionAbilityInfo; @@ -4842,8 +4768,8 @@ declare namespace bundleManager { * @typedef { _PermissionDef } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type PermissionDef = _PermissionDef; @@ -4860,8 +4786,8 @@ declare namespace bundleManager { * @typedef { _ElementName } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type ElementName = _ElementName; @@ -4871,8 +4797,8 @@ declare namespace bundleManager { * @typedef { _SharedBundleInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export type SharedBundleInfo = _SharedBundleInfo; @@ -4882,7 +4808,7 @@ declare namespace bundleManager { * @typedef { _AppProvisionInfo.AppProvisionInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since 10 dynamic */ export type AppProvisionInfo = _AppProvisionInfo.AppProvisionInfo; @@ -4892,8 +4818,7 @@ declare namespace bundleManager { * @typedef { _AppProvisionInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AppProvisionInfo = _AppProvisionInfo; @@ -4903,7 +4828,7 @@ declare namespace bundleManager { * @typedef { _AppProvisionInfo.Validity } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since 10 dynamic */ export type Validity = _AppProvisionInfo.Validity; @@ -4913,8 +4838,7 @@ declare namespace bundleManager { * @typedef { _Validity } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type Validity = _Validity; @@ -4924,8 +4848,8 @@ declare namespace bundleManager { * @typedef { _RecoverableApplicationInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type RecoverableApplicationInfo = _RecoverableApplicationInfo; @@ -4935,7 +4859,7 @@ declare namespace bundleManager { * @typedef { _Skill.Skill } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export type Skill = _Skill.Skill; @@ -4945,8 +4869,7 @@ declare namespace bundleManager { * @typedef { _Skill } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type Skill = _Skill; @@ -4956,7 +4879,7 @@ declare namespace bundleManager { * @typedef { _Skill.SkillUri } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export type SkillUrl = _Skill.SkillUri; @@ -4966,8 +4889,7 @@ declare namespace bundleManager { * @typedef { _SkillUri } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type SkillUrl = _SkillUri; @@ -4977,8 +4899,8 @@ declare namespace bundleManager { * @typedef { _PreinstalledApplicationInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type PreinstalledApplicationInfo = _PreinstalledApplicationInfo; @@ -4988,8 +4910,8 @@ declare namespace bundleManager { * @typedef { _PluginBundleInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ export type PluginBundleInfo = _PluginBundleInfo; @@ -4999,8 +4921,8 @@ declare namespace bundleManager { * @typedef { _PluginModuleInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ export type PluginModuleInfo = _PluginModuleInfo; @@ -5010,7 +4932,7 @@ declare namespace bundleManager { * @typedef { _BundleInfo.DynamicIconInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 20 + * @since 20 dynamic */ export type DynamicIconInfo = _BundleInfo.DynamicIconInfo; @@ -5020,8 +4942,7 @@ declare namespace bundleManager { * @typedef { _DynamicIconInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type DynamicIconInfo = _DynamicIconInfo; @@ -5031,7 +4952,7 @@ declare namespace bundleManager { * @typedef { _BundleInfo.BundleOptions } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 20 + * @since 20 dynamic */ export type BundleOptions = _BundleInfo.BundleOptions; @@ -5041,8 +4962,7 @@ declare namespace bundleManager { * @typedef { _BundleOptions } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type BundleOptions = _BundleOptions; } diff --git a/api/@ohos.bundle.bundleMonitor.d.ts b/api/@ohos.bundle.bundleMonitor.d.ts index af4c9cbd26..c2fe16be7f 100644 --- a/api/@ohos.bundle.bundleMonitor.d.ts +++ b/api/@ohos.bundle.bundleMonitor.d.ts @@ -26,8 +26,8 @@ import { Callback } from './@ohos.base'; * @namespace bundleMonitor * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace bundleMonitor { /** @@ -36,8 +36,8 @@ declare namespace bundleMonitor { * @typedef BundleChangedInfo * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface BundleChangedInfo { /** @@ -47,8 +47,8 @@ declare namespace bundleMonitor { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly bundleName: string; /** @@ -58,8 +58,8 @@ declare namespace bundleMonitor { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly userId: int; /** @@ -69,8 +69,8 @@ declare namespace bundleMonitor { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly appIndex: int; } @@ -81,8 +81,8 @@ declare namespace bundleMonitor { * @typedef { 'add' | 'update' | 'remove' } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ type BundleChangedEvent = 'add' | 'update' | 'remove'; @@ -97,8 +97,8 @@ declare namespace bundleMonitor { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function on(type: BundleChangedEvent, callback: Callback): void; @@ -113,8 +113,8 @@ declare namespace bundleMonitor { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off(type: BundleChangedEvent, callback?: Callback): void; } diff --git a/api/@ohos.bundle.bundleResourceManager.d.ts b/api/@ohos.bundle.bundleResourceManager.d.ts index d817c8e4e6..689de9431e 100644 --- a/api/@ohos.bundle.bundleResourceManager.d.ts +++ b/api/@ohos.bundle.bundleResourceManager.d.ts @@ -18,12 +18,12 @@ * @kit AbilityKit */ -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type { AsyncCallback } from './@ohos.base'; import type { BundleResourceInfo as _BundleResourceInfo } from './bundleManager/BundleResourceInfo'; import type { LauncherAbilityResourceInfo as _LauncherAbilityResourceInfo } from './bundleManager/LauncherAbilityResourceInfo'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { AsyncCallback } from './@ohos.base'; import { BundleResourceInfo as _BundleResourceInfo } from './bundleManager/BundleResourceInfo'; import { LauncherAbilityResourceInfo as _LauncherAbilityResourceInfo } from './bundleManager/LauncherAbilityResourceInfo'; @@ -36,8 +36,8 @@ import bundleManager from './@ohos.bundle.bundleManager'; * @namespace bundleResourceManager * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace bundleResourceManager { /** @@ -47,8 +47,8 @@ declare namespace bundleResourceManager { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum ResourceFlag { /** @@ -56,8 +56,8 @@ declare namespace bundleResourceManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ GET_RESOURCE_INFO_ALL = 0x00000001, @@ -66,8 +66,8 @@ declare namespace bundleResourceManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ GET_RESOURCE_INFO_WITH_LABEL = 0x00000002, @@ -76,8 +76,8 @@ declare namespace bundleResourceManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ GET_RESOURCE_INFO_WITH_ICON = 0x00000004, @@ -87,8 +87,8 @@ declare namespace bundleResourceManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ GET_RESOURCE_INFO_WITH_SORTED_BY_LABEL = 0x00000008, @@ -97,8 +97,8 @@ declare namespace bundleResourceManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GET_RESOURCE_INFO_WITH_DRAWABLE_DESCRIPTOR = 0x00000010, @@ -107,8 +107,7 @@ declare namespace bundleResourceManager { * * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_RESOURCE_INFO_ONLY_WITH_MAIN_ABILITY = 0x00000020 } @@ -126,8 +125,8 @@ declare namespace bundleResourceManager { * @throws { BusinessError } 17700001 - The specified bundleName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getBundleResourceInfo(bundleName: string, resourceFlags?: int): BundleResourceInfo; @@ -146,8 +145,8 @@ declare namespace bundleResourceManager { * @throws { BusinessError } 17700061 - AppIndex not in valid range or not found. * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getBundleResourceInfo(bundleName: string, resourceFlags?: int, appIndex?: int): BundleResourceInfo; @@ -164,8 +163,8 @@ declare namespace bundleResourceManager { * @throws { BusinessError } 17700001 - The specified bundleName is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getLauncherAbilityResourceInfo(bundleName: string, resourceFlags?: int): Array; @@ -185,8 +184,8 @@ declare namespace bundleResourceManager { * @throws { BusinessError } 17700061 - AppIndex not in valid range or not found. * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getLauncherAbilityResourceInfo(bundleName: string, resourceFlags?: int, appIndex?: int): Array; @@ -201,8 +200,8 @@ declare namespace bundleResourceManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getAllBundleResourceInfo(resourceFlags: int, callback: AsyncCallback>): void; @@ -217,8 +216,8 @@ declare namespace bundleResourceManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getAllBundleResourceInfo(resourceFlags: int): Promise>; @@ -233,8 +232,8 @@ declare namespace bundleResourceManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getAllLauncherAbilityResourceInfo(resourceFlags: int, callback: AsyncCallback>): void; @@ -249,8 +248,8 @@ declare namespace bundleResourceManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getAllLauncherAbilityResourceInfo(resourceFlags: int): Promise>; @@ -271,8 +270,7 @@ declare namespace bundleResourceManager { * @throws { BusinessError } 17700061 - AppIndex not in valid range or not found. * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getExtensionAbilityResourceInfo(bundleName: string, extensionAbilityType: bundleManager.ExtensionAbilityType, resourceFlags: int, appIndex?: int): Array; @@ -282,8 +280,8 @@ declare namespace bundleResourceManager { * @typedef { _BundleResourceInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type BundleResourceInfo = _BundleResourceInfo; @@ -293,8 +291,8 @@ declare namespace bundleResourceManager { * @typedef { _LauncherAbilityResourceInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type LauncherAbilityResourceInfo = _LauncherAbilityResourceInfo; } diff --git a/api/@ohos.bundle.d.ts b/api/@ohos.bundle.d.ts index ad46de3675..185230fd54 100644 --- a/api/@ohos.bundle.d.ts +++ b/api/@ohos.bundle.d.ts @@ -32,7 +32,7 @@ import { BundleInstaller } from './bundle/bundleInstaller'; * * @namespace bundle * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleManager */ @@ -42,80 +42,80 @@ declare namespace bundle { * * @enum { number } * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleManager.BundleFlag */ enum BundleFlag { /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ GET_BUNDLE_DEFAULT = 0x00000000, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ GET_BUNDLE_WITH_ABILITIES = 0x00000001, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ GET_ABILITY_INFO_WITH_PERMISSION = 0x00000002, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ GET_ABILITY_INFO_WITH_APPLICATION = 0x00000004, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ GET_APPLICATION_INFO_WITH_PERMISSION = 0x00000008, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ GET_BUNDLE_WITH_REQUESTED_PERMISSION = 0x00000010, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ GET_ALL_APPLICATION_INFO = 0xFFFF0000, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ GET_ABILITY_INFO_WITH_METADATA = 0x00000020, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ GET_APPLICATION_INFO_WITH_METADATA = 0x00000040, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ GET_ABILITY_INFO_SYSTEMAPP_ONLY = 0x00000080, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ GET_ABILITY_INFO_WITH_DISABLE = 0x00000100, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ GET_APPLICATION_INFO_WITH_DISABLE = 0x00000200 @@ -126,25 +126,25 @@ declare namespace bundle { * * @enum { number } * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ export enum ColorMode { /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ AUTO_MODE = -1, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ DARK_MODE = 0, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ LIGHT_MODE = 1 @@ -155,20 +155,20 @@ declare namespace bundle { * * @enum { number } * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleManager.PermissionGrantState */ export enum GrantStatus { /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ PERMISSION_DENIED = -1, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ PERMISSION_GRANTED = 0 @@ -179,7 +179,7 @@ declare namespace bundle { * * @enum { number } * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleManager.AbilityType */ @@ -188,7 +188,7 @@ declare namespace bundle { * Indicates an unknown ability type * * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ UNKNOWN, @@ -197,7 +197,7 @@ declare namespace bundle { * Indicates that the ability has a UI * * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ PAGE, @@ -206,7 +206,7 @@ declare namespace bundle { * Indicates that the ability does not have a UI * * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ SERVICE, @@ -215,7 +215,7 @@ declare namespace bundle { * Indicates that the ability is used to provide data access services * * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ DATA @@ -226,19 +226,19 @@ declare namespace bundle { * * @enum { number } * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ export enum AbilitySubType { /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ UNSPECIFIED = 0, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ CA = 1 @@ -249,7 +249,7 @@ declare namespace bundle { * * @enum { number } * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleManager.DisplayOrientation */ @@ -258,7 +258,7 @@ declare namespace bundle { * Indicates that the system automatically determines the display orientation * * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ UNSPECIFIED, @@ -267,7 +267,7 @@ declare namespace bundle { * Indicates the landscape orientation * * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ LANDSCAPE, @@ -276,7 +276,7 @@ declare namespace bundle { * Indicates the portrait orientation * * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ PORTRAIT, @@ -285,7 +285,7 @@ declare namespace bundle { * Indicates the page ability orientation is the same as that of the nearest ability in the stack * * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ FOLLOW_RECENT @@ -296,7 +296,7 @@ declare namespace bundle { * * @enum { number } * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleManager.LaunchType */ @@ -305,7 +305,7 @@ declare namespace bundle { * Indicates that the ability has only one instance * * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ SINGLETON = 0, @@ -314,7 +314,7 @@ declare namespace bundle { * Indicates that the ability can have multiple instances * * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STANDARD = 1 @@ -325,7 +325,7 @@ declare namespace bundle { * * @typedef BundleOptions * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ export interface BundleOptions { @@ -334,7 +334,7 @@ declare namespace bundle { * * @type { ?number } * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ userId?: number; @@ -345,127 +345,127 @@ declare namespace bundle { * * @enum { number } * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ export enum InstallErrorCode { /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ SUCCESS = 0, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATUS_INSTALL_FAILURE = 1, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATUS_INSTALL_FAILURE_ABORTED = 2, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATUS_INSTALL_FAILURE_INVALID = 3, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATUS_INSTALL_FAILURE_CONFLICT = 4, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATUS_INSTALL_FAILURE_STORAGE = 5, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATUS_INSTALL_FAILURE_INCOMPATIBLE = 6, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATUS_UNINSTALL_FAILURE = 7, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATUS_UNINSTALL_FAILURE_BLOCKED = 8, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATUS_UNINSTALL_FAILURE_ABORTED = 9, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATUS_UNINSTALL_FAILURE_CONFLICT = 10, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATUS_INSTALL_FAILURE_DOWNLOAD_TIMEOUT = 0x0B, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATUS_INSTALL_FAILURE_DOWNLOAD_FAILED = 0x0C, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ STATUS_RECOVER_FAILURE_INVALID = 0x0D, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATUS_ABILITY_NOT_FOUND = 0x40, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATUS_BMS_SERVICE_ERROR = 0x41, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ STATUS_FAILED_NO_SPACE_LEFT = 0x42, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ STATUS_GRANT_REQUEST_PERMISSIONS_FAILED = 0x43, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ STATUS_INSTALL_PERMISSION_DENIED = 0x44, /** * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ STATUS_UNINSTALL_PERMISSION_DENIED = 0x45 @@ -480,7 +480,7 @@ declare namespace bundle { * @param { BundleOptions } options Indicates the bundle options object. * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getBundleInfo(bundleName: string, @@ -494,7 +494,7 @@ declare namespace bundle { * @param { number } bundleFlags - Indicates the application bundle flags to be queried. * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getBundleInfo(bundleName: string, bundleFlags: number, callback: AsyncCallback): void; @@ -508,7 +508,7 @@ declare namespace bundle { * @param { BundleOptions } options Indicates the bundle options object. * @returns { Promise } Returns the BundleInfo object. * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getBundleInfo(bundleName: string, bundleFlags: number, options?: BundleOptions): Promise; @@ -520,7 +520,7 @@ declare namespace bundle { * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.installer#getBundleInstaller */ @@ -533,7 +533,7 @@ declare namespace bundle { * @returns { Promise } Returns the IBundleInstaller interface. * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.installer#getBundleInstaller */ @@ -547,7 +547,7 @@ declare namespace bundle { * @param { string } abilityName - Indicates the ability name. * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getAbilityInfo(bundleName: string, abilityName: string, callback: AsyncCallback): void; @@ -560,7 +560,7 @@ declare namespace bundle { * @param { string } abilityName - Indicates the ability name. * @returns { Promise } Returns the AbilityInfo object for the current ability. * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getAbilityInfo(bundleName: string, abilityName: string): Promise; @@ -575,7 +575,7 @@ declare namespace bundle { * @param { number } userId - Indicates the user ID or do not pass user ID. * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getApplicationInfo(bundleName: string, @@ -590,7 +590,7 @@ declare namespace bundle { * in the ApplicationInfo object that will be returned. * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getApplicationInfo(bundleName: string, bundleFlags: number, callback: AsyncCallback): void; @@ -605,7 +605,7 @@ declare namespace bundle { * @param { number } userId - Indicates the user ID or do not pass user ID. * @returns { Promise } Returns the ApplicationInfo object. * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getApplicationInfo(bundleName: string, bundleFlags: number, userId?: number): Promise; @@ -621,7 +621,7 @@ declare namespace bundle { * @param { number } userId - Indicates the user ID. * @param { AsyncCallback> } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function queryAbilityByWant(want: Want, @@ -637,7 +637,7 @@ declare namespace bundle { * will be returned. * @param { AsyncCallback> } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function queryAbilityByWant(want: Want, bundleFlags: number, callback: AsyncCallback>): void; @@ -653,7 +653,7 @@ declare namespace bundle { * @param { number } userId - Indicates the user ID. * @returns { Promise> } Returns a list of AbilityInfo objects. * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function queryAbilityByWant(want: Want, bundleFlags: number, userId?: number): Promise>; @@ -667,7 +667,7 @@ declare namespace bundle { * @param { number } userId - Indicates the user ID. * @param { AsyncCallback> } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getAllBundleInfo(bundleFlag: BundleFlag, userId: number, callback: AsyncCallback>): void; @@ -680,7 +680,7 @@ declare namespace bundle { * in the BundleInfo that will be returned. * @param { AsyncCallback> } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getAllBundleInfo(bundleFlag: BundleFlag, callback: AsyncCallback>): void; @@ -694,7 +694,7 @@ declare namespace bundle { * @param { number } userId - Indicates the user ID. * @returns { Promise> } Returns a list of BundleInfo objects. * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getAllBundleInfo(bundleFlag: BundleFlag, userId?: number): Promise>; @@ -708,7 +708,7 @@ declare namespace bundle { * @param { number } userId - Indicates the user ID. * @param { AsyncCallback> } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getAllApplicationInfo(bundleFlags: number, @@ -722,7 +722,7 @@ declare namespace bundle { * in the ApplicationInfo objects that will be returned. * @param { AsyncCallback> } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getAllApplicationInfo(bundleFlags: number, callback: AsyncCallback>): void; @@ -736,7 +736,7 @@ declare namespace bundle { * @param { number } userId - Indicates the user ID or do not pass user ID. * @returns { Promise> } Returns a list of ApplicationInfo objects. * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getAllApplicationInfo(bundleFlags: number, userId?: number): Promise>; @@ -747,7 +747,7 @@ declare namespace bundle { * @param { number } uid - Indicates the UID of an application. * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ function getNameForUid(uid: number, callback: AsyncCallback): void; @@ -758,7 +758,7 @@ declare namespace bundle { * @param { number } uid - Indicates the UID of an application. * @returns { Promise } Returns the bundle name. * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ function getNameForUid(uid: number): Promise; @@ -772,7 +772,7 @@ declare namespace bundle { * BundleInfo object to be returned. * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getBundleArchiveInfo(hapFilePath: string, bundleFlags: number, callback: AsyncCallback): void; @@ -786,7 +786,7 @@ declare namespace bundle { * BundleInfo object to be returned. * @returns { Promise } - Returns the BundleInfo object. * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getBundleArchiveInfo(hapFilePath: string, bundleFlags: number): Promise; @@ -801,7 +801,7 @@ declare namespace bundle { * @param { string } bundleName - Indicates the bundle name of the application. * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getLaunchWantForBundle(bundleName: string, callback: AsyncCallback): void; @@ -816,7 +816,7 @@ declare namespace bundle { * @param { string } bundleName - Indicates the bundle name of the application. * @returns { Promise } Returns the Want for starting the application's main ability if any. * @syscap SystemCapability.BundleManager.BundleFramework - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function getLaunchWantForBundle(bundleName: string): Promise; @@ -829,7 +829,7 @@ declare namespace bundle { * @param { AsyncCallback } callback Indicates the callback to be invoked for returning the operation result. * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleManager#cleanBundleCacheFiles */ @@ -843,7 +843,7 @@ declare namespace bundle { * @returns { Promise } * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleManager#cleanBundleCacheFiles */ @@ -859,7 +859,7 @@ declare namespace bundle { * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleManager#setApplicationEnabled */ @@ -875,7 +875,7 @@ declare namespace bundle { * @returns { Promise } * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleManager#setApplicationEnabled */ @@ -891,7 +891,7 @@ declare namespace bundle { * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleManager#setAbilityEnabled */ @@ -907,7 +907,7 @@ declare namespace bundle { * @returns { Promise } * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleManager#setAbilityEnabled */ @@ -921,7 +921,7 @@ declare namespace bundle { * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleManager#getPermissionDef */ @@ -935,7 +935,7 @@ declare namespace bundle { * @returns { Promise } Returns permissionDef object. * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleManager#getPermissionDef */ @@ -949,7 +949,7 @@ declare namespace bundle { * @param { string } abilityName - Indicates the ability name. * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ function getAbilityLabel(bundleName: string, abilityName: string, callback: AsyncCallback): void; @@ -962,7 +962,7 @@ declare namespace bundle { * @param { string } abilityName - Indicates the ability name. * @returns { Promise } Returns the label representing the label of the specified ability. * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ function getAbilityLabel(bundleName: string, abilityName: string): Promise; @@ -975,7 +975,7 @@ declare namespace bundle { * @param { string } abilityName - Indicates the ability name. * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceManager#getMediaContent */ @@ -989,7 +989,7 @@ declare namespace bundle { * @param { string } abilityName - Indicates the ability name. * @returns { Promise } Returns the PixelMap object representing the icon of the specified ability. * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceManager#getMediaContent */ @@ -1001,7 +1001,7 @@ declare namespace bundle { * @param { AbilityInfo } info - Indicates information about the ability to check. * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ function isAbilityEnabled(info: AbilityInfo, callback: AsyncCallback): void; @@ -1012,7 +1012,7 @@ declare namespace bundle { * @param { AbilityInfo } info - Indicates information about the ability to check. * @returns { Promise } Returns true if the ability is enabled; returns false otherwise. * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ function isAbilityEnabled(info: AbilityInfo): Promise; @@ -1023,7 +1023,7 @@ declare namespace bundle { * @param { string } bundleName - Indicates the bundle name of the application. * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ function isApplicationEnabled(bundleName: string, callback: AsyncCallback): void; @@ -1034,7 +1034,7 @@ declare namespace bundle { * @param { string } bundleName - Indicates the bundle name of the application. * @returns { Promise } Returns true if the application is enabled; returns false otherwise. * @syscap SystemCapability.BundleManager.BundleFramework - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ function isApplicationEnabled(bundleName: string): Promise; diff --git a/api/@ohos.bundle.defaultAppManager.d.ts b/api/@ohos.bundle.defaultAppManager.d.ts index c402034e9b..30704488cb 100644 --- a/api/@ohos.bundle.defaultAppManager.d.ts +++ b/api/@ohos.bundle.defaultAppManager.d.ts @@ -27,8 +27,8 @@ import { ElementName } from './bundleManager/ElementName'; * * @namespace defaultAppManager * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace defaultAppManager { /** @@ -36,80 +36,80 @@ declare namespace defaultAppManager { * * @enum { string } * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum ApplicationType { /** * Default browser identifier. * * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ BROWSER = 'Web Browser', /** * Default image identifier. * * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ IMAGE = 'Image Gallery', /** * Default audio identifier. * * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ AUDIO = 'Audio Player', /** * Default video identifier. * * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ VIDEO = 'Video Player', /** * Default PDF identifier. * * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ PDF = 'PDF Viewer', /** * Default word identifier. * * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ WORD = 'Word Viewer', /** * Default excel identifier. * * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ EXCEL = 'Excel Viewer', /** * Default PPT identifier. * * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ PPT = 'PPT Viewer', /** * Default email identifier. * * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EMAIL = 'Email' } @@ -122,8 +122,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isDefaultApplication(type: string, callback: AsyncCallback): void; @@ -135,8 +135,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isDefaultApplication(type: string): Promise; @@ -148,8 +148,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function isDefaultApplicationSync(type: string): boolean; @@ -169,8 +169,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 17700025 - The specified type is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getDefaultApplication(type: string, userId: int, callback: AsyncCallback): void; @@ -188,8 +188,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 17700025 - The specified type is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getDefaultApplication(type: string, callback: AsyncCallback): void; @@ -209,8 +209,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 17700025 - The specified type is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getDefaultApplication(type: string, userId?: int): Promise; @@ -230,8 +230,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 17700025 - The specified type is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getDefaultApplicationSync(type: string, userId?: int): BundleInfo; @@ -252,8 +252,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 17700028 - The specified ability does not match the type. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setDefaultApplication(type: string, elementName: ElementName, userId: int, callback: AsyncCallback): void; @@ -273,8 +273,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 17700028 - The specified ability does not match the type. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setDefaultApplication(type: string, elementName: ElementName, callback: AsyncCallback): void; @@ -295,8 +295,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 17700028 - The specified ability does not match the type. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setDefaultApplication(type: string, elementName: ElementName, userId?: int): Promise; @@ -316,8 +316,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 17700028 - The specified ability does not match the type. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setDefaultApplicationSync(type: string, elementName: ElementName, userId?: int): void; @@ -336,8 +336,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 17700025 - The specified type is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function resetDefaultApplication(type: string, userId: int, callback: AsyncCallback): void; @@ -354,8 +354,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 17700025 - The specified type is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function resetDefaultApplication(type: string, callback: AsyncCallback): void; @@ -374,8 +374,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 17700025 - The specified type is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function resetDefaultApplication(type: string, userId?: int): Promise; @@ -393,8 +393,8 @@ declare namespace defaultAppManager { * @throws { BusinessError } 17700025 - The specified type is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.DefaultApp * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function resetDefaultApplicationSync(type: string, userId?: int): void; } diff --git a/api/@ohos.bundle.distributedBundleManager.d.ts b/api/@ohos.bundle.distributedBundleManager.d.ts index a85231f931..3cc8bbff81 100644 --- a/api/@ohos.bundle.distributedBundleManager.d.ts +++ b/api/@ohos.bundle.distributedBundleManager.d.ts @@ -28,8 +28,8 @@ import { RemoteAbilityInfo as _RemoteAbilityInfo } from './bundleManager/RemoteA * @namespace distributedBundleManager * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace distributedBundleManager { /** @@ -48,8 +48,8 @@ declare namespace distributedBundleManager { * @throws { BusinessError } 17700027 - The distributed service is not running. * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getRemoteAbilityInfo(elementName: ElementName, callback: AsyncCallback): void; @@ -69,8 +69,8 @@ declare namespace distributedBundleManager { * @throws { BusinessError } 17700027 - The distributed service is not running. * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getRemoteAbilityInfo(elementName: ElementName): Promise; @@ -90,8 +90,8 @@ declare namespace distributedBundleManager { * @throws { BusinessError } 17700027 - The distributed service is not running. * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getRemoteAbilityInfo(elementNames: Array, callback: AsyncCallback>): void; @@ -112,8 +112,8 @@ declare namespace distributedBundleManager { * @throws { BusinessError } 17700027 - The distributed service is not running. * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getRemoteAbilityInfo(elementNames: Array): Promise>; @@ -134,8 +134,8 @@ declare namespace distributedBundleManager { * @throws { BusinessError } 17700027 - The distributed service is not running. * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getRemoteAbilityInfo(elementName: ElementName, locale: string, callback: AsyncCallback): void; @@ -157,8 +157,8 @@ declare namespace distributedBundleManager { * @throws { BusinessError } 17700027 - The distributed service is not running. * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getRemoteAbilityInfo(elementName: ElementName, locale: string): Promise; @@ -179,8 +179,8 @@ declare namespace distributedBundleManager { * @throws { BusinessError } 17700027 - The distributed service is not running. * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getRemoteAbilityInfo(elementNames: Array, locale: string, callback: AsyncCallback>): void; @@ -202,8 +202,8 @@ declare namespace distributedBundleManager { * @throws { BusinessError } 17700027 - The distributed service is not running. * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getRemoteAbilityInfo(elementNames: Array, locale: string): Promise>; @@ -213,8 +213,8 @@ declare namespace distributedBundleManager { * @typedef { _RemoteAbilityInfo } * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type RemoteAbilityInfo = _RemoteAbilityInfo; } diff --git a/api/@ohos.bundle.freeInstall.d.ts b/api/@ohos.bundle.freeInstall.d.ts index bf7aeb1813..1b23585275 100644 --- a/api/@ohos.bundle.freeInstall.d.ts +++ b/api/@ohos.bundle.freeInstall.d.ts @@ -20,10 +20,10 @@ import { AsyncCallback } from './@ohos.base'; import { DispatchInfo as _DispatchInfo } from './bundleManager/DispatchInfo'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import * as _PackInfo from './bundleManager/BundlePackInfo'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { BundlePackInfo as _BundlePackInfo, PackageConfig as _PackageConfig, PackageSummary as _PackageSummary, BundleConfigInfo as _BundleConfigInfo, ExtensionAbility as _ExtensionAbility, ModuleConfigInfo as _ModuleConfigInfo, ModuleDistroInfo as _ModuleDistroInfo, ModuleAbilityInfo as _ModuleAbilityInfo, AbilityFormInfo as _AbilityFormInfo, @@ -36,8 +36,8 @@ import { BundlePackInfo as _BundlePackInfo, PackageConfig as _PackageConfig, Pac * @namespace freeInstall * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace freeInstall { /** @@ -46,8 +46,8 @@ declare namespace freeInstall { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum UpgradeFlag { /** @@ -55,8 +55,8 @@ declare namespace freeInstall { * * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ NOT_UPGRADE = 0, /** @@ -64,8 +64,8 @@ declare namespace freeInstall { * * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SINGLE_UPGRADE = 1, /** @@ -73,8 +73,8 @@ declare namespace freeInstall { * * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ RELATION_UPGRADE = 2 } @@ -86,8 +86,8 @@ declare namespace freeInstall { * @enum { int } * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum BundlePackFlag { /** @@ -95,8 +95,8 @@ declare namespace freeInstall { * * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ GET_PACK_INFO_ALL = 0x00000000, /** @@ -104,8 +104,8 @@ declare namespace freeInstall { * * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ GET_PACKAGES = 0x00000001, /** @@ -113,8 +113,8 @@ declare namespace freeInstall { * * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ GET_BUNDLE_SUMMARY = 0x00000002, /** @@ -122,8 +122,8 @@ declare namespace freeInstall { * * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ GET_MODULE_SUMMARY = 0x00000004 } @@ -144,8 +144,8 @@ declare namespace freeInstall { * @throws { BusinessError } 17700002 - The specified module name is not found. * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setHapModuleUpgradeFlag(bundleName: string, moduleName: string, upgradeFlag: UpgradeFlag, callback: AsyncCallback): void; @@ -166,8 +166,8 @@ declare namespace freeInstall { * @throws { BusinessError } 17700002 - The specified module name is not found. * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setHapModuleUpgradeFlag(bundleName: string, moduleName: string, upgradeFlag: UpgradeFlag): Promise; @@ -187,8 +187,8 @@ declare namespace freeInstall { * @throws { BusinessError } 17700002 - The specified module name is not found. * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isHapModuleRemovable(bundleName: string, moduleName: string, callback: AsyncCallback): void; @@ -207,8 +207,8 @@ declare namespace freeInstall { * @throws { BusinessError } 17700002 - The specified module name is not found. * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isHapModuleRemovable(bundleName: string, moduleName: string): Promise; @@ -226,8 +226,8 @@ declare namespace freeInstall { * @throws { BusinessError } 17700001 - The specified bundle name is not found. * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getBundlePackInfo(bundleName: string, bundlePackFlag: BundlePackFlag, callback: AsyncCallback): void; @@ -246,8 +246,8 @@ declare namespace freeInstall { * @throws { BusinessError } 17700001 - The specified bundle name is not found. * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getBundlePackInfo(bundleName: string, bundlePackFlag: BundlePackFlag): Promise; @@ -261,8 +261,8 @@ declare namespace freeInstall { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getDispatchInfo(callback: AsyncCallback): void; @@ -276,8 +276,8 @@ declare namespace freeInstall { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getDispatchInfo(): Promise; @@ -287,8 +287,8 @@ declare namespace freeInstall { * @typedef { _DispatchInfo } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type DispatchInfo = _DispatchInfo; @@ -298,7 +298,7 @@ declare namespace freeInstall { * @typedef { _PackInfo.BundlePackInfo } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 9 + * @since 9 dynamic */ export type BundlePackInfo = _PackInfo.BundlePackInfo; @@ -308,8 +308,7 @@ declare namespace freeInstall { * @typedef { _BundlePackInfo } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type BundlePackInfo = _BundlePackInfo; @@ -319,7 +318,7 @@ declare namespace freeInstall { * @typedef { _PackInfo.PackageConfig } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 9 + * @since 9 dynamic */ export type PackageConfig = _PackInfo.PackageConfig; @@ -329,8 +328,7 @@ declare namespace freeInstall { * @typedef { _PackageConfig } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type PackageConfig = _PackageConfig; @@ -340,7 +338,7 @@ declare namespace freeInstall { * @typedef { _PackInfo.PackageSummary } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 9 + * @since 9 dynamic */ export type PackageSummary = _PackInfo.PackageSummary; @@ -350,8 +348,7 @@ declare namespace freeInstall { * @typedef { _PackageSummary } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type PackageSummary = _PackageSummary; @@ -361,7 +358,7 @@ declare namespace freeInstall { * @typedef { _PackInfo.BundleConfigInfo } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 9 + * @since 9 dynamic */ export type BundleConfigInfo = _PackInfo.BundleConfigInfo; @@ -371,8 +368,7 @@ declare namespace freeInstall { * @typedef { _BundleConfigInfo } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type BundleConfigInfo = _BundleConfigInfo; @@ -382,7 +378,7 @@ declare namespace freeInstall { * @typedef { _PackInfo.ExtensionAbility } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 9 + * @since 9 dynamic */ export type ExtensionAbility = _PackInfo.ExtensionAbility; @@ -392,8 +388,7 @@ declare namespace freeInstall { * @typedef { _ExtensionAbility } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type ExtensionAbility = _ExtensionAbility; @@ -403,7 +398,7 @@ declare namespace freeInstall { * @typedef { _PackInfo.ModuleConfigInfo } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 9 + * @since 9 dynamic */ export type ModuleConfigInfo = _PackInfo.ModuleConfigInfo; @@ -413,8 +408,7 @@ declare namespace freeInstall { * @typedef { _ModuleConfigInfo } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type ModuleConfigInfo = _ModuleConfigInfo; @@ -424,7 +418,7 @@ declare namespace freeInstall { * @typedef { _PackInfo.ModuleDistroInfo } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 9 + * @since 9 dynamic */ export type ModuleDistroInfo = _PackInfo.ModuleDistroInfo; @@ -434,8 +428,7 @@ declare namespace freeInstall { * @typedef { _ModuleDistroInfo } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type ModuleDistroInfo = _ModuleDistroInfo; @@ -445,7 +438,7 @@ declare namespace freeInstall { * @typedef { _PackInfo.ModuleAbilityInfo } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 9 + * @since 9 dynamic */ export type ModuleAbilityInfo = _PackInfo.ModuleAbilityInfo; @@ -455,8 +448,7 @@ declare namespace freeInstall { * @typedef { _ModuleAbilityInfo } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type ModuleAbilityInfo = _ModuleAbilityInfo; @@ -466,7 +458,7 @@ declare namespace freeInstall { * @typedef { _PackInfo.AbilityFormInfo } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 9 + * @since 9 dynamic */ export type AbilityFormInfo = _PackInfo.AbilityFormInfo; @@ -476,8 +468,7 @@ declare namespace freeInstall { * @typedef { _AbilityFormInfo } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type AbilityFormInfo = _AbilityFormInfo; @@ -487,7 +478,7 @@ declare namespace freeInstall { * @typedef { _PackInfo.Version } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 9 + * @since 9 dynamic */ export type Version = _PackInfo.Version; @@ -497,8 +488,7 @@ declare namespace freeInstall { * @typedef { _Version } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type Version = _Version; @@ -508,7 +498,7 @@ declare namespace freeInstall { * @typedef { _PackInfo.ApiVersion } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 9 + * @since 9 dynamic */ export type ApiVersion = _PackInfo.ApiVersion; @@ -518,8 +508,7 @@ declare namespace freeInstall { * @typedef { _ApiVersion } * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type ApiVersion = _ApiVersion; } diff --git a/api/@ohos.bundle.innerBundleManager.d.ts b/api/@ohos.bundle.innerBundleManager.d.ts index 109bdcc7ca..5f6ade8d75 100644 --- a/api/@ohos.bundle.innerBundleManager.d.ts +++ b/api/@ohos.bundle.innerBundleManager.d.ts @@ -29,7 +29,7 @@ import { ShortcutInfo } from './bundle/shortcutInfo'; * @namespace innerBundleManager * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.launcherBundleManager */ @@ -43,7 +43,7 @@ declare namespace innerBundleManager { * @param { AsyncCallback> } callback * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.launcherBundleManager#getLauncherAbilityInfo */ @@ -59,7 +59,7 @@ declare namespace innerBundleManager { * @returns { Promise> } Returns the LauncherAbilityInfo array. * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.launcherBundleManager#getLauncherAbilityInfo */ @@ -74,7 +74,7 @@ declare namespace innerBundleManager { * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleMonitor#on */ @@ -90,7 +90,7 @@ declare namespace innerBundleManager { * @returns { Promise } - Returns the result of register. * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleMonitor#on */ @@ -104,7 +104,7 @@ declare namespace innerBundleManager { * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleMonitor#off */ @@ -118,7 +118,7 @@ declare namespace innerBundleManager { * @returns { Promise } Returns the result of unregister. * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.bundleMonitor#off */ @@ -132,7 +132,7 @@ declare namespace innerBundleManager { * @param { AsyncCallback> } callback * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.launcherBundleManager#getAllLauncherAbilityInfos */ @@ -146,7 +146,7 @@ declare namespace innerBundleManager { * @returns { Promise> } Returns the LauncherAbilityInfo array. * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.launcherBundleManager#getAllLauncherAbilityInfos */ @@ -160,7 +160,7 @@ declare namespace innerBundleManager { * @param { AsyncCallback> } callback * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.launcherBundleManager#getShortcutInfo */ @@ -174,7 +174,7 @@ declare namespace innerBundleManager { * @returns { Promise> } Returns the LauncherShortcutInfo array. * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.launcherBundleManager#getShortcutInfo */ @@ -187,7 +187,7 @@ declare namespace innerBundleManager { * @typedef { _BundleStatusCallback } * @syscap SystemCapability.BundleManager.BundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ export type BundleStatusCallback = _BundleStatusCallback; diff --git a/api/@ohos.bundle.installer.d.ts b/api/@ohos.bundle.installer.d.ts index f2c586bd43..398a0ac848 100644 --- a/api/@ohos.bundle.installer.d.ts +++ b/api/@ohos.bundle.installer.d.ts @@ -26,8 +26,8 @@ import { AsyncCallback } from './@ohos.base'; * @namespace installer * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace installer { /** @@ -38,8 +38,8 @@ declare namespace installer { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Incorrect parameter types. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getBundleInstaller(callback: AsyncCallback): void; @@ -50,8 +50,8 @@ declare namespace installer { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getBundleInstaller(): Promise; @@ -62,8 +62,8 @@ declare namespace installer { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getBundleInstallerSync(): BundleInstaller; @@ -73,8 +73,8 @@ declare namespace installer { * @interface BundleInstaller * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface BundleInstaller { /** @@ -368,8 +368,8 @@ declare namespace installer { * @throws { BusinessError } 17700077 - Failed to install the HAP and restore to preinstalled bundle. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ install(hapFilePaths: Array, installParam: InstallParam, callback: AsyncCallback): void; @@ -646,8 +646,8 @@ declare namespace installer { * @throws { BusinessError } 17700077 - Failed to install the HAP and restore to preinstalled bundle. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ install(hapFilePaths: Array, callback: AsyncCallback): void; @@ -942,8 +942,8 @@ declare namespace installer { * @throws { BusinessError } 17700077 - Failed to install the HAP and restore to preinstalled bundle. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ install(hapFilePaths: Array, installParam?: InstallParam): Promise; @@ -1027,8 +1027,8 @@ declare namespace installer { * @throws { BusinessError } 17700067 - Failed to uninstall the HAP because uninstalling the native package failed. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ uninstall(bundleName: string, installParam: InstallParam, callback: AsyncCallback): void; @@ -1084,8 +1084,8 @@ declare namespace installer { * @throws { BusinessError } 17700067 - Failed to uninstall the HAP because uninstalling the native package failed. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ uninstall(bundleName: string, callback: AsyncCallback): void; @@ -1169,8 +1169,8 @@ declare namespace installer { * @throws { BusinessError } 17700067 - Failed to uninstall the HAP because uninstalling the native package failed. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ uninstall(bundleName: string, installParam?: InstallParam): Promise; @@ -1226,8 +1226,8 @@ declare namespace installer { *
bundle name but different signature information exists on the device. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ recover(bundleName: string, installParam: InstallParam, callback: AsyncCallback): void; @@ -1277,8 +1277,8 @@ declare namespace installer { *
bundle name but different signature information exists on the device. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ recover(bundleName: string, callback: AsyncCallback): void; @@ -1334,8 +1334,8 @@ declare namespace installer { *
bundle name but different signature information exists on the device. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ recover(bundleName: string, installParam?: InstallParam): Promise; @@ -1353,8 +1353,8 @@ declare namespace installer { * @throws { BusinessError } 17700038 - The specified shared bundle does not exist. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ uninstall(uninstallParam: UninstallParam, callback: AsyncCallback): void; @@ -1372,8 +1372,8 @@ declare namespace installer { * @throws { BusinessError } 17700038 - The specified shared bundle does not exist. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ uninstall(uninstallParam: UninstallParam): Promise; @@ -1445,8 +1445,8 @@ declare namespace installer { * @throws { BusinessError } 17700051 - Failed to install the HAP because the distribution type of caller application is not enterprise_mdm. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ updateBundleForSelf(hapFilePaths: Array, installParam: InstallParam, callback: AsyncCallback): void; @@ -1510,8 +1510,8 @@ declare namespace installer { * @throws { BusinessError } 17700051 - Failed to install the HAP because the distribution type of caller application is not enterprise_mdm. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ updateBundleForSelf(hapFilePaths: Array, callback: AsyncCallback): void; @@ -1583,8 +1583,8 @@ declare namespace installer { * @throws { BusinessError } 17700051 - Failed to install the HAP because the distribution type of caller application is not enterprise_mdm. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ updateBundleForSelf(hapFilePaths: Array, installParam?: InstallParam): Promise; @@ -1624,8 +1624,8 @@ declare namespace installer { *
bundle name but different signature information exists on the device. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ uninstallUpdates(bundleName: string, installParam?: InstallParam): Promise; @@ -1643,8 +1643,8 @@ declare namespace installer { * @throws { BusinessError } 17700301 - AddExtResource failed due to parse file failed. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ addExtResource(bundleName: string, filePaths: Array): Promise; @@ -1662,8 +1662,8 @@ declare namespace installer { * @throws { BusinessError } 17700302 - RemoveExtResource failed due to module does not exist. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ removeExtResource(bundleName: string, moduleNames: Array): Promise; @@ -1683,8 +1683,8 @@ declare namespace installer { * @throws { BusinessError } 17700069 - The app does not support the creation of an appClone instance. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ createAppClone(bundleName: string, createAppCloneParam?: CreateAppCloneParam): Promise; @@ -1704,7 +1704,7 @@ declare namespace installer { * @throws { BusinessError } 17700061 - AppIndex not in valid range. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 12 + * @since 12 dynamic */ destroyAppClone(bundleName: string, appIndex: number, userId?: number): Promise; @@ -1725,7 +1725,7 @@ declare namespace installer { * @throws { BusinessError } 17700062 - Failed to uninstall the app because the app is locked. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 15 + * @since 15 dynamic */ destroyAppClone(bundleName: string, appIndex: number, destroyAppCloneParam?: DestroyAppCloneParam): Promise; @@ -1745,8 +1745,7 @@ declare namespace installer { * @throws { BusinessError } 17700062 - Failed to uninstall the app because the app is locked. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ destroyAppClone(bundleName: string, appIndex: int, options?: int | DestroyAppCloneParam): Promise; @@ -1784,8 +1783,8 @@ declare namespace installer { *
from being installed on this device or by specified users. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ installPreexistingApp(bundleName: string, userId?: int): Promise; @@ -1818,8 +1817,8 @@ declare namespace installer { * @throws { BusinessError } 17700091 - Failed to install the plugin because the plugin name is same as host bundle name. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ installPlugin(hostBundleName: string, pluginFilePaths: Array, pluginParam?: PluginParam): Promise; @@ -1838,8 +1837,8 @@ declare namespace installer { * @throws { BusinessError } 17700092 - Failed to uninstall the plugin because the specified plugin is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ uninstallPlugin(hostBundleName: string, pluginBundleName: string, pluginParam?: PluginParam): Promise; } @@ -1850,8 +1849,8 @@ declare namespace installer { * @typedef HashParam * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface HashParam { /** @@ -1860,8 +1859,8 @@ declare namespace installer { * @type { string } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ moduleName: string; @@ -1871,8 +1870,8 @@ declare namespace installer { * @type { string } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ hashValue: string; } @@ -1883,7 +1882,7 @@ declare namespace installer { * @typedef VerifyCodeParam * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ export interface VerifyCodeParam { @@ -1893,7 +1892,7 @@ declare namespace installer { * @type { string } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ moduleName: string; @@ -1904,7 +1903,7 @@ declare namespace installer { * @type { string } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ signatureFilePath: string; @@ -1916,8 +1915,8 @@ declare namespace installer { * @typedef PGOParam * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface PGOParam { /** @@ -1926,8 +1925,8 @@ declare namespace installer { * @type { string } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ moduleName: string; @@ -1937,8 +1936,8 @@ declare namespace installer { * @type { string } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ pgoFilePath: string; } @@ -1949,8 +1948,8 @@ declare namespace installer { * @typedef Parameters * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ export interface Parameters { /** @@ -1959,8 +1958,8 @@ declare namespace installer { * @type { string } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ key: string; @@ -1970,8 +1969,8 @@ declare namespace installer { * @type { string } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ value: string; } @@ -1982,8 +1981,8 @@ declare namespace installer { * @typedef InstallParam * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface InstallParam { /** @@ -1992,8 +1991,8 @@ declare namespace installer { * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ userId?: int; @@ -2003,8 +2002,8 @@ declare namespace installer { * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ installFlag?: int; @@ -2014,8 +2013,8 @@ declare namespace installer { * @type { ?boolean } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ isKeepData?: boolean; @@ -2025,8 +2024,8 @@ declare namespace installer { * @type { ?Array } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ hashParams?: Array; @@ -2036,8 +2035,8 @@ declare namespace installer { * @type { ?long } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ crowdtestDeadline?: long; @@ -2047,8 +2046,8 @@ declare namespace installer { * @type { ?Array } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ sharedBundleDirPaths?: Array; @@ -2058,8 +2057,8 @@ declare namespace installer { * @type { ?string } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ specifiedDistributionType?: string; @@ -2069,8 +2068,8 @@ declare namespace installer { * @type { ?string } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ additionalInfo?: string; @@ -2080,7 +2079,7 @@ declare namespace installer { * @type { ?Array } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ verifyCodeParams?: Array; @@ -2091,8 +2090,8 @@ declare namespace installer { * @type { ?Array } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ pgoParams?: Array; @@ -2102,8 +2101,8 @@ declare namespace installer { * @type { ?Array } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ parameters?: Array; } @@ -2114,8 +2113,8 @@ declare namespace installer { * @typedef UninstallParam * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface UninstallParam { /** @@ -2124,8 +2123,8 @@ declare namespace installer { * @type { string } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ bundleName: string; @@ -2135,8 +2134,8 @@ declare namespace installer { * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ versionCode?: int; } @@ -2147,8 +2146,8 @@ declare namespace installer { * @typedef CreateAppCloneParam * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface CreateAppCloneParam { /** @@ -2157,8 +2156,8 @@ declare namespace installer { * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ userId?: int; /** @@ -2167,8 +2166,8 @@ declare namespace installer { * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ appIndex?: int; } @@ -2179,8 +2178,8 @@ declare namespace installer { * @typedef DestroyAppCloneParam * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ export interface DestroyAppCloneParam { /** @@ -2189,8 +2188,8 @@ declare namespace installer { * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ userId?: int; /** @@ -2199,8 +2198,8 @@ declare namespace installer { * @type { ?Array } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ parameters?: Array; } @@ -2211,8 +2210,8 @@ declare namespace installer { * @typedef PluginParam * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ export interface PluginParam { /** @@ -2221,8 +2220,8 @@ declare namespace installer { * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ userId?: int; @@ -2232,8 +2231,8 @@ declare namespace installer { * @type { ?Array } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ parameters?: Array; } diff --git a/api/@ohos.bundle.launcherBundleManager.d.ts b/api/@ohos.bundle.launcherBundleManager.d.ts index 71215a8189..682c5870fa 100644 --- a/api/@ohos.bundle.launcherBundleManager.d.ts +++ b/api/@ohos.bundle.launcherBundleManager.d.ts @@ -20,7 +20,7 @@ import { AsyncCallback } from './@ohos.base'; import { LauncherAbilityInfo as _LauncherAbilityInfo } from './bundleManager/LauncherAbilityInfo'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import AbilityConstant from './@ohos.app.ability.AbilityConstant'; /*** endif */ import { ShortcutInfo as _ShortcutInfo, ShortcutWant as _ShortcutWant, ParameterItem as _ParameterItem } from './bundleManager/ShortcutInfo'; @@ -31,8 +31,8 @@ import StartOptions from './@ohos.app.ability.StartOptions'; * * @namespace launcherBundleManager * @syscap SystemCapability.BundleManager.BundleFramework.Launcher - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ declare namespace launcherBundleManager { /** @@ -50,8 +50,8 @@ declare namespace launcherBundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getLauncherAbilityInfo(bundleName: string, userId: int, callback: AsyncCallback>): void; @@ -71,8 +71,8 @@ declare namespace launcherBundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getLauncherAbilityInfo(bundleName: string, userId: int): Promise>; @@ -88,8 +88,8 @@ declare namespace launcherBundleManager { * @throws { BusinessError } 17700001 - The specified bundle name is not found. * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getLauncherAbilityInfoSync(bundleName: string, userId: int): Array; @@ -106,8 +106,8 @@ declare namespace launcherBundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAllLauncherAbilityInfo(userId: int, callback: AsyncCallback>): void; @@ -124,8 +124,8 @@ declare namespace launcherBundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAllLauncherAbilityInfo(userId: int): Promise>; @@ -142,8 +142,8 @@ declare namespace launcherBundleManager { * @throws { BusinessError } 17700001 - The specified bundle name is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getShortcutInfo(bundleName: string, callback: AsyncCallback>): void; @@ -160,8 +160,8 @@ declare namespace launcherBundleManager { * @throws { BusinessError } 17700001 - The specified bundle name is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getShortcutInfo(bundleName: string): Promise>; @@ -178,8 +178,8 @@ declare namespace launcherBundleManager { * @throws { BusinessError } 17700001 - The specified bundle name is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getShortcutInfoSync(bundleName: string): Array; @@ -199,8 +199,8 @@ declare namespace launcherBundleManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @systemapi - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function getShortcutInfoSync(bundleName: string, userId: int): Array; @@ -218,8 +218,7 @@ declare namespace launcherBundleManager { * @throws { BusinessError } 17700061 - The specified app index is invalid. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getShortcutInfoByAppIndex(bundleName: string, appIndex: int): Array; @@ -237,8 +236,8 @@ declare namespace launcherBundleManager { * @throws { BusinessError } 17700065 - The specified shortcut want in shortcut info is not supported to be started. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function startShortcut(shortcutInfo: ShortcutInfo, options?: StartOptions): Promise; @@ -256,8 +255,7 @@ declare namespace launcherBundleManager { * @throws { BusinessError } 17700065 - The specified shortcut want in shortcut info is not supported to be started. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function startShortcutWithReason(shortcutInfo: ShortcutInfo, startReason: string, options?: StartOptions): Promise; @@ -266,8 +264,8 @@ declare namespace launcherBundleManager { * * @typedef { _LauncherAbilityInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Launcher - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export type LauncherAbilityInfo = _LauncherAbilityInfo; @@ -284,8 +282,7 @@ declare namespace launcherBundleManager { * * @typedef { _ShortcutInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Launcher - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export type ShortcutInfo = _ShortcutInfo; /** @@ -301,8 +298,7 @@ declare namespace launcherBundleManager { * * @typedef { _ShortcutWant } * @syscap SystemCapability.BundleManager.BundleFramework.Launcher - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export type ShortcutWant = _ShortcutWant; /** @@ -318,8 +314,7 @@ declare namespace launcherBundleManager { * * @typedef { _ParameterItem } * @syscap SystemCapability.BundleManager.BundleFramework.Launcher - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export type ParameterItem = _ParameterItem; } diff --git a/api/@ohos.bundle.overlay.d.ts b/api/@ohos.bundle.overlay.d.ts index f4bcece3b4..2c02cfa198 100755 --- a/api/@ohos.bundle.overlay.d.ts +++ b/api/@ohos.bundle.overlay.d.ts @@ -19,10 +19,10 @@ */ import { AsyncCallback } from './@ohos.base'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import * as _OverlayModuleInfo from './bundleManager/OverlayModuleInfo'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { OverlayModuleInfo as _OverlayModuleInfo } from './bundleManager/OverlayModuleInfo'; /*** endif */ @@ -31,8 +31,8 @@ import { OverlayModuleInfo as _OverlayModuleInfo } from './bundleManager/Overlay * * @namespace overlay * @syscap SystemCapability.BundleManager.BundleFramework.Overlay - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare namespace overlay { /** @@ -45,8 +45,8 @@ declare namespace overlay { * @throws { BusinessError } 17700002 - The specified module name is not found. * @throws { BusinessError } 17700033 - The specified module is not an overlay module. * @syscap SystemCapability.BundleManager.BundleFramework.Overlay - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setOverlayEnabled(moduleName: string, isEnabled: boolean, callback: AsyncCallback): void; @@ -60,8 +60,8 @@ declare namespace overlay { * @throws { BusinessError } 17700002 - The specified module name is not found. * @throws { BusinessError } 17700033 - The specified module is not an overlay module. * @syscap SystemCapability.BundleManager.BundleFramework.Overlay - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setOverlayEnabled(moduleName: string, isEnabled: boolean): Promise; @@ -82,8 +82,8 @@ declare namespace overlay { * @throws { BusinessError } 17700033 - The specified module is not an overlay module. * @syscap SystemCapability.BundleManager.BundleFramework.Overlay * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setOverlayEnabledByBundleName(bundleName: string, moduleName: string, isEnabled: boolean, callback: AsyncCallback): void; @@ -105,8 +105,8 @@ declare namespace overlay { * @throws { BusinessError } 17700033 - The specified module is not an overlay module. * @syscap SystemCapability.BundleManager.BundleFramework.Overlay * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setOverlayEnabledByBundleName(bundleName: string, moduleName: string, isEnabled: boolean): Promise; @@ -120,8 +120,8 @@ declare namespace overlay { * @throws { BusinessError } 17700032 - The specified bundle does not contain any overlay module. * @throws { BusinessError } 17700033 - The specified module is not an overlay module. * @syscap SystemCapability.BundleManager.BundleFramework.Overlay - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getOverlayModuleInfo(moduleName: string, callback: AsyncCallback): void; @@ -135,8 +135,8 @@ declare namespace overlay { * @throws { BusinessError } 17700032 - The specified bundle does not contain any overlay module. * @throws { BusinessError } 17700033 - The specified module is not an overlay module. * @syscap SystemCapability.BundleManager.BundleFramework.Overlay - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getOverlayModuleInfo(moduleName: string): Promise; @@ -149,8 +149,8 @@ declare namespace overlay { * @throws { BusinessError } 17700002 - The specified module name is not found. * @throws { BusinessError } 17700034 - The specified module is an overlay module. * @syscap SystemCapability.BundleManager.BundleFramework.Overlay - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getTargetOverlayModuleInfos(targetModuleName: string, callback: AsyncCallback>): void; @@ -164,8 +164,8 @@ declare namespace overlay { * @throws { BusinessError } 17700002 - The specified module name is not found. * @throws { BusinessError } 17700034 - The specified module is an overlay module. * @syscap SystemCapability.BundleManager.BundleFramework.Overlay - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getTargetOverlayModuleInfos(targetModuleName: string): Promise>; @@ -182,8 +182,8 @@ declare namespace overlay { * @throws { BusinessError } 17700032 - The specified bundle does not contain any overlay module. * @syscap SystemCapability.BundleManager.BundleFramework.Overlay * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getOverlayModuleInfoByBundleName(bundleName: string, callback: AsyncCallback>): void; @@ -204,8 +204,8 @@ declare namespace overlay { * @throws { BusinessError } 17700033 - The specified module is not an overlay module. * @syscap SystemCapability.BundleManager.BundleFramework.Overlay * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getOverlayModuleInfoByBundleName(bundleName: string, moduleName: string, callback: AsyncCallback>): void; @@ -226,8 +226,8 @@ declare namespace overlay { * @throws { BusinessError } 17700033 - The specified module is not an overlay module. * @syscap SystemCapability.BundleManager.BundleFramework.Overlay * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getOverlayModuleInfoByBundleName(bundleName: string, moduleName?: string): Promise>; @@ -245,8 +245,8 @@ declare namespace overlay { * @throws { BusinessError } 17700035 - The specified bundle is an overlay bundle. * @syscap SystemCapability.BundleManager.BundleFramework.Overlay * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getTargetOverlayModuleInfosByBundleName(targetBundleName: string, callback: AsyncCallback>): void; @@ -267,8 +267,8 @@ declare namespace overlay { * @throws { BusinessError } 17700035 - The specified bundle is an overlay bundle. * @syscap SystemCapability.BundleManager.BundleFramework.Overlay * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getTargetOverlayModuleInfosByBundleName(targetBundleName: string, moduleName: string, callback: AsyncCallback>): void; @@ -289,8 +289,8 @@ declare namespace overlay { * @throws { BusinessError } 17700035 - The specified bundle is an overlay bundle. * @syscap SystemCapability.BundleManager.BundleFramework.Overlay * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getTargetOverlayModuleInfosByBundleName(targetBundleName: string, moduleName?: string): Promise>; @@ -300,7 +300,7 @@ declare namespace overlay { * * @typedef { _OverlayModuleInfo.OverlayModuleInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Overlay - * @since 10 + * @since 10 dynamic */ export type OverlayModuleInfo = _OverlayModuleInfo.OverlayModuleInfo; @@ -309,8 +309,7 @@ declare namespace overlay { * * @typedef { _OverlayModuleInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Overlay - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type OverlayModuleInfo = _OverlayModuleInfo; } diff --git a/api/@ohos.bundle.shortcutManager.d.ts b/api/@ohos.bundle.shortcutManager.d.ts index 13b322cfff..a9da5bc439 100644 --- a/api/@ohos.bundle.shortcutManager.d.ts +++ b/api/@ohos.bundle.shortcutManager.d.ts @@ -33,8 +33,7 @@ import { ShortcutInfo as _ShortcutInfo, ShortcutWant as _ShortcutWant, Parameter * * @namespace shortcutManager * @syscap SystemCapability.BundleManager.BundleFramework.Launcher - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ declare namespace shortcutManager { /** @@ -54,8 +53,8 @@ declare namespace shortcutManager { * @throws { BusinessError } 17700070 - The specified shortcut id is illegal. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function addDesktopShortcutInfo(shortcutInfo: ShortcutInfo, userId: int): Promise; @@ -72,8 +71,8 @@ declare namespace shortcutManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function deleteDesktopShortcutInfo(shortcutInfo: ShortcutInfo, userId: int): Promise; @@ -89,8 +88,8 @@ declare namespace shortcutManager { * @throws { BusinessError } 17700004 - The specified user ID is not found. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getAllDesktopShortcutInfo(userId: int): Promise>; @@ -102,8 +101,7 @@ declare namespace shortcutManager { * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 17700070 - The specified shortcut id is illegal. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function setShortcutVisibleForSelf(id: string, visible: boolean): Promise; @@ -112,8 +110,7 @@ declare namespace shortcutManager { * * @returns { Promise> } The LauncherShortcutInfo object. * @syscap SystemCapability.BundleManager.BundleFramework.Launcher - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getAllShortcutInfoForSelf(): Promise>; @@ -130,8 +127,7 @@ declare namespace shortcutManager { * * @typedef { _ShortcutInfo } * @syscap SystemCapability.BundleManager.BundleFramework.Launcher - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export type ShortcutInfo = _ShortcutInfo; /** @@ -147,8 +143,7 @@ declare namespace shortcutManager { * * @typedef { _ShortcutWant } * @syscap SystemCapability.BundleManager.BundleFramework.Launcher - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export type ShortcutWant = _ShortcutWant; /** @@ -164,8 +159,7 @@ declare namespace shortcutManager { * * @typedef { _ParameterItem } * @syscap SystemCapability.BundleManager.BundleFramework.Launcher - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export type ParameterItem = _ParameterItem; } diff --git a/api/@ohos.bundleState.d.ts b/api/@ohos.bundleState.d.ts index 1ce100567d..8c0a4833df 100644 --- a/api/@ohos.bundleState.d.ts +++ b/api/@ohos.bundleState.d.ts @@ -30,7 +30,7 @@ import { AsyncCallback, Callback } from './@ohos.base'; * * @namespace bundleState * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics */ @@ -38,7 +38,7 @@ declare namespace bundleState { /** * @interface BundleStateInfo * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.BundleStatsInfo */ @@ -47,7 +47,7 @@ declare namespace bundleState { * The identifier of BundleStateInfo. * @type { number } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ id: number; @@ -55,7 +55,7 @@ declare namespace bundleState { * The total duration, in milliseconds. * @type { ?number } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ abilityInFgTotalTime?: number; @@ -63,7 +63,7 @@ declare namespace bundleState { * The last time when the application was accessed, in milliseconds. * @type { ?number } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ abilityPrevAccessTime?: number; @@ -71,7 +71,7 @@ declare namespace bundleState { * The last time when the application was visible in the foreground, in milliseconds. * @type { ?number } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ abilityPrevSeenTime?: number; @@ -79,7 +79,7 @@ declare namespace bundleState { * The total duration, in milliseconds. * @type { ?number } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ abilitySeenTotalTime?: number; @@ -87,7 +87,7 @@ declare namespace bundleState { * The bundle name of the application. * @type { ?string } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ bundleName?: string; @@ -95,7 +95,7 @@ declare namespace bundleState { * The total duration, in milliseconds. * @type { ?number } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ fgAbilityAccessTotalTime?: number; @@ -103,7 +103,7 @@ declare namespace bundleState { * The last time when the foreground application was accessed, in milliseconds. * @type { ?number } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ fgAbilityPrevAccessTime?: number; @@ -112,7 +112,7 @@ declare namespace bundleState { * in milliseconds. * @type { ?number } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ infosBeginTime?: number; @@ -121,7 +121,7 @@ declare namespace bundleState { * in milliseconds. * @type { ?number } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ infosEndTime?: number; @@ -133,7 +133,7 @@ declare namespace bundleState { * @param { BundleStateInfo } toMerge Indicates the {@link BundleActiveInfo} object to merge. * If the bundle names of the two {@link BundleActiveInfo} objects are different. * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ merge(toMerge: BundleStateInfo): void; @@ -142,7 +142,7 @@ declare namespace bundleState { /** * @typedef BundleActiveState * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.BundleEvents */ @@ -151,7 +151,7 @@ declare namespace bundleState { * The usage priority group of the application. * @type { ?number } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ appUsagePriorityGroup?: number; @@ -159,7 +159,7 @@ declare namespace bundleState { * The bundle name. * @type { ?string } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ bundleName?: string; @@ -167,7 +167,7 @@ declare namespace bundleState { * The shortcut ID. * @type { ?string } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ indexOfLink?: string; @@ -175,7 +175,7 @@ declare namespace bundleState { * The class name. * @type { ?string } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ nameOfClass?: string; @@ -183,7 +183,7 @@ declare namespace bundleState { * The time when this state occurred, in milliseconds. * @type { ?number } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ stateOccurredTime?: number; @@ -191,7 +191,7 @@ declare namespace bundleState { * The state type. * @type { ?number } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ stateType?: number; @@ -205,7 +205,7 @@ declare namespace bundleState { *

boolean value is true mean the application is idle in a particular period; false mean otherwise. * The time range of the particular period is defined by the system, which may be hours or days.

* @syscap SystemCapability.ResourceSchedule.UsageStatistics.AppGroup - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.isIdleState */ @@ -219,7 +219,7 @@ declare namespace bundleState { *

boolean value is true mean the application is idle in a particular period; false mean otherwise. * The time range of the particular period is defined by the system, which may be hours or days.

* @syscap SystemCapability.ResourceSchedule.UsageStatistics.AppGroup - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.isIdleState */ @@ -233,7 +233,7 @@ declare namespace bundleState { * @param { AsyncCallback } callback - the callback of queryAppUsagePriorityGroup. *

Returns the app group of the calling application.

* @syscap SystemCapability.ResourceSchedule.UsageStatistics.AppGroup - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.queryAppGroup */ @@ -247,7 +247,7 @@ declare namespace bundleState { * @returns { Promise } the promise returned by queryAppUsagePriorityGroup. *

Returns the app group of the calling application.

* @syscap SystemCapability.ResourceSchedule.UsageStatistics.AppGroup - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.queryAppGroup */ @@ -256,7 +256,7 @@ declare namespace bundleState { /** * @typedef BundleActiveInfoResponse * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.BundleStatsMap */ @@ -275,7 +275,7 @@ declare namespace bundleState { *

the {@link BundleActiveInfoResponse} objects containing the usage information about each bundle.

* @syscap SystemCapability.ResourceSchedule.UsageStatistics.App * @systemapi Hide this for inner system use. - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.queryBundleStatsInfos */ @@ -292,7 +292,7 @@ declare namespace bundleState { *

the {@link BundleActiveInfoResponse} objects containing the usage information about each bundle.

* @syscap SystemCapability.ResourceSchedule.UsageStatistics.App * @systemapi Hide this for inner system use. - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.queryBundleStatsInfos */ @@ -303,7 +303,7 @@ declare namespace bundleState { * * @enum { number } * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.IntervalType */ @@ -312,7 +312,7 @@ declare namespace bundleState { * Indicates the interval type that will determine the optimal interval based on the start and end time. * * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ BY_OPTIMIZED = 0, @@ -321,7 +321,7 @@ declare namespace bundleState { * Indicates the daily interval. * * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ BY_DAILY = 1, @@ -330,7 +330,7 @@ declare namespace bundleState { * Indicates the weekly interval. * * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ BY_WEEKLY = 2, @@ -339,7 +339,7 @@ declare namespace bundleState { * Indicates the monthly interval. * * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ BY_MONTHLY = 3, @@ -348,7 +348,7 @@ declare namespace bundleState { * Indicates the annually interval. * * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ BY_ANNUALLY = 4 @@ -366,7 +366,7 @@ declare namespace bundleState { * @param { AsyncCallback> } callback - the callback of usage information about each bundle. * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App * @systemapi Hide this for inner system use. - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.queryBundleStatsInfoByInterval */ @@ -389,7 +389,7 @@ declare namespace bundleState { * @returns { Promise> } the usage information about each bundle. * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App * @systemapi Hide this for inner system use. - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.queryBundleStatsInfoByInterval */ @@ -408,7 +408,7 @@ declare namespace bundleState { * @param { AsyncCallback> } callback - the state data of all bundles. * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App * @systemapi Hide this for inner system use. - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.queryBundleEvents */ @@ -423,7 +423,7 @@ declare namespace bundleState { * @returns { Promise> } the state data of all bundles. * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App * @systemapi Hide this for inner system use. - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.queryBundleEvents */ @@ -436,7 +436,7 @@ declare namespace bundleState { * @param { number } end Indicates the end time of the query period, in milliseconds. * @param { AsyncCallback> } callback - the state data of the current bundle. * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.queryCurrentBundleEvents */ @@ -453,7 +453,7 @@ declare namespace bundleState { * @param { number } end Indicates the end time of the query period, in milliseconds. * @returns { Promise> } the state data of the current bundle. * @syscap SystemCapability.ResourceSchedule.UsageStatistics.App - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.resourceschedule.usageStatistics.queryCurrentBundleEvents */ diff --git a/api/@ohos.bytrace.d.ts b/api/@ohos.bytrace.d.ts index 7a1c6a08e7..e3ce829b1a 100644 --- a/api/@ohos.bytrace.d.ts +++ b/api/@ohos.bytrace.d.ts @@ -41,7 +41,7 @@ * * @namespace bytrace * @syscap SystemCapability.HiviewDFX.HiTrace - * @since 7 + * @since 7 dynamiconly * @deprecated since 8 * @useinstead ohos.hiTraceMeter */ @@ -57,7 +57,7 @@ declare namespace bytrace { * @param { number } taskId The unique id used to distinguish the tasks and match with the id in follow finishTrace. * @param { number } expectedTime Indicates the expected time required for completing the task, in milliseconds. * @syscap SystemCapability.HiviewDFX.HiTrace - * @since 7 + * @since 7 dynamiconly * @deprecated since 8 * @useinstead ohos.hiTraceMeter.startTrace */ @@ -73,7 +73,7 @@ declare namespace bytrace { * @param { number } taskId The unique id used to distinguish the tasks and must be the same with the . * {@code taskId} of startTrace. * @syscap SystemCapability.HiviewDFX.HiTrace - * @since 7 + * @since 7 dynamiconly * @deprecated since 8 * @useinstead ohos.hiTraceMeter.finishTrace */ @@ -85,7 +85,7 @@ declare namespace bytrace { * @param { string } name Indicates the name used to identify the count. * @param { number } count Indicates the number of the count. * @syscap SystemCapability.HiviewDFX.HiTrace - * @since 7 + * @since 7 dynamiconly * @deprecated since 8 * @useinstead ohos.hiTraceMeter.traceByValue */ diff --git a/api/@ohos.charger.d.ts b/api/@ohos.charger.d.ts index 1c8ecd419f..b1b7516942 100644 --- a/api/@ohos.charger.d.ts +++ b/api/@ohos.charger.d.ts @@ -16,7 +16,6 @@ /** * @file * @kit BasicServicesKit - * @arkts 1.1&1.2 */ /** @@ -25,8 +24,8 @@ * @namespace charger * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare namespace charger { /** @@ -35,8 +34,8 @@ declare namespace charger { * @enum { int } * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export enum ChargeType { /** @@ -44,8 +43,8 @@ declare namespace charger { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NONE, /** @@ -53,8 +52,8 @@ declare namespace charger { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ WIRED_NORMAL, /** @@ -62,8 +61,8 @@ declare namespace charger { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ WIRED_QUICK, /** @@ -71,8 +70,8 @@ declare namespace charger { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ WIRED_SUPER_QUICK, /** @@ -80,8 +79,8 @@ declare namespace charger { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ WIRELESS_NORMAL, /** @@ -89,8 +88,8 @@ declare namespace charger { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ WIRELESS_QUICK, /** @@ -98,8 +97,8 @@ declare namespace charger { * * @syscap SystemCapability.PowerManager.BatteryManager.Core * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ WIRELESS_SUPER_QUICK } diff --git a/api/@ohos.commonEventManager.d.ts b/api/@ohos.commonEventManager.d.ts index 6c7178151f..97d46592c3 100644 --- a/api/@ohos.commonEventManager.d.ts +++ b/api/@ohos.commonEventManager.d.ts @@ -38,8 +38,8 @@ import { CommonEventPublishData as _CommonEventPublishData } from './commonEvent * @syscap SystemCapability.Notification.CommonEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace commonEventManager { /** @@ -96,8 +96,7 @@ declare namespace commonEventManager { * @syscap SystemCapability.Notification.CommonEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function publish(event: string, callback: AsyncCallback): void; @@ -159,8 +158,7 @@ declare namespace commonEventManager { * @syscap SystemCapability.Notification.CommonEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function publish(event: string, options: CommonEventPublishData, callback: AsyncCallback): void; @@ -193,8 +191,7 @@ declare namespace commonEventManager { * @throws { BusinessError } 1500009 - Failed to obtain system parameters. * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function publishAsUser(event: string, userId: int, callback: AsyncCallback): void; @@ -231,8 +228,7 @@ declare namespace commonEventManager { * @throws { BusinessError } 1500009 - Failed to obtain system parameters. * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function publishAsUser( event: string, @@ -261,8 +257,8 @@ declare namespace commonEventManager { * @syscap SystemCapability.Notification.CommonEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function createSubscriber( subscribeInfo: CommonEventSubscribeInfo, @@ -289,8 +285,8 @@ declare namespace commonEventManager { * @syscap SystemCapability.Notification.CommonEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function createSubscriber(subscribeInfo: CommonEventSubscribeInfo): Promise; @@ -313,8 +309,8 @@ declare namespace commonEventManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function createSubscriberSync(subscribeInfo: CommonEventSubscribeInfo): CommonEventSubscriber; @@ -358,8 +354,7 @@ declare namespace commonEventManager { * @syscap SystemCapability.Notification.CommonEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function subscribe(subscriber: CommonEventSubscriber, callback: AsyncCallback): void; @@ -377,8 +372,7 @@ declare namespace commonEventManager { * @syscap SystemCapability.Notification.CommonEvent * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function subscribeToEvent(subscriber: CommonEventSubscriber, callback: Callback): Promise; @@ -408,8 +402,8 @@ declare namespace commonEventManager { * @syscap SystemCapability.Notification.CommonEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function unsubscribe(subscriber: CommonEventSubscriber, callback?: AsyncCallback): void; @@ -428,8 +422,8 @@ declare namespace commonEventManager { * @throws { BusinessError } 1500008 - Failed to initialize the common event service. * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function removeStickyCommonEvent(event: string, callback: AsyncCallback): void; @@ -448,8 +442,8 @@ declare namespace commonEventManager { * @throws { BusinessError } 1500008 - Failed to initialize the common event service. * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function removeStickyCommonEvent(event: string): Promise; @@ -466,8 +460,8 @@ declare namespace commonEventManager { * @syscap SystemCapability.Notification.CommonEvent * @systemapi Hide this for inner system use. * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setStaticSubscriberState(enable: boolean, callback: AsyncCallback): void; @@ -484,8 +478,8 @@ declare namespace commonEventManager { * @syscap SystemCapability.Notification.CommonEvent * @systemapi Hide this for inner system use. * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setStaticSubscriberState(enable: boolean): Promise; @@ -503,8 +497,8 @@ declare namespace commonEventManager { * @syscap SystemCapability.Notification.CommonEvent * @systemapi Hide this for inner system use. * @StageModelOnly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function setStaticSubscriberState(enable: boolean, events?: Array): Promise; @@ -521,8 +515,8 @@ declare namespace commonEventManager { * @enum { string } * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum Support { /** @@ -530,8 +524,8 @@ declare namespace commonEventManager { * This API can be called only by system applications. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BOOT_COMPLETED = 'usual.event.BOOT_COMPLETED', @@ -539,8 +533,8 @@ declare namespace commonEventManager { * This commonEvent means when the device finnish booting, but still in the locked state. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_LOCKED_BOOT_COMPLETED = 'usual.event.LOCKED_BOOT_COMPLETED', @@ -548,8 +542,8 @@ declare namespace commonEventManager { * This commonEvent means when the device is shutting down, note: turn off, not sleeping. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_SHUTDOWN = 'usual.event.SHUTDOWN', @@ -557,8 +551,8 @@ declare namespace commonEventManager { * This commonEvent means when the charging state, level and so on about the battery. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BATTERY_CHANGED = 'usual.event.BATTERY_CHANGED', @@ -566,8 +560,8 @@ declare namespace commonEventManager { * This commonEvent means when the device in low battery state.. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BATTERY_LOW = 'usual.event.BATTERY_LOW', @@ -575,8 +569,8 @@ declare namespace commonEventManager { * This commonEvent means when the battery level is an ok state. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BATTERY_OKAY = 'usual.event.BATTERY_OKAY', @@ -584,8 +578,8 @@ declare namespace commonEventManager { * This commonEvent means when the other power is connected to the device. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_POWER_CONNECTED = 'usual.event.POWER_CONNECTED', @@ -593,8 +587,8 @@ declare namespace commonEventManager { * This commonEvent means when the other power is removed from the device. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_POWER_DISCONNECTED = 'usual.event.POWER_DISCONNECTED', @@ -602,8 +596,8 @@ declare namespace commonEventManager { * This commonEvent means when the screen is turned off. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_SCREEN_OFF = 'usual.event.SCREEN_OFF', @@ -611,8 +605,8 @@ declare namespace commonEventManager { * This commonEvent means when the device is awakened and interactive. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_SCREEN_ON = 'usual.event.SCREEN_ON', @@ -620,8 +614,8 @@ declare namespace commonEventManager { * This commonEvent means when the thermal state level change * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_THERMAL_LEVEL_CHANGED = 'usual.event.THERMAL_LEVEL_CHANGED', @@ -629,8 +623,8 @@ declare namespace commonEventManager { * This commonEvent means when the device is about to enter the force sleep mode * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMMON_EVENT_ENTER_FORCE_SLEEP = 'usual.event.ENTER_FORCE_SLEEP', @@ -638,8 +632,8 @@ declare namespace commonEventManager { * This commonEvent means when the device exits the force sleep mode * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMMON_EVENT_EXIT_FORCE_SLEEP = 'usual.event.EXIT_FORCE_SLEEP', @@ -647,8 +641,8 @@ declare namespace commonEventManager { * This commonEvent means when the device is about to enter the hibernate mode * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ COMMON_EVENT_ENTER_HIBERNATE = 'usual.event.ENTER_HIBERNATE', @@ -656,8 +650,8 @@ declare namespace commonEventManager { * This commonEvent means when the device exits the hibernate mode * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ COMMON_EVENT_EXIT_HIBERNATE = 'usual.event.EXIT_HIBERNATE', @@ -665,7 +659,7 @@ declare namespace commonEventManager { * This commonEvent means when the user is present after the device is awakened. * * @syscap SystemCapability.Notification.CommonEvent - * @since 9 + * @since 9 dynamic * @deprecated since 10 */ COMMON_EVENT_USER_PRESENT = 'usual.event.USER_PRESENT', @@ -674,8 +668,8 @@ declare namespace commonEventManager { * This commonEvent means when the current time is changed. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_TIME_TICK = 'usual.event.TIME_TICK', @@ -683,8 +677,8 @@ declare namespace commonEventManager { * This commonEvent means when the time is set. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_TIME_CHANGED = 'usual.event.TIME_CHANGED', @@ -692,8 +686,8 @@ declare namespace commonEventManager { * This commonEvent means when the current date is changed. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_DATE_CHANGED = 'usual.event.DATE_CHANGED', @@ -701,8 +695,8 @@ declare namespace commonEventManager { * This commonEvent means when the time zone is changed. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_TIMEZONE_CHANGED = 'usual.event.TIMEZONE_CHANGED', @@ -710,8 +704,8 @@ declare namespace commonEventManager { * This commonEvent means when the dialog to dismiss. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_CLOSE_SYSTEM_DIALOGS = 'usual.event.CLOSE_SYSTEM_DIALOGS', @@ -719,8 +713,8 @@ declare namespace commonEventManager { * This commonEvent means when a new application package is installed on the device. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_PACKAGE_ADDED = 'usual.event.PACKAGE_ADDED', @@ -729,8 +723,8 @@ declare namespace commonEventManager { * replace the old version.the data contains the name of the package. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_PACKAGE_REPLACED = 'usual.event.PACKAGE_REPLACED', @@ -739,8 +733,8 @@ declare namespace commonEventManager { * replace the old version, it does not contain additional data and only be sent to the replaced application. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_MY_PACKAGE_REPLACED = 'usual.event.MY_PACKAGE_REPLACED', @@ -748,8 +742,8 @@ declare namespace commonEventManager { * This commonEvent means when an existing application package is removed from the device. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_PACKAGE_REMOVED = 'usual.event.PACKAGE_REMOVED', @@ -757,8 +751,8 @@ declare namespace commonEventManager { * This commonEvent means when an existing application package is removed from the device. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BUNDLE_REMOVED = 'usual.event.BUNDLE_REMOVED', @@ -766,8 +760,8 @@ declare namespace commonEventManager { * This commonEvent means when an existing application package is completely removed from the device. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_PACKAGE_FULLY_REMOVED = 'usual.event.PACKAGE_FULLY_REMOVED', @@ -775,8 +769,8 @@ declare namespace commonEventManager { * This commonEvent means when an existing application package has been changed. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_PACKAGE_CHANGED = 'usual.event.PACKAGE_CHANGED', @@ -784,8 +778,8 @@ declare namespace commonEventManager { * This commonEvent means the user has restarted a package, and all of its processes have been killed. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_PACKAGE_RESTARTED = 'usual.event.PACKAGE_RESTARTED', @@ -793,8 +787,8 @@ declare namespace commonEventManager { * This commonEvent means the user has cleared the package data. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_PACKAGE_DATA_CLEARED = 'usual.event.PACKAGE_DATA_CLEARED', @@ -802,8 +796,8 @@ declare namespace commonEventManager { * This commonEvent means the user has cleared the package cache. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_PACKAGE_CACHE_CLEARED = 'usual.event.PACKAGE_CACHE_CLEARED', @@ -811,8 +805,8 @@ declare namespace commonEventManager { * This commonEvent means the packages have been suspended. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_PACKAGES_SUSPENDED = 'usual.event.PACKAGES_SUSPENDED', @@ -820,8 +814,8 @@ declare namespace commonEventManager { * This commonEvent means the packages have been un-suspended. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_PACKAGES_UNSUSPENDED = 'usual.event.PACKAGES_UNSUSPENDED', @@ -829,8 +823,8 @@ declare namespace commonEventManager { * This commonEvent Sent to a package that has been suspended by the system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_MY_PACKAGE_SUSPENDED = 'usual.event.MY_PACKAGE_SUSPENDED', @@ -838,8 +832,8 @@ declare namespace commonEventManager { * Sent to a package that has been un-suspended. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_MY_PACKAGE_UNSUSPENDED = 'usual.event.MY_PACKAGE_UNSUSPENDED', @@ -847,8 +841,8 @@ declare namespace commonEventManager { * A user id has been removed from the system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_UID_REMOVED = 'usual.event.UID_REMOVED', @@ -856,8 +850,8 @@ declare namespace commonEventManager { * The application is first launched after installed. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_PACKAGE_FIRST_LAUNCH = 'usual.event.PACKAGE_FIRST_LAUNCH', @@ -865,8 +859,8 @@ declare namespace commonEventManager { * Sent by system package verifier when a package need to be verified. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION = 'usual.event.PACKAGE_NEEDS_VERIFICATION', @@ -874,8 +868,8 @@ declare namespace commonEventManager { * Sent by system package verifier when a package is verified. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_PACKAGE_VERIFIED = 'usual.event.PACKAGE_VERIFIED', @@ -884,8 +878,8 @@ declare namespace commonEventManager { * available since the media on which they exist is available. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE = 'usual.event.EXTERNAL_APPLICATIONS_AVAILABLE', @@ -893,8 +887,8 @@ declare namespace commonEventManager { * Resources for a set of packages are currently unavailable since the media on which they exist is unavailable. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE = 'usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE', @@ -902,8 +896,8 @@ declare namespace commonEventManager { * The device configuration such as orientation,locale have been changed. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_CONFIGURATION_CHANGED = 'usual.event.CONFIGURATION_CHANGED', @@ -911,8 +905,8 @@ declare namespace commonEventManager { * The current device's locale has changed. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_LOCALE_CHANGED = 'usual.event.LOCALE_CHANGED', @@ -920,8 +914,8 @@ declare namespace commonEventManager { * Indicates low memory condition notification acknowledged by user and package management should be started. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_MANAGE_PACKAGE_STORAGE = 'usual.event.MANAGE_PACKAGE_STORAGE', @@ -929,8 +923,8 @@ declare namespace commonEventManager { * Send by the smart function when the system in drive mode. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_DRIVE_MODE = 'common.event.DRIVE_MODE', @@ -938,8 +932,8 @@ declare namespace commonEventManager { * Send by the smart function when the system in home mode. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_HOME_MODE = 'common.event.HOME_MODE', @@ -947,8 +941,8 @@ declare namespace commonEventManager { * Send by the smart function when the system in office mode. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_OFFICE_MODE = 'common.event.OFFICE_MODE', @@ -956,8 +950,8 @@ declare namespace commonEventManager { * Remind new user of preparing to start. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USER_STARTED = 'usual.event.USER_STARTED', @@ -965,8 +959,8 @@ declare namespace commonEventManager { * Remind previous user of that the service has been the background. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USER_BACKGROUND = 'usual.event.USER_BACKGROUND', @@ -974,8 +968,8 @@ declare namespace commonEventManager { * Remind new user of that the service has been the foreground. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USER_FOREGROUND = 'usual.event.USER_FOREGROUND', @@ -984,8 +978,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * This API can be called only by system applications. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USER_SWITCHED = 'usual.event.USER_SWITCHED', @@ -994,8 +988,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * This API can be called only by system applications. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USER_STARTING = 'usual.event.USER_STARTING', @@ -1003,8 +997,8 @@ declare namespace commonEventManager { * Remind new user of that the service has been unlocked. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USER_UNLOCKED = 'usual.event.USER_UNLOCKED', @@ -1014,8 +1008,7 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ COMMON_EVENT_USER_LOCKING = 'usual.event.USER_LOCKING', @@ -1025,8 +1018,7 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ COMMON_EVENT_USER_LOCKED = 'usual.event.USER_LOCKED', @@ -1035,8 +1027,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * This API can be called only by system applications. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USER_STOPPING = 'usual.event.USER_STOPPING', @@ -1044,8 +1036,8 @@ declare namespace commonEventManager { * Remind new user of that the service has stopped. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USER_STOPPED = 'usual.event.USER_STOPPED', @@ -1060,8 +1052,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGIN = 'common.event.DISTRIBUTED_ACCOUNT_LOGIN', @@ -1076,8 +1068,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOUT = 'common.event.DISTRIBUTED_ACCOUNT_LOGOUT', @@ -1092,8 +1084,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMMON_EVENT_DISTRIBUTED_ACCOUNT_TOKEN_INVALID = 'common.event.DISTRIBUTED_ACCOUNT_TOKEN_INVALID', @@ -1108,8 +1100,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOFF = 'common.event.DISTRIBUTED_ACCOUNT_LOGOFF', @@ -1117,8 +1109,8 @@ declare namespace commonEventManager { * WIFI state. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_WIFI_POWER_STATE = 'usual.event.wifi.POWER_STATE', @@ -1126,8 +1118,8 @@ declare namespace commonEventManager { * WIFI scan results. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_WIFI_SCAN_FINISHED = 'usual.event.wifi.SCAN_FINISHED', @@ -1135,8 +1127,8 @@ declare namespace commonEventManager { * WIFI RSSI change. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_WIFI_RSSI_VALUE = 'usual.event.wifi.RSSI_VALUE', @@ -1144,8 +1136,8 @@ declare namespace commonEventManager { * WIFI connect state. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_WIFI_CONN_STATE = 'usual.event.wifi.CONN_STATE', @@ -1153,8 +1145,8 @@ declare namespace commonEventManager { * WIFI hotspot state. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_WIFI_HOTSPOT_STATE = 'usual.event.wifi.HOTSPOT_STATE', @@ -1162,8 +1154,8 @@ declare namespace commonEventManager { * WIFI ap sta join. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_WIFI_AP_STA_JOIN = 'usual.event.wifi.WIFI_HS_STA_JOIN', @@ -1171,8 +1163,8 @@ declare namespace commonEventManager { * WIFI ap sta join. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_WIFI_AP_STA_LEAVE = 'usual.event.wifi.WIFI_HS_STA_LEAVE', @@ -1180,8 +1172,8 @@ declare namespace commonEventManager { * Indicates Wi-Fi MpLink state notification acknowledged by binding or unbinding MpLink. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE = 'usual.event.wifi.mplink.STATE_CHANGE', @@ -1189,8 +1181,8 @@ declare namespace commonEventManager { * Indicates Wi-Fi P2P connection state notification acknowledged by connecting or disconnected P2P. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_WIFI_P2P_CONN_STATE = 'usual.event.wifi.p2p.CONN_STATE_CHANGE', @@ -1198,8 +1190,8 @@ declare namespace commonEventManager { * Indicates that the Wi-Fi P2P state change. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_WIFI_P2P_STATE_CHANGED = 'usual.event.wifi.p2p.STATE_CHANGE', @@ -1207,8 +1199,8 @@ declare namespace commonEventManager { * Indicates that the Wi-Fi P2P peers state change. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED = 'usual.event.wifi.p2p.DEVICES_CHANGE', @@ -1216,8 +1208,8 @@ declare namespace commonEventManager { * Indicates that the Wi-Fi P2P discovery state change. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED = 'usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE', @@ -1225,8 +1217,8 @@ declare namespace commonEventManager { * Indicates that the Wi-Fi P2P current device state change. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED = 'usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE', @@ -1234,8 +1226,8 @@ declare namespace commonEventManager { * Indicates that the Wi-Fi P2P group info is changed. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED = 'usual.event.wifi.p2p.GROUP_STATE_CHANGED', @@ -1243,8 +1235,8 @@ declare namespace commonEventManager { * Bluetooth.handsfree.ag.connect.state.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE', @@ -1252,8 +1244,8 @@ declare namespace commonEventManager { * Bluetooth.handsfree.ag.current.device.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE = 'usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE', @@ -1261,8 +1253,8 @@ declare namespace commonEventManager { * Bluetooth.handsfree.ag.audio.state.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE = 'usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE', @@ -1270,8 +1262,8 @@ declare namespace commonEventManager { * Bluetooth.a2dpsource.connect.state.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE', @@ -1279,8 +1271,8 @@ declare namespace commonEventManager { * Bluetooth.a2dpsource.current.device.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE = 'usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE', @@ -1288,8 +1280,8 @@ declare namespace commonEventManager { * Bluetooth.a2dpsource.playing.state.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE = 'usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE', @@ -1297,8 +1289,8 @@ declare namespace commonEventManager { * Bluetooth.a2dpsource.avrcp.connect.state.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE', @@ -1306,8 +1298,8 @@ declare namespace commonEventManager { * Bluetooth.a2dpsource.codec.value.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE = 'usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE', @@ -1315,8 +1307,8 @@ declare namespace commonEventManager { * Bluetooth.remotedevice.discovered. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED = 'usual.event.bluetooth.remotedevice.DISCOVERED', @@ -1324,8 +1316,8 @@ declare namespace commonEventManager { * Bluetooth.remotedevice.class.value.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE = 'usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE', @@ -1333,8 +1325,8 @@ declare namespace commonEventManager { * Bluetooth.remotedevice.acl.connected. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED = 'usual.event.bluetooth.remotedevice.ACL_CONNECTED', @@ -1342,8 +1334,8 @@ declare namespace commonEventManager { * Bluetooth.remotedevice.acl.disconnected. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED = 'usual.event.bluetooth.remotedevice.ACL_DISCONNECTED', @@ -1351,8 +1343,8 @@ declare namespace commonEventManager { * Bluetooth.remotedevice.name.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE = 'usual.event.bluetooth.remotedevice.NAME_UPDATE', @@ -1360,8 +1352,8 @@ declare namespace commonEventManager { * Bluetooth.remotedevice.pair.state. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE = 'usual.event.bluetooth.remotedevice.PAIR_STATE', @@ -1369,8 +1361,8 @@ declare namespace commonEventManager { * Bluetooth.remotedevice.battery.value.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE = 'usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE', @@ -1378,8 +1370,8 @@ declare namespace commonEventManager { * Bluetooth.remotedevice.sdp.result. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT = 'usual.event.bluetooth.remotedevice.SDP_RESULT', @@ -1387,8 +1379,8 @@ declare namespace commonEventManager { * Bluetooth.remotedevice.uuid.value. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE = 'usual.event.bluetooth.remotedevice.UUID_VALUE', @@ -1396,8 +1388,8 @@ declare namespace commonEventManager { * Bluetooth.remotedevice.pairing.req. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ = 'usual.event.bluetooth.remotedevice.PAIRING_REQ', @@ -1405,8 +1397,8 @@ declare namespace commonEventManager { * Bluetooth.remotedevice.pairing.cancel. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL = 'usual.event.bluetooth.remotedevice.PAIRING_CANCEL', @@ -1414,8 +1406,8 @@ declare namespace commonEventManager { * Bluetooth.remotedevice.connect.req. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ = 'usual.event.bluetooth.remotedevice.CONNECT_REQ', @@ -1423,8 +1415,8 @@ declare namespace commonEventManager { * Bluetooth.remotedevice.connect.reply. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY = 'usual.event.bluetooth.remotedevice.CONNECT_REPLY', @@ -1432,8 +1424,8 @@ declare namespace commonEventManager { * Bluetooth.remotedevice.connect.cancel. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL = 'usual.event.bluetooth.remotedevice.CONNECT_CANCEL', @@ -1441,8 +1433,8 @@ declare namespace commonEventManager { * Bluetooth.handsfreeunit.connect.state.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE', @@ -1450,8 +1442,8 @@ declare namespace commonEventManager { * Bluetooth.handsfreeunit.audio.state.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE = 'usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE', @@ -1459,8 +1451,8 @@ declare namespace commonEventManager { * Bluetooth.handsfreeunit.ag.common.event. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT = 'usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT', @@ -1468,8 +1460,8 @@ declare namespace commonEventManager { * Bluetooth.handsfreeunit.ag.call.state.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE = 'usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE', @@ -1477,8 +1469,8 @@ declare namespace commonEventManager { * Bluetooth.host.state.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE = 'usual.event.bluetooth.host.STATE_UPDATE', @@ -1486,8 +1478,8 @@ declare namespace commonEventManager { * Bluetooth.host.req.discoverable. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE = 'usual.event.bluetooth.host.REQ_DISCOVERABLE', @@ -1495,8 +1487,8 @@ declare namespace commonEventManager { * Bluetooth.host.req.enable. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE = 'usual.event.bluetooth.host.REQ_ENABLE', @@ -1504,8 +1496,8 @@ declare namespace commonEventManager { * Bluetooth.host.req.disable. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE = 'usual.event.bluetooth.host.REQ_DISABLE', @@ -1513,8 +1505,8 @@ declare namespace commonEventManager { * Bluetooth.host.scan.mode.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE = 'usual.event.bluetooth.host.SCAN_MODE_UPDATE', @@ -1522,8 +1514,8 @@ declare namespace commonEventManager { * Bluetooth.host.discovery.stated. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED = 'usual.event.bluetooth.host.DISCOVERY_STARTED', @@ -1531,8 +1523,8 @@ declare namespace commonEventManager { * Bluetooth.host.discovery.finished. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED = 'usual.event.bluetooth.host.DISCOVERY_FINISHED', @@ -1540,8 +1532,8 @@ declare namespace commonEventManager { * Bluetooth.host.name.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE = 'usual.event.bluetooth.host.NAME_UPDATE', @@ -1549,8 +1541,8 @@ declare namespace commonEventManager { * Bluetooth.a2dp.connect.state.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE = 'usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE', @@ -1558,8 +1550,8 @@ declare namespace commonEventManager { * Bluetooth.a2dp.playing.state.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE = 'usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE', @@ -1567,8 +1559,8 @@ declare namespace commonEventManager { * Bluetooth.a2dp.audio.state.update. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE = 'usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE', @@ -1576,8 +1568,8 @@ declare namespace commonEventManager { * Nfc state change. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED = 'usual.event.nfc.action.ADAPTER_STATE_CHANGED', @@ -1585,8 +1577,8 @@ declare namespace commonEventManager { * Nfc field on detected. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED = 'usual.event.nfc.action.RF_FIELD_ON_DETECTED', @@ -1594,8 +1586,8 @@ declare namespace commonEventManager { * Nfc field off detected. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED = 'usual.event.nfc.action.RF_FIELD_OFF_DETECTED', @@ -1603,8 +1595,8 @@ declare namespace commonEventManager { * Sent when stop charging battery. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_DISCHARGING = 'usual.event.DISCHARGING', @@ -1612,8 +1604,8 @@ declare namespace commonEventManager { * Sent when start charging battery. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_CHARGING = 'usual.event.CHARGING', @@ -1622,8 +1614,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_CHARGE_TYPE_CHANGED = 'usual.event.CHARGE_TYPE_CHANGED', @@ -1631,8 +1623,8 @@ declare namespace commonEventManager { * Sent when device's idle mode changed * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED = 'usual.event.DEVICE_IDLE_MODE_CHANGED', @@ -1640,8 +1632,8 @@ declare namespace commonEventManager { * Sent when device's charge idle mode changed. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_CHARGE_IDLE_MODE_CHANGED = 'usual.event.CHARGE_IDLE_MODE_CHANGED', @@ -1650,8 +1642,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_DEVICE_IDLE_EXEMPTION_LIST_UPDATED = 'usual.event.DEVICE_IDLE_EXEMPTION_LIST_UPDATED', @@ -1659,8 +1651,8 @@ declare namespace commonEventManager { * Sent when device's power save mode changed * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_POWER_SAVE_MODE_CHANGED = 'usual.event.POWER_SAVE_MODE_CHANGED', @@ -1669,8 +1661,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * This API can be called only by system applications. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USER_ADDED = 'usual.event.USER_ADDED', @@ -1679,8 +1671,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * This API can be called only by system applications. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USER_REMOVED = 'usual.event.USER_REMOVED', @@ -1688,8 +1680,8 @@ declare namespace commonEventManager { * Sent when ability is added. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_ABILITY_ADDED = 'common.event.ABILITY_ADDED', @@ -1697,8 +1689,8 @@ declare namespace commonEventManager { * Sent when ability is removed. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_ABILITY_REMOVED = 'common.event.ABILITY_REMOVED', @@ -1706,8 +1698,8 @@ declare namespace commonEventManager { * Sent when ability is updated. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_ABILITY_UPDATED = 'common.event.ABILITY_UPDATED', @@ -1715,8 +1707,8 @@ declare namespace commonEventManager { * Gps mode state changed. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_LOCATION_MODE_STATE_CHANGED = 'usual.event.location.MODE_STATE_CHANGED', @@ -1725,8 +1717,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_IVI_SLEEP = 'common.event.IVI_SLEEP', @@ -1735,8 +1727,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_IVI_PAUSE = 'common.event.IVI_PAUSE', @@ -1745,8 +1737,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_IVI_STANDBY = 'common.event.IVI_STANDBY', @@ -1755,8 +1747,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_IVI_LASTMODE_SAVE = 'common.event.IVI_LASTMODE_SAVE', @@ -1765,8 +1757,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_IVI_VOLTAGE_ABNORMAL = 'common.event.IVI_VOLTAGE_ABNORMAL', @@ -1776,8 +1768,8 @@ declare namespace commonEventManager { * please use COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_IVI_HIGH_TEMPERATURE = 'common.event.IVI_HIGH_TEMPERATURE', @@ -1787,8 +1779,8 @@ declare namespace commonEventManager { * please use COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_IVI_EXTREME_TEMPERATURE = 'common.event.IVI_EXTREME_TEMPERATURE', @@ -1797,8 +1789,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL = 'common.event.IVI_TEMPERATURE_ABNORMAL', @@ -1807,8 +1799,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_IVI_VOLTAGE_RECOVERY = 'common.event.IVI_VOLTAGE_RECOVERY', @@ -1817,8 +1809,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_IVI_TEMPERATURE_RECOVERY = 'common.event.IVI_TEMPERATURE_RECOVERY', @@ -1827,8 +1819,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_IVI_ACTIVE = 'common.event.IVI_ACTIVE', @@ -1837,8 +1829,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USB_STATE = 'usual.event.hardware.usb.action.USB_STATE', @@ -1847,8 +1839,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USB_PORT_CHANGED = 'usual.event.hardware.usb.action.USB_PORT_CHANGED', @@ -1857,8 +1849,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USB_DEVICE_ATTACHED = 'usual.event.hardware.usb.action.USB_DEVICE_ATTACHED', @@ -1867,8 +1859,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USB_DEVICE_DETACHED = 'usual.event.hardware.usb.action.USB_DEVICE_DETACHED', @@ -1877,8 +1869,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USB_ACCESSORY_ATTACHED = 'usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED', @@ -1887,8 +1879,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USB_ACCESSORY_DETACHED = 'usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED', @@ -1897,8 +1889,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_DISK_REMOVED = 'usual.event.data.DISK_REMOVED', @@ -1907,8 +1899,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_DISK_UNMOUNTED = 'usual.event.data.DISK_UNMOUNTED', @@ -1917,8 +1909,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_DISK_MOUNTED = 'usual.event.data.DISK_MOUNTED', @@ -1927,8 +1919,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_DISK_BAD_REMOVAL = 'usual.event.data.DISK_BAD_REMOVAL', @@ -1937,8 +1929,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_DISK_UNMOUNTABLE = 'usual.event.data.DISK_UNMOUNTABLE', @@ -1947,8 +1939,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_DISK_EJECT = 'usual.event.data.DISK_EJECT', @@ -1958,8 +1950,8 @@ declare namespace commonEventManager { * This API can be called only by system applications. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_VOLUME_REMOVED = 'usual.event.data.VOLUME_REMOVED', @@ -1969,8 +1961,8 @@ declare namespace commonEventManager { * This API can be called only by system applications. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_VOLUME_UNMOUNTED = 'usual.event.data.VOLUME_UNMOUNTED', @@ -1980,8 +1972,8 @@ declare namespace commonEventManager { * This API can be called only by system applications. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_VOLUME_MOUNTED = 'usual.event.data.VOLUME_MOUNTED', @@ -1991,8 +1983,8 @@ declare namespace commonEventManager { * This API can be called only by system applications. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_VOLUME_BAD_REMOVAL = 'usual.event.data.VOLUME_BAD_REMOVAL', @@ -2002,8 +1994,8 @@ declare namespace commonEventManager { * This API can be called only by system applications. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_VOLUME_EJECT = 'usual.event.data.VOLUME_EJECT', @@ -2012,8 +2004,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED = 'usual.event.data.VISIBLE_ACCOUNTS_UPDATED', @@ -2023,8 +2015,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * This API can be called only by system applications. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_ACCOUNT_DELETED = 'usual.event.data.ACCOUNT_DELETED', @@ -2033,8 +2025,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_FOUNDATION_READY = 'common.event.FOUNDATION_READY', @@ -2043,8 +2035,8 @@ declare namespace commonEventManager { * Users can register this event to listen to the change of the airplane mode status of the device. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_AIRPLANE_MODE_CHANGED = 'usual.event.AIRPLANE_MODE', @@ -2059,8 +2051,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COMMON_EVENT_SPLIT_SCREEN = 'common.event.SPLIT_SCREEN', @@ -2070,8 +2062,8 @@ declare namespace commonEventManager { * This API can be called only by system applications. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_SLOT_CHANGE = 'usual.event.SLOT_CHANGE', @@ -2080,8 +2072,8 @@ declare namespace commonEventManager { * This common event can be triggered only by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_SPN_INFO_CHANGED = 'usual.event.SPN_INFO_CHANGED', @@ -2090,8 +2082,8 @@ declare namespace commonEventManager { * This common event can be triggered only by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_QUICK_FIX_APPLY_RESULT = 'usual.event.QUICK_FIX_APPLY_RESULT', @@ -2100,8 +2092,8 @@ declare namespace commonEventManager { * This common event can be triggered only by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_QUICK_FIX_REVOKE_RESULT = 'usual.event.QUICK_FIX_REVOKE_RESULT', @@ -2110,8 +2102,8 @@ declare namespace commonEventManager { * This common event can be triggered only by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COMMON_EVENT_USER_INFO_UPDATED = 'usual.event.USER_INFO_UPDATED', @@ -2120,8 +2112,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_HTTP_PROXY_CHANGE = 'usual.event.HTTP_PROXY_CHANGE', @@ -2130,8 +2122,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_SIM_STATE_CHANGED = 'usual.event.SIM_STATE_CHANGED', @@ -2142,8 +2134,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_SMS_RECEIVE_COMPLETED = 'usual.event.SMS_RECEIVE_COMPLETED', @@ -2153,8 +2145,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_SMS_EMERGENCY_CB_RECEIVE_COMPLETED = 'usual.event.SMS_EMERGENCY_CB_RECEIVE_COMPLETED', @@ -2164,8 +2156,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_SMS_CB_RECEIVE_COMPLETED = 'usual.event.SMS_CB_RECEIVE_COMPLETED', @@ -2177,8 +2169,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_STK_COMMAND = 'usual.event.STK_COMMAND', @@ -2190,8 +2182,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_STK_SESSION_END = 'usual.event.STK_SESSION_END', @@ -2203,8 +2195,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_STK_CARD_STATE_CHANGED = 'usual.event.STK_CARD_STATE_CHANGED', @@ -2216,8 +2208,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_STK_ALPHA_IDENTIFIER = 'usual.event.STK_ALPHA_IDENTIFIER', @@ -2227,8 +2219,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_SMS_WAPPUSH_RECEIVE_COMPLETED = 'usual.event.SMS_WAPPUSH_RECEIVE_COMPLETED', @@ -2238,8 +2230,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_OPERATOR_CONFIG_CHANGED = 'usual.event.OPERATOR_CONFIG_CHANGED', @@ -2249,8 +2241,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_SIM_CARD_DEFAULT_SMS_SUBSCRIPTION_CHANGED = 'usual.event.SIM.DEFAULT_SMS_SUBSCRIPTION_CHANGED', @@ -2260,8 +2252,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_SIM_CARD_DEFAULT_DATA_SUBSCRIPTION_CHANGED = 'usual.event.SIM.DEFAULT_DATA_SUBSCRIPTION_CHANGED', @@ -2271,8 +2263,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_SIM_CARD_DEFAULT_MAIN_SUBSCRIPTION_CHANGED = 'usual.event.SIM.DEFAULT_MAIN_SUBSCRIPTION_CHANGED', @@ -2282,8 +2274,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COMMON_EVENT_SET_PRIMARY_SLOT_STATUS = 'usual.event.SET_PRIMARY_SLOT_STATUS', @@ -2293,8 +2285,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COMMON_EVENT_PRIMARY_SLOT_ROAMING = 'usual.event.PRIMARY_SLOT_ROAMING', @@ -2304,8 +2296,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_SIM_CARD_DEFAULT_VOICE_SUBSCRIPTION_CHANGED = 'usual.event.SIM.DEFAULT_VOICE_SUBSCRIPTION_CHANGED', @@ -2316,8 +2308,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_CALL_STATE_CHANGED = 'usual.event.CALL_STATE_CHANGED', @@ -2327,8 +2319,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_CELLULAR_DATA_STATE_CHANGED = 'usual.event.CELLULAR_DATA_STATE_CHANGED', @@ -2337,8 +2329,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_NETWORK_STATE_CHANGED = 'usual.event.NETWORK_STATE_CHANGED', @@ -2347,8 +2339,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_SIGNAL_INFO_CHANGED = 'usual.event.SIGNAL_INFO_CHANGED', @@ -2360,8 +2352,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_INCOMING_CALL_MISSED = 'usual.event.INCOMING_CALL_MISSED', @@ -2371,8 +2363,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_RADIO_STATE_CHANGE = 'usual.event.RADIO_STATE_CHANGE', @@ -2382,8 +2374,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_DOMAIN_ACCOUNT_STATUS_CHANGED = 'usual.event.DOMAIN_ACCOUNT_STATUS_CHANGED', @@ -2398,8 +2390,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COMMON_EVENT_SCREEN_UNLOCKED = 'usual.event.SCREEN_UNLOCKED', @@ -2414,8 +2406,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COMMON_EVENT_SCREEN_LOCKED = 'usual.event.SCREEN_LOCKED', @@ -2432,8 +2424,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COMMON_EVENT_CONNECTIVITY_CHANGE = 'usual.event.CONNECTIVITY_CHANGE', @@ -2443,8 +2435,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_SPECIAL_CODE = 'common.event.SPECIAL_CODE', @@ -2454,8 +2446,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COMMON_EVENT_AUDIO_QUALITY_CHANGE = 'usual.event.AUDIO_QUALITY_CHANGE', @@ -2465,8 +2457,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COMMON_EVENT_PRIVACY_STATE_CHANGED = 'usual.event.PRIVACY_STATE_CHANGED', @@ -2476,8 +2468,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMMON_EVENT_PACKAGE_INSTALLATION_STARTED = 'usual.event.PACKAGE_INSTALLATION_STARTED', @@ -2487,8 +2479,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMMON_EVENT_DYNAMIC_ICON_CHANGED = 'usual.event.DYNAMIC_ICON_CHANGED', @@ -2498,8 +2490,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMMON_EVENT_MINORSMODE_ON = 'usual.event.MINORSMODE_ON', @@ -2509,8 +2501,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMMON_EVENT_MINORSMODE_OFF = 'usual.event.MINORSMODE_OFF', @@ -2522,8 +2514,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ COMMON_EVENT_BUNDLE_RESOURCES_CHANGED = 'usual.event.BUNDLE_RESOURCES_CHANGED', @@ -2533,8 +2525,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMMON_EVENT_DATA_SHARE_READY = 'usual.event.DATA_SHARE_READY', @@ -2544,8 +2536,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMMON_EVENT_VPN_CONNECTION_STATUS_CHANGED = 'usual.event.VPN_CONNECTION_STATUS_CHANGED', @@ -2557,8 +2549,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ COMMON_EVENT_RESTORE_START = 'usual.event.RESTORE_START', @@ -2567,8 +2559,8 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ COMMON_EVENT_MANAGED_BROWSER_POLICY_CHANGED = 'usual.event.MANAGED_BROWSER_POLICY_CHANGED', @@ -2580,8 +2572,8 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ COMMON_EVENT_DEFAULT_APPLICATION_CHANGED = 'usual.event.DEFAULT_APPLICATION_CHANGED', @@ -2592,8 +2584,7 @@ declare namespace commonEventManager { * * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ COMMON_EVENT_SHORTCUT_CHANGED = 'usual.event.SHORTCUT_CHANGED', @@ -2602,8 +2593,7 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ COMMON_EVENT_KIOSK_MODE_ON = 'usual.event.KIOSK_MODE_ON', @@ -2612,8 +2602,7 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ COMMON_EVENT_KIOSK_MODE_OFF = 'usual.event.KIOSK_MODE_OFF', @@ -2622,8 +2611,7 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ COMMON_EVENT_CUSTOM_CONFIG_POLICY_UPDATED = 'usual.event.CUSTOM_CONFIG_POLICY_UPDATED', @@ -2632,8 +2620,7 @@ declare namespace commonEventManager { * This is a protected common event that can only be sent by system. * @syscap SystemCapability.Notification.CommonEvent * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ COMMON_EVENT_CUSTOM_ROAMING_REGION_UPDATED = 'usual.event.CUSTOM_ROAMING_REGION_UPDATED', } @@ -2650,8 +2637,8 @@ declare namespace commonEventManager { * @typedef { _CommonEventData } CommonEventData * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type CommonEventData = _CommonEventData; @@ -2667,8 +2654,8 @@ declare namespace commonEventManager { * @typedef { _CommonEventSubscriber } CommonEventSubscriber * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type CommonEventSubscriber = _CommonEventSubscriber; @@ -2684,8 +2671,8 @@ declare namespace commonEventManager { * @typedef { _CommonEventSubscribeInfo } CommonEventSubscribeInfo * @syscap SystemCapability.Notification.CommonEvent * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type CommonEventSubscribeInfo = _CommonEventSubscribeInfo; @@ -2709,8 +2696,8 @@ declare namespace commonEventManager { * @syscap SystemCapability.Notification.CommonEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type CommonEventPublishData = _CommonEventPublishData; } diff --git a/api/@ohos.configPolicy.d.ts b/api/@ohos.configPolicy.d.ts index 2bffaa511e..d568d4aa27 100644 --- a/api/@ohos.configPolicy.d.ts +++ b/api/@ohos.configPolicy.d.ts @@ -16,7 +16,6 @@ /** * @file * @kit BasicServicesKit - * @arkts 1.1&1.2 */ import { AsyncCallback } from './@ohos.base'; @@ -27,7 +26,8 @@ import { AsyncCallback } from './@ohos.base'; * @namespace configPolicy * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi - * @since arkts {'1.1':'8','1.2':'20'} + * @since 8 dynamic + * @since 20 static */ declare namespace configPolicy { /** @@ -36,7 +36,8 @@ declare namespace configPolicy { * @enum { number } * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ export enum FollowXMode { /** @@ -44,7 +45,8 @@ declare namespace configPolicy { * * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ DEFAULT = 0, @@ -53,7 +55,8 @@ declare namespace configPolicy { * * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ NO_RULE_FOLLOWED = 1, @@ -62,7 +65,8 @@ declare namespace configPolicy { * * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ SIM_DEFAULT = 10, @@ -71,7 +75,8 @@ declare namespace configPolicy { * * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ SIM_1 = 11, @@ -80,7 +85,8 @@ declare namespace configPolicy { * * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ SIM_2 = 12, @@ -90,7 +96,8 @@ declare namespace configPolicy { * * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ USER_DEFINED = 100 } @@ -104,7 +111,8 @@ declare namespace configPolicy { *
2.Incorrect parameter types. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'8','1.2':'20'} + * @since 8 dynamic + * @since 20 static */ function getOneCfgFile(relPath: string, callback: AsyncCallback): void; @@ -118,7 +126,8 @@ declare namespace configPolicy { *
2.Incorrect parameter types. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ function getOneCfgFile(relPath: string, followMode: FollowXMode, callback: AsyncCallback): void; @@ -133,7 +142,8 @@ declare namespace configPolicy { *
2.Incorrect parameter types. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ function getOneCfgFile(relPath: string, followMode: FollowXMode, extra: string, callback: AsyncCallback): void; @@ -146,7 +156,8 @@ declare namespace configPolicy { *
2.Incorrect parameter types. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'8','1.2':'20'} + * @since 8 dynamic + * @since 20 static */ function getOneCfgFile(relPath: string): Promise; @@ -161,7 +172,8 @@ declare namespace configPolicy { *
2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ function getOneCfgFile(relPath: string, followMode: FollowXMode, extra?: string): Promise; @@ -176,7 +188,8 @@ declare namespace configPolicy { *
2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ function getOneCfgFileSync(relPath: string, followMode?: FollowXMode, extra?: string): string; @@ -189,7 +202,8 @@ declare namespace configPolicy { *
2.Incorrect parameter types. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'8','1.2':'20'} + * @since 8 dynamic + * @since 20 static */ function getCfgFiles(relPath: string, callback: AsyncCallback>): void; @@ -203,7 +217,8 @@ declare namespace configPolicy { *
2.Incorrect parameter types. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ function getCfgFiles(relPath: string, followMode: FollowXMode, callback: AsyncCallback>): void; @@ -218,7 +233,8 @@ declare namespace configPolicy { *
2.Incorrect parameter types. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ function getCfgFiles(relPath: string, followMode: FollowXMode, extra: string, callback: AsyncCallback>): void; @@ -231,7 +247,8 @@ declare namespace configPolicy { *
2.Incorrect parameter types. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'8','1.2':'20'} + * @since 8 dynamic + * @since 20 static */ function getCfgFiles(relPath: string): Promise>; @@ -246,7 +263,8 @@ declare namespace configPolicy { *
2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ function getCfgFiles(relPath: string, followMode: FollowXMode, extra?: string): Promise>; @@ -261,7 +279,8 @@ declare namespace configPolicy { *
2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static */ function getCfgFilesSync(relPath: string, followMode?: FollowXMode, extra?: string): Array; @@ -273,7 +292,8 @@ declare namespace configPolicy { *
2.Incorrect parameter types. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'8','1.2':'20'} + * @since 8 dynamic + * @since 20 static */ function getCfgDirList(callback: AsyncCallback>): void; @@ -292,7 +312,8 @@ declare namespace configPolicy { * @returns { Promise> } the promise returns the list of configuration level directories. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static */ function getCfgDirList(): Promise>; @@ -311,7 +332,8 @@ declare namespace configPolicy { * @returns { Array } the list of configuration level directories. * @syscap SystemCapability.Customization.ConfigPolicy * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static */ function getCfgDirListSync(): Array; } diff --git a/api/@ohos.connectedTag.d.ts b/api/@ohos.connectedTag.d.ts index 3080bea055..7348afed2e 100644 --- a/api/@ohos.connectedTag.d.ts +++ b/api/@ohos.connectedTag.d.ts @@ -25,7 +25,7 @@ import type { AsyncCallback, BusinessError, Callback } from './@ohos.base'; * * @namespace connectedTag * @syscap SystemCapability.Communication.ConnectedTag - * @since 8 + * @since 8 dynamic */ declare namespace connectedTag { /** @@ -34,7 +34,7 @@ declare namespace connectedTag { * @permission ohos.permission.NFC_TAG * @returns { boolean } Returns true if init success, otherwise returns false. * @syscap SystemCapability.Communication.ConnectedTag - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.connectedTag/connectedTag#initialize */ @@ -48,7 +48,7 @@ declare namespace connectedTag { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 3200101 - Connected NFC tag running state is abnormal in service. * @syscap SystemCapability.Communication.ConnectedTag - * @since 9 + * @since 9 dynamic */ function initialize(): void; @@ -58,7 +58,7 @@ declare namespace connectedTag { * @permission ohos.permission.NFC_TAG * @returns { boolean } Returns true if uninit success, otherwise returns false. * @syscap SystemCapability.Communication.ConnectedTag - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.connectedTag/connectedTag#uninitialize */ @@ -72,7 +72,7 @@ declare namespace connectedTag { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 3200101 - Connected NFC tag running state is abnormal in service. * @syscap SystemCapability.Communication.ConnectedTag - * @since 9 + * @since 9 dynamic */ function uninitialize(): void; @@ -82,7 +82,7 @@ declare namespace connectedTag { * @permission ohos.permission.NFC_TAG * @returns { Promise } Returns the NDEF Data. * @syscap SystemCapability.Communication.ConnectedTag - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.connectedTag/connectedTag#read */ @@ -94,7 +94,7 @@ declare namespace connectedTag { * @permission ohos.permission.NFC_TAG * @param { AsyncCallback } callback * @syscap SystemCapability.Communication.ConnectedTag - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.connectedTag/connectedTag#read */ @@ -109,7 +109,7 @@ declare namespace connectedTag { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 3200101 - Connected NFC tag running state is abnormal in service. * @syscap SystemCapability.Communication.ConnectedTag - * @since 9 + * @since 9 dynamic */ function read(): Promise; @@ -122,7 +122,7 @@ declare namespace connectedTag { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 3200101 - Connected NFC tag running state is abnormal in service. * @syscap SystemCapability.Communication.ConnectedTag - * @since 9 + * @since 9 dynamic */ function read(callback: AsyncCallback): void; @@ -133,7 +133,7 @@ declare namespace connectedTag { * @param { string } data The Data to write. * @returns { Promise } The void. * @syscap SystemCapability.Communication.ConnectedTag - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.connectedTag/connectedTag#write */ @@ -146,7 +146,7 @@ declare namespace connectedTag { * @param { string } data The Data to write. * @param { AsyncCallback } callback * @syscap SystemCapability.Communication.ConnectedTag - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.connectedTag/connectedTag#write */ @@ -166,7 +166,7 @@ declare namespace connectedTag { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 3200101 - Connected NFC tag running state is abnormal in service. * @syscap SystemCapability.Communication.ConnectedTag - * @since 9 + * @since 9 dynamic */ function write(data: number[]): Promise; @@ -184,7 +184,7 @@ declare namespace connectedTag { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 3200101 - Connected NFC tag running state is abnormal in service. * @syscap SystemCapability.Communication.ConnectedTag - * @since 9 + * @since 9 dynamic */ function write(data: number[], callback: AsyncCallback): void; @@ -195,7 +195,7 @@ declare namespace connectedTag { * @param {'notify'} type The callback type. * @param { Callback } callback The callback function to be registered. * @syscap SystemCapability.Communication.ConnectedTag - * @since 8 + * @since 8 dynamic */ function on(type: 'notify', callback: Callback): void; @@ -207,7 +207,7 @@ declare namespace connectedTag { * @param { 'notify' } type The callback type. * @param { Callback } callback The callback function to be unregistered. * @syscap SystemCapability.Communication.ConnectedTag - * @since 8 + * @since 8 dynamic */ function off(type: 'notify', callback?: Callback): void; @@ -216,14 +216,14 @@ declare namespace connectedTag { * * @enum { number } * @syscap SystemCapability.Communication.ConnectedTag - * @since 8 + * @since 8 dynamic */ enum NfcRfType { /** * NFC RF LEAVE * * @syscap SystemCapability.Communication.ConnectedTag - * @since 8 + * @since 8 dynamic */ NFC_RF_LEAVE = 0, @@ -231,7 +231,7 @@ declare namespace connectedTag { * NFC RF ENTER * * @syscap SystemCapability.Communication.ConnectedTag - * @since 8 + * @since 8 dynamic */ NFC_RF_ENTER = 1 } diff --git a/api/@ohos.continuation.continuationManager.d.ts b/api/@ohos.continuation.continuationManager.d.ts index ab754ff54e..7196003522 100644 --- a/api/@ohos.continuation.continuationManager.d.ts +++ b/api/@ohos.continuation.continuationManager.d.ts @@ -40,7 +40,7 @@ import type { ContinuationExtraParams as _ContinuationExtraParams } from './cont * @namespace continuationManager * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ declare namespace continuationManager { /** @@ -80,7 +80,7 @@ declare namespace continuationManager { * @throws { BusinessError } 16600004 - The specified callback has been registered. * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ function on(type: 'deviceSelected', token: number, callback: Callback>): void; @@ -115,7 +115,7 @@ declare namespace continuationManager { * @throws { BusinessError } 16600004 - The specified callback has been registered. * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ function off(type: 'deviceSelected', token: number): void; @@ -156,7 +156,7 @@ declare namespace continuationManager { * @throws { BusinessError } 16600004 - The specified callback has been registered. * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ function on(type: 'deviceUnselected', token: number, callback: Callback>): void; @@ -191,7 +191,7 @@ declare namespace continuationManager { * @throws { BusinessError } 16600004 - The specified callback has been registered. * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ function off(type: 'deviceUnselected', token: number): void; @@ -204,7 +204,7 @@ declare namespace continuationManager { * module, returning the device ID,device type, and device name for * developers to use. * @syscap SystemCapability.Ability.DistributedAbilityManager - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.continuation.continuationManager/continuationManager#on */ @@ -219,7 +219,7 @@ declare namespace continuationManager { * selection module, returning the device ID,device type, * and device name for developers to use. * @syscap SystemCapability.Ability.DistributedAbilityManager - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.continuation.continuationManager/continuationManager#off */ @@ -233,7 +233,7 @@ declare namespace continuationManager { * @param { Callback } callback - Called when the user disconnects the device from the device selection * module, returning the device ID for developers to use. * @syscap SystemCapability.Ability.DistributedAbilityManager - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.continuation.continuationManager/continuationManager#on */ @@ -247,7 +247,7 @@ declare namespace continuationManager { * @param { Callback } [callback] - Called when the user selects a device from the device selection module, * returning the device ID,device type, and device name for developers to use. * @syscap SystemCapability.Ability.DistributedAbilityManager - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.continuation.continuationManager/continuationManager#off */ @@ -260,7 +260,7 @@ declare namespace continuationManager { * @param { AsyncCallback } callback - The AsyncCallback form returns the token generated after connecting to * the flow management service. * @syscap SystemCapability.Ability.DistributedAbilityManager - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.continuation.continuationManager/continuationManager#registerContinuation */ @@ -275,7 +275,7 @@ declare namespace continuationManager { * @param { AsyncCallback } callback - The AsyncCallback form returns the token generated after * connecting to the flow management service. * @syscap SystemCapability.Ability.DistributedAbilityManager - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.continuation.continuationManager/continuationManager#registerContinuation */ @@ -290,7 +290,7 @@ declare namespace continuationManager { * @returns { Promise } callback Indicates the callback to be invoked when the continuation manager service * is connected. * @syscap SystemCapability.Ability.DistributedAbilityManager - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.continuation.continuationManager/continuationManager#registerContinuation */ @@ -303,7 +303,7 @@ declare namespace continuationManager { * @param { number } token - Indicates the registration token of the ability. * @param { AsyncCallback } callback - AsyncCallback returns the interface call result. * @syscap SystemCapability.Ability.DistributedAbilityManager - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.continuation.continuationManager/continuationManager#unregisterContinuation */ @@ -317,7 +317,7 @@ declare namespace continuationManager { * @returns { Promise } callback Indicates the callback to be invoked when the continuation manager * service is connected. * @syscap SystemCapability.Ability.DistributedAbilityManager - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.continuation.continuationManager/continuationManager#unregisterContinuation */ @@ -331,7 +331,7 @@ declare namespace continuationManager { * @param { DeviceConnectState } status - Indicates the connection state to update. * @param { AsyncCallback } callback - AsyncCallback returns the interface call result. * @syscap SystemCapability.Ability.DistributedAbilityManager - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.continuation.continuationManager/continuationManager#updateContinuationState */ @@ -351,7 +351,7 @@ declare namespace continuationManager { * @returns { Promise } callback Indicates the callback to be invoked when the continuation * manager service is connected. * @syscap SystemCapability.Ability.DistributedAbilityManager - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.continuation.continuationManager/continuationManager#updateContinuationState */ @@ -363,7 +363,7 @@ declare namespace continuationManager { * @param { number } token - Indicates the registration token of the ability. * @param { AsyncCallback } callback - AsyncCallback returns the interface call result. * @syscap SystemCapability.Ability.DistributedAbilityManager - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.continuation.continuationManager/continuationManager#startContinuationDeviceManager */ @@ -377,7 +377,7 @@ declare namespace continuationManager { * used to filter the list of available devices. This parameter is null. * @param { AsyncCallback } callback - AsyncCallback returns the interface call result. * @syscap SystemCapability.Ability.DistributedAbilityManager - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.continuation.continuationManager/continuationManager#startContinuationDeviceManager */ @@ -392,7 +392,7 @@ declare namespace continuationManager { * @returns { Promise } callback Indicates the callback to be invoked when the continuation manager service * is connected. * @syscap SystemCapability.Ability.DistributedAbilityManager - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.continuation.continuationManager/continuationManager#startContinuationDeviceManager */ @@ -427,7 +427,7 @@ declare namespace continuationManager { * @throws { BusinessError } 16600003 - The number of token registration times has reached the upper limit. * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ function registerContinuation(callback: AsyncCallback): void; @@ -464,7 +464,7 @@ declare namespace continuationManager { * @throws { BusinessError } 16600003 - The number of token registration times has reached the upper limit. * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ function registerContinuation(options: ContinuationExtraParams, callback: AsyncCallback): void; @@ -501,7 +501,7 @@ declare namespace continuationManager { * @throws { BusinessError } 16600003 - The number of token registration times has reached the upper limit. * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ function registerContinuation(options?: ContinuationExtraParams): Promise; @@ -536,7 +536,7 @@ declare namespace continuationManager { * @throws { BusinessError } 16600002 - The specified token or callback is not registered. * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ function unregisterContinuation(token: number, callback: AsyncCallback): void; @@ -569,7 +569,7 @@ declare namespace continuationManager { * @throws { BusinessError } 16600002 - The specified token or callback is not registered. * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ function unregisterContinuation(token: number): Promise; @@ -604,7 +604,7 @@ declare namespace continuationManager { * @throws { BusinessError } 16600002 - The specified token or callback is not registered. * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ function updateContinuationState( token: number, @@ -646,7 +646,7 @@ declare namespace continuationManager { * @throws { BusinessError } 16600002 - The specified token or callback is not registered. * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ function updateContinuationState(token: number, deviceId: string, status: DeviceConnectState): Promise; @@ -677,7 +677,7 @@ declare namespace continuationManager { * @throws { BusinessError } 16600002 - The specified token or callback is not registered. * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ function startContinuationDeviceManager(token: number, callback: AsyncCallback): void; @@ -712,7 +712,7 @@ declare namespace continuationManager { * @throws { BusinessError } 16600002 - The specified token or callback is not registered. * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ function startContinuationDeviceManager( token: number, @@ -751,7 +751,7 @@ declare namespace continuationManager { * @throws { BusinessError } 16600002 - The specified token or callback is not registered. * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ function startContinuationDeviceManager(token: number, options?: ContinuationExtraParams): Promise; @@ -768,7 +768,7 @@ declare namespace continuationManager { * @enum { number } * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ export enum DeviceConnectState { /** @@ -782,7 +782,7 @@ declare namespace continuationManager { * * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ IDLE = 0, @@ -797,7 +797,7 @@ declare namespace continuationManager { * * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ CONNECTING = 1, @@ -812,7 +812,7 @@ declare namespace continuationManager { * * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ CONNECTED = 2, @@ -827,7 +827,7 @@ declare namespace continuationManager { * * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ DISCONNECTING = 3 } @@ -845,7 +845,7 @@ declare namespace continuationManager { * @enum { number } * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ export enum ContinuationMode { /** @@ -859,7 +859,7 @@ declare namespace continuationManager { * * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ COLLABORATION_SINGLE = 0, @@ -874,7 +874,7 @@ declare namespace continuationManager { * * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ COLLABORATION_MULTIPLE = 1 } @@ -890,7 +890,7 @@ declare namespace continuationManager { * @typedef { _ContinuationResult } * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ export type ContinuationResult = _ContinuationResult; @@ -905,7 +905,7 @@ declare namespace continuationManager { * @typedef { _ContinuationExtraParams } * @syscap SystemCapability.Ability.DistributedAbilityManager * @atomicservice - * @since 11 + * @since 11 dynamic */ export type ContinuationExtraParams = _ContinuationExtraParams; } diff --git a/api/@ohos.convertxml.d.ts b/api/@ohos.convertxml.d.ts index 2f2aefdce1..9710db2a87 100644 --- a/api/@ohos.convertxml.d.ts +++ b/api/@ohos.convertxml.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declare namespace xml { /** @@ -65,7 +65,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ interface ConvertOptions { /** @@ -90,7 +90,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ trim: boolean; /** @@ -115,7 +115,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ ignoreDeclaration?: boolean; /** @@ -140,7 +140,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ ignoreInstruction?: boolean; /** @@ -165,7 +165,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ ignoreAttributes?: boolean; /** @@ -190,7 +190,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ ignoreComment?: boolean; /** @@ -215,7 +215,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ ignoreCDATA?: boolean; /** @@ -240,7 +240,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ ignoreDoctype?: boolean; /** @@ -265,7 +265,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ ignoreText?: boolean; /** @@ -290,7 +290,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declarationKey: string; /** @@ -315,7 +315,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ instructionKey: string; /** @@ -340,7 +340,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ attributesKey: string; /** @@ -365,7 +365,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ textKey: string; /** @@ -390,7 +390,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ cdataKey: string; /** @@ -415,7 +415,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ doctypeKey: string; /** @@ -440,7 +440,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ commentKey: string; /** @@ -465,7 +465,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ parentKey: string; /** @@ -490,7 +490,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ typeKey: string; /** @@ -515,7 +515,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ nameKey: string; /** @@ -540,7 +540,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ elementsKey: string; } @@ -566,7 +566,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ class ConvertXML { /** @@ -576,7 +576,7 @@ declare namespace xml { * @param { ConvertOptions } options - options option Option Inputted by user to set. * @returns { Object } Returns a JavaScript object converting from XML text. * @syscap SystemCapability.Utils.Lang - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.convertxml.ConvertXML.convertToJSObject */ @@ -637,7 +637,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 14 * @useinstead ohos.convertxml.ConvertXML.fastConvertToJSObject */ @@ -658,7 +658,7 @@ declare namespace xml { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamiconly */ fastConvertToJSObject(xml: string, options?: ConvertOptions): Object; } diff --git a/api/@ohos.cooperate.d.ts b/api/@ohos.cooperate.d.ts index b5640c5425..0e6f542820 100644 --- a/api/@ohos.cooperate.d.ts +++ b/api/@ohos.cooperate.d.ts @@ -27,7 +27,7 @@ import { Callback } from './@ohos.base'; * @namespace cooperate * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ declare namespace cooperate { /** @@ -36,7 +36,7 @@ declare namespace cooperate { * @enum { number } * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate#CooperateState */ @@ -46,7 +46,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate.CooperateState#COOPERATE_PREPARE */ @@ -57,7 +57,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate.CooperateState#COOPERATE_UNPREPARE */ @@ -68,7 +68,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate.CooperateState#COOPERATE_ACTIVATE */ @@ -79,7 +79,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate.CooperateState#COOPERATE_ACTIVATE_SUCCESS */ @@ -90,7 +90,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate.CooperateState#COOPERATE_ACTIVATE_FAILURE */ @@ -101,7 +101,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate.CooperateState#COOPERATE_DEACTIVATE_SUCCESS */ @@ -112,7 +112,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate.CooperateState#COOPERATE_DEACTIVATE_FAILURE */ @@ -123,7 +123,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate.CooperateState#COOPERATE_SESSION_DISCONNECTED */ @@ -136,7 +136,7 @@ declare namespace cooperate { * @enum { number } * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ enum CooperateState { /** @@ -144,7 +144,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ COOPERATE_PREPARE = 0, @@ -153,7 +153,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ COOPERATE_UNPREPARE = 1, @@ -162,7 +162,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ COOPERATE_ACTIVATE = 2, @@ -171,7 +171,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ COOPERATE_ACTIVATE_SUCCESS = 3, @@ -180,7 +180,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ COOPERATE_ACTIVATE_FAILURE = 4, @@ -189,7 +189,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ COOPERATE_DEACTIVATE_SUCCESS = 5, @@ -198,7 +198,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ COOPERATE_DEACTIVATE_FAILURE = 6, @@ -207,7 +207,7 @@ declare namespace cooperate { * * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ COOPERATE_SESSION_DISCONNECTED = 7, } @@ -218,7 +218,7 @@ declare namespace cooperate { * @interface CooperateMessage * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ interface CooperateMessage { /** @@ -227,7 +227,7 @@ declare namespace cooperate { * @type { string } * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ networkId: string; @@ -237,7 +237,7 @@ declare namespace cooperate { * @type { CooperateState } * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ state: CooperateState; } @@ -248,7 +248,7 @@ declare namespace cooperate { * @typedef MouseLocation * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ interface MouseLocation { /** @@ -257,7 +257,7 @@ declare namespace cooperate { * @type { number } * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ displayX: number; @@ -267,7 +267,7 @@ declare namespace cooperate { * @type { number } * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ displayY: number; @@ -277,7 +277,7 @@ declare namespace cooperate { * @type { number } * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ displayWidth: number; @@ -287,7 +287,7 @@ declare namespace cooperate { * @type { number } * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ displayHeight: number; } @@ -301,7 +301,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate#prepareCooperate */ @@ -316,7 +316,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate#prepareCooperate */ @@ -333,7 +333,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function prepareCooperate(callback: AsyncCallback): void; @@ -348,7 +348,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function prepareCooperate(): Promise; @@ -361,7 +361,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate#unprepareCooperate */ @@ -376,7 +376,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate#unprepareCooperate */ @@ -393,7 +393,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function unprepareCooperate(callback: AsyncCallback): void; @@ -406,7 +406,7 @@ declare namespace cooperate { * @throws {BusinessError} 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function unprepareCooperate(): Promise; @@ -423,7 +423,7 @@ declare namespace cooperate { *
container-related exception, or IPC exception. 2. N-API invocation exception or invalid N-API status. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate#activateCooperate */ @@ -442,7 +442,7 @@ declare namespace cooperate { *
container-related exception, or IPC exception. 2. N-API invocation exception or invalid N-API status. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate#activateCooperate */ @@ -463,7 +463,7 @@ declare namespace cooperate { *
container-related exception, or IPC exception. 2. N-API invocation exception or invalid N-API status. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function activateCooperate(targetNetworkId: string, inputDeviceId: number, callback: AsyncCallback): void; @@ -482,7 +482,7 @@ declare namespace cooperate { *
container-related exception, or IPC exception. 2. N-API invocation exception or invalid N-API status. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function activateCooperate(targetNetworkId: string, inputDeviceId: number): Promise; @@ -496,7 +496,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate#deactivateCooperate */ @@ -510,7 +510,7 @@ declare namespace cooperate { * @throws {BusinessError} 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate#deactivateCooperate */ @@ -528,7 +528,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function deactivateCooperate(isUnchained: boolean, callback: AsyncCallback): void; @@ -542,7 +542,7 @@ declare namespace cooperate { * @throws {BusinessError} 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function deactivateCooperate(isUnchained: boolean): Promise; @@ -556,7 +556,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate#getCooperateSwitchState */ @@ -573,7 +573,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate#getCooperateSwitchState */ @@ -592,7 +592,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function getCooperateSwitchState(networkId: string, callback: AsyncCallback): void; @@ -609,7 +609,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function getCooperateSwitchState(networkId: string): Promise; @@ -624,7 +624,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate#on */ @@ -641,7 +641,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead cooperate#on */ @@ -660,7 +660,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function on(type: 'cooperateMessage', callback: Callback): void; @@ -677,7 +677,7 @@ declare namespace cooperate { *
verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function off(type: 'cooperateMessage', callback?: Callback): void; @@ -694,7 +694,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ function on(type: 'cooperateMouse', networkId: string, callback: Callback): void; @@ -712,7 +712,7 @@ declare namespace cooperate { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ function off(type: 'cooperateMouse', networkId: string, callback?: Callback): void; @@ -731,7 +731,7 @@ declare namespace cooperate { * @throws {BusinessError} 20900001 - Operation failed. * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ function activateCooperateWithOptions(targetNetworkId: string, inputDeviceId: number, cooperateOptions?: CooperateOptions @@ -742,7 +742,7 @@ declare namespace cooperate { * @interface { CooperateOptions } * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ interface CooperateOptions { @@ -752,7 +752,7 @@ declare namespace cooperate { * @type { number } * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ displayX: number; @@ -762,7 +762,7 @@ declare namespace cooperate { * @type { number } * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ displayId: number; @@ -772,7 +772,7 @@ declare namespace cooperate { * @type { number } * @syscap SystemCapability.Msdp.DeviceStatus.Cooperate * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ displayY: number; } diff --git a/api/@ohos.curves.d.ts b/api/@ohos.curves.d.ts index 3c0b0007a8..f35a2c56a5 100644 --- a/api/@ohos.curves.d.ts +++ b/api/@ohos.curves.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare namespace curves { /** @@ -65,7 +65,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ enum Curve { /** @@ -87,7 +87,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Linear, /** @@ -112,7 +112,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Ease, /** @@ -134,7 +134,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ EaseIn, /** @@ -156,7 +156,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ EaseOut, /** @@ -178,7 +178,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ EaseInOut, /** @@ -200,7 +200,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ FastOutSlowIn, /** @@ -222,7 +222,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ LinearOutSlowIn, /** @@ -244,7 +244,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ FastOutLinearIn, /** @@ -266,7 +266,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ ExtremeDeceleration, /** @@ -288,7 +288,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Sharp, /** @@ -310,7 +310,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Rhythm, /** @@ -332,7 +332,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Smooth, /** @@ -354,7 +354,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ Friction, } @@ -381,7 +381,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ICurve { /** @@ -414,7 +414,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interpolate(fraction: number): number; } @@ -445,7 +445,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function initCurve(curve?: Curve): ICurve; @@ -455,7 +455,7 @@ declare namespace curves { * @param { Curve } [curve] * @returns { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead initCurve */ @@ -494,7 +494,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function stepsCurve(count: number, end: boolean): ICurve; @@ -522,7 +522,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function customCurve(interpolate: (fraction: number) => number): ICurve; @@ -533,7 +533,7 @@ declare namespace curves { * @param { boolean } end * @returns { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead stepsCurve */ @@ -582,7 +582,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function cubicBezierCurve(x1: number, y1: number, x2: number, y2: number): ICurve; @@ -598,7 +598,7 @@ declare namespace curves { * @param { number } y2 -Value range (-∞, +∞). * @returns { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead cubicBezierCurve */ @@ -657,7 +657,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function springCurve(velocity: number, mass: number, stiffness: number, damping: number): ICurve; @@ -672,7 +672,7 @@ declare namespace curves { * @param { number } damping -Pure number, Used to describe oscillation and decay of a system after being disturbed. * @returns { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead springCurve */ @@ -738,7 +738,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function springMotion(response?: number, dampingFraction?: number, overlapDuration?: number): ICurve; @@ -797,7 +797,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function responsiveSpringMotion(response?: number, dampingFraction?: number, overlapDuration?: number): ICurve; @@ -850,7 +850,7 @@ declare namespace curves { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function interpolatingSpring(velocity: number, mass: number, stiffness: number, damping: number): ICurve; } diff --git a/api/@ohos.curves.static.d.ets b/api/@ohos.curves.static.d.ets index 7f4359f97e..4316a94be5 100644 --- a/api/@ohos.curves.static.d.ets +++ b/api/@ohos.curves.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ /** @@ -25,7 +24,7 @@ * * @namespace curves * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ declare namespace curves { @@ -34,7 +33,7 @@ declare namespace curves { * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export enum Curve { @@ -42,7 +41,7 @@ declare namespace curves { * Linear. Indicates that the animation has the same velocity from start to finish. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ Linear, @@ -51,7 +50,7 @@ declare namespace curves { * CubicBezier(0.25, 0.1, 0.25, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ Ease, @@ -59,7 +58,7 @@ declare namespace curves { * EaseIn. Indicates that the animation starts at a low speed, Cubic Bezier (0.42, 0.0, 1.0, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ EaseIn, @@ -67,7 +66,7 @@ declare namespace curves { * EaseOut. Indicates that the animation ends at low speed, CubicBezier (0.0, 0.0, 0.58, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ EaseOut, @@ -75,7 +74,7 @@ declare namespace curves { * EaseInOut. Indicates that the animation starts and ends at low speed, CubicBezier (0.42, 0.0, 0.58, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ EaseInOut, @@ -83,7 +82,7 @@ declare namespace curves { * FastOutSlowIn. Standard curve, cubic-bezier (0.4, 0.0, 0.2, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ FastOutSlowIn, @@ -91,7 +90,7 @@ declare namespace curves { * LinearOutSlowIn. Deceleration curve, cubic-bezier (0.0, 0.0, 0.2, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ LinearOutSlowIn, @@ -99,7 +98,7 @@ declare namespace curves { * FastOutLinearIn. Acceleration curve, cubic-bezier (0.4, 0.0, 1.0, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ FastOutLinearIn, @@ -107,7 +106,7 @@ declare namespace curves { * ExtremeDeceleration. Abrupt curve, cubic-bezier (0.0, 0.0, 0.0, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ExtremeDeceleration, @@ -115,7 +114,7 @@ declare namespace curves { * Sharp. Sharp curves, cubic-bezier (0.33, 0.0, 0.67, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ Sharp, @@ -123,7 +122,7 @@ declare namespace curves { * Rhythm. Rhythmic curve, cubic-bezier (0.7, 0.0, 0.2, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ Rhythm, @@ -131,7 +130,7 @@ declare namespace curves { * Smooth. Smooth curves, cubic-bezier (0.4, 0.0, 0.4, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ Smooth, @@ -139,7 +138,7 @@ declare namespace curves { * Friction. Damping curves, CubicBezier (0.2, 0.0, 0.2, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ Friction } @@ -149,7 +148,7 @@ declare namespace curves { * * @interface ICurve * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface ICurve { /** @@ -159,7 +158,7 @@ declare namespace curves { * Note: If the value is less than 0, it will be processed as 0. If the value is greater than 1, 1 is used. * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interpolate(fraction: number): number; } @@ -171,7 +170,7 @@ declare namespace curves { * @param { Curve } [curve] - Curve type.
Default value: **Curve.Linear**. * @returns { ICurve } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function initCurve(curve?: Curve): ICurve; @@ -187,7 +186,7 @@ declare namespace curves { * *false**: Jumping occurs when the interpolation starts. * @returns { ICurve } Interpolation curve. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function stepsCurve(count: number, end: boolean): ICurve; @@ -204,7 +203,7 @@ declare namespace curves { *

* @returns { ICurve } Interpolation curve. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function customCurve(interpolate: (fraction: number) => number): ICurve; @@ -223,7 +222,7 @@ declare namespace curves { * @param { number } y2 - Y coordinate of the second point on the Bezier curve.
Value range: (-∞, +∞). * @returns { ICurve } Interpolation curve. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function cubicBezierCurve(x1: number, y1: number, x2: number, y2: number): ICurve; @@ -255,7 +254,7 @@ declare namespace curves { *

* @returns { ICurve } Interpolation curve. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function springCurve(velocity: number, mass: number, stiffness: number, damping: number): ICurve; @@ -290,7 +289,7 @@ declare namespace curves { *

* @returns { ICurve } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function springMotion(response?: number, dampingFraction?: number, overlapDuration?: number): ICurve; @@ -320,7 +319,7 @@ declare namespace curves { *

* @returns { ICurve } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function responsiveSpringMotion(response?: number, dampingFraction?: number, overlapDuration?: number): ICurve; @@ -353,7 +352,7 @@ declare namespace curves { *

* @returns { ICurve } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function interpolatingSpring(velocity: number, mass: number, stiffness: number, damping: number): ICurve; } diff --git a/api/@ohos.customization.customConfig.d.ts b/api/@ohos.customization.customConfig.d.ts index 0dfc711b0c..cba6f8a024 100644 --- a/api/@ohos.customization.customConfig.d.ts +++ b/api/@ohos.customization.customConfig.d.ts @@ -16,7 +16,6 @@ /** * @file * @kit BasicServicesKit - * @arkts 1.1&1.2 */ /** @@ -32,7 +31,8 @@ * @namespace customConfig * @syscap SystemCapability.Customization.CustomConfig * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} + * @since 13 dynamic + * @since 20 static */ declare namespace customConfig { @@ -49,7 +49,8 @@ declare namespace customConfig { * @returns { string } the channelId or empty if not exist. * @syscap SystemCapability.Customization.CustomConfig * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} + * @since 13 dynamic + * @since 20 static */ function getChannelId(): string; diff --git a/api/@ohos.data.DataShareResultSet.d.ts b/api/@ohos.data.DataShareResultSet.d.ts index e6778af933..bab788e528 100644 --- a/api/@ohos.data.DataShareResultSet.d.ts +++ b/api/@ohos.data.DataShareResultSet.d.ts @@ -26,7 +26,7 @@ * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ export enum DataType { /** @@ -35,7 +35,7 @@ export enum DataType { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ TYPE_NULL = 0, @@ -45,7 +45,7 @@ export enum DataType { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ TYPE_LONG = 1, @@ -55,7 +55,7 @@ export enum DataType { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ TYPE_DOUBLE = 2, @@ -65,7 +65,7 @@ export enum DataType { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ TYPE_STRING = 3, @@ -75,7 +75,7 @@ export enum DataType { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ TYPE_BLOB = 4 } @@ -87,8 +87,8 @@ export enum DataType { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export default interface DataShareResultSet { /** @@ -100,7 +100,7 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ columnNames: Array; @@ -112,7 +112,7 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ columnCount: number; @@ -123,8 +123,8 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ rowCount: number; @@ -136,7 +136,7 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ isClosed: boolean; @@ -148,8 +148,8 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ goToFirstRow(): boolean; @@ -161,8 +161,8 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ goToLastRow(): boolean; @@ -174,8 +174,8 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ goToNextRow(): boolean; @@ -187,7 +187,7 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ goToPreviousRow(): boolean; @@ -201,7 +201,7 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ goTo(offset: number): boolean; @@ -213,7 +213,7 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ goToRow(position: number): boolean; @@ -227,7 +227,7 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ getBlob(columnIndex: number): Uint8Array; @@ -241,8 +241,8 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ getString(columnIndex: number): string; @@ -256,8 +256,8 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ getLong(columnIndex: number): number; @@ -271,7 +271,7 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ getDouble(columnIndex: number): number; @@ -282,8 +282,8 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ close(): void; @@ -296,8 +296,8 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ getColumnIndex(columnName: string): number; @@ -310,7 +310,7 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ getColumnName(columnIndex: number): string; @@ -324,7 +324,7 @@ export default interface DataShareResultSet { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ getDataType(columnIndex: number): DataType; } diff --git a/api/@ohos.data.UdmfComponents.d.ets b/api/@ohos.data.UdmfComponents.d.ets index 8c0544060f..8b0a4eea87 100644 --- a/api/@ohos.data.UdmfComponents.d.ets +++ b/api/@ohos.data.UdmfComponents.d.ets @@ -23,14 +23,14 @@ import uniformDataStruct from '@ohos.data.uniformDataStruct'; * * @enum { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 + * @since 20 dynamic */ declare enum FormType { /** * Big form card, with fixed size of 4 x 4. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 + * @since 20 dynamic */ TYPE_BIG = 0, @@ -38,7 +38,7 @@ declare enum FormType { * Medium-sized form card, with fixed size of 4 x 2. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 + * @since 20 dynamic */ TYPE_MID = 1, @@ -46,7 +46,7 @@ declare enum FormType { * Small form card, with fixed size of 2 x 1. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 + * @since 20 dynamic */ TYPE_SMALL = 2 } @@ -56,7 +56,7 @@ declare enum FormType { * * @struct { ContentFormCard } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 + * @since 20 dynamic */ @Component declare struct ContentFormCard { @@ -65,7 +65,7 @@ declare struct ContentFormCard { * * @type { uniformDataStruct.ContentForm } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 + * @since 20 dynamic */ contentFormData: uniformDataStruct.ContentForm; @@ -74,7 +74,7 @@ declare struct ContentFormCard { * * @type { FormType } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 + * @since 20 dynamic */ @Prop formType: FormType; @@ -84,7 +84,7 @@ declare struct ContentFormCard { * * @type { ?double } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 + * @since 20 dynamic */ @Prop formWidth?: double; @@ -94,7 +94,7 @@ declare struct ContentFormCard { * * @type { ?double } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 + * @since 20 dynamic */ @Prop formHeight?: double; @@ -104,7 +104,7 @@ declare struct ContentFormCard { * * @type { ?Function } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 + * @since 20 dynamic */ handleOnClick?: Function; } diff --git a/api/@ohos.data.ValuesBucket.d.ts b/api/@ohos.data.ValuesBucket.d.ts index afa9159700..f1ab394d47 100644 --- a/api/@ohos.data.ValuesBucket.d.ts +++ b/api/@ohos.data.ValuesBucket.d.ts @@ -16,7 +16,6 @@ /** * @file * @kit ArkData - * @arkts 1.1&1.2 */ /** @@ -43,7 +42,7 @@ * @stagemodelonly * @crossplatform * @atomicservice - * @since arkts {'1.1':'20', '1.2':'20'} + * @since 20 dynamic&static */ export type ValueType = number | string | boolean; @@ -53,6 +52,7 @@ export type ValueType = number | string | boolean; * @typedef { Record } * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} + * @since 10 dynamic + * @since 20 static */ export type ValuesBucket = Record; diff --git a/api/@ohos.data.cloudData.d.ts b/api/@ohos.data.cloudData.d.ts index f1790cbb71..250e7e8e3b 100644 --- a/api/@ohos.data.cloudData.d.ts +++ b/api/@ohos.data.cloudData.d.ts @@ -27,7 +27,7 @@ import commonType from './@ohos.data.commonType'; * * @namespace cloudData * @syscap SystemCapability.DistributedDataManager.CloudSync.Config - * @since 10 + * @since 10 dynamic */ declare namespace cloudData { /** @@ -36,7 +36,7 @@ declare namespace cloudData { * @enum { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 10 + * @since 10 dynamic */ enum ClearAction { /** @@ -44,7 +44,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 10 + * @since 10 dynamic */ CLEAR_CLOUD_INFO, @@ -53,7 +53,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 10 + * @since 10 dynamic */ CLEAR_CLOUD_DATA_AND_INFO } @@ -64,7 +64,7 @@ declare namespace cloudData { * @constant * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 11 + * @since 11 dynamic */ const DATA_CHANGE_EVENT_ID = 'cloud_data_change'; @@ -74,7 +74,7 @@ declare namespace cloudData { * @interface ExtraData * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 11 + * @since 11 dynamic */ interface ExtraData { /** @@ -83,7 +83,7 @@ declare namespace cloudData { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 11 + * @since 11 dynamic */ eventId: string; @@ -103,7 +103,7 @@ declare namespace cloudData { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 11 + * @since 11 dynamic */ extraData: string; } @@ -114,7 +114,7 @@ declare namespace cloudData { * @interface StatisticInfo * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 12 + * @since 12 dynamic */ interface StatisticInfo { /** @@ -123,7 +123,7 @@ declare namespace cloudData { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 12 + * @since 12 dynamic */ table: string; @@ -133,7 +133,7 @@ declare namespace cloudData { * @type { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 12 + * @since 12 dynamic */ inserted: int; @@ -143,7 +143,7 @@ declare namespace cloudData { * @type { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 12 + * @since 12 dynamic */ updated: int; @@ -153,7 +153,7 @@ declare namespace cloudData { * @type { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 12 + * @since 12 dynamic */ normal: int; } @@ -164,7 +164,7 @@ declare namespace cloudData { * @enum { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 18 + * @since 18 dynamic */ enum SyncStatus { /** @@ -172,7 +172,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 18 + * @since 18 dynamic */ RUNNING = 0, @@ -181,7 +181,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 18 + * @since 18 dynamic */ FINISHED = 1 } @@ -192,7 +192,7 @@ declare namespace cloudData { * @interface SyncInfo * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 12 + * @since 12 dynamic */ interface SyncInfo { /** @@ -201,7 +201,7 @@ declare namespace cloudData { * @type { Date } * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 12 + * @since 12 dynamic */ startTime: Date; @@ -211,7 +211,7 @@ declare namespace cloudData { * @type { Date } * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 12 + * @since 12 dynamic */ finishTime: Date; @@ -221,7 +221,7 @@ declare namespace cloudData { * @type { relationalStore.ProgressCode } * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 12 + * @since 12 dynamic */ code: relationalStore.ProgressCode; @@ -231,7 +231,7 @@ declare namespace cloudData { * @type { ?SyncStatus } * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 18 + * @since 18 dynamic */ syncStatus?: SyncStatus; } @@ -241,7 +241,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 10 + * @since 10 dynamic */ class Config { /** @@ -278,7 +278,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 11 + * @since 11 dynamic */ static enableCloud( accountId: string, @@ -320,7 +320,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 11 + * @since 11 dynamic */ static enableCloud(accountId: string, switches: Record): Promise; @@ -337,7 +337,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 10 + * @since 10 dynamic */ static disableCloud(accountId: string, callback: AsyncCallback): void; @@ -354,7 +354,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 10 + * @since 10 dynamic */ static disableCloud(accountId: string): Promise; @@ -373,7 +373,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 10 + * @since 10 dynamic */ static changeAppCloudSwitch( accountId: string, @@ -397,7 +397,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 10 + * @since 10 dynamic */ static changeAppCloudSwitch(accountId: string, bundleName: string, status: boolean): Promise; @@ -417,7 +417,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 11 + * @since 11 dynamic */ static notifyDataChange(extInfo: ExtraData, userId?: int): Promise; @@ -437,7 +437,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 11 + * @since 11 dynamic */ static notifyDataChange(extInfo: ExtraData, callback: AsyncCallback): void; @@ -458,7 +458,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 11 + * @since 11 dynamic */ static notifyDataChange(extInfo: ExtraData, userId: int, callback: AsyncCallback): void; @@ -476,7 +476,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 10 + * @since 10 dynamic */ static notifyDataChange(accountId: string, bundleName: string): Promise; @@ -494,7 +494,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 10 + * @since 10 dynamic */ static notifyDataChange(accountId: string, bundleName: string, callback: AsyncCallback): void; @@ -513,7 +513,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 12 + * @since 12 dynamic */ static queryStatistics( accountId: string, @@ -536,7 +536,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 12 + * @since 12 dynamic */ static queryLastSyncInfo( accountId: string, @@ -574,7 +574,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 11 + * @since 11 dynamic */ static clear( accountId: string, @@ -612,7 +612,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 11 + * @since 11 dynamic */ static clear(accountId: string, appActions: Record): Promise; @@ -630,7 +630,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 12 + * @since 12 dynamic */ static setGlobalCloudStrategy(strategy: StrategyType, param?: Array): Promise; @@ -654,8 +654,7 @@ declare namespace cloudData { * @static * @syscap SystemCapability.DistributedDataManager.CloudSync.Config * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ static cloudSync( bundleName: string, @@ -670,7 +669,7 @@ declare namespace cloudData { * * @enum { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ enum StrategyType { @@ -678,7 +677,7 @@ declare namespace cloudData { * Sync via the network. * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ NETWORK } @@ -688,7 +687,7 @@ declare namespace cloudData { * * @enum { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ enum NetWorkStrategy { @@ -696,7 +695,7 @@ declare namespace cloudData { * Sync using WiFi. * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ WIFI = 1, @@ -704,7 +703,7 @@ declare namespace cloudData { * Sync using the cellular network. * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ CELLULAR = 2, } @@ -719,7 +718,7 @@ declare namespace cloudData { * 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ function setCloudStrategy(strategy: StrategyType, param?: Array): Promise; @@ -729,7 +728,7 @@ declare namespace cloudData { * @namespace sharing * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ export namespace sharing { /** @@ -738,7 +737,7 @@ declare namespace cloudData { * @enum { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ enum Role { /** @@ -746,7 +745,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ ROLE_INVITER = 0, @@ -755,7 +754,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ ROLE_INVITEE = 1, } @@ -766,7 +765,7 @@ declare namespace cloudData { * @enum { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ enum State { /** @@ -774,7 +773,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ STATE_UNKNOWN = 0, @@ -783,7 +782,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ STATE_ACCEPTED = 1, @@ -792,7 +791,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ STATE_REJECTED = 2, @@ -801,7 +800,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ STATE_SUSPENDED = 3, @@ -810,7 +809,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 12 + * @since 12 dynamic */ STATE_UNAVAILABLE = 4, } @@ -821,7 +820,7 @@ declare namespace cloudData { * @enum { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ enum SharingCode { /** @@ -829,7 +828,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ SUCCESS = 0, @@ -838,7 +837,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ REPEATED_REQUEST = 1, @@ -847,7 +846,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ NOT_INVITER = 2, @@ -856,7 +855,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ NOT_INVITER_OR_INVITEE = 3, @@ -865,7 +864,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ OVER_QUOTA = 4, @@ -874,7 +873,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ TOO_MANY_PARTICIPANTS = 5, @@ -883,7 +882,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ INVALID_ARGS = 6, @@ -892,7 +891,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ NETWORK_ERROR = 7, @@ -901,7 +900,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ CLOUD_DISABLED = 8, @@ -910,7 +909,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ SERVER_ERROR = 9, @@ -919,7 +918,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ INNER_ERROR = 10, @@ -928,7 +927,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ INVALID_INVITATION = 11, @@ -937,7 +936,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ RATE_LIMIT = 12, @@ -946,7 +945,7 @@ declare namespace cloudData { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ CUSTOM_ERROR = 1000, } @@ -957,7 +956,7 @@ declare namespace cloudData { * @interface Result * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ interface Result { /** @@ -966,7 +965,7 @@ declare namespace cloudData { * @type { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ code: int; @@ -976,7 +975,7 @@ declare namespace cloudData { * @type { ?string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ description?: string; @@ -986,7 +985,7 @@ declare namespace cloudData { * @type { ?T } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ value?: T; } @@ -997,7 +996,7 @@ declare namespace cloudData { * @interface Privilege * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ interface Privilege { /** @@ -1008,7 +1007,7 @@ declare namespace cloudData { * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ writable?: boolean; @@ -1020,7 +1019,7 @@ declare namespace cloudData { * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ readable?: boolean; @@ -1032,7 +1031,7 @@ declare namespace cloudData { * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ creatable?: boolean; @@ -1044,7 +1043,7 @@ declare namespace cloudData { * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ deletable?: boolean; @@ -1056,7 +1055,7 @@ declare namespace cloudData { * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ shareable?: boolean; } @@ -1067,7 +1066,7 @@ declare namespace cloudData { * @interface Participant * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ interface Participant { /** @@ -1076,7 +1075,7 @@ declare namespace cloudData { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ identity: string; @@ -1086,7 +1085,7 @@ declare namespace cloudData { * @type { ?Role } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ role?: Role; @@ -1096,7 +1095,7 @@ declare namespace cloudData { * @type { ?State } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ state?: State; @@ -1106,7 +1105,7 @@ declare namespace cloudData { * @type { ?Privilege } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ privilege?: Privilege; @@ -1116,7 +1115,7 @@ declare namespace cloudData { * @type { ?string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ attachInfo?: string; } @@ -1136,7 +1135,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function allocResourceAndShare( storeId: string, @@ -1160,7 +1159,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function allocResourceAndShare( storeId: string, @@ -1185,7 +1184,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function allocResourceAndShare( storeId: string, @@ -1209,7 +1208,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function share( sharingResource: string, @@ -1230,7 +1229,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function share( sharingResource: string, @@ -1251,7 +1250,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function unshare( sharingResource: string, @@ -1272,7 +1271,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function unshare( sharingResource: string, @@ -1290,7 +1289,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function exit(sharingResource: string, callback: AsyncCallback>): void; @@ -1305,7 +1304,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function exit(sharingResource: string): Promise>; @@ -1323,7 +1322,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function changePrivilege( sharingResource: string, @@ -1344,7 +1343,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function changePrivilege( sharingResource: string, @@ -1363,7 +1362,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function queryParticipants(sharingResource: string, callback: AsyncCallback>>): void; @@ -1378,7 +1377,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function queryParticipants(sharingResource: string): Promise>>; @@ -1394,7 +1393,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function queryParticipantsByInvitation( invitationCode: string, @@ -1412,7 +1411,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function queryParticipantsByInvitation(invitationCode: string): Promise>>; @@ -1429,7 +1428,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function confirmInvitation(invitationCode: string, state: State, callback: AsyncCallback>): void; @@ -1445,7 +1444,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function confirmInvitation(invitationCode: string, state: State): Promise>; @@ -1461,7 +1460,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function changeConfirmation(sharingResource: string, state: State, callback: AsyncCallback>): void; @@ -1477,7 +1476,7 @@ declare namespace cloudData { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 11 + * @since 11 dynamic */ function changeConfirmation(sharingResource: string, state: State): Promise>; } diff --git a/api/@ohos.data.cloudExtension.d.ts b/api/@ohos.data.cloudExtension.d.ts index eaf631e30b..92e4db8d8d 100644 --- a/api/@ohos.data.cloudExtension.d.ts +++ b/api/@ohos.data.cloudExtension.d.ts @@ -27,7 +27,7 @@ import type relationalStore from './@ohos.data.relationalStore'; * * @namespace cloudExtension * @syscap SystemCapability.DistributedDataManager.CloudSync.Server - * @since 11 + * @since 11 dynamic */ declare namespace cloudExtension { /** @@ -37,7 +37,7 @@ declare namespace cloudExtension { * @interface CloudAsset * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface CloudAsset extends relationalStore.Asset { /** @@ -46,7 +46,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ assetId: string; @@ -56,7 +56,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ hash: string; } @@ -67,7 +67,7 @@ declare namespace cloudExtension { * @typedef { Array } CloudAssets * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ type CloudAssets = Array; @@ -77,7 +77,7 @@ declare namespace cloudExtension { * @typedef { null | long | double | string | boolean | Uint8Array | CloudAsset | CloudAssets } CloudType * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ type CloudType = null | long | double | string | boolean | Uint8Array | CloudAsset | CloudAssets; @@ -87,7 +87,7 @@ declare namespace cloudExtension { * @interface CloudInfo * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface CloudInfo { /** @@ -96,7 +96,7 @@ declare namespace cloudExtension { * @type { ServiceInfo } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ cloudInfo: ServiceInfo; @@ -106,7 +106,7 @@ declare namespace cloudExtension { * @type { Record } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ apps: Record; } @@ -117,7 +117,7 @@ declare namespace cloudExtension { * @interface ServiceInfo * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface ServiceInfo { /** @@ -127,7 +127,7 @@ declare namespace cloudExtension { * @type { boolean } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ enableCloud: boolean; @@ -137,7 +137,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ id: string; @@ -147,7 +147,7 @@ declare namespace cloudExtension { * @type { long } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ totalSpace: long; @@ -157,7 +157,7 @@ declare namespace cloudExtension { * @type { long } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ remainingSpace: long; @@ -167,7 +167,7 @@ declare namespace cloudExtension { * @type { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ user: int; } @@ -178,7 +178,7 @@ declare namespace cloudExtension { * @interface AppBriefInfo * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface AppBriefInfo { /** @@ -187,7 +187,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ appId: string; @@ -197,7 +197,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ bundleName: string; @@ -209,7 +209,7 @@ declare namespace cloudExtension { * @type { boolean } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ cloudSwitch: boolean; @@ -219,7 +219,7 @@ declare namespace cloudExtension { * @type { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ instanceId: int; } @@ -230,7 +230,7 @@ declare namespace cloudExtension { * @enum { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export enum FieldType { /** @@ -238,7 +238,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ NULL = 0, @@ -247,7 +247,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ NUMBER = 1, @@ -256,7 +256,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ REAL = 2, @@ -265,7 +265,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ TEXT = 3, @@ -274,7 +274,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ BOOL = 4, @@ -283,7 +283,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ BLOB = 5, @@ -292,7 +292,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ ASSET = 6, @@ -301,7 +301,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ ASSETS = 7 } @@ -312,7 +312,7 @@ declare namespace cloudExtension { * @interface Field * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface Field { /** @@ -321,7 +321,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ alias: string; @@ -331,7 +331,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ colName: string; @@ -341,7 +341,7 @@ declare namespace cloudExtension { * @type { FieldType } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ type: FieldType; @@ -351,7 +351,7 @@ declare namespace cloudExtension { * @type { boolean } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ primary: boolean; @@ -361,7 +361,7 @@ declare namespace cloudExtension { * @type { boolean } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ nullable: boolean; } @@ -372,7 +372,7 @@ declare namespace cloudExtension { * @interface Table * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface Table { /** @@ -381,7 +381,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ alias: string; @@ -391,7 +391,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ name: string; @@ -401,7 +401,7 @@ declare namespace cloudExtension { * @type { Array } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ fields: Array; } @@ -412,7 +412,7 @@ declare namespace cloudExtension { * @interface Database * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface Database { /** @@ -421,7 +421,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ name: string; @@ -431,7 +431,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ alias: string; @@ -441,7 +441,7 @@ declare namespace cloudExtension { * @type { Array } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ tables: Array
; } @@ -452,7 +452,7 @@ declare namespace cloudExtension { * @interface AppSchema * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface AppSchema { @@ -462,7 +462,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ bundleName: string; @@ -472,7 +472,7 @@ declare namespace cloudExtension { * @type { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ version: int; @@ -482,7 +482,7 @@ declare namespace cloudExtension { * @type { Array } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ databases: Array; } @@ -493,7 +493,7 @@ declare namespace cloudExtension { * @interface CloudData * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface CloudData { /** @@ -502,7 +502,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ nextCursor: string; @@ -512,7 +512,7 @@ declare namespace cloudExtension { * @type { boolean } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ hasMore: boolean; @@ -523,7 +523,7 @@ declare namespace cloudExtension { * @type { Array> } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ values: Array>; } @@ -534,7 +534,7 @@ declare namespace cloudExtension { * @interface SubscribeInfo * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface SubscribeInfo { /** @@ -543,7 +543,7 @@ declare namespace cloudExtension { * @type { long } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ expirationTime: long; @@ -553,7 +553,7 @@ declare namespace cloudExtension { * @type { Record> } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ subscribe: Record>; } @@ -564,7 +564,7 @@ declare namespace cloudExtension { * @interface SubscribeId * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface SubscribeId { /** @@ -573,7 +573,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ databaseAlias: string; @@ -583,7 +583,7 @@ declare namespace cloudExtension { * @type { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ id: string; } @@ -594,7 +594,7 @@ declare namespace cloudExtension { * @enum { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export enum Flag { /** @@ -602,7 +602,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ INSERT = 0, @@ -611,7 +611,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ UPDATE = 1, @@ -620,7 +620,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ DELETE = 2 } @@ -631,7 +631,7 @@ declare namespace cloudExtension { * @interface ExtensionValue * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface ExtensionValue { /** @@ -643,7 +643,7 @@ declare namespace cloudExtension { * @readonly * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ readonly id: string; @@ -654,7 +654,7 @@ declare namespace cloudExtension { * @readonly * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ readonly createTime: long; @@ -665,7 +665,7 @@ declare namespace cloudExtension { * @readonly * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ readonly modifyTime: long @@ -676,7 +676,7 @@ declare namespace cloudExtension { * @readonly * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ readonly operation: Flag; } @@ -687,7 +687,7 @@ declare namespace cloudExtension { * @interface LockInfo * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface LockInfo { /** @@ -696,7 +696,7 @@ declare namespace cloudExtension { * @type { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ interval: int; @@ -706,7 +706,7 @@ declare namespace cloudExtension { * @type { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ lockId: int; } @@ -717,7 +717,7 @@ declare namespace cloudExtension { * @enum { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export enum ErrorCode { /** @@ -725,7 +725,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ SUCCESS = 0, @@ -734,7 +734,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ UNKNOWN_ERROR = 1, @@ -743,7 +743,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ NETWORK_ERROR = 2, @@ -752,7 +752,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ CLOUD_DISABLED = 3, @@ -761,7 +761,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ LOCKED_BY_OTHERS = 4, @@ -770,7 +770,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ RECORD_LIMIT_EXCEEDED = 5, @@ -779,7 +779,7 @@ declare namespace cloudExtension { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ NO_SPACE_FOR_ASSET = 6 } @@ -790,7 +790,7 @@ declare namespace cloudExtension { * @interface Result * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface Result { /** @@ -799,7 +799,7 @@ declare namespace cloudExtension { * @type { int } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ code: int; @@ -809,7 +809,7 @@ declare namespace cloudExtension { * @type { ?string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ description?: string; @@ -819,7 +819,7 @@ declare namespace cloudExtension { * @type { ?T } * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ value?: T; } @@ -831,7 +831,7 @@ declare namespace cloudExtension { * @returns { Promise } Returns remote object. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ function createShareServiceStub(instance: ShareCenter): Promise; @@ -842,7 +842,7 @@ declare namespace cloudExtension { * @returns { Promise } Returns the remote object. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ function createCloudServiceStub(instance: CloudService): Promise; @@ -853,7 +853,7 @@ declare namespace cloudExtension { * @returns { Promise } Returns the remote object. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ function createCloudDBStub(instance: CloudDB): Promise; @@ -864,7 +864,7 @@ declare namespace cloudExtension { * @returns { Promise } Returns remote object. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ function createAssetLoaderStub(instance: AssetLoader): Promise; @@ -874,7 +874,7 @@ declare namespace cloudExtension { * @interface CloudDB * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface CloudDB { /** @@ -885,7 +885,7 @@ declare namespace cloudExtension { * @returns { Promise>> } Returns the IDs generated. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ generateId(count: int): Promise>>; @@ -899,7 +899,7 @@ declare namespace cloudExtension { * @returns { Promise>>> } Returns the insert result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ insert( table: string, @@ -917,7 +917,7 @@ declare namespace cloudExtension { * @returns { Promise>>> } Returns the update result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ update( table: string, @@ -934,7 +934,7 @@ declare namespace cloudExtension { * @returns { Promise>>> } Returns the delete result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ delete( table: string, @@ -952,7 +952,7 @@ declare namespace cloudExtension { * @returns { Promise> } Returns the query result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ query(table: string, fields: Array, queryCount: int, queryCursor: string): Promise>; @@ -965,7 +965,7 @@ declare namespace cloudExtension { * @returns { Promise> } Returns the locked information. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ lock(): Promise>; @@ -976,7 +976,7 @@ declare namespace cloudExtension { * @returns { Promise> } Returns the time. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ heartbeat(lockId: int): Promise>; @@ -987,7 +987,7 @@ declare namespace cloudExtension { * @returns { Promise> } Returns the unlock result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ unlock(lockId: int): Promise>; } @@ -998,7 +998,7 @@ declare namespace cloudExtension { * @interface AssetLoader * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface AssetLoader { /** @@ -1011,7 +1011,7 @@ declare namespace cloudExtension { * @returns { Promise>> } Returns the asset download result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ download(table: string, gid: string, prefix: string, assets: Array): Promise>>; @@ -1024,7 +1024,7 @@ declare namespace cloudExtension { * @returns { Promise>> } Returns the asset upload result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ upload(table: string, gid: string, assets: Array): Promise>>; } @@ -1035,7 +1035,7 @@ declare namespace cloudExtension { * @interface ShareCenter * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface ShareCenter { /** @@ -1048,7 +1048,7 @@ declare namespace cloudExtension { * @returns { Promise>>> } Returns the sharing result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ share( userId: int, @@ -1067,7 +1067,7 @@ declare namespace cloudExtension { * @returns { Promise>>> } Returns the sharing result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ unshare( userId: int, @@ -1085,7 +1085,7 @@ declare namespace cloudExtension { * @returns { Promise> } Returns the exit result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ exit(userId: int, bundleName: string, sharingResource: string): Promise>; @@ -1099,7 +1099,7 @@ declare namespace cloudExtension { * @returns { Promise>>> } Returns the changing result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ changePrivilege( userId: int, @@ -1117,7 +1117,7 @@ declare namespace cloudExtension { * @returns { Promise>> } Returns the query result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ queryParticipants( userId: int, @@ -1134,7 +1134,7 @@ declare namespace cloudExtension { * @returns { Promise>> } Returns the query result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ queryParticipantsByInvitation( userId: int, @@ -1152,7 +1152,7 @@ declare namespace cloudExtension { * @returns { Promise> } Returns the sharing resource. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ confirmInvitation( userId: int, @@ -1171,7 +1171,7 @@ declare namespace cloudExtension { * @returns { Promise> } Returns the change result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ changeConfirmation( userId: int, @@ -1187,7 +1187,7 @@ declare namespace cloudExtension { * @interface CloudService * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ export interface CloudService { /** @@ -1196,7 +1196,7 @@ declare namespace cloudExtension { * @returns { Promise } Returns the service information obtained. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ getServiceInfo(): Promise; @@ -1208,7 +1208,7 @@ declare namespace cloudExtension { * AppBriefInfo. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ getAppBriefInfo(): Promise>; @@ -1219,7 +1219,7 @@ declare namespace cloudExtension { * @returns { Promise> } Returns AppSchema. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ getAppSchema(bundleName: string): Promise>; @@ -1236,7 +1236,7 @@ declare namespace cloudExtension { * @returns { Promise> } Returns SubscribeInfo. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ subscribe( subInfo: Record>, @@ -1252,7 +1252,7 @@ declare namespace cloudExtension { * @returns { Promise } Returns unsubscribeInfo result. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ unsubscribe(unsubscribeInfo: Record>): Promise; @@ -1264,7 +1264,7 @@ declare namespace cloudExtension { * @returns { Promise } Returns connectDB RemoteObject. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ connectDB(bundleName: string, database: Database): Promise; @@ -1276,7 +1276,7 @@ declare namespace cloudExtension { * @returns { Promise } Returns connectAssetLoader RemoteObject. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ connectAssetLoader(bundleName: string, database: Database): Promise; @@ -1288,7 +1288,7 @@ declare namespace cloudExtension { * @returns { Promise } Returns shareCenter RemoteObject. * @syscap SystemCapability.DistributedDataManager.CloudSync.Server * @systemapi - * @since 11 + * @since 11 dynamic */ connectShareCenter(userId: int, bundleName: string): Promise; } diff --git a/api/@ohos.data.commonType.d.ts b/api/@ohos.data.commonType.d.ts index cb99620242..055e24e44d 100644 --- a/api/@ohos.data.commonType.d.ts +++ b/api/@ohos.data.commonType.d.ts @@ -24,7 +24,7 @@ * @namespace commonType * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ declare namespace commonType { /** @@ -33,7 +33,7 @@ declare namespace commonType { * @enum { number } * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ enum AssetStatus { /** @@ -41,7 +41,7 @@ declare namespace commonType { * * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ ASSET_NORMAL, @@ -50,7 +50,7 @@ declare namespace commonType { * * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ ASSET_INSERT, @@ -59,7 +59,7 @@ declare namespace commonType { * * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ ASSET_UPDATE, @@ -68,7 +68,7 @@ declare namespace commonType { * * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ ASSET_DELETE, @@ -77,7 +77,7 @@ declare namespace commonType { * * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ ASSET_ABNORMAL, @@ -86,7 +86,7 @@ declare namespace commonType { * * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ ASSET_DOWNLOADING } @@ -97,7 +97,7 @@ declare namespace commonType { * @interface Asset * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ interface Asset { /** @@ -105,7 +105,7 @@ declare namespace commonType { * @type { string } * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ name: string; @@ -115,7 +115,7 @@ declare namespace commonType { * @type { string } * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ uri: string; @@ -125,7 +125,7 @@ declare namespace commonType { * @type { string } * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ path: string; @@ -135,7 +135,7 @@ declare namespace commonType { * @type { string } * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ createTime: string; @@ -145,7 +145,7 @@ declare namespace commonType { * @type { string } * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ modifyTime: string; @@ -155,7 +155,7 @@ declare namespace commonType { * @type { string } * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ size: string; @@ -165,7 +165,7 @@ declare namespace commonType { * @type { ?AssetStatus } * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ status?: AssetStatus; } @@ -176,7 +176,7 @@ declare namespace commonType { * @typedef { Array } * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ type Assets = Array; @@ -186,7 +186,7 @@ declare namespace commonType { * @typedef { null | number | string | boolean | Uint8Array | Asset | Assets } * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ type ValueType = null | number | string | boolean | Uint8Array | Asset | Assets; @@ -196,7 +196,7 @@ declare namespace commonType { * @typedef { Record } * @syscap SystemCapability.DistributedDataManager.CommonType * @crossplatform - * @since 11 + * @since 11 dynamic */ type ValuesBucket = Record; } diff --git a/api/@ohos.data.dataAbility.d.ts b/api/@ohos.data.dataAbility.d.ts index b1fb0324bb..60fa5a897e 100644 --- a/api/@ohos.data.dataAbility.d.ts +++ b/api/@ohos.data.dataAbility.d.ts @@ -26,7 +26,7 @@ import rdb from './@ohos.data.rdb'; * * @namespace dataAbility * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ declare namespace dataAbility { /** @@ -37,7 +37,7 @@ declare namespace dataAbility { * @param { DataAbilityPredicates } dataAbilityPredicates - Indicates the dataAbility predicates. * @returns { rdb.RdbPredicates } Returns an RdbPredicates. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ function createRdbPredicates(name: string, dataAbilityPredicates: DataAbilityPredicates): rdb.RdbPredicates; @@ -45,7 +45,7 @@ declare namespace dataAbility { * Manages relational database configurations. * * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ class DataAbilityPredicates { /** @@ -57,7 +57,7 @@ declare namespace dataAbility { * @param { ValueType } value - Indicates the value to match with the DataAbilityPredicates. * @returns { DataAbilityPredicates } Returns the DataAbilityPredicates that match the specified field. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ equalTo(field: string, value: ValueType): DataAbilityPredicates; @@ -72,7 +72,7 @@ declare namespace dataAbility { * @param { ValueType } value - Indicates the value to match with the DataAbilityPredicates. * @returns { DataAbilityPredicates } Returns the DataAbilityPredicates that match the specified field. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ notEqualTo(field: string, value: ValueType): DataAbilityPredicates; @@ -82,7 +82,7 @@ declare namespace dataAbility { * * @returns { DataAbilityPredicates } Returns the DataAbilityPredicates with the left parenthesis. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ beginWrap(): DataAbilityPredicates; @@ -93,7 +93,7 @@ declare namespace dataAbility { * * @returns { DataAbilityPredicates } Returns the DataAbilityPredicates with the right parenthesis. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ endWrap(): DataAbilityPredicates; @@ -103,7 +103,7 @@ declare namespace dataAbility { * * @returns { DataAbilityPredicates } Returns the DataAbilityPredicates with the or condition. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ or(): DataAbilityPredicates; @@ -113,7 +113,7 @@ declare namespace dataAbility { * * @returns { DataAbilityPredicates } Returns the DataAbilityPredicates with the and condition. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ and(): DataAbilityPredicates; @@ -126,7 +126,7 @@ declare namespace dataAbility { * @param { string } value - Indicates the value to match with the DataAbilityPredicates. * @returns { DataAbilityPredicates } Returns the DataAbilityPredicates that match the specified field. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ contains(field: string, value: string): DataAbilityPredicates; @@ -139,7 +139,7 @@ declare namespace dataAbility { * @param { string } value - Indicates the value to match with the DataAbilityPredicates. * @returns { DataAbilityPredicates } Returns the DataAbilityPredicates that match the specified field. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ beginsWith(field: string, value: string): DataAbilityPredicates; @@ -152,7 +152,7 @@ declare namespace dataAbility { * @param { string } value - Indicates the value to match with the DataAbilityPredicates. * @returns { DataAbilityPredicates } Returns the DataAbilityPredicates that match the specified field. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ endsWith(field: string, value: string): DataAbilityPredicates; @@ -163,7 +163,7 @@ declare namespace dataAbility { * @param { string } field - Indicates the column name in the database table. * @returns { DataAbilityPredicates } Returns the DataAbilityPredicates that match the specified field. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ isNull(field: string): DataAbilityPredicates; @@ -174,7 +174,7 @@ declare namespace dataAbility { * @param { string } field - Indicates the column name in the database table. * @returns { DataAbilityPredicates } Returns the DataAbilityPredicates that match the specified field. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ isNotNull(field: string): DataAbilityPredicates; @@ -188,7 +188,7 @@ declare namespace dataAbility { * in the value is a wildcard (like * in a regular expression). * @returns { DataAbilityPredicates } Returns the DataAbilityPredicates that match the specified field. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ like(field: string, value: string): DataAbilityPredicates; @@ -200,7 +200,7 @@ declare namespace dataAbility { * @param { string } value - Indicates the value to match with DataAbilityPredicates. * @returns { DataAbilityPredicates } Returns the SQL statement with the specified DataAbilityPredicates. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ glob(field: string, value: string): DataAbilityPredicates; @@ -212,7 +212,7 @@ declare namespace dataAbility { * @param { ValueType } high - Indicates the maximum value. * @returns { DataAbilityPredicates } Returns the SQL query statement with the specified DataAbilityPredicates. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ between(field: string, low: ValueType, high: ValueType): DataAbilityPredicates; @@ -225,7 +225,7 @@ declare namespace dataAbility { * @param { ValueType } high - Indicates the maximum value to match with DataAbilityPredicates}. * @returns { DataAbilityPredicates } Returns the SQL query statement with the specified DataAbilityPredicates. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ notBetween(field: string, low: ValueType, high: ValueType): DataAbilityPredicates; @@ -236,7 +236,7 @@ declare namespace dataAbility { * @param { ValueType } value - Indicates the String field. * @returns { DataAbilityPredicates } Returns the SQL query statement with the specified DataAbilityPredicates. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ greaterThan(field: string, value: ValueType): DataAbilityPredicates; @@ -247,7 +247,7 @@ declare namespace dataAbility { * @param { ValueType } value - Indicates the String field. * @returns { DataAbilityPredicates } Returns the SQL query statement with the specified DataAbilityPredicates. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ lessThan(field: string, value: ValueType): DataAbilityPredicates; @@ -258,7 +258,7 @@ declare namespace dataAbility { * @param { ValueType } value - Indicates the String field. * @returns { DataAbilityPredicates } Returns the SQL query statement with the specified DataAbilityPredicates. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ greaterThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates; @@ -269,7 +269,7 @@ declare namespace dataAbility { * @param { ValueType } value - Indicates the String field. * @returns { DataAbilityPredicates } Returns the SQL query statement with the specified DataAbilityPredicates. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ lessThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates; @@ -280,7 +280,7 @@ declare namespace dataAbility { * @param { string } field - Indicates the column name for sorting the return list. * @returns { DataAbilityPredicates } Returns the SQL query statement with the specified DataAbilityPredicates. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ orderByAsc(field: string): DataAbilityPredicates; @@ -291,7 +291,7 @@ declare namespace dataAbility { * @param { string } field - Indicates the column name for sorting the return list. * @returns { DataAbilityPredicates } Returns the SQL query statement with the specified DataAbilityPredicates. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ orderByDesc(field: string): DataAbilityPredicates; @@ -300,7 +300,7 @@ declare namespace dataAbility { * * @returns { DataAbilityPredicates } Returns the SQL query statement with the specified DataAbilityPredicates. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ distinct(): DataAbilityPredicates; @@ -310,7 +310,7 @@ declare namespace dataAbility { * @param { number } value - Indicates the max length of the return list. * @returns { DataAbilityPredicates } Returns the SQL query statement with the specified DataAbilityPredicates. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ limitAs(value: number): DataAbilityPredicates; @@ -321,7 +321,7 @@ declare namespace dataAbility { * @param { number } rowOffset - Indicates the start position of the returned result. The value is a positive integer. * @returns { DataAbilityPredicates } Returns the SQL query statement with the specified AbsPredicates. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ offsetAs(rowOffset: number): DataAbilityPredicates; @@ -332,7 +332,7 @@ declare namespace dataAbility { * @returns { DataAbilityPredicates } Returns the DataAbilityPredicates with the specified columns by which query * results are grouped. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ groupBy(fields: Array): DataAbilityPredicates; @@ -343,7 +343,7 @@ declare namespace dataAbility { * @param { string } field - Indicates the name of the index column. * @returns { DataAbilityPredicates } Returns DataAbilityPredicates with the specified index column. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ indexedBy(field: string): DataAbilityPredicates; @@ -355,7 +355,7 @@ declare namespace dataAbility { * @param { Array } value - Indicates the values to match with DataAbilityPredicates. * @returns { DataAbilityPredicates } Returns DataAbilityPredicates that matches the specified field. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ in(field: string, value: Array): DataAbilityPredicates; @@ -367,7 +367,7 @@ declare namespace dataAbility { * @param { Array } value - Indicates the values to match with DataAbilityPredicates. * @returns { DataAbilityPredicates } Returns DataAbilityPredicates that matches the specified field. * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ notIn(field: string, value: Array): DataAbilityPredicates; } @@ -376,7 +376,7 @@ declare namespace dataAbility { * * @typedef { number | string | boolean } * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @since 7 + * @since 7 dynamic */ type ValueType = number | string | boolean; } diff --git a/api/@ohos.data.dataShare.d.ts b/api/@ohos.data.dataShare.d.ts index f352e1346d..2b55c8e27a 100644 --- a/api/@ohos.data.dataShare.d.ts +++ b/api/@ohos.data.dataShare.d.ts @@ -40,8 +40,7 @@ import { ValuesBucket, ValueType } from './@ohos.data.ValuesBucket'; * @namespace dataShare * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ declare namespace dataShare { /** @@ -51,8 +50,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface DataShareHelperOptions { /** @@ -64,8 +63,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ isProxy?: boolean; /** @@ -76,8 +75,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ waitTime?: number; } @@ -109,8 +108,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function createDataShareHelper(context: Context, uri: string, callback: AsyncCallback): void; /** @@ -142,8 +141,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function createDataShareHelper( context: Context, @@ -195,8 +194,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function createDataShareHelper( context: Context, @@ -231,8 +230,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function enableSilentProxy(context: Context, uri?: string): Promise; @@ -263,8 +262,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function disableSilentProxy(context: Context, uri?: string): Promise; @@ -277,8 +276,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface TemplateId { /** @@ -289,8 +288,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ subscriberId: string; /** @@ -301,8 +300,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ bundleNameOfOwner: string; } @@ -314,8 +313,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface PublishedItem { /** @@ -325,8 +324,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ key: string; /** @@ -337,8 +336,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ data: string | ArrayBuffer; /** @@ -348,8 +347,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ subscriberId: string; } @@ -361,8 +360,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface RdbDataChangeNode { /** @@ -372,8 +371,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ uri: string; /** @@ -383,8 +382,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ templateId: TemplateId; /** @@ -396,8 +395,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ data: Array; } @@ -409,8 +408,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface PublishedDataChangeNode { /** @@ -420,8 +419,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ bundleName: string; /** @@ -431,8 +430,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ data: Array; } @@ -444,8 +443,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface Template { /** @@ -468,8 +467,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ predicates: Record; @@ -481,8 +480,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ scheduler: string; @@ -494,8 +493,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ update?: string; } @@ -506,8 +505,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface OperationResult { /** @@ -517,8 +516,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ key: string; @@ -529,8 +528,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ result: number; } @@ -542,7 +541,7 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ interface UpdateOperation { /** @@ -552,7 +551,7 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ values: ValuesBucket; @@ -563,7 +562,7 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ predicates: dataSharePredicates.DataSharePredicates; } @@ -584,8 +583,7 @@ declare namespace dataShare { * @enum { number } * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum ChangeType { /** @@ -602,8 +600,7 @@ declare namespace dataShare { * * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ INSERT = 0, @@ -621,8 +618,7 @@ declare namespace dataShare { * * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DELETE, /** @@ -639,8 +635,7 @@ declare namespace dataShare { * * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ UPDATE } @@ -651,8 +646,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum SubscriptionType { /** @@ -661,8 +656,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SUBSCRIPTION_TYPE_EXACT_URI = 0, } @@ -674,8 +669,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ChangeInfo { /** @@ -685,8 +680,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type: ChangeType; @@ -697,8 +692,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ uri: string; /** @@ -708,8 +703,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ values: Array; } @@ -721,8 +716,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface DataShareHelper { /** @@ -749,8 +744,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'dataChange', uri: string, callback: AsyncCallback): void; @@ -778,8 +773,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'dataChange', uri: string, callback?: AsyncCallback): void; /** @@ -796,8 +791,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(event: 'dataChange', type:SubscriptionType, uri: string, callback: AsyncCallback): void; @@ -815,8 +810,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(event: 'dataChange', type:SubscriptionType, uri: string, callback?: AsyncCallback): void; @@ -848,8 +843,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ addTemplate(uri: string, subscriberId: string, template: Template): void; @@ -879,8 +874,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ delTemplate(uri: string, subscriberId: string): void; @@ -914,8 +909,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on( type: 'rdbDataChange', @@ -954,8 +949,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off( type: 'rdbDataChange', @@ -994,8 +989,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on( type: 'publishedDataChange', @@ -1034,8 +1029,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off( type: 'publishedDataChange', @@ -1074,8 +1069,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ publish( data: Array, @@ -1112,8 +1107,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ publish( data: Array, @@ -1151,8 +1146,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ publish(data: Array, bundleName: string, version?: number): Promise>; @@ -1182,7 +1177,7 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ getPublishedData(bundleName: string, callback: AsyncCallback>): void; @@ -1212,7 +1207,7 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ getPublishedData(bundleName: string): Promise>; @@ -1244,8 +1239,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ insert(uri: string, value: ValuesBucket, callback: AsyncCallback): void; @@ -1277,8 +1272,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ insert(uri: string, value: ValuesBucket): Promise; @@ -1310,8 +1305,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ delete(uri: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void; @@ -1343,8 +1338,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ delete(uri: string, predicates: dataSharePredicates.DataSharePredicates): Promise; @@ -1380,8 +1375,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ query( uri: string, @@ -1422,8 +1417,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ query( uri: string, @@ -1461,8 +1456,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ update( uri: string, @@ -1501,8 +1496,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ update(uri: string, predicates: dataSharePredicates.DataSharePredicates, value: ValuesBucket): Promise; @@ -1520,7 +1515,7 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ batchUpdate(operations: Record>): Promise>>; @@ -1550,8 +1545,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ batchInsert(uri: string, values: Array, callback: AsyncCallback): void; @@ -1581,8 +1576,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ batchInsert(uri: string, values: Array): Promise; @@ -1618,7 +1613,7 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ normalizeUri(uri: string, callback: AsyncCallback): void; @@ -1652,7 +1647,7 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ normalizeUri(uri: string): Promise; @@ -1684,7 +1679,7 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ denormalizeUri(uri: string, callback: AsyncCallback): void; @@ -1716,7 +1711,7 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ denormalizeUri(uri: string): Promise; @@ -1741,7 +1736,7 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ notifyChange(uri: string, callback: AsyncCallback): void; @@ -1766,7 +1761,7 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ notifyChange(uri: string): Promise; @@ -1782,7 +1777,7 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since 12 + * @since 12 dynamic */ notifyChange(data: ChangeInfo): Promise; @@ -1807,8 +1802,8 @@ declare namespace dataShare { * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @systemapi * @stagemodelonly - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ close(): Promise; } @@ -1821,7 +1816,7 @@ declare namespace dataShare { * restarted abnormally. * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ function createDataProxyHandle(): Promise; @@ -1831,7 +1826,7 @@ declare namespace dataShare { * @interface ProxyData * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ interface ProxyData { /** @@ -1840,7 +1835,7 @@ declare namespace dataShare { * @type { string } * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ uri: string; @@ -1852,7 +1847,7 @@ declare namespace dataShare { * @type { ?ValueType } * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ value?: ValueType; @@ -1866,7 +1861,7 @@ declare namespace dataShare { * @type { ?string[] } * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ allowList?: string[]; } @@ -1877,7 +1872,7 @@ declare namespace dataShare { * @interface DataProxyChangeInfo * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ interface DataProxyChangeInfo { /** @@ -1886,7 +1881,7 @@ declare namespace dataShare { * @type { ChangeType } * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ type: ChangeType; @@ -1896,7 +1891,7 @@ declare namespace dataShare { * @type { string } * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ uri: string; @@ -1906,7 +1901,7 @@ declare namespace dataShare { * @type { ValueType } * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ value: ValueType; } @@ -1917,7 +1912,7 @@ declare namespace dataShare { * @enum { number } DataProxyErrorCode * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ enum DataProxyErrorCode { /** @@ -1925,7 +1920,7 @@ declare namespace dataShare { * * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ SUCCESS = 0, @@ -1934,7 +1929,7 @@ declare namespace dataShare { * * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ URI_NOT_EXIST = 1, @@ -1943,7 +1938,7 @@ declare namespace dataShare { * * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ NO_PERMISSION = 2, @@ -1952,7 +1947,7 @@ declare namespace dataShare { * * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ OVER_LIMIT = 3 } @@ -1963,7 +1958,7 @@ declare namespace dataShare { * @interface DataProxyResult * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ interface DataProxyResult { /** @@ -1972,7 +1967,7 @@ declare namespace dataShare { * @type { string } * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ uri: string; @@ -1981,7 +1976,7 @@ declare namespace dataShare { * @type { DataProxyErrorCode } * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ result: DataProxyErrorCode; } @@ -1992,7 +1987,7 @@ declare namespace dataShare { * @interface DataProxyGetResult * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ interface DataProxyGetResult { /** @@ -2001,7 +1996,7 @@ declare namespace dataShare { * @type { string } * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ uri: string; @@ -2011,7 +2006,7 @@ declare namespace dataShare { * @type { DataProxyErrorCode } * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ result: DataProxyErrorCode; @@ -2022,7 +2017,7 @@ declare namespace dataShare { * @type { ValueType | undefined } * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ value: ValueType | undefined; @@ -2034,7 +2029,7 @@ declare namespace dataShare { * @type { string[] | undefined} * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ allowList: string[] | undefined; } @@ -2045,7 +2040,7 @@ declare namespace dataShare { * @enum { number } DataProxyType * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ enum DataProxyType { /** @@ -2053,7 +2048,7 @@ declare namespace dataShare { * * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ SHARED_CONFIG = 0 } @@ -2064,7 +2059,7 @@ declare namespace dataShare { * @interface DataProxyConfig * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ interface DataProxyConfig { /** @@ -2073,7 +2068,7 @@ declare namespace dataShare { * @type { DataProxyType } * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ type: DataProxyType; } @@ -2084,7 +2079,7 @@ declare namespace dataShare { * @interface DataProxyHandle * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ interface DataProxyHandle { /** @@ -2099,7 +2094,7 @@ declare namespace dataShare { * restarted abnormally. * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ on( event: 'dataChange', @@ -2120,7 +2115,7 @@ declare namespace dataShare { * restarted abnormally. * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ off( event: 'dataChange', @@ -2142,7 +2137,7 @@ declare namespace dataShare { * restarted abnormally. * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ publish(data: ProxyData[], config: DataProxyConfig): Promise; @@ -2157,7 +2152,7 @@ declare namespace dataShare { * restarted abnormally. * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ delete(uris: string[], config: DataProxyConfig): Promise; @@ -2172,7 +2167,7 @@ declare namespace dataShare { * restarted abnormally. * @syscap SystemCapability.DistributedDataManager.DataShare.Consumer * @stagemodelonly - * @since 20 + * @since 20 dynamic */ get(uris: string[], config: DataProxyConfig): Promise; } diff --git a/api/@ohos.data.dataSharePredicates.d.ts b/api/@ohos.data.dataSharePredicates.d.ts index bde408b8a9..6484db95bb 100644 --- a/api/@ohos.data.dataSharePredicates.d.ts +++ b/api/@ohos.data.dataSharePredicates.d.ts @@ -45,8 +45,7 @@ import { ValueType } from './@ohos.data.ValuesBucket'; * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ declare namespace dataSharePredicates { /** @@ -75,8 +74,7 @@ declare namespace dataSharePredicates { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ class DataSharePredicates { /** @@ -119,8 +117,7 @@ declare namespace dataSharePredicates { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ equalTo(field: string, value: ValueType): DataSharePredicates; @@ -136,8 +133,8 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ notEqualTo(field: string, value: ValueType): DataSharePredicates; @@ -150,8 +147,8 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ beginWrap(): DataSharePredicates; @@ -165,8 +162,8 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ endWrap(): DataSharePredicates; @@ -179,8 +176,8 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ or(): DataSharePredicates; @@ -215,8 +212,7 @@ declare namespace dataSharePredicates { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ and(): DataSharePredicates; @@ -232,8 +228,8 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ contains(field: string, value: string): DataSharePredicates; @@ -249,7 +245,7 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ beginsWith(field: string, value: string): DataSharePredicates; @@ -265,7 +261,7 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ endsWith(field: string, value: string): DataSharePredicates; @@ -279,8 +275,8 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ isNull(field: string): DataSharePredicates; @@ -294,8 +290,8 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ isNotNull(field: string): DataSharePredicates; @@ -312,8 +308,8 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ like(field: string, value: string): DataSharePredicates; @@ -330,7 +326,7 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ unlike(field: string, value: string): DataSharePredicates; @@ -346,7 +342,7 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ glob(field: string, value: string): DataSharePredicates; @@ -361,8 +357,8 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ between(field: string, low: ValueType, high: ValueType): DataSharePredicates; @@ -378,7 +374,7 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ notBetween(field: string, low: ValueType, high: ValueType): DataSharePredicates; @@ -392,8 +388,8 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ greaterThan(field: string, value: ValueType): DataSharePredicates; @@ -407,8 +403,8 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ lessThan(field: string, value: ValueType): DataSharePredicates; @@ -422,8 +418,8 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ greaterThanOrEqualTo(field: string, value: ValueType): DataSharePredicates; @@ -437,8 +433,8 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ lessThanOrEqualTo(field: string, value: ValueType): DataSharePredicates; @@ -476,8 +472,7 @@ declare namespace dataSharePredicates { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ orderByAsc(field: string): DataSharePredicates; @@ -515,8 +510,7 @@ declare namespace dataSharePredicates { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ orderByDesc(field: string): DataSharePredicates; @@ -528,7 +522,7 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ distinct(): DataSharePredicates; @@ -566,8 +560,7 @@ declare namespace dataSharePredicates { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ limit(total: number, offset: number): DataSharePredicates; @@ -580,8 +573,8 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ groupBy(fields: Array): DataSharePredicates; @@ -595,7 +588,7 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ indexedBy(field: string): DataSharePredicates; @@ -636,7 +629,7 @@ declare namespace dataSharePredicates { * @StageModelOnly * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ in(field: string, value: Array): DataSharePredicates; @@ -650,8 +643,7 @@ declare namespace dataSharePredicates { * @returns { DataSharePredicates } Returns DataSharePredicates that matches the specified field. * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ inValues(field: string, value: Array): DataSharePredicates; @@ -666,7 +658,7 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ notIn(field: string, value: Array): DataSharePredicates; @@ -681,8 +673,7 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @stagemodelonly - * @since 20 - * @arkts 1.2 + * @since 20 static */ notInValues(field: string, value: Array): DataSharePredicates; @@ -695,7 +686,7 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ prefixKey(prefix: string): DataSharePredicates; @@ -708,7 +699,7 @@ declare namespace dataSharePredicates { * @syscap SystemCapability.DistributedDataManager.DataShare.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ inKeys(keys: Array): DataSharePredicates; } diff --git a/api/@ohos.data.distributedData.d.ts b/api/@ohos.data.distributedData.d.ts index c68a135f1c..41f42ac324 100644 --- a/api/@ohos.data.distributedData.d.ts +++ b/api/@ohos.data.distributedData.d.ts @@ -25,7 +25,7 @@ import { AsyncCallback, Callback } from './@ohos.base'; * * @namespace distributedData * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore */ @@ -34,7 +34,7 @@ declare namespace distributedData { * Provides configuration information for {@link KVManager} instances, * including the caller's package name and distributed network type. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVManagerConfig */ @@ -42,7 +42,7 @@ declare namespace distributedData { /** * Indicates the user information * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ userInfo: UserInfo; @@ -50,7 +50,7 @@ declare namespace distributedData { /** * Indicates the bundleName * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVManagerConfig#bundleName */ @@ -64,14 +64,14 @@ declare namespace distributedData { * and checking whether two users are the same. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ interface UserInfo { /** * Indicates the user ID to set * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ userId?: string; @@ -79,7 +79,7 @@ declare namespace distributedData { /** * Indicates the user type to set * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ userType?: UserType; @@ -89,14 +89,14 @@ declare namespace distributedData { * Enumerates user types. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ enum UserType { /** * Indicates a user that logs in to different devices using the same account. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ SAME_USER_ID = 0 @@ -107,7 +107,7 @@ declare namespace distributedData { * * @namespace Constants * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Constants */ @@ -115,7 +115,7 @@ declare namespace distributedData { /** * max key length. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Constants#MAX_KEY_LENGTH */ @@ -124,7 +124,7 @@ declare namespace distributedData { /** * max value length. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Constants#MAX_VALUE_LENGTH */ @@ -133,7 +133,7 @@ declare namespace distributedData { /** * max device coordinate key length. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Constants#MAX_KEY_LENGTH_DEVICEs */ @@ -142,7 +142,7 @@ declare namespace distributedData { /** * max store id length. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Constants#MAX_STORE_ID_LENGTH */ @@ -151,7 +151,7 @@ declare namespace distributedData { /** * max query length. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Constants#MAX_QUERY_LENGTH */ @@ -160,7 +160,7 @@ declare namespace distributedData { /** * max batch operation size. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Constants#MAX_BATCH_SIZE */ @@ -173,7 +173,7 @@ declare namespace distributedData { *

{@code ValueType} is obtained based on the value. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.ValueType */ @@ -181,7 +181,7 @@ declare namespace distributedData { /** * Indicates that the value type is string. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.ValueType#STRING */ @@ -190,7 +190,7 @@ declare namespace distributedData { /** * Indicates that the value type is int. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.ValueType#INTEGER */ @@ -199,7 +199,7 @@ declare namespace distributedData { /** * Indicates that the value type is float. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.ValueType#FLOAT */ @@ -208,7 +208,7 @@ declare namespace distributedData { /** * Indicates that the value type is byte array. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.ValueType#BYTE_ARRAY * */ @@ -217,7 +217,7 @@ declare namespace distributedData { /** * Indicates that the value type is boolean. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.ValueType#BOOLEAN * */ @@ -226,7 +226,7 @@ declare namespace distributedData { /** * Indicates that the value type is double. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.ValueType#DOUBLE */ @@ -237,7 +237,7 @@ declare namespace distributedData { * Obtains {@code Value} objects stored in a {@link KVStore} database. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Value */ @@ -248,7 +248,7 @@ declare namespace distributedData { * @see ValueType * @type {number} * @memberof Value - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Value#type */ @@ -256,7 +256,7 @@ declare namespace distributedData { /** * Indicates value * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Value#value */ @@ -267,7 +267,7 @@ declare namespace distributedData { * Provides key-value pairs stored in the distributed database. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Entry */ @@ -275,7 +275,7 @@ declare namespace distributedData { /** * Indicates key * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Entry#key */ @@ -283,7 +283,7 @@ declare namespace distributedData { /** * Indicates value * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Entry#value */ @@ -297,7 +297,7 @@ declare namespace distributedData { * from the parameters in callback methods upon data insertion, update, or deletion. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.ChangeNotification */ @@ -305,7 +305,7 @@ declare namespace distributedData { /** * Indicates data addition records. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.ChangeNotification#insertEntries */ @@ -313,7 +313,7 @@ declare namespace distributedData { /** * Indicates data update records. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.ChangeNotification#updateEntries */ @@ -321,7 +321,7 @@ declare namespace distributedData { /** * Indicates data deletion records. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.ChangeNotification#deleteEntries */ @@ -329,7 +329,7 @@ declare namespace distributedData { /** * Indicates from device id. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.ChangeNotification#deviceId */ @@ -340,7 +340,7 @@ declare namespace distributedData { * Indicates the database synchronization mode. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SyncMode */ @@ -348,7 +348,7 @@ declare namespace distributedData { /** * Indicates that data is only pulled from the remote end. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SyncMode#PULL_ONLY */ @@ -356,7 +356,7 @@ declare namespace distributedData { /** * Indicates that data is only pushed from the local end. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SyncMode#PUSH_ONLY */ @@ -364,7 +364,7 @@ declare namespace distributedData { /** * Indicates that data is pushed from the local end, and then pulled from the remote end. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SyncMode#PUSH_PULL */ @@ -375,7 +375,7 @@ declare namespace distributedData { * Describes the subscription type. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SubscribeType */ @@ -383,7 +383,7 @@ declare namespace distributedData { /** * Subscription to local data changes * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SubscribeType#SUBSCRIBE_TYPE_LOCAL */ @@ -392,7 +392,7 @@ declare namespace distributedData { /** * Subscription to remote data changes * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SubscribeType#SUBSCRIBE_TYPE_REMOTE */ @@ -401,7 +401,7 @@ declare namespace distributedData { /** * Subscription to both local and remote data changes * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SubscribeType#SUBSCRIBE_TYPE_ALL */ @@ -412,7 +412,7 @@ declare namespace distributedData { * Describes the {@code KVStore} type. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreType */ @@ -420,7 +420,7 @@ declare namespace distributedData { /** * Device-collaboration database, as specified by {@code DeviceKVStore} * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreType#DEVICE_COLLABORATION */ @@ -429,7 +429,7 @@ declare namespace distributedData { /** * Single-version database, as specified by {@code SingleKVStore} * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreType#SINGLE_VERSION */ @@ -438,7 +438,7 @@ declare namespace distributedData { /** * Multi-version database, as specified by {@code MultiKVStore} * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ MULTI_VERSION = 2, @@ -448,7 +448,7 @@ declare namespace distributedData { * Describes the {@code KVStore} type. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SecurityLevel */ @@ -457,7 +457,7 @@ declare namespace distributedData { * NO_LEVEL: mains not set the security level. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ NO_LEVEL = 0, @@ -467,7 +467,7 @@ declare namespace distributedData { * There is no impact even if the data is leaked. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ S0 = 1, @@ -477,7 +477,7 @@ declare namespace distributedData { * There are some low impact, when the data is leaked. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SecurityLevel#S1 */ @@ -488,7 +488,7 @@ declare namespace distributedData { * There are some major impact, when the data is leaked. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SecurityLevel#S2 */ @@ -499,7 +499,7 @@ declare namespace distributedData { * There are some severity impact, when the data is leaked. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SecurityLevel#S3 */ @@ -510,7 +510,7 @@ declare namespace distributedData { * There are some critical impact, when the data is leaked. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SecurityLevel#S4 */ @@ -524,7 +524,7 @@ declare namespace distributedData { * whether to encrypt the database, and the database type. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Options */ @@ -532,7 +532,7 @@ declare namespace distributedData { /** * Indicates whether to create a database when the database file does not exist * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Options#createIfMissing */ @@ -540,7 +540,7 @@ declare namespace distributedData { /** * Indicates setting whether database files are encrypted * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Options#encrypt */ @@ -548,7 +548,7 @@ declare namespace distributedData { /** * Indicates setting whether to back up database files * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Options#backup */ @@ -557,7 +557,7 @@ declare namespace distributedData { * Indicates setting whether database files are automatically synchronized * @permission ohos.permission.DISTRIBUTED_DATASYNC * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Options#autoSync */ @@ -565,7 +565,7 @@ declare namespace distributedData { /** * Indicates setting the database type * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Options#kvStoreType */ @@ -573,7 +573,7 @@ declare namespace distributedData { /** * Indicates setting the database security level * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Options#securityLevel */ @@ -581,7 +581,7 @@ declare namespace distributedData { /** * Indicates schema object * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Options#schema */ @@ -594,7 +594,7 @@ declare namespace distributedData { * You can create Schema objects and put them in Options when creating or opening the database. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Schema */ @@ -603,7 +603,7 @@ declare namespace distributedData { * A constructor used to create a Schema instance. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Schema#constructor */ @@ -613,7 +613,7 @@ declare namespace distributedData { * Indicates the root json object. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Schema#root */ @@ -622,7 +622,7 @@ declare namespace distributedData { * Indicates the string array of json. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Schema#indexes */ @@ -631,7 +631,7 @@ declare namespace distributedData { * Indicates the mode of schema. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Schema#mode */ @@ -640,7 +640,7 @@ declare namespace distributedData { * Indicates the skip size of schema. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Schema#skip */ @@ -657,7 +657,7 @@ declare namespace distributedData { *

The leaf node must have a value; the non-leaf node must have a child {@code FieldNode}. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.FieldNode */ @@ -667,7 +667,7 @@ declare namespace distributedData { * name Indicates the field node name. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.FieldNode#constructor */ @@ -681,7 +681,7 @@ declare namespace distributedData { * @param child The field node to append. * @returns Returns true if the child node is successfully added to this {@code FieldNode}; returns false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.FieldNode#appendChild */ @@ -691,7 +691,7 @@ declare namespace distributedData { * Indicates the default value of field node. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.FieldNode#default */ @@ -700,7 +700,7 @@ declare namespace distributedData { * Indicates the nullable of database field. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.FieldNode#nullable */ @@ -709,7 +709,7 @@ declare namespace distributedData { * Indicates the type of value. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.FieldNode#type */ @@ -723,7 +723,7 @@ declare namespace distributedData { * methods for moving the data read position in the result set. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreResultSet */ @@ -733,7 +733,7 @@ declare namespace distributedData { * * @returns Returns the number of lines. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreResultSet#getCount */ @@ -744,7 +744,7 @@ declare namespace distributedData { * * @returns Returns the current read position. The read position starts with 0. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreResultSet#getPosition */ @@ -757,7 +757,7 @@ declare namespace distributedData { * * @returns Returns true if the operation succeeds; return false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreResultSet#moveToFirst */ @@ -770,7 +770,7 @@ declare namespace distributedData { * * @returns Returns true if the operation succeeds; return false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreResultSet#moveToLast */ @@ -783,7 +783,7 @@ declare namespace distributedData { * * @returns Returns true if the operation succeeds; return false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreResultSet#moveToNext */ @@ -796,7 +796,7 @@ declare namespace distributedData { * * @returns Returns true if the operation succeeds; return false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreResultSet#moveToPrevious */ @@ -812,7 +812,7 @@ declare namespace distributedData { * final position is invalid, false will be returned. * @returns Returns true if the operation succeeds; return false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreResultSet#move */ @@ -824,7 +824,7 @@ declare namespace distributedData { * @param position Indicates the absolute position. * @returns Returns true if the operation succeeds; return false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreResultSet#moveToPosition */ @@ -835,7 +835,7 @@ declare namespace distributedData { * * @returns Returns true if the read position is the first line; returns false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreResultSet#isFirst */ @@ -846,7 +846,7 @@ declare namespace distributedData { * * @returns Returns true if the read position is the last line; returns false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreResultSet#isLast */ @@ -857,7 +857,7 @@ declare namespace distributedData { * * @returns Returns true if the read position is before the first line; returns false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreResultSet#isBeforeFirst */ @@ -868,7 +868,7 @@ declare namespace distributedData { * * @returns Returns true if the read position is after the last line; returns false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreResultSet#isAfterLast */ @@ -879,7 +879,7 @@ declare namespace distributedData { * * @returns Returns a key-value pair. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVStoreResultSet#getEntry */ @@ -895,7 +895,7 @@ declare namespace distributedData { *

This class also provides methods for adding predicates to the {@code Query} instance. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query */ @@ -904,7 +904,7 @@ declare namespace distributedData { * A constructor used to create a Query instance. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#constructor */ @@ -915,7 +915,7 @@ declare namespace distributedData { * * @returns Returns the reset {@code Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#reset */ @@ -929,7 +929,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#equalTo */ @@ -943,7 +943,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#notEqualTo */ @@ -958,7 +958,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#greaterThan */ @@ -972,7 +972,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#lessThan */ @@ -987,7 +987,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#greaterThanOrEqualTo */ @@ -1002,7 +1002,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#lessThanOrEqualTo */ @@ -1015,7 +1015,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#isNull */ @@ -1029,7 +1029,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#inNumber */ @@ -1043,7 +1043,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#inString */ @@ -1057,7 +1057,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#notInNumber */ @@ -1071,7 +1071,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#notInString */ @@ -1085,7 +1085,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#like */ @@ -1099,7 +1099,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#unlike */ @@ -1112,7 +1112,7 @@ declare namespace distributedData { * * @returns Returns the {@coed Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#and */ @@ -1125,7 +1125,7 @@ declare namespace distributedData { * * @returns Returns the {@coed Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#or */ @@ -1138,7 +1138,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#orderByAsc */ @@ -1151,7 +1151,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#orderByDesc */ @@ -1164,7 +1164,7 @@ declare namespace distributedData { * @param offset Indicates the start position. * @returns Returns the {@coed Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#limit */ @@ -1177,7 +1177,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#isNotNull */ @@ -1191,7 +1191,7 @@ declare namespace distributedData { * * @returns Returns the {@coed Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#beginGroup */ @@ -1205,7 +1205,7 @@ declare namespace distributedData { * * @returns Returns the {@coed Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#endGroup */ @@ -1218,7 +1218,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#prefixKey */ @@ -1231,7 +1231,7 @@ declare namespace distributedData { * @returns Returns the {@coed Query} object. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#setSuggestIndex */ @@ -1244,7 +1244,7 @@ declare namespace distributedData { * @returns Returns the {@code Query} object with device ID prefix added. * @throws Throws this exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#deviceId */ @@ -1258,7 +1258,7 @@ declare namespace distributedData { * * @returns String representing this {@code Query}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.Query#getSqlLike */ @@ -1276,7 +1276,7 @@ declare namespace distributedData { * * @version 1 * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore */ @@ -1292,7 +1292,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors * occurs: {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#put */ @@ -1309,7 +1309,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors * occurs: {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#put */ @@ -1324,7 +1324,7 @@ declare namespace distributedData { * occurs: {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and * {@code DB_ERROR}, and {@code KEY_NOT_FOUND}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#delete */ @@ -1339,7 +1339,7 @@ declare namespace distributedData { * occurs: {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and * {@code DB_ERROR}, and {@code KEY_NOT_FOUND}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#delete */ @@ -1355,7 +1355,7 @@ declare namespace distributedData { * occurs: {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, * {@code DB_ERROR}, and {@code STORE_ALREADY_SUBSCRIBE}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#on */ @@ -1368,7 +1368,7 @@ declare namespace distributedData { * occurs: {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, * {@code DB_ERROR}, and {@code STORE_ALREADY_SUBSCRIBE}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#on */ @@ -1382,7 +1382,7 @@ declare namespace distributedData { * occurs: {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, * {@code DB_ERROR}, and {@code STORE_ALREADY_SUBSCRIBE}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#off */ @@ -1396,7 +1396,7 @@ declare namespace distributedData { * occurs: {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, * {@code DB_ERROR}, and {@code STORE_ALREADY_SUBSCRIBE}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#off */ @@ -1408,7 +1408,7 @@ declare namespace distributedData { * @param entries Indicates the key-value pairs to be inserted in batches. * @throws Throws this exception if a database error occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#putBatch */ @@ -1420,7 +1420,7 @@ declare namespace distributedData { * @param entries Indicates the key-value pairs to be inserted in batches. * @throws Throws this exception if a database error occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#putBatch */ @@ -1432,7 +1432,7 @@ declare namespace distributedData { * @param keys Indicates the key-value pairs to be deleted in batches. * @throws Throws this exception if a database error occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#deleteBatch */ @@ -1444,7 +1444,7 @@ declare namespace distributedData { * @param keys Indicates the key-value pairs to be deleted in batches. * @throws Throws this exception if a database error occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#deleteBatch */ @@ -1457,7 +1457,7 @@ declare namespace distributedData { * * @throws Throws this exception if a database error occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#startTransaction */ @@ -1470,7 +1470,7 @@ declare namespace distributedData { * * @throws Throws this exception if a database error occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#startTransaction */ @@ -1482,7 +1482,7 @@ declare namespace distributedData { * @param callback * @throws Throws this exception if a database error occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#commit */ @@ -1494,7 +1494,7 @@ declare namespace distributedData { * @param callback * @throws Throws this exception if a database error occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#commit */ @@ -1505,7 +1505,7 @@ declare namespace distributedData { * * @throws Throws this exception if a database error occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#rollback */ @@ -1516,7 +1516,7 @@ declare namespace distributedData { * * @throws Throws this exception if a database error occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#rollback */ @@ -1529,7 +1529,7 @@ declare namespace distributedData { * synchronization, and false means the opposite. * @throws Throws this exception if an internal service error occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#enableSync */ @@ -1542,7 +1542,7 @@ declare namespace distributedData { * synchronization, and false means the opposite. * @throws Throws this exception if an internal service error occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#enableSync */ @@ -1557,7 +1557,7 @@ declare namespace distributedData { * @param remoteSupportLabels Indicates the labels of the devices with which data will be synchronized. * @throws Throws this exception if an internal service error occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#setSyncRange */ @@ -1572,7 +1572,7 @@ declare namespace distributedData { * @param remoteSupportLabels Indicates the labels of the devices with which data will be synchronized. * @throws Throws this exception if an internal service error occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#setSyncRange */ @@ -1591,7 +1591,7 @@ declare namespace distributedData { * * @version 1 * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore */ @@ -1603,7 +1603,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}, and {@code KEY_NOT_FOUND}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#get */ @@ -1616,7 +1616,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}, and {@code KEY_NOT_FOUND}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#get */ @@ -1630,7 +1630,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#getEntries */ @@ -1644,7 +1644,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#getEntries */ @@ -1658,7 +1658,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#getEntries */ @@ -1672,7 +1672,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#getEntries */ @@ -1689,7 +1689,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#getResultSet */ @@ -1706,7 +1706,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#getResultSet */ @@ -1719,7 +1719,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#getResultSet */ @@ -1732,7 +1732,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#getResultSet */ @@ -1745,7 +1745,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#closeResultSet */ @@ -1758,7 +1758,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#closeResultSet */ @@ -1772,7 +1772,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#getResultSize */ @@ -1786,7 +1786,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#getResultSize */ @@ -1796,7 +1796,7 @@ declare namespace distributedData { * void removeDeviceData​({@link String} deviceId) throws {@link KvStoreException} * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#removeDeviceData */ @@ -1806,7 +1806,7 @@ declare namespace distributedData { * void removeDeviceData​({@link String} deviceId) throws {@link KvStoreException} * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#removeDeviceData */ @@ -1822,7 +1822,7 @@ declare namespace distributedData { * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @permission ohos.permission.DISTRIBUTED_DATASYNC * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#sync */ @@ -1837,7 +1837,7 @@ declare namespace distributedData { * @throws Throws this exception if no {@code SingleKvStore} database is available. * {@code DB_ERROR}, and {@code STORE_ALREADY_SUBSCRIBE}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#on */ @@ -1850,7 +1850,7 @@ declare namespace distributedData { * @param syncCallback Indicates the callback used to send the synchronization result to the caller. * @throws Throws this exception if no {@code SingleKvStore} database is available. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#on */ @@ -1864,7 +1864,7 @@ declare namespace distributedData { * occurs: {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, * {@code DB_ERROR}, and {@code STORE_ALREADY_SUBSCRIBE}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#off */ @@ -1875,7 +1875,7 @@ declare namespace distributedData { * * @throws Throws this exception if no {@code SingleKvStore} database is available. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#off */ @@ -1888,7 +1888,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#setSyncParam */ @@ -1901,7 +1901,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#setSyncParam */ @@ -1914,7 +1914,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code SERVER_UNAVAILABLE}, * {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#getSecurityLevel */ @@ -1927,7 +1927,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs:{@code SERVER_UNAVAILABLE}, * {@code IPC_ERROR}, and {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.SingleKVStore#getSecurityLevel */ @@ -1943,7 +1943,7 @@ declare namespace distributedData { * into the database, the system automatically adds the ID of the device running the application to the key. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore */ @@ -1957,7 +1957,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}, and {@code KEY_NOT_FOUND}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#get */ @@ -1972,7 +1972,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}, and {@code KEY_NOT_FOUND}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#get */ @@ -1987,7 +1987,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getEntries */ @@ -2002,7 +2002,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getEntries */ @@ -2016,7 +2016,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getEntries */ @@ -2030,7 +2030,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getEntries */ @@ -2043,7 +2043,7 @@ declare namespace distributedData { * @param query Indicates the {@code Query} object. * @returns Returns the list of key-value pairs matching the specified {@code Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getEntries */ @@ -2056,7 +2056,7 @@ declare namespace distributedData { * @param query Indicates the {@code Query} object. * @returns Returns the list of key-value pairs matching the specified {@code Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getEntries */ @@ -2076,7 +2076,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getResultSet */ @@ -2096,7 +2096,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getResultSet */ @@ -2110,7 +2110,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getResultSet */ @@ -2124,7 +2124,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getResultSet */ @@ -2137,7 +2137,7 @@ declare namespace distributedData { * @param query Indicates the {@code Query} object. * @returns Returns the {@code KvStoreResultSet} object matching the specified {@code Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getResultSet */ @@ -2150,7 +2150,7 @@ declare namespace distributedData { * @param query Indicates the {@code Query} object. * @returns Returns the {@code KvStoreResultSet} object matching the specified {@code Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getResultSet */ @@ -2163,7 +2163,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#closeResultSet */ @@ -2176,7 +2176,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#closeResultSet */ @@ -2190,7 +2190,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getResultSize */ @@ -2204,7 +2204,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getResultSize */ @@ -2217,7 +2217,7 @@ declare namespace distributedData { * @param query Indicates the {@code Query} object. * @returns Returns the number of results matching the specified {@code Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getResultSize */ @@ -2230,7 +2230,7 @@ declare namespace distributedData { * @param query Indicates the {@code Query} object. * @returns Returns the number of results matching the specified {@code Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#getResultSize */ @@ -2245,7 +2245,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#removeDeviceData */ @@ -2260,7 +2260,7 @@ declare namespace distributedData { * @throws Throws this exception if any of the following errors occurs: {@code INVALID_ARGUMENT}, * {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, {@code DB_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#removeDeviceData */ @@ -2279,7 +2279,7 @@ declare namespace distributedData { * {@code PUSH_PULL}. * @throws Throws this exception if no DeviceKVStore database is available. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#sync */ @@ -2295,7 +2295,7 @@ declare namespace distributedData { * occurs: {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, * {@code DB_ERROR}, and {@code STORE_ALREADY_SUBSCRIBE}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#on */ @@ -2310,7 +2310,7 @@ declare namespace distributedData { * @param syncCallback Indicates the callback used to send the synchronization result to the caller. * @throws Throws this exception if no DeviceKVStore database is available. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#on */ @@ -2324,7 +2324,7 @@ declare namespace distributedData { * occurs: {@code SERVER_UNAVAILABLE}, {@code IPC_ERROR}, * {@code DB_ERROR}, and {@code STORE_ALREADY_SUBSCRIBE}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#off */ @@ -2335,7 +2335,7 @@ declare namespace distributedData { * * @throws Throws this exception if no DeviceKVStore database is available. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.DeviceKVStore#off */ @@ -2353,7 +2353,7 @@ declare namespace distributedData { * @returns Returns the {@code KVManager} instance. * @throws Throws exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore#createKVManager */ @@ -2370,7 +2370,7 @@ declare namespace distributedData { * @returns Returns the {@code KVManager} instance. * @throws Throws exception if input is invalid. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore#createKVManager */ @@ -2381,7 +2381,7 @@ declare namespace distributedData { * * @version 1 * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVManager */ @@ -2396,7 +2396,7 @@ declare namespace distributedData { * and different applications can share the same value. * @returns Returns a {@code KVStore}, or {@code SingleKVStore}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVManager#getKVStore */ @@ -2412,7 +2412,7 @@ declare namespace distributedData { * and different applications can share the same value. * @returns Returns a {@code KVStore}, or {@code SingleKVStore}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVManager#getKVStore */ @@ -2435,7 +2435,7 @@ declare namespace distributedData { * {@code STORE_NOT_OPEN}, {@code STORE_NOT_FOUND}, {@code DB_ERROR}, * {@code PERMISSION_DENIED}, and {@code IPC_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVManager#closeKVStore */ @@ -2458,7 +2458,7 @@ declare namespace distributedData { * {@code STORE_NOT_OPEN}, {@code STORE_NOT_FOUND}, {@code DB_ERROR}, * {@code PERMISSION_DENIED}, and {@code IPC_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVManager#closeKVStore */ @@ -2478,7 +2478,7 @@ declare namespace distributedData { * {@code SERVER_UNAVAILABLE}, {@code STORE_NOT_FOUND}, * {@code DB_ERROR}, {@code PERMISSION_DENIED}, and {@code IPC_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVManager#deleteKVStore */ @@ -2498,7 +2498,7 @@ declare namespace distributedData { * {@code SERVER_UNAVAILABLE}, {@code STORE_NOT_FOUND}, * {@code DB_ERROR}, {@code PERMISSION_DENIED}, and {@code IPC_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVManager#deleteKVStore */ @@ -2513,7 +2513,7 @@ declare namespace distributedData { * occurs: {@code SERVER_UNAVAILABLE}, {@code DB_ERROR}, * {@code PERMISSION_DENIED}, and {@code IPC_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVManager#getAllKVStoreId */ @@ -2528,7 +2528,7 @@ declare namespace distributedData { * occurs: {@code SERVER_UNAVAILABLE}, {@code DB_ERROR}, * {@code PERMISSION_DENIED}, and {@code IPC_ERROR}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVManager#getAllKVStoreId */ @@ -2540,7 +2540,7 @@ declare namespace distributedData { * @param deathCallback device change callback {@code DeviceChangeCallback} * @throws exception maybe occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVManager#on */ @@ -2552,7 +2552,7 @@ declare namespace distributedData { * @param deathCallback device change callback {@code DeviceChangeCallback} which has been registered. * @throws exception maybe occurs. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.distributedKVStore.KVManager#off */ @@ -2563,7 +2563,7 @@ declare namespace distributedData { /** * Providers interfaces to creat a {@link KVManager} instance. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ export default distributedData; \ No newline at end of file diff --git a/api/@ohos.data.distributedDataObject.d.ts b/api/@ohos.data.distributedDataObject.d.ts index 676efeb11b..f22fbabde7 100644 --- a/api/@ohos.data.distributedDataObject.d.ts +++ b/api/@ohos.data.distributedDataObject.d.ts @@ -27,7 +27,7 @@ import commonType from '@ohos.data.commonType'; * * @namespace distributedDataObject * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 8 + * @since 8 dynamic */ declare namespace distributedDataObject { /** @@ -35,7 +35,7 @@ declare namespace distributedDataObject { * * @interface BindInfo * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 11 + * @since 11 dynamic */ interface BindInfo { /** @@ -43,7 +43,7 @@ declare namespace distributedDataObject { * * @type { string } * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 11 + * @since 11 dynamic */ storeName: string; @@ -52,7 +52,7 @@ declare namespace distributedDataObject { * * @type { string } * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 11 + * @since 11 dynamic */ tableName: string; @@ -61,7 +61,7 @@ declare namespace distributedDataObject { * * @type { commonType.ValuesBucket } * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 11 + * @since 11 dynamic */ primaryKey: commonType.ValuesBucket; @@ -70,7 +70,7 @@ declare namespace distributedDataObject { * * @type { string } * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 11 + * @since 11 dynamic */ field: string; @@ -80,7 +80,7 @@ declare namespace distributedDataObject { * * @type { string } * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 11 + * @since 11 dynamic */ assetName: string; } @@ -91,7 +91,7 @@ declare namespace distributedDataObject { * @param { object } source - Source Init data of distributed object. * @returns { DistributedObject } - Return the distributed object. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.distributedDataObject.create */ @@ -106,7 +106,7 @@ declare namespace distributedDataObject { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ function create(context: Context, source: object): DataObject; @@ -115,7 +115,7 @@ declare namespace distributedDataObject { * * @returns { string } - Return generated sessionId. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 8 + * @since 8 dynamic */ function genSessionId(): string; @@ -125,7 +125,7 @@ declare namespace distributedDataObject { * * @interface SaveSuccessResponse * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ interface SaveSuccessResponse { /** @@ -133,7 +133,7 @@ declare namespace distributedDataObject { * * @type { string } * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ sessionId: string; @@ -142,7 +142,7 @@ declare namespace distributedDataObject { * * @type { int } * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ version: int; @@ -153,7 +153,7 @@ declare namespace distributedDataObject { * * @type { string } * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ deviceId: string; } @@ -164,7 +164,7 @@ declare namespace distributedDataObject { * * @interface RevokeSaveSuccessResponse * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ interface RevokeSaveSuccessResponse { /** @@ -172,7 +172,7 @@ declare namespace distributedDataObject { * * @type { string } * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ sessionId: string; } @@ -184,7 +184,7 @@ declare namespace distributedDataObject { * @param { string } sessionId - The sessionId of the changed object. * @param { Array } fields - Property names of changed data. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 20 + * @since 20 dynamic */ type DataObserver = (sessionId: string, fields: Array) => void; @@ -198,7 +198,7 @@ declare namespace distributedDataObject { * 'offline' The object became offline on the device and the object can not sync any data; * 'restored' The object restored success. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 20 + * @since 20 dynamic */ type StatusObserver = (sessionId: string, networkId: string, status: string) => void; @@ -207,7 +207,7 @@ declare namespace distributedDataObject { * * @interface DistributedObject * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.distributedDataObject.DataObject */ @@ -219,7 +219,7 @@ declare namespace distributedDataObject { * @param { string } sessionId - sessionId The sessionId to be joined, if empty, leave all session. * @returns { boolean } - Return a result of function. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.distributedDataObject.DataObject.setSessionId */ @@ -234,7 +234,7 @@ declare namespace distributedDataObject { * {string} sessionId - The sessionId of the changed object. * {Array} fields - Attribute names of changed data. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.distributedDataObject.DataObject.on */ @@ -250,7 +250,7 @@ declare namespace distributedDataObject { * {Array} fields - Attribute names of changed data. * callback If not null, off the callback, if undefined, off all callbacks. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.distributedDataObject.DataObject.off */ @@ -268,7 +268,7 @@ declare namespace distributedDataObject { * 'online' The object became online on the device and data can be synced to the device. * 'offline' The object became offline on the device and the object can not sync any data. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.distributedDataObject.DataObject.on */ @@ -290,7 +290,7 @@ declare namespace distributedDataObject { * 'offline' The object became offline on the device and the object can not sync any data. * callback If not null, off the callback, if undefined, off all callbacks. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.distributedDataObject.DataObject.off */ @@ -305,7 +305,7 @@ declare namespace distributedDataObject { * * @interface DataObject * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ interface DataObject { /** @@ -331,7 +331,7 @@ declare namespace distributedDataObject { * 2. The sessionId allows only letters, digits, and underscores(_), and cannot exceed 128 in length. * @throws {BusinessError} 15400001 - Failed to create the in-memory database. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 12 + * @since 12 dynamic */ setSessionId(sessionId: string, callback: AsyncCallback): void; @@ -353,7 +353,7 @@ declare namespace distributedDataObject { * @throws {BusinessError} 401 - Parameter error. Incorrect parameter types. * @throws {BusinessError} 15400001 - Failed to create the in-memory database. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 20 + * @since 20 dynamic */ setSessionId(callback: AsyncCallback): void; @@ -380,7 +380,7 @@ declare namespace distributedDataObject { * 2. The sessionId allows only letters, digits, and underscores(_), and cannot exceed 128 in length. * @throws {BusinessError} 15400001 - Failed to create the in-memory database. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 12 + * @since 12 dynamic */ setSessionId(sessionId?: string): Promise; @@ -396,7 +396,7 @@ declare namespace distributedDataObject { * @throws {BusinessError} 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ on(type: 'change', callback: (sessionId: string, fields: Array) => void ): void; @@ -412,7 +412,7 @@ declare namespace distributedDataObject { * @throws {BusinessError} 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ off(type: 'change', callback?: (sessionId: string, fields: Array) => void ): void; @@ -431,7 +431,7 @@ declare namespace distributedDataObject { * @throws {BusinessError} 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ on( type: 'status', @@ -453,7 +453,7 @@ declare namespace distributedDataObject { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ off( type: 'status', @@ -477,7 +477,7 @@ declare namespace distributedDataObject { * 2. Incorrect parameter types. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ save(deviceId: string, callback: AsyncCallback): void; @@ -497,7 +497,7 @@ declare namespace distributedDataObject { * 2. Incorrect parameter types. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ save(deviceId: string): Promise; @@ -511,7 +511,7 @@ declare namespace distributedDataObject { * @throws { BusinessError } 401 - Parameter error. Incorrect parameter types. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ revokeSave(callback: AsyncCallback): void; @@ -523,7 +523,7 @@ declare namespace distributedDataObject { * @returns { Promise } {RevokeSaveSuccessResponse}: The response of revokeSave. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 9 + * @since 9 dynamic */ revokeSave(): Promise; @@ -537,7 +537,7 @@ declare namespace distributedDataObject { * 2. Incorrect parameter types. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 11 + * @since 11 dynamic */ bindAssetStore(assetKey: string, bindInfo: BindInfo, callback: AsyncCallback): void; @@ -551,7 +551,7 @@ declare namespace distributedDataObject { * 2. Incorrect parameter types. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 11 + * @since 11 dynamic */ bindAssetStore(assetKey: string, bindInfo: BindInfo): Promise; @@ -561,7 +561,7 @@ declare namespace distributedDataObject { * @param { 'change' } type - Event type, fixed as 'change', indicates data change. * @param { DataObserver } callback - The observer of object data changed. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 20 + * @since 20 dynamic */ on(type: 'change', callback: DataObserver): void; @@ -571,7 +571,7 @@ declare namespace distributedDataObject { * @param { 'change' } type - Event type, fixed as 'change', indicates data change. * @param { DataObserver } callback - The observer of object data changed, if not null, off the callback, if undefined, off all callbacks. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 20 + * @since 20 dynamic */ off(type: 'change', callback?: DataObserver): void; @@ -581,7 +581,7 @@ declare namespace distributedDataObject { * @param { 'status' } type - Event type, fixed as 'status', indicates the online and offline of the object. * @param { StatusObserver } callback - The observer of object status changed. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 20 + * @since 20 dynamic */ on(type: 'status', callback: StatusObserver): void; @@ -591,7 +591,7 @@ declare namespace distributedDataObject { * @param { 'status' } type - Event type, fixed as 'status', indicates the online and offline of the object. * @param { StatusObserver } callback - The observer of object status changed, if not null, off the callback, if undefined, off all callbacks. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 20 + * @since 20 dynamic */ off(type: 'status', callback?: StatusObserver): void; @@ -606,7 +606,7 @@ declare namespace distributedDataObject { * 2. The uri is invalid, such as "". * @throws {BusinessError} 15400003 - The sessionId of the distributed object has been set. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 20 + * @since 20 dynamic */ setAsset(assetKey: string, uri: string): Promise; @@ -621,7 +621,7 @@ declare namespace distributedDataObject { * 2. The uris is invalid, such as the length of uris is more than 50. * @throws {BusinessError} 15400003 - The sessionId of the distributed object has been set. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject - * @since 20 + * @since 20 dynamic */ setAssets(assetsKey: string, uris: Array): Promise; } diff --git a/api/@ohos.data.distributedKVStore.d.ts b/api/@ohos.data.distributedKVStore.d.ts index b308d4f4ec..acfd0ce291 100644 --- a/api/@ohos.data.distributedKVStore.d.ts +++ b/api/@ohos.data.distributedKVStore.d.ts @@ -28,8 +28,8 @@ import BaseContext from './application/BaseContext'; * * @namespace distributedKVStore * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace distributedKVStore { /** @@ -38,8 +38,8 @@ declare namespace distributedKVStore { * * @interface KVManagerConfig * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface KVManagerConfig { /** @@ -47,8 +47,8 @@ declare namespace distributedKVStore { * * @type { string } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ bundleName: string; @@ -65,8 +65,8 @@ declare namespace distributedKVStore { * @type { BaseContext } * @syscap SystemCapability.DistributedDataManager.KVStore.Core * if swap the area, you should close all the KV store and use the new BaseContext to create the KVManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ context: BaseContext; } @@ -76,7 +76,7 @@ declare namespace distributedKVStore { * * @interface Constants * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ interface Constants { /** @@ -85,7 +85,7 @@ declare namespace distributedKVStore { * @type { number } * @readonly * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ readonly MAX_KEY_LENGTH: number; @@ -95,7 +95,7 @@ declare namespace distributedKVStore { * @type { number } * @readonly * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ readonly MAX_VALUE_LENGTH: number; @@ -105,7 +105,7 @@ declare namespace distributedKVStore { * @type { number } * @readonly * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ readonly MAX_KEY_LENGTH_DEVICE: number; @@ -115,7 +115,7 @@ declare namespace distributedKVStore { * @type { number } * @readonly * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ readonly MAX_STORE_ID_LENGTH: number; @@ -125,7 +125,7 @@ declare namespace distributedKVStore { * @type { number } * @readonly * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ readonly MAX_QUERY_LENGTH: number; @@ -135,7 +135,7 @@ declare namespace distributedKVStore { * @type { number } * @readonly * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ readonly MAX_BATCH_SIZE: number; } @@ -146,14 +146,14 @@ declare namespace distributedKVStore { * * @enum { number } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ enum ValueType { /** * Indicates that the value type is string. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ STRING, @@ -161,7 +161,7 @@ declare namespace distributedKVStore { * Indicates that the value type is int. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ INTEGER, @@ -169,7 +169,7 @@ declare namespace distributedKVStore { * Indicates that the value type is float. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ FLOAT, @@ -177,7 +177,7 @@ declare namespace distributedKVStore { * Indicates that the value type is byte array. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ BYTE_ARRAY, @@ -185,7 +185,7 @@ declare namespace distributedKVStore { * Indicates that the value type is boolean. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ BOOLEAN, @@ -193,7 +193,7 @@ declare namespace distributedKVStore { * Indicates that the value type is double. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ DOUBLE } @@ -203,7 +203,7 @@ declare namespace distributedKVStore { * * @interface Value * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ interface Value { /** @@ -211,7 +211,7 @@ declare namespace distributedKVStore { * * @type { ValueType } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic * @see ValueType */ type: ValueType; @@ -221,7 +221,7 @@ declare namespace distributedKVStore { * * @type { Uint8Array | string | number | boolean } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ value: Uint8Array | string | number | boolean; } @@ -231,7 +231,7 @@ declare namespace distributedKVStore { * * @interface Entry * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ interface Entry { /** @@ -239,7 +239,7 @@ declare namespace distributedKVStore { * * @type { string } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ key: string; @@ -248,7 +248,7 @@ declare namespace distributedKVStore { * * @type { Value } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ value: Value; } @@ -261,7 +261,7 @@ declare namespace distributedKVStore { * * @interface ChangeNotification * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ interface ChangeNotification { /** @@ -269,7 +269,7 @@ declare namespace distributedKVStore { * * @type { Entry[] } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ insertEntries: Entry[]; @@ -278,7 +278,7 @@ declare namespace distributedKVStore { * * @type { Entry[] } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ updateEntries: Entry[]; @@ -287,7 +287,7 @@ declare namespace distributedKVStore { * * @type { Entry[] } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ deleteEntries: Entry[]; @@ -296,7 +296,7 @@ declare namespace distributedKVStore { * * @type { string } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ deviceId: string; } @@ -306,14 +306,14 @@ declare namespace distributedKVStore { * * @enum { number } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ enum SyncMode { /** * Indicates that data is only pulled from the remote end. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ PULL_ONLY, @@ -321,7 +321,7 @@ declare namespace distributedKVStore { * Indicates that data is only pushed from the local end. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ PUSH_ONLY, @@ -329,7 +329,7 @@ declare namespace distributedKVStore { * Indicates that data is pushed from the local end, and then pulled from the remote end. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ PUSH_PULL } @@ -339,14 +339,14 @@ declare namespace distributedKVStore { * * @enum { number } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ enum SubscribeType { /** * Subscription to local data changes * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ SUBSCRIBE_TYPE_LOCAL, @@ -354,7 +354,7 @@ declare namespace distributedKVStore { * Subscription to remote data changes * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ SUBSCRIBE_TYPE_REMOTE, @@ -362,7 +362,7 @@ declare namespace distributedKVStore { * Subscription to both local and remote data changes * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ SUBSCRIBE_TYPE_ALL } @@ -372,16 +372,16 @@ declare namespace distributedKVStore { * * @enum { number } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum KVStoreType { /** * Device-collaboration database, as specified by {@code DeviceKVStore} * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ DEVICE_COLLABORATION, @@ -389,8 +389,8 @@ declare namespace distributedKVStore { * Single-version database, as specified by {@code SingleKVStore} * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SINGLE_VERSION } @@ -400,8 +400,8 @@ declare namespace distributedKVStore { * * @enum { number } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum SecurityLevel { /** @@ -409,8 +409,8 @@ declare namespace distributedKVStore { * There are some low impact when the data is leaked. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ S1, @@ -419,8 +419,8 @@ declare namespace distributedKVStore { * There are some major impact when the data is leaked. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ S2, @@ -429,8 +429,8 @@ declare namespace distributedKVStore { * There are some severity impact when the data is leaked. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ S3, @@ -439,8 +439,8 @@ declare namespace distributedKVStore { * There are some critical impact when the data is leaked. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ S4 } @@ -450,8 +450,8 @@ declare namespace distributedKVStore { * * @interface Options * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface Options { /** @@ -459,8 +459,8 @@ declare namespace distributedKVStore { * * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ createIfMissing?: boolean; @@ -469,8 +469,8 @@ declare namespace distributedKVStore { * * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ encrypt?: boolean; @@ -479,8 +479,8 @@ declare namespace distributedKVStore { * * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ backup?: boolean; @@ -490,8 +490,8 @@ declare namespace distributedKVStore { * @permission ohos.permission.DISTRIBUTED_DATASYNC * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ autoSync?: boolean; @@ -500,8 +500,8 @@ declare namespace distributedKVStore { * * @type { ?KVStoreType } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ kvStoreType?: KVStoreType; @@ -510,8 +510,8 @@ declare namespace distributedKVStore { * * @type { SecurityLevel } * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ securityLevel: SecurityLevel; @@ -520,8 +520,8 @@ declare namespace distributedKVStore { * * @type { ?Schema } * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ schema?: Schema; } @@ -531,16 +531,16 @@ declare namespace distributedKVStore { * You can set the schema object in options when create or open the database. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ class Schema { /** * A constructor used to create a Schema instance. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ constructor(); @@ -549,7 +549,7 @@ declare namespace distributedKVStore { * * @type { FieldNode } * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ root: FieldNode; @@ -558,7 +558,7 @@ declare namespace distributedKVStore { * * @type { Array } * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ indexes: Array; @@ -567,7 +567,7 @@ declare namespace distributedKVStore { * * @type { number } * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ mode: number; @@ -576,7 +576,7 @@ declare namespace distributedKVStore { * * @type { number } * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ skip: number; } @@ -588,7 +588,7 @@ declare namespace distributedKVStore { *

The leaf node must have a value; the non-leaf node must have a child {@code FieldNode}. * * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ class FieldNode { /** @@ -599,7 +599,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ constructor(name: string); @@ -613,7 +613,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ appendChild(child: FieldNode): boolean; @@ -621,7 +621,7 @@ declare namespace distributedKVStore { * Indicates the default value of field node. * @type { string } * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ default: string; @@ -630,7 +630,7 @@ declare namespace distributedKVStore { * * @type { boolean } * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ nullable: boolean; @@ -639,7 +639,7 @@ declare namespace distributedKVStore { * * @type { number } * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ type: number; } @@ -652,7 +652,7 @@ declare namespace distributedKVStore { * * @interface KVStoreResultSet * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ interface KVStoreResultSet { /** @@ -660,7 +660,7 @@ declare namespace distributedKVStore { * * @returns { number } Returns the number of lines. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getCount(): number; @@ -669,7 +669,7 @@ declare namespace distributedKVStore { * * @returns { number } Returns the current read position. The read position starts with 0. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getPosition(): number; @@ -679,7 +679,7 @@ declare namespace distributedKVStore { * * @returns { boolean } Returns true if the operation succeeds; return false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ moveToFirst(): boolean; @@ -689,7 +689,7 @@ declare namespace distributedKVStore { * * @returns { boolean } Returns true if the operation succeeds; return false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ moveToLast(): boolean; @@ -699,7 +699,7 @@ declare namespace distributedKVStore { * * @returns { boolean } Returns true if the operation succeeds; return false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ moveToNext(): boolean; @@ -709,7 +709,7 @@ declare namespace distributedKVStore { * * @returns { boolean } Returns true if the operation succeeds; return false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ moveToPrevious(): boolean; @@ -725,7 +725,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ move(offset: number): boolean; @@ -737,7 +737,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ moveToPosition(position: number): boolean; @@ -746,7 +746,7 @@ declare namespace distributedKVStore { * * @returns { boolean } Returns true if the read position is the first line; returns false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ isFirst(): boolean; @@ -755,7 +755,7 @@ declare namespace distributedKVStore { * * @returns { boolean } Returns true if the read position is the last line; returns false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ isLast(): boolean; @@ -764,7 +764,7 @@ declare namespace distributedKVStore { * * @returns { boolean } Returns true if the read position is before the first line; returns false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ isBeforeFirst(): boolean; @@ -773,7 +773,7 @@ declare namespace distributedKVStore { * * @returns { boolean } Returns true if the read position is after the last line; returns false otherwise. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ isAfterLast(): boolean; @@ -782,7 +782,7 @@ declare namespace distributedKVStore { * * @returns { Entry } Returns a key-value pair. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getEntry(): Entry; } @@ -794,14 +794,14 @@ declare namespace distributedKVStore { *

This class also provides methods to add predicates to the {@code Query} instance. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ class Query { /** * A constructor used to create a Query instance. * * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ constructor(); @@ -810,7 +810,7 @@ declare namespace distributedKVStore { * * @returns { Query } Returns the reset {@code Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ reset(): Query; @@ -825,7 +825,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ equalTo(field: string, value: number | string | boolean): Query; @@ -840,7 +840,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ notEqualTo(field: string, value: number | string | boolean): Query; @@ -855,7 +855,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ greaterThan(field: string, value: number | string | boolean): Query; @@ -870,7 +870,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ lessThan(field: string, value: number | string): Query; @@ -885,7 +885,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ greaterThanOrEqualTo(field: string, value: number | string): Query; @@ -900,7 +900,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ lessThanOrEqualTo(field: string, value: number | string): Query; @@ -913,7 +913,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ isNull(field: string): Query; @@ -928,7 +928,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ inNumber(field: string, valueList: number[]): Query; @@ -943,7 +943,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ inString(field: string, valueList: string[]): Query; @@ -958,7 +958,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ notInNumber(field: string, valueList: number[]): Query; @@ -973,7 +973,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ notInString(field: string, valueList: string[]): Query; @@ -988,7 +988,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ like(field: string, value: string): Query; @@ -1003,7 +1003,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ unlike(field: string, value: string): Query; @@ -1013,7 +1013,7 @@ declare namespace distributedKVStore { * * @returns { Query } Returns the {@coed Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ and(): Query; @@ -1023,7 +1023,7 @@ declare namespace distributedKVStore { * * @returns { Query } Returns the {@coed Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ or(): Query; @@ -1036,7 +1036,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ orderByAsc(field: string): Query; @@ -1049,7 +1049,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ orderByDesc(field: string): Query; @@ -1066,7 +1066,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ limit(total: number, offset: number): Query; @@ -1078,7 +1078,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ isNotNull(field: string): Query; @@ -1089,7 +1089,7 @@ declare namespace distributedKVStore { * * @returns { Query } Returns the {@coed Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ beginGroup(): Query; @@ -1100,7 +1100,7 @@ declare namespace distributedKVStore { * * @returns { Query } Returns the {@coed Query} object. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ endGroup(): Query; @@ -1112,7 +1112,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ prefixKey(prefix: string): Query; @@ -1124,7 +1124,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ setSuggestIndex(index: string): Query; @@ -1137,7 +1137,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ deviceId(deviceId: string): Query; @@ -1148,7 +1148,7 @@ declare namespace distributedKVStore { * * @returns { string } String representing this {@code Query}. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getSqlLike(): string; } @@ -1164,8 +1164,8 @@ declare namespace distributedKVStore { * * @interface SingleKVStore * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface SingleKVStore { /** @@ -1201,8 +1201,8 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100005 - Database or result set already closed. * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ put(key: string, value: Uint8Array | string | number | boolean, callback: AsyncCallback): void; @@ -1239,8 +1239,8 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100005 - Database or result set already closed. * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ put(key: string, value: Uint8Array | string | number | boolean): Promise; @@ -1267,7 +1267,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100005 - Database or result set already closed. * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ putBatch(entries: Entry[], callback: AsyncCallback): void; @@ -1294,7 +1294,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100005 - Database or result set already closed. * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ putBatch(entries: Entry[]): Promise; @@ -1329,7 +1329,7 @@ declare namespace distributedKVStore { * @syscap SystemCapability.DistributedDataManager.KVStore.Core * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ putBatch(value: Array, callback: AsyncCallback): void; @@ -1364,7 +1364,7 @@ declare namespace distributedKVStore { * @syscap SystemCapability.DistributedDataManager.KVStore.Core * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ putBatch(value: Array): Promise; @@ -1395,7 +1395,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100005 - Database or result set already closed. * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ delete(key: string, callback: AsyncCallback): void; @@ -1426,7 +1426,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100005 - Database or result set already closed. * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ delete(key: string): Promise; @@ -1461,7 +1461,7 @@ declare namespace distributedKVStore { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ delete(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback); @@ -1496,7 +1496,7 @@ declare namespace distributedKVStore { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ delete(predicates: dataSharePredicates.DataSharePredicates): Promise; @@ -1525,7 +1525,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100005 - Database or result set already closed. * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ deleteBatch(keys: string[], callback: AsyncCallback): void; @@ -1554,7 +1554,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100005 - Database or result set already closed. * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ deleteBatch(keys: string[]): Promise; @@ -1570,7 +1570,7 @@ declare namespace distributedKVStore { *
2.Parameter verification failed. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ removeDeviceData(deviceId: string, callback: AsyncCallback): void; @@ -1586,7 +1586,7 @@ declare namespace distributedKVStore { *
2.Parameter verification failed. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ removeDeviceData(deviceId: string): Promise; @@ -1603,8 +1603,8 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100004 - Not found. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ get(key: string, callback: AsyncCallback): void; @@ -1621,8 +1621,8 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100004 - Not found. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ get(key: string): Promise; @@ -1637,7 +1637,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getEntries(keyPrefix: string, callback: AsyncCallback): void; @@ -1652,7 +1652,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getEntries(keyPrefix: string): Promise; @@ -1667,7 +1667,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getEntries(query: Query, callback: AsyncCallback): void; @@ -1682,7 +1682,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getEntries(query: Query): Promise; @@ -1721,7 +1721,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ getResultSet(keyPrefix: string, callback: AsyncCallback): void; @@ -1760,7 +1760,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ getResultSet(keyPrefix: string): Promise; @@ -1789,7 +1789,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ getResultSet(query: Query, callback: AsyncCallback): void; @@ -1818,7 +1818,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ getResultSet(query: Query): Promise; @@ -1855,7 +1855,7 @@ declare namespace distributedKVStore { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ getResultSet(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void; @@ -1892,7 +1892,7 @@ declare namespace distributedKVStore { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise; @@ -1904,7 +1904,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ closeResultSet(resultSet: KVStoreResultSet, callback: AsyncCallback): void; @@ -1916,7 +1916,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ closeResultSet(resultSet: KVStoreResultSet): Promise; @@ -1931,7 +1931,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getResultSize(query: Query, callback: AsyncCallback): void; @@ -1946,7 +1946,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getResultSize(query: Query): Promise; @@ -1960,8 +1960,8 @@ declare namespace distributedKVStore { *
2.Parameter verification failed. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ backup(file: string, callback: AsyncCallback): void; @@ -1975,8 +1975,8 @@ declare namespace distributedKVStore { *
2.Parameter verification failed. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ backup(file: string): Promise; @@ -1990,7 +1990,7 @@ declare namespace distributedKVStore { *
2.Parameter verification failed. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ restore(file: string, callback: AsyncCallback): void; @@ -2004,7 +2004,7 @@ declare namespace distributedKVStore { *
2.Parameter verification failed. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ restore(file: string): Promise; @@ -2019,7 +2019,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ deleteBackup(files: Array, callback: AsyncCallback>): void; @@ -2033,7 +2033,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ deleteBackup(files: Array): Promise>; @@ -2054,7 +2054,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100005 - Database or result set already closed. * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ startTransaction(callback: AsyncCallback): void; @@ -2075,7 +2075,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100005 - Database or result set already closed. * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ startTransaction(): Promise; @@ -2085,7 +2085,7 @@ declare namespace distributedKVStore { * @param { AsyncCallback } callback - the callback of commit. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ commit(callback: AsyncCallback): void; @@ -2095,7 +2095,7 @@ declare namespace distributedKVStore { * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ commit(): Promise; @@ -2105,7 +2105,7 @@ declare namespace distributedKVStore { * @param { AsyncCallback } callback - the callback of rollback. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ rollback(callback: AsyncCallback): void; @@ -2115,7 +2115,7 @@ declare namespace distributedKVStore { * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ rollback(): Promise; @@ -2128,7 +2128,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ enableSync(enabled: boolean, callback: AsyncCallback): void; @@ -2141,7 +2141,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ enableSync(enabled: boolean): Promise; @@ -2156,7 +2156,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ setSyncRange(localLabels: string[], remoteSupportLabels: string[], callback: AsyncCallback): void; @@ -2171,7 +2171,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ setSyncRange(localLabels: string[], remoteSupportLabels: string[]): Promise; @@ -2184,7 +2184,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ setSyncParam(defaultAllowedDelayMs: number, callback: AsyncCallback): void; @@ -2197,7 +2197,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ setSyncParam(defaultAllowedDelayMs: number): Promise; @@ -2214,7 +2214,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100004 - Not found. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ sync(deviceIds: string[], mode: SyncMode, delayMs?: number): void; @@ -2232,7 +2232,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100004 - Not found. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ sync(deviceIds: string[], query: Query, mode: SyncMode, delayMs?: number): void; @@ -2264,7 +2264,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100001 - Over max limits. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ on(event: 'dataChange', type: SubscribeType, listener: Callback): void; @@ -2280,7 +2280,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ on(event: 'syncComplete', syncCallback: Callback>): void; @@ -2295,7 +2295,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ off(event: 'dataChange', listener?: Callback): void; @@ -2310,7 +2310,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ off(event: 'syncComplete', syncCallback?: Callback>): void; @@ -2321,7 +2321,7 @@ declare namespace distributedKVStore { * object indicates the security level of the database. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getSecurityLevel(callback: AsyncCallback): void; @@ -2332,7 +2332,7 @@ declare namespace distributedKVStore { * the security level of the database. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getSecurityLevel(): Promise; } @@ -2350,8 +2350,8 @@ declare namespace distributedKVStore { * @extends SingleKVStore * @typedef DeviceKVStore * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface DeviceKVStore extends SingleKVStore { /** @@ -2367,8 +2367,8 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100004 - Not found. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ get(key: string, callback: AsyncCallback): void; @@ -2385,8 +2385,8 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100004 - Not found. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ get(key: string): Promise; @@ -2405,8 +2405,8 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100004 - Not found. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ get(deviceId: string, key: string, callback: AsyncCallback): void; @@ -2425,8 +2425,8 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100004 - Not found. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ get(deviceId: string, key: string): Promise; @@ -2441,7 +2441,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getEntries(keyPrefix: string, callback: AsyncCallback): void; @@ -2456,7 +2456,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getEntries(keyPrefix: string): Promise; @@ -2472,7 +2472,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ getEntries(deviceId: string, keyPrefix: string, callback: AsyncCallback): void; @@ -2488,7 +2488,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ getEntries(deviceId: string, keyPrefix: string): Promise; @@ -2503,7 +2503,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getEntries(query: Query, callback: AsyncCallback): void; @@ -2518,7 +2518,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getEntries(query: Query): Promise; @@ -2534,7 +2534,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ getEntries(deviceId: string, query: Query, callback: AsyncCallback): void; @@ -2550,7 +2550,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ getEntries(deviceId: string, query: Query): Promise; @@ -2589,7 +2589,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ getResultSet(keyPrefix: string, callback: AsyncCallback): void; @@ -2628,7 +2628,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ getResultSet(keyPrefix: string): Promise; @@ -2673,7 +2673,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 10 + * @since 10 dynamic */ getResultSet(deviceId: string, keyPrefix: string, callback: AsyncCallback): void; @@ -2718,7 +2718,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 10 + * @since 10 dynamic */ getResultSet(deviceId: string, keyPrefix: string): Promise; @@ -2747,7 +2747,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ getResultSet(query: Query, callback: AsyncCallback): void; @@ -2776,7 +2776,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 10 + * @since 10 dynamic */ getResultSet(query: Query): Promise; @@ -2809,7 +2809,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 10 + * @since 10 dynamic */ getResultSet(deviceId: string, query: Query, callback: AsyncCallback): void; @@ -2842,7 +2842,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 10 + * @since 10 dynamic */ getResultSet(deviceId: string, query: Query): Promise; @@ -2879,7 +2879,7 @@ declare namespace distributedKVStore { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ getResultSet(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void; @@ -2916,7 +2916,7 @@ declare namespace distributedKVStore { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise; @@ -2955,7 +2955,7 @@ declare namespace distributedKVStore { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ getResultSet( deviceId: string, @@ -2998,7 +2998,7 @@ declare namespace distributedKVStore { * @syscap SystemCapability.DistributedDataManager.DataShare.Provider * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates): Promise; @@ -3013,7 +3013,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getResultSize(query: Query, callback: AsyncCallback): void; @@ -3028,7 +3028,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getResultSize(query: Query): Promise; @@ -3044,7 +3044,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ getResultSize(deviceId: string, query: Query, callback: AsyncCallback): void; @@ -3060,7 +3060,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100003 - Database corrupted. * @throws { BusinessError } 15100005 - Database or result set already closed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ getResultSize(deviceId: string, query: Query): Promise; } @@ -3077,8 +3077,8 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function createKVManager(config: KVManagerConfig): KVManager; @@ -3088,8 +3088,8 @@ declare namespace distributedKVStore { * * @interface KVManager * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface KVManager { /** @@ -3107,8 +3107,8 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100002 - Open existed database with changed options. * @throws { BusinessError } 15100003 - Database corrupted. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ getKVStore(storeId: string, options: Options, callback: AsyncCallback): void; @@ -3127,8 +3127,8 @@ declare namespace distributedKVStore { * @throws { BusinessError } 15100002 - Open existed database with changed options. * @throws { BusinessError } 15100003 - Database corrupted. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ getKVStore(storeId: string, options: Options): Promise; @@ -3148,7 +3148,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ closeKVStore(appId: string, storeId: string, callback: AsyncCallback): void; @@ -3168,7 +3168,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ closeKVStore(appId: string, storeId: string): Promise; @@ -3187,7 +3187,7 @@ declare namespace distributedKVStore { *
2.Parameter verification failed. * @throws { BusinessError } 15100004 - Not found. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ deleteKVStore(appId: string, storeId: string, callback: AsyncCallback): void; @@ -3206,7 +3206,7 @@ declare namespace distributedKVStore { *
2.Parameter verification failed. * @throws { BusinessError } 15100004 - Not found. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ deleteKVStore(appId: string, storeId: string): Promise; @@ -3220,7 +3220,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getAllKVStoreId(appId: string, callback: AsyncCallback): void; @@ -3234,7 +3234,7 @@ declare namespace distributedKVStore { * @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified; *
2.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.Core - * @since 9 + * @since 9 dynamic */ getAllKVStoreId(appId: string): Promise; @@ -3250,7 +3250,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ on(event: 'distributedDataServiceDie', deathCallback: Callback): void; @@ -3267,7 +3267,7 @@ declare namespace distributedKVStore { *
2.Incorrect parameters types; *
3.Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.KVStore.DistributedKVStore - * @since 9 + * @since 9 dynamic */ off(event: 'distributedDataServiceDie', deathCallback?: Callback): void; } diff --git a/api/@ohos.data.intelligence.d.ts b/api/@ohos.data.intelligence.d.ts index f80129e159..55c00ef882 100644 --- a/api/@ohos.data.intelligence.d.ts +++ b/api/@ohos.data.intelligence.d.ts @@ -23,7 +23,7 @@ * * @namespace intelligence * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ declare namespace intelligence { /** @@ -36,7 +36,7 @@ declare namespace intelligence { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 31300000 - Inner error. * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ function getTextEmbeddingModel(config: ModelConfig): Promise; @@ -50,7 +50,7 @@ declare namespace intelligence { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 31300000 - Inner error. * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ function getImageEmbeddingModel(config: ModelConfig): Promise; @@ -59,7 +59,7 @@ declare namespace intelligence { * * @interface ModelConfig * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ interface ModelConfig { /** @@ -68,7 +68,7 @@ declare namespace intelligence { * * @type { ModelVersion } * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ version: ModelVersion; @@ -77,7 +77,7 @@ declare namespace intelligence { * * @type { boolean } * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ isNpuAvailable: boolean; @@ -86,7 +86,7 @@ declare namespace intelligence { * * @type { ?string } * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ cachePath?: string; } @@ -96,14 +96,14 @@ declare namespace intelligence { * * @enum { number } * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ enum ModelVersion { /** * The basic embedding model. * * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ BASIC_MODEL = 0 } @@ -114,7 +114,7 @@ declare namespace intelligence { * * @interface TextEmbedding * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ interface TextEmbedding { /** @@ -124,7 +124,7 @@ declare namespace intelligence { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 31300000 - Inner error. * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ loadModel(): Promise; @@ -135,7 +135,7 @@ declare namespace intelligence { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 31300000 - Inner error. * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ releaseModel(): Promise; @@ -150,7 +150,7 @@ declare namespace intelligence { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 31300000 - Inner error. * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ getEmbedding(text: string): Promise>; @@ -165,7 +165,7 @@ declare namespace intelligence { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 31300000 - Inner error. * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ getEmbedding(batchTexts: Array): Promise>>; } @@ -175,7 +175,7 @@ declare namespace intelligence { * * @interface ImageEmbedding * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ interface ImageEmbedding { /** @@ -185,7 +185,7 @@ declare namespace intelligence { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 31300000 - Inner error. * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ loadModel(): Promise; @@ -196,7 +196,7 @@ declare namespace intelligence { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 31300000 - Inner error. * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ releaseModel(): Promise; @@ -211,7 +211,7 @@ declare namespace intelligence { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 31300000 - Inner error. * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ getEmbedding(image: Image): Promise>; } @@ -221,7 +221,7 @@ declare namespace intelligence { * * @typedef { string } Image * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 15 + * @since 15 dynamic */ type Image = string; @@ -236,7 +236,7 @@ declare namespace intelligence { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 31300000 - Inner error. * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ function splitText(text: string, config: SplitConfig): Promise>; @@ -245,7 +245,7 @@ declare namespace intelligence { * * @interface SplitConfig * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ interface SplitConfig { /** @@ -253,7 +253,7 @@ declare namespace intelligence { * * @type { number } * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ size: number; @@ -262,7 +262,7 @@ declare namespace intelligence { * * @type { number } * @syscap SystemCapability.DistributedDataManager.DataIntelligence.Core - * @since 15 + * @since 15 dynamic */ overlapRatio: number; } diff --git a/api/@ohos.data.preferences.d.ts b/api/@ohos.data.preferences.d.ts index a01564d4f5..2e2bfbef9a 100644 --- a/api/@ohos.data.preferences.d.ts +++ b/api/@ohos.data.preferences.d.ts @@ -45,8 +45,8 @@ import Context from './application/BaseContext'; * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static * @name preferences */ declare namespace preferences { @@ -79,8 +79,8 @@ declare namespace preferences { * bigint} * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type ValueType = number | string | boolean | Array | Array | Array | Uint8Array | object | bigint; @@ -114,8 +114,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const MAX_KEY_LENGTH: number; @@ -149,8 +149,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const MAX_VALUE_LENGTH: number; @@ -160,8 +160,8 @@ declare namespace preferences { * @enum { number } * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enum StorageType { /** @@ -169,8 +169,8 @@ declare namespace preferences { * * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ XML = 0, @@ -179,8 +179,8 @@ declare namespace preferences { * * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ GSKV } @@ -200,8 +200,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface Options { /** @@ -218,8 +218,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ name: string; @@ -237,8 +237,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @StageModelOnly * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ dataGroupId?: string | null | undefined; @@ -248,8 +248,8 @@ declare namespace preferences { * @type { ?(StorageType | null | undefined) } * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ storageType?: StorageType | null | undefined; } @@ -301,8 +301,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getPreferences(context: Context, name: string, callback: AsyncCallback): void; @@ -344,8 +344,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getPreferences(context: Context, options: Options, callback: AsyncCallback): void; @@ -393,8 +393,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getPreferences(context: Context, name: string): Promise; @@ -434,8 +434,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getPreferences(context: Context, options: Options): Promise; @@ -477,8 +477,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getPreferencesSync(context: Context, options: Options): Preferences; @@ -489,7 +489,7 @@ declare namespace preferences { * @throws { BusinessError } 401 - Parameter error. Possible causes: Incorrect parameter types * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ function isStorageTypeSupported(type: StorageType): boolean; /** @@ -548,8 +548,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function deletePreferences(context: Context, name: string, callback: AsyncCallback): void; @@ -597,8 +597,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function deletePreferences(context: Context, options: Options, callback: AsyncCallback): void; @@ -658,8 +658,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function deletePreferences(context: Context, name: string): Promise; @@ -707,8 +707,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function deletePreferences(context: Context, options: Options): Promise; @@ -762,8 +762,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function removePreferencesFromCache(context: Context, name: string, callback: AsyncCallback): void; @@ -807,8 +807,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function removePreferencesFromCache(context: Context, options: Options, callback: AsyncCallback): void; @@ -862,8 +862,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function removePreferencesFromCache(context: Context, name: string): Promise; @@ -907,8 +907,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function removePreferencesFromCache(context: Context, options: Options): Promise; @@ -944,8 +944,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function removePreferencesFromCacheSync(context: Context, name: string): void; @@ -987,8 +987,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function removePreferencesFromCacheSync(context: Context, options: Options): void; @@ -1026,8 +1026,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface Preferences { /** @@ -1077,8 +1077,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ get(key: string, defValue: ValueType, callback: AsyncCallback): void; @@ -1129,8 +1129,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ get(key: string, defValue: ValueType): Promise; @@ -1166,8 +1166,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getSync(key: string, defValue: ValueType): ValueType; @@ -1197,8 +1197,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getAll(callback: AsyncCallback): void; @@ -1225,8 +1225,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getAll(): Promise; @@ -1248,8 +1248,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getAllSync(): Object; @@ -1294,8 +1294,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ has(key: string, callback: AsyncCallback): void; @@ -1340,8 +1340,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ has(key: string): Promise; @@ -1375,8 +1375,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ hasSync(key: string): boolean; @@ -1438,8 +1438,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ put(key: string, value: ValueType, callback: AsyncCallback): void; @@ -1505,8 +1505,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ put(key: string, value: ValueType): Promise; @@ -1550,8 +1550,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ putSync(key: string, value: ValueType): void; @@ -1596,8 +1596,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ delete(key: string, callback: AsyncCallback): void; @@ -1642,8 +1642,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ delete(key: string): Promise; @@ -1675,8 +1675,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ deleteSync(key: string): void; @@ -1709,8 +1709,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ clear(callback: AsyncCallback): void; @@ -1740,8 +1740,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ clear(): Promise; @@ -1760,8 +1760,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ clearSync(): void; @@ -1791,8 +1791,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ flush(callback: AsyncCallback): void; @@ -1819,8 +1819,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ flush(): Promise; @@ -1831,8 +1831,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ flushSync(): void; @@ -1871,8 +1871,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'change', callback: Callback): void; @@ -1900,8 +1900,8 @@ declare namespace preferences { * @throws { BusinessError } 15500019 - Failed to obtain the subscription service. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'multiProcessChange', callback: Callback): void; @@ -1932,8 +1932,7 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ on(type: 'dataChange', keys: Array, callback: Callback>): void; @@ -1972,8 +1971,8 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'change', callback?: Callback): void; @@ -1999,8 +1998,8 @@ declare namespace preferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'multiProcessChange', callback?: Callback): void; @@ -2031,8 +2030,7 @@ declare namespace preferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ off(type: 'dataChange', keys: Array, callback?: Callback>): void; } diff --git a/api/@ohos.data.rdb.d.ts b/api/@ohos.data.rdb.d.ts index 653c33468c..71cf729f1d 100644 --- a/api/@ohos.data.rdb.d.ts +++ b/api/@ohos.data.rdb.d.ts @@ -27,7 +27,7 @@ import Context from './application/BaseContext'; * * @namespace rdb * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore */ @@ -42,7 +42,7 @@ declare namespace rdb { * @param { number } version - Indicates the database version for upgrade or downgrade. * @param { AsyncCallback } callback - The RDB store {@link RdbStore}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.getRdbStore */ @@ -58,7 +58,7 @@ declare namespace rdb { * @param { number } version - Indicates the database version for upgrade or downgrade. * @returns { Promise } The RDB store {@link RdbStore}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.getRdbStore */ @@ -71,7 +71,7 @@ declare namespace rdb { * @param { string } name - Indicates the database name. * @param { AsyncCallback } callback - The callback of deleteRdbStore. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.deleteRdbStore */ @@ -83,7 +83,7 @@ declare namespace rdb { * @param { string } name - Indicates the database name. * @returns { Promise } The promise returned by the function. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.deleteRdbStore */ @@ -94,7 +94,7 @@ declare namespace rdb { * * @enum { number } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.SyncMode */ @@ -103,7 +103,7 @@ declare namespace rdb { * Indicates the data is pushed to remote device from local device. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.SyncMode.SYNC_MODE_PUSH */ @@ -113,7 +113,7 @@ declare namespace rdb { * Indicates the data is pulled from remote device to local device. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.SyncMode.SYNC_MODE_PULL */ @@ -126,7 +126,7 @@ declare namespace rdb { * @permission ohos.permission.DISTRIBUTED_DATASYNC * @enum { number } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.SubscribeType */ @@ -136,7 +136,7 @@ declare namespace rdb { * * @permission ohos.permission.DISTRIBUTED_DATASYNC * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.SubscribeType.SUBSCRIBE_TYPE_REMOTE */ @@ -149,7 +149,7 @@ declare namespace rdb { * * @interface RdbStore * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore */ @@ -161,7 +161,7 @@ declare namespace rdb { * @param { ValuesBucket } values - Indicates the row of data {@link ValuesBucket} to be inserted into the table. * @param { AsyncCallback } callback - The row ID if the operation is successful. returns -1 otherwise. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.insert */ @@ -174,7 +174,7 @@ declare namespace rdb { * @param { ValuesBucket } values - Indicates the row of data {@link ValuesBucket} to be inserted into the table. * @returns { Promise } Return the row ID if the operation is successful. return -1 otherwise. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.insert */ @@ -187,7 +187,7 @@ declare namespace rdb { * @param { Array } values - Indicates the rows of data {@link ValuesBucket} to be inserted into the table. * @param { AsyncCallback } callback - The number of values that were inserted if the operation is successful. returns -1 otherwise. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.batchInsert */ @@ -200,7 +200,7 @@ declare namespace rdb { * @param { Array } values - Indicates the rows of data {@link ValuesBucket} to be inserted into the table. * @returns { Promise } Return the number of values that were inserted if the operation is successful. returns -1 otherwise. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.batchInsert */ @@ -214,7 +214,7 @@ declare namespace rdb { * @param { RdbPredicates } predicates - Indicates the specified update condition by the instance object of {@link RdbPredicates}. * @param { AsyncCallback } callback - The number of affected rows. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.update */ @@ -228,7 +228,7 @@ declare namespace rdb { * @param { RdbPredicates } predicates - Indicates the specified update condition by the instance object of {@link RdbPredicates}. * @returns { Promise } Return the number of affected rows. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.update */ @@ -240,7 +240,7 @@ declare namespace rdb { * @param { RdbPredicates } predicates - The specified delete condition by the instance object of {@link RdbPredicates}. * @param { AsyncCallback } callback - The number of affected rows. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.delete */ @@ -252,7 +252,7 @@ declare namespace rdb { * @param { RdbPredicates } predicates - The specified delete condition by the instance object of {@link RdbPredicates}. * @returns { Promise } Return the number of affected rows. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.delete */ @@ -265,7 +265,7 @@ declare namespace rdb { * @param { Array } columns - The columns to query. If the value is empty array, the query applies to all columns. * @param { AsyncCallback } callback - The {@link ResultSet} object if the operation is successful. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.query */ @@ -278,7 +278,7 @@ declare namespace rdb { * @param { Array } columns - The columns to query. If the value is null, the query applies to all columns. * @returns { Promise } Return the {@link ResultSet} object if the operation is successful. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.query */ @@ -291,7 +291,7 @@ declare namespace rdb { * @param { Array } bindArgs - Indicates the {@link ValueType} values of the parameters in the SQL statement. The values are strings. * @param { AsyncCallback } callback * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.querySql */ @@ -304,7 +304,7 @@ declare namespace rdb { * @param { Array } bindArgs - Indicates the {@link ValueType} values of the parameters in the SQL statement. The values are strings. * @returns { Promise } Return the {@link ResultSet} object if the operation is successful. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.querySql */ @@ -317,7 +317,7 @@ declare namespace rdb { * @param { Array } bindArgs - Indicates the {@link ValueType} values of the parameters in the SQL statement. The values are strings. * @param { AsyncCallback } callback - The callback of executeSql. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.executeSql */ @@ -330,7 +330,7 @@ declare namespace rdb { * @param { Array } bindArgs - Indicates the {@link ValueType} values of the parameters in the SQL statement. The values are strings. * @returns { Promise } The promise returned by the function. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.executeSql */ @@ -340,7 +340,7 @@ declare namespace rdb { * Begin Transaction before execute your sql. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.beginTransaction */ @@ -350,7 +350,7 @@ declare namespace rdb { * Commit the the sql you have executed. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.commit */ @@ -360,7 +360,7 @@ declare namespace rdb { * Roll back the sql you have already executed. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.rollBack */ @@ -373,7 +373,7 @@ declare namespace rdb { * @param { Array } tables - Indicates the tables name you want to set. * @param { AsyncCallback } callback - The callback of setDistributedTables. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.setDistributedTables */ @@ -386,7 +386,7 @@ declare namespace rdb { * @param { Array } tables - Indicates the tables name you want to set. * @returns { Promise } The promise returned by the function. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.setDistributedTables */ @@ -401,7 +401,7 @@ declare namespace rdb { * @param { string } table - {string}: The distributed table name. * @param { AsyncCallback } callback * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.obtainDistributedTableName */ @@ -416,7 +416,7 @@ declare namespace rdb { * @param { string } table * @returns { Promise } {string}: The distributed table name. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.obtainDistributedTableName */ @@ -430,7 +430,7 @@ declare namespace rdb { * @param { RdbPredicates } predicates - {Array<[string, number]>}: Devices sync status array, {string}: device id, {number}: device sync status. * @param { AsyncCallback> } callback * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.sync */ @@ -444,7 +444,7 @@ declare namespace rdb { * @param { RdbPredicates } predicates * @returns { Promise> } {Array<[string, number]>}: Devices sync status array, {string}: device id, {number}: device sync status. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.sync */ @@ -459,7 +459,7 @@ declare namespace rdb { * If its value is SUBSCRIBE_TYPE_REMOTE, ohos.permission.DISTRIBUTED_DATASYNC is required. * @param { Callback> } observer - {Array}: The observer of data change events in the distributed database. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.on */ @@ -473,7 +473,7 @@ declare namespace rdb { * If its value is SUBSCRIBE_TYPE_REMOTE, ohos.permission.DISTRIBUTED_DATASYNC is required. * @param { Callback> } observer - {Array}: The data change observer already registered. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbStore.off */ @@ -484,7 +484,7 @@ declare namespace rdb { * Indicates possible value types * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.ValueType */ @@ -494,7 +494,7 @@ declare namespace rdb { * Values in buckets are stored in key-value pairs * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.ValuesBucket */ @@ -505,7 +505,7 @@ declare namespace rdb { * * @interface StoreConfig * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.StoreConfig */ @@ -514,7 +514,7 @@ declare namespace rdb { * Manages relational database configurations. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.StoreConfig */ @@ -525,7 +525,7 @@ declare namespace rdb { * Manages relational database configurations. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates */ @@ -535,7 +535,7 @@ declare namespace rdb { * * @param { string } name - Indicates the table name of the database. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.constructor */ @@ -548,7 +548,7 @@ declare namespace rdb { * @param { Array } devices - Indicates specified remote devices. * @returns { RdbPredicates } - The {@link RdbPredicates} self. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.inDevices */ @@ -560,7 +560,7 @@ declare namespace rdb { * * @returns { RdbPredicates } - The {@link RdbPredicates} self. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.inAllDevices */ @@ -575,7 +575,7 @@ declare namespace rdb { * @param { ValueType } value - Indicates the value to match with the {@link RdbPredicates}. * @returns { RdbPredicates } - The {@link RdbPredicates} self. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.equalTo */ @@ -590,7 +590,7 @@ declare namespace rdb { * @param { ValueType } value - Indicates the value to match with the {@link RdbPredicates}. * @returns { RdbPredicates } - The {@link RdbPredicates} self. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.notEqualTo */ @@ -602,7 +602,7 @@ declare namespace rdb { * * @returns { RdbPredicates } - The {@link RdbPredicates} with the left parenthesis. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.beginWrap */ @@ -615,7 +615,7 @@ declare namespace rdb { * * @returns { RdbPredicates } - The {@link RdbPredicates} with the right parenthesis. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.endWrap */ @@ -627,7 +627,7 @@ declare namespace rdb { * * @returns { RdbPredicates } Returns the {@link RdbPredicates} with the or condition. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.or */ @@ -639,7 +639,7 @@ declare namespace rdb { * * @returns { RdbPredicates } Returns the {@link RdbPredicates} with the or condition. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.and */ @@ -654,7 +654,7 @@ declare namespace rdb { * @param { string } value - Indicates the value to match with the {@link RdbPredicates}. * @returns { RdbPredicates } - The {@link RdbPredicates} self. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.contains */ @@ -669,7 +669,7 @@ declare namespace rdb { * @param { string } value - Indicates the value to match with the {@link RdbPredicates}. * @returns { RdbPredicates } - The {@link RdbPredicates} self. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.beginsWith */ @@ -684,7 +684,7 @@ declare namespace rdb { * @param { string } value - Indicates the value to match with the {@link RdbPredicates}. * @returns { RdbPredicates } - The {@link RdbPredicates} self. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.endsWith */ @@ -697,7 +697,7 @@ declare namespace rdb { * @param { string } field - Indicates the column name in the database table. * @returns { RdbPredicates } - The {@link RdbPredicates} self. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.isNull */ @@ -711,7 +711,7 @@ declare namespace rdb { * @returns { RdbPredicates } - The {@link RdbPredicates} self. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.isNotNull */ @@ -726,7 +726,7 @@ declare namespace rdb { * @param { string } value - Indicates the value to match with the {@link RdbPredicates}. * @returns { RdbPredicates } - The {@link RdbPredicates} that match the specified field. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.like */ @@ -741,7 +741,7 @@ declare namespace rdb { * @param { string } value - Indicates the value to match with the {@link RdbPredicates}. * @returns { RdbPredicates } - The SQL statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.glob */ @@ -756,7 +756,7 @@ declare namespace rdb { * @param { ValueType } high - Indicates the maximum value. * @returns { RdbPredicates } - The SQL statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.between */ @@ -771,7 +771,7 @@ declare namespace rdb { * @param { ValueType } high - Indicates the maximum value to. * @returns { RdbPredicates } - The SQL statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.notBetween */ @@ -784,7 +784,7 @@ declare namespace rdb { * @param { ValueType } value - Indicates the value to match with the {@link RdbPredicates}. * @returns { RdbPredicates } - The SQL query statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.greaterThan */ @@ -797,7 +797,7 @@ declare namespace rdb { * @param { ValueType } value - Indicates the value to match with the {@link RdbPredicates}. * @returns { RdbPredicates } - The SQL query statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.lessThan */ @@ -810,7 +810,7 @@ declare namespace rdb { * @param { ValueType } value - Indicates the value to match with the {@link RdbPredicates}. * @returns { RdbPredicates } - The SQL query statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.greaterThanOrEqualTo */ @@ -823,7 +823,7 @@ declare namespace rdb { * @param { ValueType } value - Indicates the value to match with the {@link RdbPredicates}. * @returns { RdbPredicates } - The SQL query statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.lessThanOrEqualTo */ @@ -836,7 +836,7 @@ declare namespace rdb { * @param { string } field - Indicates the column name for sorting the return list. * @returns { RdbPredicates } - The SQL query statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.orderByAsc */ @@ -849,7 +849,7 @@ declare namespace rdb { * @param { string } field - Indicates the column name for sorting the return list. * @returns { RdbPredicates } - The SQL query statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.orderByDesc */ @@ -860,7 +860,7 @@ declare namespace rdb { * * @returns { RdbPredicates } - The SQL query statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.distinct */ @@ -872,7 +872,7 @@ declare namespace rdb { * @param { number } value - Indicates the max length of the return list. * @returns { RdbPredicates } - The SQL query statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.limitAs */ @@ -885,7 +885,7 @@ declare namespace rdb { * @param { number } rowOffset - Indicates the start position of the returned result. The value is a positive integer. * @returns { RdbPredicates } - The SQL query statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.offsetAs */ @@ -897,7 +897,7 @@ declare namespace rdb { * @param { Array } fields - Indicates the specified columns by which query results are grouped. * @returns { RdbPredicates } - The SQL query statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.groupBy */ @@ -910,7 +910,7 @@ declare namespace rdb { * @param { string } field - Indicates the name of the index column. * @returns { RdbPredicates } - The SQL statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.indexedBy */ @@ -924,7 +924,7 @@ declare namespace rdb { * @param { Array } value - Indicates the values to match with {@link RdbPredicates}. * @returns { RdbPredicates } - The SQL statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.in */ @@ -938,7 +938,7 @@ declare namespace rdb { * @param { Array } value - Indicates the values to match with {@link RdbPredicates}. * @returns { RdbPredicates } - The SQL statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.data.relationalStore.RdbPredicates.notIn */ @@ -949,7 +949,7 @@ declare namespace rdb { * Configure RdbPredicates to match the specified field whose data type is ValueType array and values * are out of a given range. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ export type ResultSet = _ResultSet; @@ -958,7 +958,7 @@ declare namespace rdb { /** * Provides methods for rdbStore create and delete. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ export default rdb; diff --git a/api/@ohos.data.relationalStore.d.ts b/api/@ohos.data.relationalStore.d.ts index bcfb9d97c0..496463fdcf 100644 --- a/api/@ohos.data.relationalStore.d.ts +++ b/api/@ohos.data.relationalStore.d.ts @@ -21,7 +21,7 @@ import { AsyncCallback, Callback } from './@ohos.base'; import Context from './application/BaseContext'; import dataSharePredicates from './@ohos.data.dataSharePredicates'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import sendableRelationalStore from './@ohos.data.sendableRelationalStore'; /*** endif */ /** @@ -37,8 +37,8 @@ import sendableRelationalStore from './@ohos.data.sendableRelationalStore'; * @namespace relationalStore * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare namespace relationalStore { /** @@ -47,8 +47,8 @@ declare namespace relationalStore { * @enum { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum AssetStatus { /** @@ -56,8 +56,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ASSET_NORMAL, @@ -66,8 +66,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ASSET_INSERT, @@ -76,8 +76,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ASSET_UPDATE, @@ -86,8 +86,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ASSET_DELETE, @@ -96,8 +96,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ASSET_ABNORMAL, @@ -106,8 +106,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ASSET_DOWNLOADING } @@ -118,8 +118,8 @@ declare namespace relationalStore { * @interface Asset * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface Asset { /** @@ -128,8 +128,8 @@ declare namespace relationalStore { * @type { string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ name: string; @@ -139,8 +139,8 @@ declare namespace relationalStore { * @type { string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ uri: string; @@ -150,8 +150,8 @@ declare namespace relationalStore { * @type { string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ path: string; @@ -161,8 +161,8 @@ declare namespace relationalStore { * @type { string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ createTime: string; @@ -172,8 +172,8 @@ declare namespace relationalStore { * @type { string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ modifyTime: string; @@ -183,8 +183,8 @@ declare namespace relationalStore { * @type { string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ size: string; @@ -194,8 +194,8 @@ declare namespace relationalStore { * @type { ?AssetStatus } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ status?: AssetStatus; } @@ -206,8 +206,8 @@ declare namespace relationalStore { * @typedef { Asset[] } Assets * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ type Assets = Asset[]; @@ -232,8 +232,8 @@ declare namespace relationalStore { * @typedef { null | long | double | string | boolean | Uint8Array | Asset | Assets | Float32Array | bigint } ValueType * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type ValueType = null | long | double | string | boolean | Uint8Array | Asset | Assets | Float32Array | bigint; @@ -258,8 +258,8 @@ declare namespace relationalStore { * @typedef { Record } ValuesBucket * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type ValuesBucket = Record; @@ -268,7 +268,7 @@ declare namespace relationalStore { * * @typedef { long | string } PRIKeyType * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ type PRIKeyType = long | string; @@ -277,7 +277,7 @@ declare namespace relationalStore { * * @typedef { Date } UTCTime * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ type UTCTime = Date; @@ -286,7 +286,7 @@ declare namespace relationalStore { * * @typedef { Map } ModifyTime * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ type ModifyTime = Map; @@ -303,8 +303,8 @@ declare namespace relationalStore { * @interface StoreConfig * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface StoreConfig { /** @@ -319,8 +319,8 @@ declare namespace relationalStore { * @type { string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ name: string; @@ -330,8 +330,8 @@ declare namespace relationalStore { * @type { SecurityLevel } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ securityLevel: SecurityLevel; @@ -340,8 +340,8 @@ declare namespace relationalStore { * * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ encrypt?: boolean; @@ -351,8 +351,8 @@ declare namespace relationalStore { * @type { ?string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @StageModelOnly - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ dataGroupId?: string; @@ -362,8 +362,8 @@ declare namespace relationalStore { * @type { ?string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ customDir?: string; @@ -373,7 +373,7 @@ declare namespace relationalStore { * @type { ?string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ rootDir?: string; @@ -383,8 +383,8 @@ declare namespace relationalStore { * * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ autoCleanDirtyData?: boolean; @@ -394,8 +394,8 @@ declare namespace relationalStore { * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isSearchable?: boolean; @@ -404,8 +404,8 @@ declare namespace relationalStore { * * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ allowRebuild?: boolean; @@ -414,8 +414,8 @@ declare namespace relationalStore { * * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ vector?: boolean; @@ -434,8 +434,7 @@ declare namespace relationalStore { * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ isReadOnly?: boolean; @@ -444,8 +443,8 @@ declare namespace relationalStore { * * @type { ?Array } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pluginLibs?: Array; @@ -455,8 +454,8 @@ declare namespace relationalStore { * @type { ?HAMode } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ haMode?: HAMode; @@ -473,8 +472,7 @@ declare namespace relationalStore { * @type { ?CryptoParam } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ cryptoParam?: CryptoParam; @@ -483,7 +481,7 @@ declare namespace relationalStore { * * @type { ?Tokenizer } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 17 + * @since 17 dynamic */ tokenizer?: Tokenizer; @@ -501,7 +499,7 @@ declare namespace relationalStore { * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ persist?: boolean; @@ -511,7 +509,7 @@ declare namespace relationalStore { * * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 20 + * @since 20 dynamic */ enableSemanticIndex?: boolean; @@ -523,8 +521,8 @@ declare namespace relationalStore { * @enum { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum HAMode { /** @@ -532,8 +530,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SINGLE = 0, @@ -542,8 +540,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MAIN_REPLICA } @@ -561,8 +559,7 @@ declare namespace relationalStore { * @typedef CryptoParam * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface CryptoParam { /** @@ -580,8 +577,7 @@ declare namespace relationalStore { * @type { Uint8Array } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ encryptionKey: Uint8Array; @@ -602,8 +598,7 @@ declare namespace relationalStore { * @type { ?int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ iterationCount?: int; @@ -622,8 +617,7 @@ declare namespace relationalStore { * @type { ?EncryptionAlgo } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ encryptionAlgo?: EncryptionAlgo; @@ -642,8 +636,7 @@ declare namespace relationalStore { * @type { ?HmacAlgo } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ hmacAlgo?: HmacAlgo; @@ -662,8 +655,7 @@ declare namespace relationalStore { * @type { ?KdfAlgo } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ kdfAlgo?: KdfAlgo; @@ -682,8 +674,7 @@ declare namespace relationalStore { * @type { ?int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ cryptoPageSize?: int; } @@ -701,8 +692,7 @@ declare namespace relationalStore { * @enum { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum EncryptionAlgo { /** @@ -716,8 +706,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ AES_256_GCM = 0, @@ -732,8 +721,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ AES_256_CBC } @@ -751,8 +739,7 @@ declare namespace relationalStore { * @enum { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum HmacAlgo { /** @@ -766,8 +753,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ SHA1 = 0, @@ -782,8 +768,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ SHA256, @@ -798,8 +783,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ SHA512 } @@ -817,8 +801,7 @@ declare namespace relationalStore { * @enum { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum KdfAlgo { /** @@ -832,8 +815,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ KDF_SHA1 = 0, @@ -848,8 +830,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ KDF_SHA256, @@ -864,8 +845,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ KDF_SHA512 } @@ -875,28 +855,28 @@ declare namespace relationalStore { * * @enum { number } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 17 + * @since 17 dynamic */ enum Tokenizer { /** * NONE_TOKENIZER: not use tokenizer * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 17 + * @since 17 dynamic */ NONE_TOKENIZER = 0, /** * ICU_TOKENIZER: native icu tokenizer. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 17 + * @since 17 dynamic */ ICU_TOKENIZER, /** * CUSTOM_TOKENIZER: self-developed enhance tokenizer. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 18 + * @since 18 dynamic */ CUSTOM_TOKENIZER } @@ -906,14 +886,14 @@ declare namespace relationalStore { * * @enum { number } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ enum Progress { /** * SYNC_BEGIN: means the sync process begin. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ SYNC_BEGIN, @@ -921,7 +901,7 @@ declare namespace relationalStore { * SYNC_BEGIN: means the sync process is in progress * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ SYNC_IN_PROGRESS, @@ -929,7 +909,7 @@ declare namespace relationalStore { * SYNC_BEGIN: means the sync process is finished * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ SYNC_FINISH } @@ -939,7 +919,7 @@ declare namespace relationalStore { * * @interface Statistic * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ interface Statistic { /** @@ -947,7 +927,7 @@ declare namespace relationalStore { * * @type { number } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ total: number; @@ -956,7 +936,7 @@ declare namespace relationalStore { * * @type { number } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ successful: number; @@ -965,7 +945,7 @@ declare namespace relationalStore { * * @type { number } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ failed: number; @@ -974,7 +954,7 @@ declare namespace relationalStore { * * @type { number } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ remained: number; } @@ -984,7 +964,7 @@ declare namespace relationalStore { * * @interface TableDetails * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ interface TableDetails { /** @@ -992,7 +972,7 @@ declare namespace relationalStore { * * @type { Statistic } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ upload: Statistic; @@ -1001,7 +981,7 @@ declare namespace relationalStore { * * @type { Statistic } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ download: Statistic; } @@ -1011,14 +991,14 @@ declare namespace relationalStore { * * @enum { number } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ enum ProgressCode { /** * SUCCESS: means the status of progress is success. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ SUCCESS, @@ -1026,7 +1006,7 @@ declare namespace relationalStore { * UNKNOWN_ERROR: means the progress meets unknown error. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ UNKNOWN_ERROR, @@ -1034,7 +1014,7 @@ declare namespace relationalStore { * NETWORK_ERROR: means the progress meets network error. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ NETWORK_ERROR, @@ -1042,7 +1022,7 @@ declare namespace relationalStore { * CLOUD_DISABLED: means cloud is disabled. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ CLOUD_DISABLED, @@ -1050,7 +1030,7 @@ declare namespace relationalStore { * LOCKED_BY_OTHERS: means the progress is locked by others. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ LOCKED_BY_OTHERS, @@ -1058,7 +1038,7 @@ declare namespace relationalStore { * RECORD_LIMIT_EXCEEDED: means the record exceeds the limit. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ RECORD_LIMIT_EXCEEDED, @@ -1066,7 +1046,7 @@ declare namespace relationalStore { * NO_SPACE_FOR_ASSET: means the cloud has no space for the asset. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ NO_SPACE_FOR_ASSET, @@ -1074,7 +1054,7 @@ declare namespace relationalStore { * BLOCKED_BY_NETWORK_STRATEGY: means the sync blocked by network strategy. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ BLOCKED_BY_NETWORK_STRATEGY } @@ -1084,7 +1064,7 @@ declare namespace relationalStore { * * @interface ProgressDetails * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ interface ProgressDetails { /** @@ -1092,7 +1072,7 @@ declare namespace relationalStore { * * @type { Progress } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ schedule: Progress; @@ -1101,7 +1081,7 @@ declare namespace relationalStore { * * @type { ProgressCode } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ code: ProgressCode; @@ -1116,7 +1096,7 @@ declare namespace relationalStore { * * @type { Record } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 11 + * @since 11 dynamic */ details: Record; } @@ -1134,7 +1114,7 @@ declare namespace relationalStore { * @interface SqlExecutionInfo * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ interface SqlExecutionInfo { /** @@ -1150,7 +1130,7 @@ declare namespace relationalStore { * @type { Array } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ sql: Array; @@ -1167,7 +1147,7 @@ declare namespace relationalStore { * @type { long } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ totalTime: long; @@ -1184,7 +1164,7 @@ declare namespace relationalStore { * @type { long } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ waitTime: long; @@ -1201,7 +1181,7 @@ declare namespace relationalStore { * @type { long } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ prepareTime: long; @@ -1218,7 +1198,7 @@ declare namespace relationalStore { * @type { long } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ executeTime: long; } @@ -1229,7 +1209,7 @@ declare namespace relationalStore { * @interface ExceptionMessage * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ interface ExceptionMessage { /** @@ -1238,7 +1218,7 @@ declare namespace relationalStore { * @type { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ code: int; @@ -1248,7 +1228,7 @@ declare namespace relationalStore { * @type { string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ message: string; @@ -1258,7 +1238,7 @@ declare namespace relationalStore { * @type { string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ sql: string; } @@ -1269,7 +1249,7 @@ declare namespace relationalStore { * @interface SqlInfo * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ interface SqlInfo { /** @@ -1278,7 +1258,7 @@ declare namespace relationalStore { * @type { string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ sql: string; @@ -1288,7 +1268,7 @@ declare namespace relationalStore { * @type { Array } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ args: Array; } @@ -1299,8 +1279,8 @@ declare namespace relationalStore { * @enum { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum SecurityLevel { /** @@ -1309,8 +1289,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ S1 = 1, @@ -1320,8 +1300,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ S2 = 2, @@ -1331,8 +1311,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ S3 = 3, @@ -1342,8 +1322,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ S4 = 4 } @@ -1353,14 +1333,14 @@ declare namespace relationalStore { * * @enum { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 9 + * @since 9 dynamic */ enum SyncMode { /** * Indicates the data is pushed to remote device from local device. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 9 + * @since 9 dynamic */ SYNC_MODE_PUSH = 0, @@ -1368,7 +1348,7 @@ declare namespace relationalStore { * Indicates the data is pulled from remote device to local device. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 9 + * @since 9 dynamic */ SYNC_MODE_PULL = 1, @@ -1376,7 +1356,7 @@ declare namespace relationalStore { * Indicates the data is pulled from remote device to local device. * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 10 + * @since 10 dynamic */ SYNC_MODE_TIME_FIRST, @@ -1384,7 +1364,7 @@ declare namespace relationalStore { * Indicates force push the native data to the cloud. * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 10 + * @since 10 dynamic */ SYNC_MODE_NATIVE_FIRST, @@ -1392,7 +1372,7 @@ declare namespace relationalStore { * Indicates the data is pulled from cloud to local device. * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 10 + * @since 10 dynamic */ SYNC_MODE_CLOUD_FIRST } @@ -1402,14 +1382,14 @@ declare namespace relationalStore { * * @enum { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 9 + * @since 9 dynamic */ enum SubscribeType { /** * Subscription to remote data changes * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 9 + * @since 9 dynamic */ SUBSCRIBE_TYPE_REMOTE = 0, @@ -1424,7 +1404,7 @@ declare namespace relationalStore { * Subscription to cloud data changes * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ SUBSCRIBE_TYPE_CLOUD, @@ -1439,7 +1419,7 @@ declare namespace relationalStore { * Subscription to cloud data changes details * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ SUBSCRIBE_TYPE_CLOUD_DETAILS, @@ -1447,7 +1427,7 @@ declare namespace relationalStore { * Subscription to local data changes details * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ SUBSCRIBE_TYPE_LOCAL_DETAILS } @@ -1457,7 +1437,7 @@ declare namespace relationalStore { * * @enum { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ enum ChangeType { /** @@ -1471,7 +1451,7 @@ declare namespace relationalStore { * Means the change type is data change. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ DATA_CHANGE, @@ -1486,7 +1466,7 @@ declare namespace relationalStore { * Means the change type is asset change. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ ASSET_CHANGE } @@ -1496,7 +1476,7 @@ declare namespace relationalStore { * * @interface ChangeInfo * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ interface ChangeInfo { /** @@ -1504,7 +1484,7 @@ declare namespace relationalStore { * * @type { string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ table: string; @@ -1513,7 +1493,7 @@ declare namespace relationalStore { * * @type { ChangeType } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ type: ChangeType; @@ -1523,7 +1503,7 @@ declare namespace relationalStore { * * @type { Array | Array } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ inserted: Array | Array; @@ -1533,7 +1513,7 @@ declare namespace relationalStore { * * @type { Array | Array } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ updated: Array | Array; @@ -1543,7 +1523,7 @@ declare namespace relationalStore { * * @type { Array | Array } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ deleted: Array | Array; } @@ -1553,14 +1533,14 @@ declare namespace relationalStore { * * @enum { number } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ enum DistributedType { /** * Indicates the table is distributed among the devices * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ DISTRIBUTED_DEVICE, @@ -1575,7 +1555,7 @@ declare namespace relationalStore { * Indicates the table is distributed between the cloud and the devices. * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ DISTRIBUTED_CLOUD } @@ -1586,7 +1566,7 @@ declare namespace relationalStore { * @interface Reference * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi - * @since 11 + * @since 11 dynamic */ interface Reference { /** @@ -1595,7 +1575,7 @@ declare namespace relationalStore { * @type { string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi - * @since 11 + * @since 11 dynamic */ sourceTable: string; @@ -1605,7 +1585,7 @@ declare namespace relationalStore { * @type { string } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi - * @since 11 + * @since 11 dynamic */ targetTable: string; @@ -1615,7 +1595,7 @@ declare namespace relationalStore { * @type { Record } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi - * @since 11 + * @since 11 dynamic */ refFields: Record } @@ -1625,7 +1605,7 @@ declare namespace relationalStore { * * @interface DistributedConfig * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ interface DistributedConfig { /** @@ -1633,7 +1613,7 @@ declare namespace relationalStore { * * @type { boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 10 + * @since 10 dynamic */ autoSync: boolean; @@ -1643,7 +1623,7 @@ declare namespace relationalStore { * @type { ?Array } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi - * @since 11 + * @since 11 dynamic */ references?: Array; @@ -1652,7 +1632,7 @@ declare namespace relationalStore { * * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 18 + * @since 18 dynamic */ asyncDownloadAsset?: boolean; @@ -1661,7 +1641,7 @@ declare namespace relationalStore { * * @type { ?boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 18 + * @since 18 dynamic */ enableCloud?: boolean; } @@ -1672,8 +1652,8 @@ declare namespace relationalStore { * @enum { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum ConflictResolution { /** @@ -1681,8 +1661,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ON_CONFLICT_NONE = 0, @@ -1691,8 +1671,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ON_CONFLICT_ROLLBACK = 1, @@ -1701,8 +1681,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ON_CONFLICT_ABORT = 2, @@ -1711,8 +1691,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ON_CONFLICT_FAIL = 3, @@ -1721,8 +1701,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ON_CONFLICT_IGNORE = 4, @@ -1731,8 +1711,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ON_CONFLICT_REPLACE = 5 } @@ -1742,14 +1722,14 @@ declare namespace relationalStore { * * @enum { number } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 11 + * @since 11 dynamic */ enum Origin { /** * Indicates the data source is local. * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 11 + * @since 11 dynamic */ LOCAL, @@ -1757,7 +1737,7 @@ declare namespace relationalStore { * Indicates the data source is cloud. * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 11 + * @since 11 dynamic */ CLOUD, @@ -1765,7 +1745,7 @@ declare namespace relationalStore { * Indicates the data source is remote. * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 11 + * @since 11 dynamic */ REMOTE, } @@ -1783,7 +1763,7 @@ declare namespace relationalStore { * @enum { string } * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @crossplatform - * @since 20 + * @since 20 dynamic */ enum Field { /** @@ -1797,7 +1777,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @crossplatform - * @since 20 + * @since 20 dynamic */ CURSOR_FIELD = '#_cursor', @@ -1812,7 +1792,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @crossplatform - * @since 20 + * @since 20 dynamic */ ORIGIN_FIELD = '#_origin', @@ -1829,7 +1809,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @crossplatform - * @since 20 + * @since 20 dynamic */ DELETED_FLAG_FIELD = '#_deleted_flag', @@ -1846,7 +1826,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @crossplatform - * @since 20 + * @since 20 dynamic */ DATA_STATUS_FIELD = '#_data_status', @@ -1861,7 +1841,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @crossplatform - * @since 20 + * @since 20 dynamic */ OWNER_FIELD = '#_cloud_owner', @@ -1876,7 +1856,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @crossplatform - * @since 20 + * @since 20 dynamic */ PRIVILEGE_FIELD = '#_cloud_privilege', @@ -1891,7 +1871,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @crossplatform - * @since 20 + * @since 20 dynamic */ SHARING_RESOURCE_FIELD = '#_sharing_resource_field' } @@ -1901,16 +1881,16 @@ declare namespace relationalStore { * * @enum { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum RebuildType { /** * The database is not rebuilt or repaired. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NONE, @@ -1918,8 +1898,8 @@ declare namespace relationalStore { * The database is rebuilt. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REBUILT, @@ -1927,8 +1907,8 @@ declare namespace relationalStore { * The database is repaired. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REPAIRED } @@ -1946,8 +1926,7 @@ declare namespace relationalStore { * @enum { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum TransactionType { /** @@ -1961,8 +1940,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DEFERRED, @@ -1977,8 +1955,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ IMMEDIATE, @@ -1993,8 +1970,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ EXCLUSIVE } @@ -2012,8 +1988,7 @@ declare namespace relationalStore { * @interface TransactionOptions * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface TransactionOptions { /** @@ -2029,8 +2004,7 @@ declare namespace relationalStore { * @type { TransactionType } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ transactionType?: TransactionType; } @@ -2041,7 +2015,7 @@ declare namespace relationalStore { * @enum { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ enum ColumnType { /** @@ -2049,7 +2023,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ NULL, @@ -2060,7 +2034,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ INTEGER, @@ -2069,7 +2043,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ REAL, @@ -2078,7 +2052,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ TEXT, @@ -2087,7 +2061,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ BLOB, @@ -2096,7 +2070,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ ASSET, @@ -2105,7 +2079,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ ASSETS, @@ -2114,7 +2088,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ FLOAT_VECTOR, @@ -2123,7 +2097,7 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ UNLIMITED_INT, } @@ -2139,8 +2113,8 @@ declare namespace relationalStore { * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ class RdbPredicates { /** @@ -2160,8 +2134,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ constructor(name: string); @@ -2174,7 +2148,7 @@ declare namespace relationalStore { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 9 + * @since 9 dynamic */ inDevices(devices: Array): RdbPredicates; @@ -2184,7 +2158,7 @@ declare namespace relationalStore { * * @returns { RdbPredicates } - The {@link RdbPredicates} self. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 9 + * @since 9 dynamic */ inAllDevices(): RdbPredicates; @@ -2213,8 +2187,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ equalTo(field: string, value: ValueType): RdbPredicates; @@ -2243,8 +2217,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ notEqualTo(field: string, value: ValueType): RdbPredicates; @@ -2263,8 +2237,8 @@ declare namespace relationalStore { * @returns { RdbPredicates } - The {@link RdbPredicates} with the left parenthesis. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ beginWrap(): RdbPredicates; @@ -2283,8 +2257,8 @@ declare namespace relationalStore { * @returns { RdbPredicates } - The {@link RdbPredicates} with the right parenthesis. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ endWrap(): RdbPredicates; @@ -2303,8 +2277,8 @@ declare namespace relationalStore { * @returns { RdbPredicates } - The {@link RdbPredicates} with the or condition. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ or(): RdbPredicates; @@ -2323,8 +2297,8 @@ declare namespace relationalStore { * @returns { RdbPredicates } - The {@link RdbPredicates} with the and condition. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ and(): RdbPredicates; @@ -2353,8 +2327,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ contains(field: string, value: string): RdbPredicates; @@ -2383,8 +2357,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ beginsWith(field: string, value: string): RdbPredicates; @@ -2413,8 +2387,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ endsWith(field: string, value: string): RdbPredicates; @@ -2439,8 +2413,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ isNull(field: string): RdbPredicates; @@ -2465,8 +2439,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ isNotNull(field: string): RdbPredicates; @@ -2495,8 +2469,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ like(field: string, value: string): RdbPredicates; @@ -2525,8 +2499,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ glob(field: string, value: string): RdbPredicates; @@ -2553,8 +2527,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ between(field: string, low: ValueType, high: ValueType): RdbPredicates; @@ -2581,8 +2555,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ notBetween(field: string, low: ValueType, high: ValueType): RdbPredicates; @@ -2607,8 +2581,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ greaterThan(field: string, value: ValueType): RdbPredicates; @@ -2633,8 +2607,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ lessThan(field: string, value: ValueType): RdbPredicates; @@ -2659,8 +2633,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ greaterThanOrEqualTo(field: string, value: ValueType): RdbPredicates; @@ -2685,8 +2659,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ lessThanOrEqualTo(field: string, value: ValueType): RdbPredicates; @@ -2711,8 +2685,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ orderByAsc(field: string): RdbPredicates; @@ -2737,8 +2711,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ orderByDesc(field: string): RdbPredicates; @@ -2755,8 +2729,8 @@ declare namespace relationalStore { * @returns { RdbPredicates } - The SQL query statement with the specified {@link RdbPredicates}. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ distinct(): RdbPredicates; @@ -2779,8 +2753,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ limitAs(value: int): RdbPredicates; @@ -2807,8 +2781,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ offsetAs(rowOffset: int): RdbPredicates; @@ -2831,8 +2805,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ groupBy(fields: Array): RdbPredicates; @@ -2857,8 +2831,8 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ indexedBy(field: string): RdbPredicates; @@ -2885,7 +2859,7 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 10 + * @since 10 dynamic */ in(field: string, value: Array): RdbPredicates; @@ -2900,8 +2874,7 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ inValues(field: string, value: Array): RdbPredicates; @@ -2928,7 +2901,7 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 10 + * @since 10 dynamic */ notIn(field: string, value: Array): RdbPredicates; @@ -2943,8 +2916,7 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ notInValues(field: string, value: Array): RdbPredicates; @@ -2973,7 +2945,7 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ notContains(field: string, value: string): RdbPredicates; @@ -3002,7 +2974,7 @@ declare namespace relationalStore { *
2. Incorrect parameter types. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ notLike(field: string, value: string): RdbPredicates; @@ -3016,7 +2988,7 @@ declare namespace relationalStore { *
2. Missing GROUP BY clause. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ having(conditions:string, args?: Array): RdbPredicates; } @@ -3034,8 +3006,8 @@ declare namespace relationalStore { * @interface ResultSet * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface ResultSet { /** @@ -3054,8 +3026,8 @@ declare namespace relationalStore { * @type { Array } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ columnNames: Array; @@ -3075,8 +3047,8 @@ declare namespace relationalStore { * @type { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ columnCount: int; @@ -3092,8 +3064,8 @@ declare namespace relationalStore { * @type { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ rowCount: int; @@ -3111,8 +3083,8 @@ declare namespace relationalStore { * @type { int } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ rowIndex: int; @@ -3128,7 +3100,7 @@ declare namespace relationalStore { * @type { boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 10 + * @since 10 dynamic */ isAtFirstRow: boolean; @@ -3144,7 +3116,7 @@ declare namespace relationalStore { * @type { boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 10 + * @since 10 dynamic */ isAtLastRow: boolean; @@ -3160,7 +3132,7 @@ declare namespace relationalStore { * @type { boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 10 + * @since 10 dynamic */ isEnded: boolean; @@ -3176,7 +3148,7 @@ declare namespace relationalStore { * @type { boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 10 + * @since 10 dynamic */ isStarted: boolean; @@ -3194,7 +3166,7 @@ declare namespace relationalStore { * @type { boolean } * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 10 + * @since 10 dynamic */ isClosed: boolean; @@ -3253,8 +3225,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getColumnIndex(columnName: string): int; @@ -3313,8 +3285,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getColumnName(columnIndex: int): string; @@ -3350,7 +3322,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ getColumnType(columnIdentifier: int | string): Promise; @@ -3384,7 +3356,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ getColumnTypeSync(columnIdentifier: int | string): ColumnType; @@ -3446,8 +3418,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ goTo(offset: int): boolean; @@ -3503,8 +3475,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ goToRow(position: int): boolean; @@ -3554,8 +3526,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ goToFirstRow(): boolean; @@ -3605,8 +3577,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ goToLastRow(): boolean; @@ -3656,8 +3628,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ goToNextRow(): boolean; @@ -3707,8 +3679,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ goToPreviousRow(): boolean; @@ -3770,8 +3742,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getBlob(columnIndex: int): Uint8Array; @@ -3833,8 +3805,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getString(columnIndex: int): string; @@ -3896,8 +3868,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getLong(columnIndex: int): long; @@ -3959,8 +3931,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getDouble(columnIndex: int): double; @@ -4009,8 +3981,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAsset(columnIndex: int): Asset; @@ -4059,8 +4031,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAssets(columnIndex: int): Assets; @@ -4163,8 +4135,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getValue(columnIndex: int): ValueType; @@ -4190,7 +4161,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800030 - SQLite: Unable to open the database file. * @throws { BusinessError } 14800031 - SQLite: TEXT or BLOB exceeds size limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 20 + * @since 20 dynamic */ getValueForFlutter(columnIndex: number): ValueType @@ -4224,8 +4195,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getFloat32Array(columnIndex: int): Float32Array; @@ -4294,8 +4265,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getRow(): ValuesBucket; @@ -4318,7 +4289,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800031 - SQLite: TEXT or BLOB exceeds size limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ getRowForFlutter(): ValuesBucket @@ -4349,7 +4320,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800033 - SQLite: Data type mismatch. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ getRows(maxCount: int, position?: int): Promise>; @@ -4379,7 +4350,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800033 - SQLite: Data type mismatch. * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ getSendableRow(): sendableRelationalStore.ValuesBucket; @@ -4438,8 +4409,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isColumnNull(columnIndex: int): boolean; @@ -4468,8 +4439,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800012 - ResultSet is empty or pointer index is out of bounds. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ close(): void; } @@ -4489,8 +4460,8 @@ declare namespace relationalStore { * @interface RdbStore * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface RdbStore { /** @@ -4535,8 +4506,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800030 - SQLite: Unable to open the database file. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ version: int; @@ -4545,8 +4516,8 @@ declare namespace relationalStore { * * @type {RebuildType} * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ rebuilt: RebuildType; @@ -4606,7 +4577,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ insert(table: string, values: ValuesBucket, callback: AsyncCallback): void; @@ -4656,7 +4627,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ insert(table: string, values: ValuesBucket, conflict: ConflictResolution, callback: AsyncCallback): void; @@ -4716,8 +4687,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ insert(table: string, values: ValuesBucket): Promise; @@ -4767,8 +4738,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ insert(table: string, values: ValuesBucket, conflict: ConflictResolution): Promise; @@ -4803,8 +4774,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ insertSync(table: string, values: ValuesBucket, conflict?: ConflictResolution): long; @@ -4839,7 +4810,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ insertSync(table: string, values: sendableRelationalStore.ValuesBucket, conflict?: ConflictResolution): number; @@ -4905,7 +4876,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ batchInsert(table: string, values: Array, callback: AsyncCallback): void; @@ -4971,8 +4942,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ batchInsert(table: string, values: Array): Promise; @@ -5007,8 +4978,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ batchInsertSync(table: string, values: Array): long; @@ -5045,7 +5016,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ batchInsertWithConflictResolution(table: string, values: Array, conflict: ConflictResolution): Promise; @@ -5081,7 +5052,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ batchInsertWithConflictResolutionSync(table: string, values: Array, conflict: ConflictResolution): long; @@ -5147,7 +5118,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ update(values: ValuesBucket, predicates: RdbPredicates, callback: AsyncCallback): void; @@ -5201,7 +5172,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ update( values: ValuesBucket, @@ -5272,8 +5243,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ update(values: ValuesBucket, predicates: RdbPredicates): Promise; @@ -5327,8 +5298,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ update(values: ValuesBucket, predicates: RdbPredicates, conflict: ConflictResolution): Promise; @@ -5365,8 +5336,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ updateSync(values: ValuesBucket, predicates: RdbPredicates, conflict?: ConflictResolution): long; @@ -5445,7 +5416,7 @@ declare namespace relationalStore { * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi * @StageModelOnly - * @since 12 + * @since 12 dynamic */ update( table: string, @@ -5529,8 +5500,8 @@ declare namespace relationalStore { * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates): Promise; @@ -5590,7 +5561,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ delete(predicates: RdbPredicates, callback: AsyncCallback): void; @@ -5650,8 +5621,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ delete(predicates: RdbPredicates): Promise; @@ -5685,8 +5656,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deleteSync(predicates: RdbPredicates): long; /** @@ -5758,7 +5729,7 @@ declare namespace relationalStore { * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi * @StageModelOnly - * @since 12 + * @since 12 dynamic */ delete(table: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void; @@ -5831,8 +5802,8 @@ declare namespace relationalStore { * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ delete(table: string, predicates: dataSharePredicates.DataSharePredicates): Promise; @@ -5862,7 +5833,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800015 - The database does not respond. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ query(predicates: RdbPredicates, callback: AsyncCallback): void; @@ -5910,7 +5881,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800015 - The database does not respond. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ query(predicates: RdbPredicates, columns: Array, callback: AsyncCallback): void; @@ -5955,8 +5926,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800015 - The database does not respond. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ query(predicates: RdbPredicates, columns?: Array): Promise; @@ -5994,7 +5965,7 @@ declare namespace relationalStore { * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi * @StageModelOnly - * @since 12 + * @since 12 dynamic */ query(table: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void; @@ -6036,7 +6007,7 @@ declare namespace relationalStore { * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi * @StageModelOnly - * @since 12 + * @since 12 dynamic */ query( table: string, @@ -6081,8 +6052,8 @@ declare namespace relationalStore { * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ query( table: string, @@ -6105,8 +6076,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800015 - The database does not respond. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ querySync(predicates: RdbPredicates, columns?: Array): ResultSet; @@ -6134,7 +6105,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800015 - The database does not respond. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ querySql(sql: string, callback: AsyncCallback): void; @@ -6179,7 +6150,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800015 - The database does not respond. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ querySql(sql: string, bindArgs: Array, callback: AsyncCallback): void; @@ -6224,8 +6195,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800015 - The database does not respond. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ querySql(sql: string, bindArgs?: Array): Promise; @@ -6243,7 +6214,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800015 - The database does not respond. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ querySqlSync(sql: string, bindArgs?: Array): ResultSet; @@ -6299,7 +6270,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800033 - SQLite: Data type mismatch. * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[]): Promise; @@ -6355,7 +6326,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800033 - SQLite: Data type mismatch. * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ getModifyTime( table: string, @@ -6412,7 +6383,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800033 - SQLite: Data type mismatch. * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ cleanDirtyData(table: string, cursor: number, callback: AsyncCallback): void; @@ -6458,7 +6429,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800033 - SQLite: Data type mismatch. * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ cleanDirtyData(table: string, callback: AsyncCallback): void; @@ -6512,7 +6483,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800033 - SQLite: Data type mismatch. * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ cleanDirtyData(table: string, cursor?: long): Promise; @@ -6566,7 +6537,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 12 + * @since 12 dynamic */ querySharingResource(predicates: RdbPredicates, columns?: Array): Promise; @@ -6618,7 +6589,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 12 + * @since 12 dynamic */ querySharingResource(predicates: RdbPredicates, callback: AsyncCallback): void; @@ -6672,7 +6643,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 12 + * @since 12 dynamic */ querySharingResource(predicates: RdbPredicates, columns: Array, callback: AsyncCallback): void; @@ -6719,7 +6690,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ executeSql(sql: string, callback: AsyncCallback): void; @@ -6783,7 +6754,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ executeSql(sql: string, bindArgs: Array, callback: AsyncCallback): void; @@ -6847,7 +6818,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ executeSql(sql: string, bindArgs?: Array): Promise; @@ -6882,8 +6853,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ execute(sql: string, args?: Array): Promise; @@ -6919,7 +6890,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ execute(sql: string, txId: number, args?: Array): Promise; @@ -6954,7 +6925,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ executeSync(sql: string, args?: Array): ValueType; @@ -7002,7 +6973,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ beginTransaction(): void; @@ -7033,7 +7004,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ beginTrans(): Promise; @@ -7077,7 +7048,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ commit(): void; @@ -7108,7 +7079,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800033 - SQLite: Data type mismatch. * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ commit(txId : number): Promise; @@ -7152,7 +7123,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ rollBack(): void; @@ -7182,7 +7153,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800033 - SQLite: Data type mismatch. * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ rollback(txId : number): Promise; @@ -7237,7 +7208,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ backup(destName: string, callback: AsyncCallback): void; @@ -7292,7 +7263,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ backup(destName: string): Promise; @@ -7347,7 +7318,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ restore(srcName: string, callback: AsyncCallback): void; @@ -7402,7 +7373,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ restore(srcName: string): Promise; @@ -7434,7 +7405,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi - * @since 12 + * @since 12 dynamic */ restore(): Promise; @@ -7463,7 +7434,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800000 - Inner error. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ setDistributedTables(tables: Array, callback: AsyncCallback): void; @@ -7492,7 +7463,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800000 - Inner error. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ setDistributedTables(tables: Array): Promise; @@ -7527,7 +7498,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @throws { BusinessError } 14800051 - The type of the distributed table does not match. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ setDistributedTables(tables: Array, type: DistributedType, callback: AsyncCallback): void; @@ -7566,7 +7537,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @throws { BusinessError } 14800051 - The type of the distributed table does not match. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ setDistributedTables( tables: Array, @@ -7610,7 +7581,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @throws { BusinessError } 14800051 - The type of the distributed table does not match. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ setDistributedTables(tables: Array, type?: DistributedType, config?: DistributedConfig): Promise; @@ -7643,7 +7614,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800000 - Inner error. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ obtainDistributedTableName(device: string, table: string, callback: AsyncCallback): void; @@ -7676,7 +7647,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800000 - Inner error. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ obtainDistributedTableName(device: string, table: string): Promise; @@ -7715,7 +7686,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800000 - Inner error. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ sync(mode: SyncMode, predicates: RdbPredicates, callback: AsyncCallback>): void; @@ -7750,7 +7721,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800000 - Inner error. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ sync(mode: SyncMode, predicates: RdbPredicates): Promise>; @@ -7785,7 +7756,7 @@ declare namespace relationalStore { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ cloudSync(mode: SyncMode, progress: Callback, callback: AsyncCallback): void; @@ -7816,7 +7787,7 @@ declare namespace relationalStore { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ cloudSync(mode: SyncMode, progress: Callback): Promise; @@ -7853,7 +7824,7 @@ declare namespace relationalStore { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ cloudSync( mode: SyncMode, @@ -7893,7 +7864,7 @@ declare namespace relationalStore { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client - * @since 12 + * @since 12 dynamic */ cloudSync(mode: SyncMode, tables: string[], progress: Callback): Promise; @@ -7936,7 +7907,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 12 + * @since 12 dynamic */ cloudSync( mode: SyncMode, @@ -7984,7 +7955,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.CloudSync.Client * @systemapi - * @since 12 + * @since 12 dynamic */ cloudSync(mode: SyncMode, predicates: RdbPredicates, progress: Callback): Promise; @@ -8021,7 +7992,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800000 - Inner error. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ remoteQuery( device: string, @@ -8064,7 +8035,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800000 - Inner error. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ remoteQuery(device: string, table: string, predicates: RdbPredicates, columns: Array): Promise; @@ -8098,7 +8069,7 @@ declare namespace relationalStore { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ on(event: 'dataChange', type: SubscribeType, observer: Callback>): void; @@ -8139,7 +8110,7 @@ declare namespace relationalStore { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ on(event: 'dataChange', type: SubscribeType, observer: Callback> | Callback>): void; @@ -8172,7 +8143,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @throws { BusinessError } 14800050 - Failed to obtain the subscription service. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ on(event: string, interProcess: boolean, observer: Callback): void; @@ -8201,7 +8172,7 @@ declare namespace relationalStore { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ on(event: 'autoSyncProgress', progress: Callback): void; @@ -8230,7 +8201,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ on(event: 'statistics', observer: Callback ): void; @@ -8242,7 +8213,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ on(event: 'sqliteErrorOccurred', observer: Callback ): void; @@ -8254,7 +8225,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ on(event: 'perfStat', observer: Callback): void; @@ -8283,7 +8254,7 @@ declare namespace relationalStore { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ off(event: 'dataChange', type: SubscribeType, observer: Callback>): void; @@ -8320,7 +8291,7 @@ declare namespace relationalStore { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ off( event: 'dataChange', @@ -8357,7 +8328,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @throws { BusinessError } 14800050 - Failed to obtain the subscription service. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ off(event: string, interProcess: boolean, observer?: Callback): void; @@ -8386,7 +8357,7 @@ declare namespace relationalStore { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ off(event: 'autoSyncProgress', progress?: Callback): void; @@ -8399,7 +8370,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800000 - Inner error. * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ off(event: 'statistics', observer?: Callback ): void; @@ -8411,7 +8382,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ off(event: 'sqliteErrorOccurred', observer?: Callback ): void; @@ -8423,7 +8394,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ off(event: 'perfStat', observer?: Callback): void; @@ -8450,7 +8421,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800014 - The RdbStore or ResultSet is already closed. * @throws { BusinessError } 14800050 - Failed to obtain the subscription service. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ emit(event: string): void; @@ -8471,8 +8442,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800000 - Inner error. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ close(): Promise; @@ -8508,7 +8478,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800033 - SQLite: Data type mismatch. * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ attach(fullPath: string, attachName: string, waitTime?: long) : Promise; @@ -8548,7 +8518,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800033 - SQLite: Data type mismatch. * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ attach(context: Context, config: StoreConfig, attachName: string, waitTime?: long) : Promise; @@ -8580,7 +8550,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800033 - SQLite: Data type mismatch. * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamic */ detach(attachName: string, waitTime?: long) : Promise; @@ -8614,7 +8584,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ lockRow(predicates: RdbPredicates): Promise; @@ -8648,7 +8618,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ unlockRow(predicates: RdbPredicates): Promise; @@ -8682,7 +8652,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800034 - SQLite: Library used incorrectly. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ queryLockedRow(predicates: RdbPredicates, columns?: Array): Promise; @@ -8694,7 +8664,7 @@ declare namespace relationalStore { * application which is not a system application uses system API. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi - * @since 12 + * @since 12 dynamic */ lockCloudContainer(): Promise; @@ -8706,7 +8676,7 @@ declare namespace relationalStore { * application which is not a system application uses system API. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi - * @since 12 + * @since 12 dynamic */ unlockCloudContainer(): Promise; @@ -8727,8 +8697,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800030 - SQLite: Unable to open the database file. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ createTransaction(options?: TransactionOptions): Promise; @@ -8755,7 +8725,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800029 - SQLite: The database is full. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ rekey(cryptoParam?: CryptoParam): Promise; } @@ -8766,8 +8736,8 @@ declare namespace relationalStore { * @interface Transaction * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface Transaction { /** @@ -8785,8 +8755,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800029 - SQLite: The database is full. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ commit(): Promise; @@ -8805,8 +8775,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800029 - SQLite: The database is full. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ rollback(): Promise; @@ -8836,8 +8806,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ insert(table: string, values: ValuesBucket, conflict?: ConflictResolution): Promise; @@ -8867,7 +8837,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 14 + * @since 14 dynamic */ insertSync(table: string, values: ValuesBucket | sendableRelationalStore.ValuesBucket, conflict?: ConflictResolution): number; @@ -8897,8 +8867,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ insertSync(table: string, values: ValuesBucket, conflict?: ConflictResolution): long; @@ -8929,8 +8898,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ batchInsert(table: string, values: Array): Promise; @@ -8960,8 +8929,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ batchInsertSync(table: string, values: Array): long; @@ -8996,7 +8965,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ batchInsertWithConflictResolution(table: string, values: Array, conflict: ConflictResolution): Promise; @@ -9030,7 +8999,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 18 + * @since 18 dynamic */ batchInsertWithConflictResolutionSync(table: string, values: Array, conflict: ConflictResolution): long; @@ -9062,8 +9031,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ update(values: ValuesBucket, predicates: RdbPredicates, conflict?: ConflictResolution): Promise; @@ -9095,8 +9064,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ updateSync(values: ValuesBucket, predicates: RdbPredicates, conflict?: ConflictResolution): long; @@ -9125,8 +9094,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ delete(predicates: RdbPredicates): Promise; @@ -9155,8 +9124,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ deleteSync(predicates: RdbPredicates): long; @@ -9181,8 +9150,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ query(predicates: RdbPredicates, columns?: Array): Promise; @@ -9209,8 +9178,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ querySync(predicates: RdbPredicates, columns?: Array): ResultSet; @@ -9236,8 +9205,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ querySql(sql: string, args?: Array): Promise; @@ -9263,7 +9232,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 14 + * @since 14 dynamic */ querySqlSync(sql: string, args?: Array): ResultSet; @@ -9322,7 +9291,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ execute(sql: string, args?: Array): Promise; @@ -9353,7 +9322,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800047 - The WAL file size exceeds the default limit. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 14 + * @since 14 dynamic */ executeSync(sql: string, args?: Array): ValueType; } @@ -9452,7 +9421,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800030 - SQLite: Unable to open the database file. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 14 + * @since 14 dynamic */ function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback): void; @@ -9548,8 +9517,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14800030 - SQLite: Unable to open the database file. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getRdbStore(context: Context, config: StoreConfig): Promise; @@ -9580,7 +9549,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800010 - Failed to open or delete the database by an invalid database path. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 10 + * @since 10 dynamic */ function deleteRdbStore(context: Context, name: string, callback: AsyncCallback): void; @@ -9600,7 +9569,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14801002 - Invalid data group ID. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 10 + * @since 10 dynamic */ function deleteRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback): void; @@ -9646,7 +9615,7 @@ declare namespace relationalStore { * @throws { BusinessError } 14800010 - Failed to open or delete the database by an invalid database path. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 12 + * @since 12 dynamic */ function deleteRdbStore(context: Context, name: string): Promise; @@ -9685,8 +9654,8 @@ declare namespace relationalStore { * @throws { BusinessError } 14801002 - Invalid data group ID. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function deleteRdbStore(context: Context, config: StoreConfig): Promise; @@ -9695,7 +9664,7 @@ declare namespace relationalStore { * * @returns { boolean } Returns {@code true} if the vector database is supported; returns {@code false} otherwise. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 18 + * @since 18 dynamic */ function isVectorSupported(): boolean; @@ -9705,7 +9674,7 @@ declare namespace relationalStore { * @returns { boolean } Returns {@code true} if the tokenizer is supported; returns {@code false} otherwise. * @throws { BusinessError } 401 - Parameter error. Possible causes: Incorrect parameter types * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 18 + * @since 18 dynamic */ function isTokenizerSupported(tokenizer: Tokenizer): boolean; @@ -9720,7 +9689,7 @@ declare namespace relationalStore { *
2. Missing GROUP BY clause. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ function getInsertSqlInfo(table: string, values: ValuesBucket, conflict?: ConflictResolution):SqlInfo; @@ -9735,7 +9704,7 @@ declare namespace relationalStore { *
2. Missing GROUP BY clause. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ function getUpdateSqlInfo(predicates: RdbPredicates, values: ValuesBucket, conflict?: ConflictResolution):SqlInfo; @@ -9748,7 +9717,7 @@ declare namespace relationalStore { *
2. Missing GROUP BY clause. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ function getDeleteSqlInfo(predicates: RdbPredicates):SqlInfo; @@ -9762,7 +9731,7 @@ declare namespace relationalStore { *
2. Missing GROUP BY clause. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ function getQuerySqlInfo(predicates: RdbPredicates, columns?: Array):SqlInfo; } diff --git a/api/@ohos.data.sendablePreferences.d.ets b/api/@ohos.data.sendablePreferences.d.ets index 3c16c1857d..b22c9b65e4 100644 --- a/api/@ohos.data.sendablePreferences.d.ets +++ b/api/@ohos.data.sendablePreferences.d.ets @@ -29,7 +29,7 @@ import lang from '../arkts/@arkts.lang'; * @namespace sendablePreferences * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly * @name sendablePreferences */ declare namespace sendablePreferences { @@ -38,7 +38,7 @@ declare namespace sendablePreferences { * * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ const MAX_KEY_LENGTH: number; @@ -47,7 +47,7 @@ declare namespace sendablePreferences { * * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ const MAX_VALUE_LENGTH: number; @@ -57,7 +57,7 @@ declare namespace sendablePreferences { * @interface Options * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ interface Options { /** @@ -66,7 +66,7 @@ declare namespace sendablePreferences { * @type { string } * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ name: string; @@ -77,7 +77,7 @@ declare namespace sendablePreferences { * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @StageModelOnly * @atomicservice - * @since 12 + * @since 12 dynamiconly */ dataGroupId?: string | null; } @@ -99,7 +99,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15501002 - Invalid dataGroupId. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ function getPreferences(context: Context, options: Options): Promise; @@ -121,7 +121,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15501002 - Invalid dataGroupId. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ function getPreferencesSync(context: Context, options: Options): Preferences; @@ -146,7 +146,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15501002 - Invalid dataGroupId. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ function deletePreferences(context: Context, options: Options): Promise; @@ -169,7 +169,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15501002 - Invalid dataGroupId. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ function removePreferencesFromCache(context: Context, options: Options): Promise; @@ -191,7 +191,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15501002 - Invalid dataGroupId. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ function removePreferencesFromCacheSync(context: Context, options: Options): void; @@ -205,7 +205,7 @@ declare namespace sendablePreferences { * @interface Preferences * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ interface Preferences extends lang.ISendable { /** @@ -223,7 +223,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ get(key: string, defValue: lang.ISendable): Promise; @@ -242,7 +242,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ getSync(key: string, defValue: lang.ISendable): lang.ISendable; @@ -253,7 +253,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ getAll(): Promise; @@ -264,7 +264,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ getAllSync(): lang.ISendable; @@ -281,7 +281,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ has(key: string): Promise; @@ -299,7 +299,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ hasSync(key: string): boolean; @@ -318,7 +318,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ put(key: string, value: lang.ISendable): Promise; @@ -337,7 +337,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ putSync(key: string, value: lang.ISendable): void; @@ -354,7 +354,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ delete(key: string): Promise; @@ -371,7 +371,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ deleteSync(key: string): void; @@ -383,7 +383,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ clear(): Promise; @@ -394,7 +394,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ clearSync(): void; @@ -405,7 +405,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ flush(): Promise; @@ -415,7 +415,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 14 + * @since 14 dynamiconly */ flushSync(): void; @@ -430,7 +430,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ on(type: 'change', callback: Callback): void; @@ -447,7 +447,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500019 - Failed to obtain the subscription service. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ on(type: 'multiProcessChange', callback: Callback): void; @@ -463,7 +463,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ on(type: 'dataChange', keys: Array, callback: Callback): void; @@ -478,7 +478,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ off(type: 'change', callback?: Callback): void; @@ -493,7 +493,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ off(type: 'multiProcessChange', callback?: Callback): void; @@ -509,7 +509,7 @@ declare namespace sendablePreferences { * @throws { BusinessError } 15500000 - Inner error. * @syscap SystemCapability.DistributedDataManager.Preferences.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ off(type: 'dataChange', keys: Array, callback?: Callback): void; } diff --git a/api/@ohos.data.sendableRelationalStore.d.ets b/api/@ohos.data.sendableRelationalStore.d.ets index d296e90f04..33ed9fd98f 100644 --- a/api/@ohos.data.sendableRelationalStore.d.ets +++ b/api/@ohos.data.sendableRelationalStore.d.ets @@ -27,7 +27,7 @@ import relationalStore from './@ohos.data.relationalStore'; * * @namespace sendableRelationalStore * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ declare namespace sendableRelationalStore { /** @@ -36,14 +36,14 @@ declare namespace sendableRelationalStore { * @interface Asset * @extends lang.ISendable * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ interface Asset extends lang.ISendable { /** * Name of the asset. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ name: string; @@ -51,7 +51,7 @@ declare namespace sendableRelationalStore { * URI of the asset. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ uri: string; @@ -59,7 +59,7 @@ declare namespace sendableRelationalStore { * Path of the asset. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ path: string; @@ -67,7 +67,7 @@ declare namespace sendableRelationalStore { * Time when the asset was created. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ createTime: string; @@ -75,7 +75,7 @@ declare namespace sendableRelationalStore { * Time when the asset was last modified. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ modifyTime: string; @@ -83,7 +83,7 @@ declare namespace sendableRelationalStore { * Size of the asset. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ size: string; @@ -91,7 +91,7 @@ declare namespace sendableRelationalStore { * Status of the asset. * * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ status?: number; } @@ -101,7 +101,7 @@ declare namespace sendableRelationalStore { * * @typedef { collections.Array } Assets * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ type Assets = collections.Array; @@ -111,7 +111,7 @@ declare namespace sendableRelationalStore { * @typedef { null | number | string | boolean | collections.Uint8Array | Asset | Assets | * collections.Float32Array | bigint } ValueType * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ type ValueType = null | number | string | boolean | collections.Uint8Array | Asset | Assets | collections.Float32Array | bigint; @@ -121,7 +121,7 @@ declare namespace sendableRelationalStore { * * @typedef { collections.Map } ValuesBucket * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ type ValuesBucket = collections.Map; @@ -130,7 +130,7 @@ declare namespace sendableRelationalStore { * * @typedef { relationalStore.ValuesBucket } NonSendableBucket * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ type NonSendableBucket = relationalStore.ValuesBucket; @@ -139,7 +139,7 @@ declare namespace sendableRelationalStore { * * @typedef { relationalStore.Asset } NonSendableAsset * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ type NonSendableAsset = relationalStore.Asset; @@ -153,7 +153,7 @@ declare namespace sendableRelationalStore { *
2. Incorrect parameter types;3. Parameter verification failed. * @throws { BusinessError } 14800000 - Inner error. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ function fromSendableValuesBucket(valuesBucket: ValuesBucket): NonSendableBucket; @@ -166,7 +166,7 @@ declare namespace sendableRelationalStore { *
2. Incorrect parameter types;3. Parameter verification failed. * @throws { BusinessError } 14800000 - Inner error. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ function toSendableValuesBucket(valuesBucket: NonSendableBucket): ValuesBucket; @@ -179,7 +179,7 @@ declare namespace sendableRelationalStore { *
2. Incorrect parameter types;3. Parameter verification failed. * @throws { BusinessError } 14800000 - Inner error. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ function fromSendableAsset(asset: Asset): NonSendableAsset; @@ -192,7 +192,7 @@ declare namespace sendableRelationalStore { *
2. Incorrect parameter types;3. Parameter verification failed. * @throws { BusinessError } 14800000 - Inner error. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 12 + * @since 12 dynamiconly */ function toSendableAsset(asset: NonSendableAsset): Asset; @@ -201,7 +201,7 @@ declare namespace sendableRelationalStore { * * @typedef { Array } NonSendableValues * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 20 + * @since 20 dynamiconly */ type NonSendableValues = Array; @@ -213,7 +213,7 @@ declare namespace sendableRelationalStore { * see {@link NonSendableValues}. * @throws { BusinessError } 14800000 - Inner error. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 20 + * @since 20 dynamiconly */ function fromSendableValues(values: collections.Array): NonSendableValues; @@ -224,7 +224,7 @@ declare namespace sendableRelationalStore { * @returns { collections.Array } a sendable collections.Array. * @throws { BusinessError } 14800000 - Inner error. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @since 20 + * @since 20 dynamiconly */ function toSendableValues(values: NonSendableValues): collections.Array; } diff --git a/api/@ohos.data.storage.d.ts b/api/@ohos.data.storage.d.ts index 38ed538c9a..53f30c0bf0 100644 --- a/api/@ohos.data.storage.d.ts +++ b/api/@ohos.data.storage.d.ts @@ -25,7 +25,7 @@ import { AsyncCallback, Callback } from './@ohos.base'; * * @namespace storage * @name storage - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences * @syscap SystemCapability.DistributedDataManager.Preferences.Core @@ -42,7 +42,7 @@ declare namespace storage { * @param path Indicates the path of storage file stored. * @returns Returns the {@link Storage} instance matching the specified storage file name. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.getPreferences */ @@ -57,7 +57,7 @@ declare namespace storage { * @param path Indicates the path of storage file stored. * @returns Returns the {@link Storage} instance matching the specified storage file name. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.getPreferences */ @@ -72,7 +72,7 @@ declare namespace storage { * @param path Indicates the path of storage file stored. * @returns Returns the {@link Storage} instance matching the specified storage file name. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.getPreferences */ @@ -89,7 +89,7 @@ declare namespace storage { * * @param path Indicates the path of storage file * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.deletePreferences */ @@ -106,7 +106,7 @@ declare namespace storage { * * @param path Indicates the path of storage file * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.deletePreferences */ @@ -123,7 +123,7 @@ declare namespace storage { * * @param path Indicates the path of storage file * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.deletePreferences */ @@ -139,7 +139,7 @@ declare namespace storage { * * @param path Indicates the path of storage file. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.removePreferencesFromCache */ @@ -155,7 +155,7 @@ declare namespace storage { * * @param path Indicates the path of storage file. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.removePreferencesFromCache */ @@ -171,7 +171,7 @@ declare namespace storage { * * @param path Indicates the path of storage file. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.removePreferencesFromCache */ @@ -187,7 +187,7 @@ declare namespace storage { * * @syscap SystemCapability.DistributedDataManager.Preferences.Core * - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences */ @@ -201,7 +201,7 @@ declare namespace storage { * @param defValue Indicates the default value to return. * @returns Returns the value matching the specified key if it is found; returns the default value otherwise. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.get */ @@ -216,7 +216,7 @@ declare namespace storage { * @param defValue Indicates the default value to return. * @returns Returns the value matching the specified key if it is found; returns the default value otherwise. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.get */ @@ -231,7 +231,7 @@ declare namespace storage { * @param defValue Indicates the default value to return. * @returns Returns the value matching the specified key if it is found; returns the default value otherwise. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.get */ @@ -244,7 +244,7 @@ declare namespace storage { * @returns Returns {@code true} if the {@link Storage} object contains a storage with the specified key; * returns {@code false} otherwise. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.has */ @@ -257,7 +257,7 @@ declare namespace storage { * @returns Returns {@code true} if the {@link Storage} object contains a storage with the specified key; * returns {@code false} otherwise. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.has */ @@ -270,7 +270,7 @@ declare namespace storage { * @returns Returns {@code true} if the {@link Storage} object contains a storage with the specified key; * returns {@code false} otherwise. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.has */ @@ -286,7 +286,7 @@ declare namespace storage { * @param value Indicates the value of the storage. * MAX_KEY_LENGTH. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.put */ @@ -302,7 +302,7 @@ declare namespace storage { * @param value Indicates the value of the storage. * MAX_KEY_LENGTH. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.put */ @@ -318,7 +318,7 @@ declare namespace storage { * @param value Indicates the value of the storage. * MAX_KEY_LENGTH. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.put */ @@ -333,7 +333,7 @@ declare namespace storage { * @param key Indicates the key of the storage to delete. It cannot be {@code null} or empty. * MAX_KEY_LENGTH. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.delete */ @@ -348,7 +348,7 @@ declare namespace storage { * @param key Indicates the key of the storage to delete. It cannot be {@code null} or empty. * MAX_KEY_LENGTH. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.delete */ @@ -363,7 +363,7 @@ declare namespace storage { * @param key Indicates the key of the storage to delete. It cannot be {@code null} or empty. * MAX_KEY_LENGTH. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.delete */ @@ -376,7 +376,7 @@ declare namespace storage { * file. * * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.clear */ @@ -389,7 +389,7 @@ declare namespace storage { * file. * * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.clear */ @@ -402,7 +402,7 @@ declare namespace storage { * file. * * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.clear */ @@ -412,7 +412,7 @@ declare namespace storage { * Asynchronously saves the {@link Storage} object to the file. * * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.flush */ @@ -422,7 +422,7 @@ declare namespace storage { * Asynchronously saves the {@link Storage} object to the file. * * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.flush */ @@ -432,7 +432,7 @@ declare namespace storage { * Asynchronously saves the {@link Storage} object to the file. * * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.flush */ @@ -443,7 +443,7 @@ declare namespace storage { * * @param callback Indicates the callback when storage changes. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.on */ @@ -454,7 +454,7 @@ declare namespace storage { * * @param callback Indicates the registered callback. * @throws BusinessError if invoked failed - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.preferences.preferences.off */ @@ -464,7 +464,7 @@ declare namespace storage { /** * Indicates possible value types * - * @since 6 + * @since 6 dynamic * @deprecated since 9 */ type ValueType = number | string | boolean; @@ -474,14 +474,14 @@ declare namespace storage { * * @syscap SystemCapability.DistributedDataManager.Preferences.Core * - * @since 6 + * @since 6 dynamic * @deprecated since 9 */ interface StorageObserver { /** * Indicates which key changes * - * @since 6 + * @since 6 dynamic * @deprecated since 9 */ key: string; @@ -490,7 +490,7 @@ declare namespace storage { /** * Indicates the maximum length of a key (80 characters). * - * @since 6 + * @since 6 dynamic * @deprecated since 9 */ const MAX_KEY_LENGTH: 80; @@ -498,7 +498,7 @@ declare namespace storage { /** * Indicates the maximum length of a string (8192 characters). * - * @since 6 + * @since 6 dynamic * @deprecated since 9 */ const MAX_VALUE_LENGTH: 8192; @@ -506,7 +506,7 @@ declare namespace storage { /** * Provides interfaces to obtain and modify storage data. - * @since 6 + * @since 6 dynamic * @deprecated since 9 * @syscap SystemCapability.DistributedDataManager.Preferences.Core */ diff --git a/api/@ohos.data.unifiedDataChannel.d.ts b/api/@ohos.data.unifiedDataChannel.d.ts index c94f5bcadb..c345ff6e05 100644 --- a/api/@ohos.data.unifiedDataChannel.d.ts +++ b/api/@ohos.data.unifiedDataChannel.d.ts @@ -56,8 +56,8 @@ import Want from "./@ohos.app.ability.Want"; * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ declare namespace unifiedDataChannel { /** @@ -65,21 +65,21 @@ declare namespace unifiedDataChannel { * @enum { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ enum ShareOptions { /** * IN_APP indicates that only use in the same app is allowed. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ IN_APP, /** * CROSS_APP indicates that use in any app in this device is allowed. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ CROSS_APP } @@ -88,8 +88,7 @@ declare namespace unifiedDataChannel { * RrcordData is used for input parameter obj of the equal function * @typedef { undefined | null | Object | Record | Array } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ type RecordData = undefined | null | Object | Record | Array; @@ -101,7 +100,7 @@ declare namespace unifiedDataChannel { * @returns { UnifiedData } Return the UnifiedData required. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ type GetDelayData = (type: string) => UnifiedData; @@ -118,7 +117,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ type ValueType = int | long | double | string | boolean | image.PixelMap | Want | ArrayBuffer | object | null | undefined; @@ -126,8 +125,7 @@ declare namespace unifiedDataChannel { * Indicates type of value. * @typedef {int | long | double | string | boolean | image.PixelMap | Want | ArrayBuffer | RecordData | null | undefined} * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ type ValueType = int | long | double | string | boolean | image.PixelMap | Want | ArrayBuffer | RecordData | null | undefined; @@ -136,7 +134,7 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ class UnifiedDataProperties { /** @@ -144,7 +142,7 @@ declare namespace unifiedDataChannel { * @type { ?Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ extras?: Record; @@ -152,8 +150,7 @@ declare namespace unifiedDataChannel { * extra property data. key-value pairs. * @type { ?Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ extras?: Record; @@ -162,7 +159,7 @@ declare namespace unifiedDataChannel { * @type { ?string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ tag?: string; /** @@ -171,7 +168,7 @@ declare namespace unifiedDataChannel { * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly timestamp?: Date; /** @@ -180,7 +177,7 @@ declare namespace unifiedDataChannel { * @type { ?ShareOptions } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ shareOptions?: ShareOptions; @@ -189,7 +186,7 @@ declare namespace unifiedDataChannel { * @type { ?GetDelayData } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ getDelayData?: GetDelayData; } @@ -213,8 +210,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ class UnifiedData { /** @@ -245,8 +242,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ constructor(record: UnifiedRecord); /** @@ -262,8 +259,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ constructor(); /** @@ -294,8 +291,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ addRecord(record: UnifiedRecord): void; /** @@ -320,8 +317,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getRecords(): Array; @@ -352,7 +349,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ hasType(type: string): boolean; @@ -369,7 +366,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getTypes(): Array; @@ -378,7 +375,7 @@ declare namespace unifiedDataChannel { * @type { UnifiedDataProperties } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ properties: UnifiedDataProperties; } @@ -394,8 +391,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class Summary { /** @@ -410,7 +407,7 @@ declare namespace unifiedDataChannel { * @type { Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ summary: Record; @@ -433,8 +430,7 @@ declare namespace unifiedDataChannel { * * @returns { Record } Type and size information of data * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get summary(): Record; /** @@ -449,7 +445,7 @@ declare namespace unifiedDataChannel { * @type { long } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ totalSize: long; @@ -472,8 +468,7 @@ declare namespace unifiedDataChannel { * * @returns { long } Total size information of data * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get totalSize(): long; } @@ -500,8 +495,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ class UnifiedRecord { /** @@ -526,8 +521,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getType(): string; @@ -544,8 +539,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ constructor(); @@ -574,8 +569,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ constructor(type: string, value: ValueType); @@ -594,8 +589,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getValue(): ValueType; @@ -606,7 +601,7 @@ declare namespace unifiedDataChannel { * @returns { Array } Return the types of unified record. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since 15 dynamic */ getTypes(): Array; @@ -620,7 +615,7 @@ declare namespace unifiedDataChannel { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since 15 dynamic */ addEntry(type: string, value: ValueType): void; @@ -633,7 +628,7 @@ declare namespace unifiedDataChannel { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since 15 dynamic */ getEntry(type: string): ValueType; @@ -643,7 +638,7 @@ declare namespace unifiedDataChannel { * @returns { Record } Return all entries in the record. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since 15 dynamic */ getEntries(): Record; } @@ -670,8 +665,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ class Text extends UnifiedRecord { /** @@ -695,7 +690,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ details?: Record; @@ -727,8 +722,7 @@ declare namespace unifiedDataChannel { * * @returns { Record | undefined } the details of unified text * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get details(): Record | undefined; @@ -760,8 +754,7 @@ declare namespace unifiedDataChannel { * * @param { Record | undefined } the details of unified text * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set details(value: Record | undefined); } @@ -788,8 +781,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ class PlainText extends Text { /** @@ -813,7 +806,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ textContent: string; @@ -845,8 +838,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the content of text * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get textContent(): string; @@ -878,8 +870,7 @@ declare namespace unifiedDataChannel { * * @param { string } the content of text * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set textContent(value: string); @@ -904,7 +895,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ abstract?: string; @@ -914,8 +905,7 @@ declare namespace unifiedDataChannel { * @returns { string | undefined } the abstract of text * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ get textAbstract(): string | undefined; @@ -925,8 +915,7 @@ declare namespace unifiedDataChannel { * @param { string | undefined } the abstract of text * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ set textAbstract(value: string | undefined); } @@ -953,8 +942,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ class Hyperlink extends Text { /** @@ -978,7 +967,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ url: string; @@ -1010,8 +999,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the url of a link * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get url(): string; @@ -1043,8 +1031,7 @@ declare namespace unifiedDataChannel { * * @param { string } the url of a link * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set url(value: string); @@ -1069,7 +1056,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ description?: string; @@ -1101,8 +1088,7 @@ declare namespace unifiedDataChannel { * * @returns { string | undefined } the description of a link. * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get description(): string | undefined; @@ -1134,8 +1120,7 @@ declare namespace unifiedDataChannel { * * @param { string | undefined } the description of a link * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set description(value: string | undefined); } @@ -1162,8 +1147,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ class HTML extends Text { /** @@ -1187,7 +1172,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ htmlContent: string; @@ -1219,8 +1204,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the content of html * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get htmlContent(): string; @@ -1252,8 +1236,7 @@ declare namespace unifiedDataChannel { * * @param { string } the content of html * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set htmlContent(value: string); @@ -1278,7 +1261,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ plainContent?: string; @@ -1310,8 +1293,7 @@ declare namespace unifiedDataChannel { * * @returns { string | undefined } the plain content of html * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get plainContent(): string | undefined; @@ -1343,8 +1325,7 @@ declare namespace unifiedDataChannel { * * @param { string | undefined} the plain content of html * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set plainContent(value: string | undefined); } @@ -1371,8 +1352,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ class File extends UnifiedRecord { /** @@ -1396,7 +1377,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ details?: Record; @@ -1428,8 +1409,7 @@ declare namespace unifiedDataChannel { * * @returns { Record | undefined } the details of unified File * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get details(): Record | undefined; @@ -1461,8 +1441,7 @@ declare namespace unifiedDataChannel { * * @param { Record | undefined} the details of unified File * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set details(value: Record | undefined); @@ -1487,7 +1466,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ uri: string; @@ -1519,8 +1498,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the uri of file * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get uri(): string; @@ -1552,8 +1530,7 @@ declare namespace unifiedDataChannel { * * @param { string } the uri of file * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set uri(value: string); } @@ -1580,8 +1557,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ class Image extends File { /** @@ -1605,7 +1582,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ imageUri: string; @@ -1637,8 +1614,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the uri of image * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get imageUri(): string; @@ -1670,8 +1646,7 @@ declare namespace unifiedDataChannel { * * @param { string } the uri of image * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set imageUri(value: string); } @@ -1698,8 +1673,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ class Video extends File { /** @@ -1723,7 +1698,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ videoUri: string; @@ -1755,8 +1730,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the uri of video * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get videoUri(): string; @@ -1788,8 +1762,7 @@ declare namespace unifiedDataChannel { * * @param { string } the uri of video * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set videoUri(value: string); } @@ -1816,8 +1789,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ class Audio extends File { /** @@ -1841,7 +1814,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ audioUri: string; @@ -1873,8 +1846,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the uri of audio * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get audioUri(): string; @@ -1906,8 +1878,7 @@ declare namespace unifiedDataChannel { * * @param { string } the uri of audio * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set audioUri(value: string); } @@ -1934,8 +1905,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ class Folder extends File { /** @@ -1959,7 +1930,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ folderUri: string; @@ -1991,8 +1962,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the uri of folder * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get folderUri(): string; @@ -2024,8 +1994,7 @@ declare namespace unifiedDataChannel { * * @param { string } the uri of folder * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set folderUri(value: string); } @@ -2045,8 +2014,8 @@ declare namespace unifiedDataChannel { * @extends UnifiedRecord * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class SystemDefinedRecord extends UnifiedRecord { /** @@ -2061,7 +2030,7 @@ declare namespace unifiedDataChannel { * @type { ?Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ details?: Record; @@ -2084,8 +2053,7 @@ declare namespace unifiedDataChannel { * * @returns { Record | undefined } the details of system defined data * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get details(): Record | undefined; @@ -2108,8 +2076,7 @@ declare namespace unifiedDataChannel { * * @param { Record | undefined } the details of system defined data * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set details(value: Record | undefined); } @@ -2129,8 +2096,8 @@ declare namespace unifiedDataChannel { * @extends SystemDefinedRecord * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class SystemDefinedForm extends SystemDefinedRecord { /** @@ -2145,7 +2112,7 @@ declare namespace unifiedDataChannel { * @type { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ formId: int; @@ -2168,8 +2135,7 @@ declare namespace unifiedDataChannel { * * @returns { int } the id of form * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get formId(): int; @@ -2192,8 +2158,7 @@ declare namespace unifiedDataChannel { * * @param { int } the id of form * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set formId(value: int); @@ -2209,7 +2174,7 @@ declare namespace unifiedDataChannel { * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ formName: string; @@ -2232,8 +2197,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the name of form * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get formName(): string; @@ -2256,8 +2220,7 @@ declare namespace unifiedDataChannel { * * @param { string } the name of form * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set formName(value: string); @@ -2273,7 +2236,7 @@ declare namespace unifiedDataChannel { * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ bundleName: string; @@ -2296,8 +2259,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the bundle name of form * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get bundleName(): string; @@ -2320,8 +2282,7 @@ declare namespace unifiedDataChannel { * * @param { string } the bundle name of form * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set bundleName(value: string); @@ -2337,7 +2298,7 @@ declare namespace unifiedDataChannel { * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ abilityName: string; @@ -2360,8 +2321,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the ability name of form * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get abilityName(): string; @@ -2384,8 +2344,7 @@ declare namespace unifiedDataChannel { * * @param { string } the ability name of form * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set abilityName(value: string); @@ -2401,7 +2360,7 @@ declare namespace unifiedDataChannel { * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ module: string; @@ -2424,8 +2383,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the module of form * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get module(): string; @@ -2448,8 +2406,7 @@ declare namespace unifiedDataChannel { * * @param { string } the module of form * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set module(value: string); } @@ -2469,8 +2426,8 @@ declare namespace unifiedDataChannel { * @extends SystemDefinedRecord * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class SystemDefinedAppItem extends SystemDefinedRecord { /** @@ -2485,7 +2442,7 @@ declare namespace unifiedDataChannel { * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ appId: string; @@ -2508,8 +2465,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the app id * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get appId(): string; @@ -2532,8 +2488,7 @@ declare namespace unifiedDataChannel { * * @param { string } the app id * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set appId(value: string); @@ -2549,7 +2504,7 @@ declare namespace unifiedDataChannel { * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ appName: string; @@ -2572,8 +2527,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the app name * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get appName(): string; @@ -2596,8 +2550,7 @@ declare namespace unifiedDataChannel { * * @param { string } the app name * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set appName(value: string); @@ -2613,7 +2566,7 @@ declare namespace unifiedDataChannel { * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ appIconId: string; @@ -2636,8 +2589,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the id of app icon * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get appIconId(): string; @@ -2660,8 +2612,7 @@ declare namespace unifiedDataChannel { * * @param { string } the id of app icon * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set appIconId(value: string); @@ -2677,7 +2628,7 @@ declare namespace unifiedDataChannel { * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ appLabelId: string; @@ -2700,8 +2651,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the id of app label * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get appLabelId(): string; @@ -2724,8 +2674,7 @@ declare namespace unifiedDataChannel { * * @param { string } the id of app label * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set appLabelId(value: string); @@ -2741,7 +2690,7 @@ declare namespace unifiedDataChannel { * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ bundleName: string; @@ -2764,8 +2713,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the bundle name of app * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get bundleName(): string; @@ -2788,8 +2736,7 @@ declare namespace unifiedDataChannel { * * @param { string } the bundle name of app * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set bundleName(value: string); @@ -2805,7 +2752,7 @@ declare namespace unifiedDataChannel { * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ abilityName: string; @@ -2828,8 +2775,7 @@ declare namespace unifiedDataChannel { * * @returns { string } the ability name of app * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get abilityName(): string; @@ -2852,8 +2798,7 @@ declare namespace unifiedDataChannel { * * @param { string } the ability name of app * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set abilityName(value: string); } @@ -2873,8 +2818,8 @@ declare namespace unifiedDataChannel { * @extends SystemDefinedRecord * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class SystemDefinedPixelMap extends SystemDefinedRecord { /** @@ -2889,7 +2834,7 @@ declare namespace unifiedDataChannel { * @type { Uint8Array } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ rawData: Uint8Array; @@ -2912,8 +2857,7 @@ declare namespace unifiedDataChannel { * * @returns { Uint8Array } the raw data of pixel map * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get rawData(): Uint8Array; @@ -2936,8 +2880,7 @@ declare namespace unifiedDataChannel { * * @param { Uint8Array } the raw data of pixel map * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set rawData(value: Uint8Array); } @@ -2957,8 +2900,8 @@ declare namespace unifiedDataChannel { * @extends UnifiedRecord * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class ApplicationDefinedRecord extends UnifiedRecord { /** @@ -2975,7 +2918,7 @@ declare namespace unifiedDataChannel { * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ applicationDefinedType: string; @@ -3001,8 +2944,7 @@ declare namespace unifiedDataChannel { * * @returns { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get applicationDefinedType(): string; @@ -3028,8 +2970,7 @@ declare namespace unifiedDataChannel { * * @oaram { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set applicationDefinedType(value: string); @@ -3045,7 +2986,7 @@ declare namespace unifiedDataChannel { * @type { Uint8Array } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ rawData: Uint8Array; @@ -3068,8 +3009,7 @@ declare namespace unifiedDataChannel { * * @returns { Uint8Array } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ get rawData(): Uint8Array; @@ -3092,8 +3032,7 @@ declare namespace unifiedDataChannel { * * @param { Uint8Array } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ set rawData(value: Uint8Array); } @@ -3111,8 +3050,8 @@ declare namespace unifiedDataChannel { * @enum { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum Intention { /** @@ -3126,8 +3065,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DATA_HUB = 'DataHub', @@ -3144,7 +3083,7 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @stagemodelonly - * @since 14 + * @since 14 dynamic */ DRAG = 'Drag', @@ -3153,7 +3092,7 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ SYSTEM_SHARE = 'SystemShare', @@ -3162,7 +3101,7 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ PICKER = 'Picker', @@ -3171,7 +3110,7 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ MENU = 'Menu' } @@ -3182,7 +3121,7 @@ declare namespace unifiedDataChannel { * @enum { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ enum Visibility { /** @@ -3190,7 +3129,7 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ ALL, @@ -3199,7 +3138,7 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @stagemodelonly - * @since 20 + * @since 20 dynamic */ OWN_PROCESS } @@ -3224,8 +3163,7 @@ declare namespace unifiedDataChannel { * @typedef { Options } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface Options { /** @@ -3247,8 +3185,7 @@ declare namespace unifiedDataChannel { * @type { ?Intention } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ intention?: Intention; @@ -3271,8 +3208,7 @@ declare namespace unifiedDataChannel { * @type { ?string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ key?: string; @@ -3283,7 +3219,7 @@ declare namespace unifiedDataChannel { * @type { ?Visibility } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ visibility?: Visibility; } @@ -3294,8 +3230,8 @@ declare namespace unifiedDataChannel { * @enum { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum FileConflictOptions { /** @@ -3303,8 +3239,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ OVERWRITE, @@ -3313,8 +3249,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ SKIP } @@ -3325,8 +3261,8 @@ declare namespace unifiedDataChannel { * @enum { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum ProgressIndicator { /** @@ -3334,8 +3270,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ NONE, @@ -3344,8 +3280,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ DEFAULT } @@ -3356,8 +3292,8 @@ declare namespace unifiedDataChannel { * @enum { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum ListenerStatus { /** @@ -3365,8 +3301,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ FINISHED = 0, @@ -3375,8 +3311,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ PROCESSING, @@ -3385,8 +3321,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ CANCELED, @@ -3395,8 +3331,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ INNER_ERROR = 200, @@ -3405,8 +3341,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ INVALID_PARAMETERS, @@ -3415,8 +3351,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ DATA_NOT_FOUND, @@ -3425,8 +3361,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ SYNC_FAILED, @@ -3435,8 +3371,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ COPY_FILE_FAILED, } @@ -3447,8 +3383,8 @@ declare namespace unifiedDataChannel { * @interface ProgressInfo * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ interface ProgressInfo { /** @@ -3457,8 +3393,8 @@ declare namespace unifiedDataChannel { * @type { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ progress: int; @@ -3468,8 +3404,8 @@ declare namespace unifiedDataChannel { * @type { ListenerStatus } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ status: ListenerStatus; } @@ -3482,8 +3418,8 @@ declare namespace unifiedDataChannel { * @param { UnifiedData | null } data - Data obtained when the progress reaches 100%. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ type DataProgressListener = (progressInfo: ProgressInfo, data: UnifiedData | null) => void; @@ -3493,8 +3429,8 @@ declare namespace unifiedDataChannel { * @interface GetDataParams * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ interface GetDataParams { /** @@ -3503,8 +3439,8 @@ declare namespace unifiedDataChannel { * @type { ProgressIndicator } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ progressIndicator: ProgressIndicator; @@ -3514,8 +3450,8 @@ declare namespace unifiedDataChannel { * @type { DataProgressListener } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ dataProgressListener: DataProgressListener; @@ -3525,8 +3461,8 @@ declare namespace unifiedDataChannel { * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ destUri?: string; @@ -3536,8 +3472,8 @@ declare namespace unifiedDataChannel { * @type { FileConflictOptions } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ fileConflictOptions?: FileConflictOptions; @@ -3547,7 +3483,7 @@ declare namespace unifiedDataChannel { * @type { ?DataLoadInfo } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ acceptableInfo?: DataLoadInfo; } @@ -3558,7 +3494,7 @@ declare namespace unifiedDataChannel { * @interface DataLoadInfo * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ interface DataLoadInfo { /** @@ -3568,7 +3504,7 @@ declare namespace unifiedDataChannel { * @type { ?Set } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ types?: Set; @@ -3578,7 +3514,7 @@ declare namespace unifiedDataChannel { * @type { ?long } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ recordCount?: long; } @@ -3591,7 +3527,7 @@ declare namespace unifiedDataChannel { * @returns { UnifiedData | null } the {@link UnifiedData} object to be loaded. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ type DataLoadHandler = (acceptableInfo?: DataLoadInfo) => UnifiedData | null; @@ -3601,7 +3537,7 @@ declare namespace unifiedDataChannel { * @interface DataLoadParams * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ interface DataLoadParams { /** @@ -3610,7 +3546,7 @@ declare namespace unifiedDataChannel { * @type { DataLoadHandler } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ loadHandler: DataLoadHandler; @@ -3619,7 +3555,7 @@ declare namespace unifiedDataChannel { * @type { DataLoadInfo } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ dataLoadInfo: DataLoadInfo; } @@ -3645,8 +3581,8 @@ declare namespace unifiedDataChannel { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function insertData(options: Options, data: UnifiedData, callback: AsyncCallback): void; @@ -3671,8 +3607,8 @@ declare namespace unifiedDataChannel { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function insertData(options: Options, data: UnifiedData): Promise; @@ -3697,7 +3633,7 @@ declare namespace unifiedDataChannel { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ function updateData(options: Options, data: UnifiedData, callback: AsyncCallback): void; @@ -3722,7 +3658,7 @@ declare namespace unifiedDataChannel { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ function updateData(options: Options, data: UnifiedData): Promise; @@ -3749,8 +3685,8 @@ declare namespace unifiedDataChannel { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function queryData(options: Options, callback: AsyncCallback>): void; @@ -3775,8 +3711,8 @@ declare namespace unifiedDataChannel { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function queryData(options: Options): Promise>; @@ -3803,7 +3739,7 @@ declare namespace unifiedDataChannel { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ function deleteData(options: Options, callback: AsyncCallback>): void; @@ -3828,7 +3764,7 @@ declare namespace unifiedDataChannel { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ function deleteData(options: Options): Promise>; @@ -3862,7 +3798,7 @@ declare namespace unifiedDataChannel { * @throws { BusinessError } 20400001 - Settings already exist. To reconfigure, remove the existing sharing options. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @stagemodelonly - * @since 14 + * @since 14 dynamic */ function setAppShareOptions(intention: Intention, shareOptions: ShareOptions): void; @@ -3892,7 +3828,7 @@ declare namespace unifiedDataChannel { * 3. Parameter verification failed. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @stagemodelonly - * @since 14 + * @since 14 dynamic */ function removeAppShareOptions(intention: Intention): void; @@ -3908,7 +3844,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @stagemodelonly * @atomicservice - * @since 17 + * @since 17 dynamic */ function convertRecordsToEntries(data: UnifiedData): void; } diff --git a/api/@ohos.data.uniformDataStruct.d.ts b/api/@ohos.data.uniformDataStruct.d.ts index a2b21ac71d..5f6707b67d 100644 --- a/api/@ohos.data.uniformDataStruct.d.ts +++ b/api/@ohos.data.uniformDataStruct.d.ts @@ -25,7 +25,7 @@ import image from './@ohos.multimedia.image'; * * @namespace uniformDataStruct * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ declare namespace uniformDataStruct { /** @@ -33,7 +33,7 @@ declare namespace uniformDataStruct { * * @interface PlainText * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ interface PlainText { /** @@ -42,7 +42,7 @@ declare namespace uniformDataStruct { * @type { 'general.plain-text' } * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ readonly uniformDataType: 'general.plain-text'; /** @@ -50,7 +50,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ textContent: string; @@ -58,7 +58,7 @@ declare namespace uniformDataStruct { * Indicates the abstract of the PlainText. * @type { ?string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ abstract?: string; @@ -66,8 +66,7 @@ declare namespace uniformDataStruct { * Indicates the abstract of the PlainText. * @type { ?string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ textAbstract?: string; /** @@ -82,7 +81,7 @@ declare namespace uniformDataStruct { * * @type { ?Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ details?: Record; } @@ -92,7 +91,7 @@ declare namespace uniformDataStruct { * * @interface Hyperlink * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ interface Hyperlink { /** @@ -101,7 +100,7 @@ declare namespace uniformDataStruct { * @type { 'general.hyperlink' } * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ readonly uniformDataType: 'general.hyperlink'; /** @@ -109,14 +108,14 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ url: string; /** * Indicates the description of the Hyperlink. * @type { ?string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ description?: string; /** @@ -131,7 +130,7 @@ declare namespace uniformDataStruct { * * @type { ?Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ details?: Record; } @@ -141,7 +140,7 @@ declare namespace uniformDataStruct { * * @interface HTML * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ interface HTML { /** @@ -150,7 +149,7 @@ declare namespace uniformDataStruct { * @type { 'general.html' } * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ readonly uniformDataType: 'general.html'; @@ -159,7 +158,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ htmlContent: string; /** @@ -167,7 +166,7 @@ declare namespace uniformDataStruct { * * @type { ?string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ plainContent?: string; /** @@ -182,7 +181,7 @@ declare namespace uniformDataStruct { * * @type { ?Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ details?: Record; } @@ -192,7 +191,7 @@ declare namespace uniformDataStruct { * * @interface OpenHarmonyAppItem * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ interface OpenHarmonyAppItem { /** @@ -201,7 +200,7 @@ declare namespace uniformDataStruct { * @type { 'openharmony.app-item' } * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ readonly uniformDataType: 'openharmony.app-item'; /** @@ -209,7 +208,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ appId: string; /** @@ -217,7 +216,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ appName: string; /** @@ -225,7 +224,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ appIconId: string; /** @@ -233,7 +232,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ appLabelId: string; /** @@ -241,7 +240,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ bundleName: string; /** @@ -249,7 +248,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ abilityName: string; /** @@ -258,7 +257,7 @@ declare namespace uniformDataStruct { * * @type { ?Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 12 + * @since 12 dynamic */ details?: Record; } @@ -268,7 +267,7 @@ declare namespace uniformDataStruct { * * @interface ContentForm * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 14 + * @since 14 dynamic */ interface ContentForm { /** @@ -277,7 +276,7 @@ declare namespace uniformDataStruct { * @type { 'general.content-form' } * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 14 + * @since 14 dynamic */ readonly uniformDataType: 'general.content-form'; @@ -286,7 +285,7 @@ declare namespace uniformDataStruct { * * @type { Uint8Array } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 14 + * @since 14 dynamic */ thumbData?: Uint8Array; @@ -295,7 +294,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 14 + * @since 14 dynamic */ description?: string; @@ -304,7 +303,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 14 + * @since 14 dynamic */ title: string; @@ -313,7 +312,7 @@ declare namespace uniformDataStruct { * * @type { Uint8Array } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 14 + * @since 14 dynamic */ appIcon?: Uint8Array; @@ -322,7 +321,7 @@ declare namespace uniformDataStruct { * * @type { appName } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 14 + * @since 14 dynamic */ appName?: string; @@ -331,7 +330,7 @@ declare namespace uniformDataStruct { * * @type { linkUri } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 14 + * @since 14 dynamic */ linkUri?: string; } @@ -341,7 +340,7 @@ declare namespace uniformDataStruct { * * @interface Form * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ interface Form { /** @@ -350,7 +349,7 @@ declare namespace uniformDataStruct { * @type { 'openharmony.form' } * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ readonly uniformDataType: 'openharmony.form'; @@ -359,7 +358,7 @@ declare namespace uniformDataStruct { * * @type { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ formId: int; @@ -368,7 +367,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ formName: string; @@ -377,7 +376,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ bundleName: string; @@ -386,7 +385,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ abilityName: string; @@ -395,7 +394,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ module: string; @@ -404,7 +403,7 @@ declare namespace uniformDataStruct { * * @type { ?Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ details?: Record; } @@ -414,7 +413,7 @@ declare namespace uniformDataStruct { * * @interface FileUri * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ interface FileUri { /** @@ -423,7 +422,7 @@ declare namespace uniformDataStruct { * @type { 'general.file-uri' } * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ readonly uniformDataType: 'general.file-uri'; @@ -432,7 +431,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ oriUri: string; @@ -441,7 +440,7 @@ declare namespace uniformDataStruct { * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ fileType: string; @@ -450,7 +449,7 @@ declare namespace uniformDataStruct { * * @type { ?Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ details?: Record; } @@ -460,7 +459,7 @@ declare namespace uniformDataStruct { * * @interface PixelMap * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ interface PixelMap { /** @@ -469,7 +468,7 @@ declare namespace uniformDataStruct { * @type { 'openharmony.pixel-map' } * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ readonly uniformDataType: 'openharmony.pixel-map'; @@ -478,7 +477,7 @@ declare namespace uniformDataStruct { * * @type { image.PixelMap } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ pixelMap: image.PixelMap; @@ -487,7 +486,7 @@ declare namespace uniformDataStruct { * * @type { ?Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 15 + * @since 15 dynamic */ details?: Record; } diff --git a/api/@ohos.data.uniformTypeDescriptor.d.ts b/api/@ohos.data.uniformTypeDescriptor.d.ts index 6d5bc0f67b..72361b257e 100644 --- a/api/@ohos.data.uniformTypeDescriptor.d.ts +++ b/api/@ohos.data.uniformTypeDescriptor.d.ts @@ -40,8 +40,8 @@ * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ declare namespace uniformTypeDescriptor { /** @@ -66,16 +66,16 @@ declare namespace uniformTypeDescriptor { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum UniformDataType { /** * Base data type for physical hierarchy, which identifies the physical representation of the data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ENTITY = 'general.entity', @@ -83,8 +83,8 @@ declare namespace uniformTypeDescriptor { * Base data type for logical hierarchy, which identifies the logical content representation of the data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ OBJECT = 'general.object', @@ -92,8 +92,8 @@ declare namespace uniformTypeDescriptor { * Base data type for mixed object. For example, a PDF file contains both text and special formatting data. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COMPOSITE_OBJECT = 'general.composite-object', @@ -116,8 +116,8 @@ declare namespace uniformTypeDescriptor { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ TEXT = 'general.text', @@ -140,8 +140,8 @@ declare namespace uniformTypeDescriptor { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PLAIN_TEXT = 'general.plain-text', @@ -164,8 +164,8 @@ declare namespace uniformTypeDescriptor { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ HTML = 'general.html', @@ -188,8 +188,8 @@ declare namespace uniformTypeDescriptor { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ HYPERLINK = 'general.hyperlink', @@ -197,8 +197,8 @@ declare namespace uniformTypeDescriptor { * XML(Extensible Markup Language) data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ XML = 'general.xml', @@ -206,8 +206,8 @@ declare namespace uniformTypeDescriptor { * Xhtml data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ XHTML = 'general.xhtml', @@ -215,8 +215,8 @@ declare namespace uniformTypeDescriptor { * Rss data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RSS = 'general.rss', @@ -224,8 +224,8 @@ declare namespace uniformTypeDescriptor { * Real synchronized multimedia integration language. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SMIL = 'com.real.smil', @@ -233,8 +233,8 @@ declare namespace uniformTypeDescriptor { * Source code data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SOURCE_CODE = 'general.source-code', @@ -242,8 +242,8 @@ declare namespace uniformTypeDescriptor { * Script data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SCRIPT = 'general.script', @@ -251,8 +251,8 @@ declare namespace uniformTypeDescriptor { * Shell script data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SHELL_SCRIPT = 'general.shell-script', @@ -260,8 +260,8 @@ declare namespace uniformTypeDescriptor { * C-shell script data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CSH_SCRIPT = 'general.csh-script', @@ -269,8 +269,8 @@ declare namespace uniformTypeDescriptor { * Perl script data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PERL_SCRIPT = 'general.perl-script', @@ -278,8 +278,8 @@ declare namespace uniformTypeDescriptor { * PHP script data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PHP_SCRIPT = 'general.php-script', @@ -287,8 +287,8 @@ declare namespace uniformTypeDescriptor { * Python script data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PYTHON_SCRIPT = 'general.python-script', @@ -296,8 +296,8 @@ declare namespace uniformTypeDescriptor { * Ruby script data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ RUBY_SCRIPT = 'general.ruby-script', @@ -305,8 +305,8 @@ declare namespace uniformTypeDescriptor { * TypeScript data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ TYPE_SCRIPT = 'general.type-script', @@ -314,8 +314,8 @@ declare namespace uniformTypeDescriptor { * JavaScript data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ JAVA_SCRIPT = 'general.java-script', @@ -323,8 +323,8 @@ declare namespace uniformTypeDescriptor { * Css data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CSS = 'general.css', @@ -332,8 +332,8 @@ declare namespace uniformTypeDescriptor { * C header data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ C_HEADER = 'general.c-header', @@ -341,8 +341,8 @@ declare namespace uniformTypeDescriptor { * C source code data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ C_SOURCE = 'general.c-source', @@ -350,8 +350,8 @@ declare namespace uniformTypeDescriptor { * C++ header data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ C_PLUS_PLUS_HEADER = 'general.c-plus-plus-header', @@ -359,8 +359,8 @@ declare namespace uniformTypeDescriptor { * C++ source code data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ C_PLUS_PLUS_SOURCE = 'general.c-plus-plus-source', @@ -368,8 +368,8 @@ declare namespace uniformTypeDescriptor { * Java source code data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ JAVA_SOURCE = 'general.java-source', @@ -377,8 +377,8 @@ declare namespace uniformTypeDescriptor { * Tex source code data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TEX = 'general.tex', @@ -386,8 +386,8 @@ declare namespace uniformTypeDescriptor { * Markdown format. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MARKDOWN = 'general.markdown', @@ -395,8 +395,8 @@ declare namespace uniformTypeDescriptor { * Asc text data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ASC_TEXT = 'general.asc-text', @@ -404,8 +404,8 @@ declare namespace uniformTypeDescriptor { * Rich text data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RICH_TEXT = 'general.rich-text', @@ -413,8 +413,8 @@ declare namespace uniformTypeDescriptor { * Delimited values text data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DELIMITED_VALUES_TEXT = 'general.delimited-values-text', @@ -422,8 +422,8 @@ declare namespace uniformTypeDescriptor { * Comma separated values text data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMMA_SEPARATED_VALUES_TEXT = 'general.comma-separated-values-text', @@ -431,8 +431,8 @@ declare namespace uniformTypeDescriptor { * Tab separated values text data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TAB_SEPARATED_VALUES_TEXT = 'general.tab-separated-values-text', @@ -440,8 +440,8 @@ declare namespace uniformTypeDescriptor { * Ebook data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ EBOOK = 'general.ebook', @@ -449,8 +449,8 @@ declare namespace uniformTypeDescriptor { * EPUB ebook file format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ EPUB = 'general.epub', @@ -458,8 +458,8 @@ declare namespace uniformTypeDescriptor { * AZW ebook file format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ AZW = 'com.amazon.azw', @@ -467,8 +467,8 @@ declare namespace uniformTypeDescriptor { * AZW3 ebook file format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ AZW3 = 'com.amazon.azw3', @@ -476,8 +476,8 @@ declare namespace uniformTypeDescriptor { * KFX ebook file format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ KFX = 'com.amazon.kfx', @@ -485,8 +485,8 @@ declare namespace uniformTypeDescriptor { * MOBI ebook file format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MOBI = 'com.amazon.mobi', @@ -494,8 +494,8 @@ declare namespace uniformTypeDescriptor { * Media data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MEDIA = 'general.media', @@ -518,8 +518,8 @@ declare namespace uniformTypeDescriptor { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ IMAGE = 'general.image', @@ -527,8 +527,8 @@ declare namespace uniformTypeDescriptor { * JPEG image format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ JPEG = 'general.jpeg', @@ -536,8 +536,8 @@ declare namespace uniformTypeDescriptor { * PNG image format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PNG = 'general.png', @@ -545,8 +545,8 @@ declare namespace uniformTypeDescriptor { * Raw image format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ RAW_IMAGE = 'general.raw-image', @@ -554,8 +554,8 @@ declare namespace uniformTypeDescriptor { * TIFF image format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ TIFF = 'general.tiff', @@ -563,8 +563,8 @@ declare namespace uniformTypeDescriptor { * Windows bitmap image data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BMP = 'com.microsoft.bmp', @@ -572,8 +572,8 @@ declare namespace uniformTypeDescriptor { * Windows icon data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ICO = 'com.microsoft.ico', @@ -581,8 +581,8 @@ declare namespace uniformTypeDescriptor { * Adobe Photoshop document data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PHOTOSHOP_IMAGE = 'com.adobe.photoshop-image', @@ -590,8 +590,8 @@ declare namespace uniformTypeDescriptor { * Adobe Illustrator document data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ AI_IMAGE = 'com.adobe.illustrator.ai-image', @@ -599,8 +599,8 @@ declare namespace uniformTypeDescriptor { * Base type for fax images. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FAX = 'general.fax', @@ -608,8 +608,8 @@ declare namespace uniformTypeDescriptor { * J2 jConnect fax file format. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ JFX_FAX = 'com.j2.jfx-fax', @@ -617,8 +617,8 @@ declare namespace uniformTypeDescriptor { * The electronic fax document format. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EFX_FAX = 'com.js.efx-fax', @@ -626,8 +626,8 @@ declare namespace uniformTypeDescriptor { * X bitmap image. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ XBITMAP_IMAGE = 'general.xbitmap-image', @@ -635,8 +635,8 @@ declare namespace uniformTypeDescriptor { * Gif image format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GIF = 'general.gif', @@ -644,8 +644,8 @@ declare namespace uniformTypeDescriptor { * Tagged Graphics (TGA), a type of image format. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TGA_IMAGE = 'com.truevision.tga-image', @@ -653,8 +653,8 @@ declare namespace uniformTypeDescriptor { * Silicon Graphics image. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SGI_IMAGE = 'com.sgi.sgi-image', @@ -662,8 +662,8 @@ declare namespace uniformTypeDescriptor { * OpenEXR image. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPENEXR_IMAGE = 'com.ilm.openexr-image', @@ -671,8 +671,8 @@ declare namespace uniformTypeDescriptor { * FlashPix image. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FLASHPIX_IMAGE = 'com.kodak.flashpix.image', @@ -680,8 +680,8 @@ declare namespace uniformTypeDescriptor { * Microsoft Word data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ WORD_DOC = 'com.microsoft.word.doc', @@ -689,8 +689,8 @@ declare namespace uniformTypeDescriptor { * Microsoft Excel data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ EXCEL = 'com.microsoft.excel.xls', @@ -698,8 +698,8 @@ declare namespace uniformTypeDescriptor { * Microsoft PowerPoint presentation data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PPT = 'com.microsoft.powerpoint.ppt', @@ -707,8 +707,8 @@ declare namespace uniformTypeDescriptor { * Microsoft Word dot data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WORD_DOT = 'com.microsoft.word.dot', @@ -716,8 +716,8 @@ declare namespace uniformTypeDescriptor { * Microsoft Powerpoint pps data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ POWERPOINT_PPS = 'com.microsoft.powerpoint.pps', @@ -725,8 +725,8 @@ declare namespace uniformTypeDescriptor { * Microsoft Powerpoint pot data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ POWERPOINT_POT = 'com.microsoft.powerpoint.pot', @@ -734,8 +734,8 @@ declare namespace uniformTypeDescriptor { * Microsoft Excel xlt data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EXCEL_XLT = 'com.microsoft.excel.xlt', @@ -743,8 +743,8 @@ declare namespace uniformTypeDescriptor { * Microsoft Visio vsd data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VISIO_VSD = 'com.microsoft.visio.vsd', @@ -752,8 +752,8 @@ declare namespace uniformTypeDescriptor { * PDF data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PDF = 'com.adobe.pdf', @@ -761,8 +761,8 @@ declare namespace uniformTypeDescriptor { * PostScript data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ POSTSCRIPT = 'com.adobe.postscript', @@ -770,8 +770,8 @@ declare namespace uniformTypeDescriptor { * Encapsulated PostScript data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ENCAPSULATED_POSTSCRIPT = 'com.adobe.encapsulated-postscript', @@ -794,8 +794,8 @@ declare namespace uniformTypeDescriptor { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ VIDEO = 'general.video', @@ -803,8 +803,8 @@ declare namespace uniformTypeDescriptor { * AVI video format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ AVI = 'general.avi', @@ -812,8 +812,8 @@ declare namespace uniformTypeDescriptor { * MPEG video format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MPEG = 'general.mpeg', @@ -821,8 +821,8 @@ declare namespace uniformTypeDescriptor { * MPEG4 video format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MPEG4 = 'general.mpeg-4', @@ -830,8 +830,8 @@ declare namespace uniformTypeDescriptor { * 3GPP video format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ VIDEO_3GPP = 'general.3gpp', @@ -839,8 +839,8 @@ declare namespace uniformTypeDescriptor { * 3GPP2 video format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ VIDEO_3GPP2 = 'general.3gpp2', @@ -848,8 +848,8 @@ declare namespace uniformTypeDescriptor { * Ts video format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TS = 'general.ts', @@ -857,8 +857,8 @@ declare namespace uniformTypeDescriptor { * Mpegurl video format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MPEGURL_VIDEO = 'general.mpegurl-video', @@ -866,8 +866,8 @@ declare namespace uniformTypeDescriptor { * Windows WM video format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ WINDOWS_MEDIA_WM = 'com.microsoft.windows-media-wm', @@ -875,8 +875,8 @@ declare namespace uniformTypeDescriptor { * Windows WMV video format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ WINDOWS_MEDIA_WMV = 'com.microsoft.windows-media-wmv', @@ -884,8 +884,8 @@ declare namespace uniformTypeDescriptor { * Windows WMP video format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ WINDOWS_MEDIA_WMP = 'com.microsoft.windows-media-wmp', @@ -893,8 +893,8 @@ declare namespace uniformTypeDescriptor { * Windows WVX video format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ WINDOWS_MEDIA_WVX = 'com.microsoft.windows-media-wvx', @@ -902,8 +902,8 @@ declare namespace uniformTypeDescriptor { * Windows WMX video format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ WINDOWS_MEDIA_WMX = 'com.microsoft.windows-media-wmx', @@ -911,8 +911,8 @@ declare namespace uniformTypeDescriptor { * RealMedia. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REALMEDIA = 'com.real.realmedia', @@ -920,8 +920,8 @@ declare namespace uniformTypeDescriptor { * Matroska video format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MATROSKA_VIDEO = 'org.matroska.mkv', @@ -929,8 +929,8 @@ declare namespace uniformTypeDescriptor { * Flash data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FLASH = 'com.adobe.flash', @@ -953,8 +953,8 @@ declare namespace uniformTypeDescriptor { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ AUDIO = 'general.audio', @@ -962,8 +962,8 @@ declare namespace uniformTypeDescriptor { * AAC audio format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ AAC = 'general.aac', @@ -971,8 +971,8 @@ declare namespace uniformTypeDescriptor { * AIFF audio format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ AIFF = 'general.aiff', @@ -980,8 +980,8 @@ declare namespace uniformTypeDescriptor { * ALAC audio format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ALAC = 'general.alac', @@ -989,8 +989,8 @@ declare namespace uniformTypeDescriptor { * FLAC audio format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FLAC = 'general.flac', @@ -998,8 +998,8 @@ declare namespace uniformTypeDescriptor { * MP3 audio format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MP3 = 'general.mp3', @@ -1007,8 +1007,8 @@ declare namespace uniformTypeDescriptor { * OGG audio format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ OGG = 'general.ogg', @@ -1016,8 +1016,8 @@ declare namespace uniformTypeDescriptor { * PCM audio format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PCM = 'general.pcm', @@ -1025,8 +1025,8 @@ declare namespace uniformTypeDescriptor { * Windows WMA audio format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ WINDOWS_MEDIA_WMA = 'com.microsoft.windows-media-wma', @@ -1034,8 +1034,8 @@ declare namespace uniformTypeDescriptor { * Waveform audio format data type created by Microsoft. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ WAVEFORM_AUDIO = 'com.microsoft.waveform-audio', @@ -1043,8 +1043,8 @@ declare namespace uniformTypeDescriptor { * Windows WAX audio format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ WINDOWS_MEDIA_WAX = 'com.microsoft.windows-media-wax', @@ -1052,8 +1052,8 @@ declare namespace uniformTypeDescriptor { * Au file format. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AU_AUDIO = 'general.au-audio', @@ -1061,8 +1061,8 @@ declare namespace uniformTypeDescriptor { * Audio Interchange File Format. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AIFC_AUDIO = 'general.aifc-audio', @@ -1070,8 +1070,8 @@ declare namespace uniformTypeDescriptor { * Mpegurl audio format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MPEGURL_AUDIO = 'general.mpegurl-audio', @@ -1079,8 +1079,8 @@ declare namespace uniformTypeDescriptor { * Mpeg-4 audio format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MPEG_4_AUDIO = 'general.mpeg-4-audio', @@ -1088,8 +1088,8 @@ declare namespace uniformTypeDescriptor { * Mp2 audio format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MP2 = 'general.mp2', @@ -1097,8 +1097,8 @@ declare namespace uniformTypeDescriptor { * MPEG audio format. This type belongs to AUDIO. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MPEG_AUDIO = 'general.mpeg-audio', @@ -1106,8 +1106,8 @@ declare namespace uniformTypeDescriptor { * Ulaw audio format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ULAW_AUDIO = 'general.ulaw-audio', @@ -1115,8 +1115,8 @@ declare namespace uniformTypeDescriptor { * Digidesign Sound Designer II audio. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SD2_AUDIO = 'com.digidesign.sd2-audio', @@ -1124,8 +1124,8 @@ declare namespace uniformTypeDescriptor { * RealMedia audio. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REALAUDIO = 'com.real.realaudio', @@ -1133,8 +1133,8 @@ declare namespace uniformTypeDescriptor { * Matroska audio format data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MATROSKA_AUDIO = 'org.matroska.mka', @@ -1157,8 +1157,8 @@ declare namespace uniformTypeDescriptor { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ FILE = 'general.file', @@ -1166,8 +1166,8 @@ declare namespace uniformTypeDescriptor { * Directory data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DIRECTORY = 'general.directory', @@ -1190,8 +1190,8 @@ declare namespace uniformTypeDescriptor { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ FOLDER = 'general.folder', @@ -1199,8 +1199,8 @@ declare namespace uniformTypeDescriptor { * Symlink data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SYMLINK = 'general.symlink', @@ -1208,8 +1208,8 @@ declare namespace uniformTypeDescriptor { * Archive file data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ARCHIVE = 'general.archive', @@ -1217,8 +1217,8 @@ declare namespace uniformTypeDescriptor { * Bzip2 archive file data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BZ2_ARCHIVE = 'general.bz2-archive', @@ -1226,8 +1226,8 @@ declare namespace uniformTypeDescriptor { * Opg archive data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPG = 'general.opg', @@ -1235,8 +1235,8 @@ declare namespace uniformTypeDescriptor { * Taz archive data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TAZ_ARCHIVE = 'general.taz-archive', @@ -1244,8 +1244,8 @@ declare namespace uniformTypeDescriptor { * Web archive data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WEB_ARCHIVE = 'general.web-archive', @@ -1253,8 +1253,8 @@ declare namespace uniformTypeDescriptor { * Disk image archive file data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DISK_IMAGE = 'general.disk-image', @@ -1262,8 +1262,8 @@ declare namespace uniformTypeDescriptor { * Iso data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ISO = 'general.iso', @@ -1271,8 +1271,8 @@ declare namespace uniformTypeDescriptor { * Tar archive data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ TAR_ARCHIVE = 'general.tar-archive', @@ -1280,8 +1280,8 @@ declare namespace uniformTypeDescriptor { * Zip archive data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ZIP_ARCHIVE = 'general.zip-archive', @@ -1289,8 +1289,8 @@ declare namespace uniformTypeDescriptor { * Java archive data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ JAVA_ARCHIVE = 'com.sun.java-archive', @@ -1298,8 +1298,8 @@ declare namespace uniformTypeDescriptor { * GNU. This type belongs to ARCHIVE. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ GNU_TAR_ARCHIVE = 'org.gnu.gnu-tar-archive', @@ -1307,8 +1307,8 @@ declare namespace uniformTypeDescriptor { * Gzip archive data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ GNU_ZIP_ARCHIVE = 'org.gnu.gnu-zip-archive', @@ -1316,8 +1316,8 @@ declare namespace uniformTypeDescriptor { * Gzip tar archive data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ GNU_ZIP_TAR_ARCHIVE = 'org.gnu.gnu-zip-tar-archive', @@ -1325,8 +1325,8 @@ declare namespace uniformTypeDescriptor { * Office Open XML. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPENXML = 'org.openxmlformats.openxml', @@ -1334,8 +1334,8 @@ declare namespace uniformTypeDescriptor { * Office Open XML Document. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WORDPROCESSINGML_DOCUMENT = 'org.openxmlformats.wordprocessingml.document', @@ -1343,8 +1343,8 @@ declare namespace uniformTypeDescriptor { * Office Open XML Workbook. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPREADSHEETML_SHEET = 'org.openxmlformats.spreadsheetml.sheet', @@ -1352,8 +1352,8 @@ declare namespace uniformTypeDescriptor { * Office Open XML Presentation. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PRESENTATIONML_PRESENTATION = 'org.openxmlformats.presentationml.presentation', @@ -1361,8 +1361,8 @@ declare namespace uniformTypeDescriptor { * Office Open XML Drawingml visio. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DRAWINGML_VISIO = 'org.openxmlformats.drawingml.visio', @@ -1370,8 +1370,8 @@ declare namespace uniformTypeDescriptor { * Office Open XML Drawingml template. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DRAWINGML_TEMPLATE = 'org.openxmlformats.drawingml.template', @@ -1379,8 +1379,8 @@ declare namespace uniformTypeDescriptor { * Office Open XML Wordprocessingml template. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WORDPROCESSINGML_TEMPLATE = 'org.openxmlformats.wordprocessingml.template', @@ -1388,8 +1388,8 @@ declare namespace uniformTypeDescriptor { * Office Open XML Presentationml template. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PRESENTATIONML_TEMPLATE = 'org.openxmlformats.presentationml.template', @@ -1397,8 +1397,8 @@ declare namespace uniformTypeDescriptor { * Office Open XML Presentationml slideshow. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PRESENTATIONML_SLIDESHOW = 'org.openxmlformats.presentationml.slideshow', @@ -1406,8 +1406,8 @@ declare namespace uniformTypeDescriptor { * Office Open XML Spreadsheetml template. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPREADSHEETML_TEMPLATE = 'org.openxmlformats.spreadsheetml.template', @@ -1415,8 +1415,8 @@ declare namespace uniformTypeDescriptor { * Open Document Format for Office Applications. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPENDOCUMENT = 'org.oasis.opendocument', @@ -1424,8 +1424,8 @@ declare namespace uniformTypeDescriptor { * OpenDocument Text. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPENDOCUMENT_TEXT = 'org.oasis.opendocument.text', @@ -1433,8 +1433,8 @@ declare namespace uniformTypeDescriptor { * OpenDocument Spreadsheet. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPENDOCUMENT_SPREADSHEET = 'org.oasis.opendocument.spreadsheet', @@ -1442,8 +1442,8 @@ declare namespace uniformTypeDescriptor { * OpenDocument Presentation. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPENDOCUMENT_PRESENTATION = 'org.oasis.opendocument.presentation', @@ -1451,8 +1451,8 @@ declare namespace uniformTypeDescriptor { * OpenDocument Graphics. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPENDOCUMENT_GRAPHICS = 'org.oasis.opendocument.graphics', @@ -1460,8 +1460,8 @@ declare namespace uniformTypeDescriptor { * OpenDocument Formulat. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPENDOCUMENT_FORMULA = 'org.oasis.opendocument.formula', @@ -1469,8 +1469,8 @@ declare namespace uniformTypeDescriptor { * Stuffit archive. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STUFFIT_ARCHIVE = 'com.allume.stuffit-archive', @@ -1478,8 +1478,8 @@ declare namespace uniformTypeDescriptor { * Rar archive. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RAR_ARCHIVE = 'com.rarlab.rar-archive', @@ -1487,8 +1487,8 @@ declare namespace uniformTypeDescriptor { * 7-zip archive. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SEVEN_ZIP_ARCHIVE = 'org.7-zip.7-zip-archive', @@ -1496,8 +1496,8 @@ declare namespace uniformTypeDescriptor { * Calendar data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CALENDAR = 'general.calendar', @@ -1505,8 +1505,8 @@ declare namespace uniformTypeDescriptor { * VCalendar type, a type of calendar format. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VCS = 'general.vcs', @@ -1514,8 +1514,8 @@ declare namespace uniformTypeDescriptor { * ICalendar type, a type of calendar format. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ICS = 'general.ics', @@ -1523,8 +1523,8 @@ declare namespace uniformTypeDescriptor { * Contact data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CONTACT = 'general.contact', @@ -1532,8 +1532,8 @@ declare namespace uniformTypeDescriptor { * Database data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DATABASE = 'general.database', @@ -1541,8 +1541,8 @@ declare namespace uniformTypeDescriptor { * Message data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MESSAGE = 'general.message', @@ -1550,8 +1550,8 @@ declare namespace uniformTypeDescriptor { * Base type for executable data. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EXECUTABLE = 'general.executable', @@ -1559,8 +1559,8 @@ declare namespace uniformTypeDescriptor { * Microsoft Windows application. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PORTABLE_EXECUTABLE = 'com.microsoft.portable-executable', @@ -1568,8 +1568,8 @@ declare namespace uniformTypeDescriptor { * Java class. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SUN_JAVA_CLASS = 'com.sun.java-class', @@ -1577,8 +1577,8 @@ declare namespace uniformTypeDescriptor { * A file format data type stand for electronic business card. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ VCARD = 'general.vcard', @@ -1586,8 +1586,8 @@ declare namespace uniformTypeDescriptor { * Navigation data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NAVIGATION = 'general.navigation', @@ -1595,8 +1595,8 @@ declare namespace uniformTypeDescriptor { * Location data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ LOCATION = 'general.location', @@ -1604,8 +1604,8 @@ declare namespace uniformTypeDescriptor { * Base type for fonts. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FONT = 'general.font', @@ -1613,8 +1613,8 @@ declare namespace uniformTypeDescriptor { * TrueType font. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TRUETYPE_FONT = 'general.truetype-font', @@ -1622,8 +1622,8 @@ declare namespace uniformTypeDescriptor { * TrueType collection font. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TRUETYPE_COLLECTION_FONT = 'general.truetype-collection-font', @@ -1631,8 +1631,8 @@ declare namespace uniformTypeDescriptor { * OpenType font. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPENTYPE_FONT = 'general.opentype-font', @@ -1640,8 +1640,8 @@ declare namespace uniformTypeDescriptor { * PostScript font. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ POSTSCRIPT_FONT = 'com.adobe.postscript-font', @@ -1649,8 +1649,8 @@ declare namespace uniformTypeDescriptor { * A Printer Font Binary version of Adobe's Type 1. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ POSTSCRIPT_PFB_FONT = 'com.adobe.postscript-pfb-font', @@ -1658,8 +1658,8 @@ declare namespace uniformTypeDescriptor { * Adobe Type 1 font. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ POSTSCRIPT_PFA_FONT = 'com.adobe.postscript-pfa-font', @@ -1674,8 +1674,8 @@ declare namespace uniformTypeDescriptor { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ OPENHARMONY_FORM = 'openharmony.form', @@ -1690,8 +1690,8 @@ declare namespace uniformTypeDescriptor { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ OPENHARMONY_APP_ITEM = 'openharmony.app-item', @@ -1714,8 +1714,8 @@ declare namespace uniformTypeDescriptor { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ OPENHARMONY_PIXEL_MAP = 'openharmony.pixel-map', @@ -1723,8 +1723,8 @@ declare namespace uniformTypeDescriptor { * OpenHarmony system defined atomic service data type(the data is provided and bound to OpenHarmony system). * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ OPENHARMONY_ATOMIC_SERVICE = 'openharmony.atomic-service', @@ -1733,8 +1733,8 @@ declare namespace uniformTypeDescriptor { *
and bound to OpenHarmony system). * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ OPENHARMONY_PACKAGE = 'openharmony.package', @@ -1742,8 +1742,8 @@ declare namespace uniformTypeDescriptor { * OpenHarmony system defined ability package(the data is provided and bound to OpenHarmony system). * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ OPENHARMONY_HAP = 'openharmony.hap', @@ -1751,8 +1751,8 @@ declare namespace uniformTypeDescriptor { * OpenHarmony system AppNotepad data format. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPENHARMONY_HDOC = 'openharmony.hdoc', @@ -1760,8 +1760,8 @@ declare namespace uniformTypeDescriptor { * OpenHarmony system Notes data format. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPENHARMONY_HINOTE = 'openharmony.hinote', @@ -1769,8 +1769,8 @@ declare namespace uniformTypeDescriptor { * OpenHarmony system defined styled string. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPENHARMONY_STYLED_STRING = 'openharmony.styled-string', @@ -1778,8 +1778,8 @@ declare namespace uniformTypeDescriptor { * OpenHarmony system defined Want. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPENHARMONY_WANT = 'openharmony.want', @@ -1787,8 +1787,8 @@ declare namespace uniformTypeDescriptor { * Ofd data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OFD = 'general.ofd', @@ -1796,8 +1796,8 @@ declare namespace uniformTypeDescriptor { * Cad data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CAD = 'general.cad', @@ -1805,8 +1805,8 @@ declare namespace uniformTypeDescriptor { * Octet stream data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OCTET_STREAM = 'general.octet-stream', @@ -1814,8 +1814,8 @@ declare namespace uniformTypeDescriptor { * File uri data type. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ FILE_URI = 'general.file-uri', @@ -1823,8 +1823,8 @@ declare namespace uniformTypeDescriptor { * Content widget type. This type belongs to OBJECT. * * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ CONTENT_FORM = 'general.content-form' } @@ -1842,7 +1842,7 @@ declare namespace uniformTypeDescriptor { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ class TypeDescriptor { /** @@ -1860,7 +1860,7 @@ declare namespace uniformTypeDescriptor { * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly typeId: string; @@ -1879,7 +1879,7 @@ declare namespace uniformTypeDescriptor { * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly belongingToTypes: Array; @@ -1898,7 +1898,7 @@ declare namespace uniformTypeDescriptor { * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly description: string; @@ -1917,7 +1917,7 @@ declare namespace uniformTypeDescriptor { * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly referenceURL: string; @@ -1936,7 +1936,7 @@ declare namespace uniformTypeDescriptor { * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly iconFile: string; @@ -1955,7 +1955,7 @@ declare namespace uniformTypeDescriptor { * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly filenameExtensions: Array; @@ -1974,7 +1974,7 @@ declare namespace uniformTypeDescriptor { * @readonly * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly mimeTypes: Array; @@ -1997,7 +1997,7 @@ declare namespace uniformTypeDescriptor { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ belongsTo(type: string): boolean; @@ -2020,7 +2020,7 @@ declare namespace uniformTypeDescriptor { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ isLowerLevelType(type: string): boolean; @@ -2043,7 +2043,7 @@ declare namespace uniformTypeDescriptor { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ isHigherLevelType(type: string): boolean; @@ -2066,7 +2066,7 @@ declare namespace uniformTypeDescriptor { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ equals(typeDescriptor: TypeDescriptor): boolean; } @@ -2092,7 +2092,7 @@ declare namespace uniformTypeDescriptor { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ function getTypeDescriptor(typeId: string): TypeDescriptor; @@ -2123,8 +2123,7 @@ declare namespace uniformTypeDescriptor { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getUniformDataTypeByFilenameExtension(filenameExtension: string, belongsTo?: string): string; @@ -2151,7 +2150,7 @@ declare namespace uniformTypeDescriptor { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ function getUniformDataTypeByMIMEType(mimeType: string, belongsTo?: string): string; @@ -2182,7 +2181,7 @@ declare namespace uniformTypeDescriptor { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ function getUniformDataTypesByFilenameExtension(filenameExtension: string, belongsTo?: string): Array; @@ -2213,7 +2212,7 @@ declare namespace uniformTypeDescriptor { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform - * @since 20 + * @since 20 dynamic */ function getUniformDataTypesByMIMEType(mimeType: string, belongsTo?: string): Array; } diff --git a/api/@ohos.deviceAttest.d.ts b/api/@ohos.deviceAttest.d.ts index 45f5185b45..6325eca404 100644 --- a/api/@ohos.deviceAttest.d.ts +++ b/api/@ohos.deviceAttest.d.ts @@ -25,7 +25,7 @@ import { AsyncCallback, Callback } from './@ohos.base'; * * @namespace deviceAttest * @syscap SystemCapability.XTS.DeviceAttest - * @since 9 + * @since 9 dynamic */ declare namespace deviceAttest { /** @@ -38,7 +38,7 @@ declare namespace deviceAttest { * @throws { BusinessError } 20000001 - System service exception, please try again or reboot your device. * @syscap SystemCapability.XTS.DeviceAttest * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function getAttestStatus(callback: AsyncCallback): void; @@ -52,7 +52,7 @@ declare namespace deviceAttest { * @throws { BusinessError } 20000001 - System service exception, please try again or reboot your device. * @syscap SystemCapability.XTS.DeviceAttest * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function getAttestStatus(): Promise; @@ -66,7 +66,7 @@ declare namespace deviceAttest { * @throws { BusinessError } 20000001 - System service exception, please try again or reboot your device. * @syscap SystemCapability.XTS.DeviceAttest * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function getAttestStatusSync(): AttestResultInfo; @@ -76,7 +76,7 @@ declare namespace deviceAttest { * @interface AttestResultInfo * @syscap SystemCapability.XTS.DeviceAttest * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ export interface AttestResultInfo { @@ -86,7 +86,7 @@ declare namespace deviceAttest { * @type { number } * @syscap SystemCapability.XTS.DeviceAttest * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ authResult: number; @@ -96,7 +96,7 @@ declare namespace deviceAttest { * @type { number } * @syscap SystemCapability.XTS.DeviceAttest * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ softwareResult: number; @@ -107,7 +107,7 @@ declare namespace deviceAttest { * @type { Array } * @syscap SystemCapability.XTS.DeviceAttest * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ softwareResultDetail: Array; @@ -117,7 +117,7 @@ declare namespace deviceAttest { * @type { string } * @syscap SystemCapability.XTS.DeviceAttest * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ ticket: string; } diff --git a/api/@ohos.deviceInfo.d.ets b/api/@ohos.deviceInfo.d.ets index 0297a224da..cefeee2667 100644 --- a/api/@ohos.deviceInfo.d.ets +++ b/api/@ohos.deviceInfo.d.ets @@ -24,8 +24,7 @@ * @class deviceInfo * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ declare class deviceInfo { @@ -37,8 +36,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get deviceType(): string; @@ -48,8 +46,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get manufacture(): string; @@ -59,8 +56,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get brand(): string; @@ -70,8 +66,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get marketName(): string; @@ -81,8 +76,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get productSeries(): string; @@ -93,8 +87,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get productModel(): string; @@ -103,8 +96,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get productModelAlias(): string; @@ -114,8 +106,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get softwareModel(): string; @@ -125,8 +116,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get hardwareModel(): string; @@ -136,8 +126,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get hardwareProfile(): string; @@ -147,8 +136,7 @@ declare class deviceInfo { * @permission ohos.permission.sec.ACCESS_UDID * * @syscap SystemCapability.Startup.SystemInfo - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get serial(): string; @@ -158,8 +146,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get bootloaderVersion(): string; @@ -169,8 +156,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get abiList(): string; @@ -180,8 +166,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get securityPatchTag(): string; @@ -191,8 +176,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get displayVersion(): string; @@ -202,8 +186,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get incrementalVersion(): string; @@ -215,8 +198,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get osReleaseType(): string; @@ -227,8 +209,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get osFullName(): string; @@ -239,8 +220,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get majorVersion(): int; @@ -252,8 +232,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get seniorVersion(): int; @@ -264,8 +243,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get featureVersion(): int; @@ -276,8 +254,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get buildVersion(): int; @@ -288,8 +265,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get sdkApiVersion(): int; @@ -299,8 +275,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get firstApiVersion(): int; @@ -310,8 +285,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get versionId(): string; @@ -321,8 +295,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get buildType(): string; @@ -332,8 +305,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get buildUser(): string; @@ -343,8 +315,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get buildHost(): string; @@ -354,8 +325,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get buildTime(): string; @@ -365,8 +335,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get buildRootHash(): string; @@ -376,8 +345,7 @@ declare class deviceInfo { * @permission ohos.permission.sec.ACCESS_UDID * * @syscap SystemCapability.Startup.SystemInfo - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get udid(): string; @@ -389,8 +357,7 @@ declare class deviceInfo { * * * @syscap SystemCapability.Startup.SystemInfo - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get distributionOSName(): string; @@ -402,8 +369,7 @@ declare class deviceInfo { * * * @syscap SystemCapability.Startup.SystemInfo - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get distributionOSVersion(): string; @@ -415,8 +381,7 @@ declare class deviceInfo { * * * @syscap SystemCapability.Startup.SystemInfo - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get distributionOSApiVersion(): int; @@ -426,8 +391,7 @@ declare class deviceInfo { * distributionOSApiName will return the ISV OS api name * * @syscap SystemCapability.Startup.SystemInfo - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get distributionOSApiName(): string; @@ -439,8 +403,7 @@ declare class deviceInfo { * * * @syscap SystemCapability.Startup.SystemInfo - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get distributionOSReleaseType(): string; @@ -461,8 +424,7 @@ declare class deviceInfo { * * * @syscap SystemCapability.Startup.SystemInfo - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get ODID(): string; @@ -471,8 +433,7 @@ declare class deviceInfo { * * @permission ohos.permission.ACCESS_DISK_PHY_INFO * @syscap SystemCapability.Startup.SystemInfo - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get diskSN(): string; @@ -481,8 +442,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get sdkMinorApiVersion(): int; @@ -491,8 +451,7 @@ declare class deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ static get sdkPatchApiVersion(): int; } diff --git a/api/@ohos.deviceInfo.d.ts b/api/@ohos.deviceInfo.d.ts index 7f49b02598..08315725ba 100644 --- a/api/@ohos.deviceInfo.d.ts +++ b/api/@ohos.deviceInfo.d.ts @@ -32,7 +32,7 @@ * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare namespace deviceInfo { /** @@ -41,7 +41,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ enum DeviceTypes { /** @@ -50,7 +50,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ TYPE_DEFAULT = 'default', @@ -60,7 +60,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ TYPE_PHONE = 'phone', @@ -70,7 +70,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ TYPE_TABLET = 'tablet', @@ -80,7 +80,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ TYPE_2IN1 = '2in1', @@ -90,7 +90,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ TYPE_TV = 'tv', @@ -100,7 +100,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ TYPE_WEARABLE = 'wearable', @@ -110,7 +110,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ TYPE_CAR = 'car' } @@ -142,7 +142,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ const deviceType: string; @@ -159,7 +159,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const manufacture: string; @@ -185,7 +185,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ const brand: string; @@ -202,7 +202,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const marketName: string; @@ -219,7 +219,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const productSeries: string; @@ -245,7 +245,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ const productModel: string; @@ -255,7 +255,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ const productModelAlias: string; @@ -272,7 +272,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const softwareModel: string; @@ -289,7 +289,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const hardwareModel: string; @@ -298,7 +298,7 @@ declare namespace deviceInfo { * * * @syscap SystemCapability.Startup.SystemInfo - * @since 6 + * @since 6 dynamic * @deprecated since 9 */ const hardwareProfile: string; @@ -309,7 +309,7 @@ declare namespace deviceInfo { * @permission ohos.permission.sec.ACCESS_UDID * * @syscap SystemCapability.Startup.SystemInfo - * @since 6 + * @since 6 dynamic */ const serial: string; @@ -326,7 +326,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const bootloaderVersion: string; @@ -343,7 +343,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const abiList: string; @@ -360,7 +360,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const securityPatchTag: string; @@ -377,7 +377,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const displayVersion: string; @@ -394,7 +394,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const incrementalVersion: string; @@ -415,7 +415,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const osReleaseType: string; @@ -441,7 +441,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ const osFullName: string; @@ -460,7 +460,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const majorVersion: number; @@ -481,7 +481,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const seniorVersion: number; @@ -500,7 +500,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const featureVersion: number; @@ -519,7 +519,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const buildVersion: number; @@ -545,7 +545,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ const sdkApiVersion: number; @@ -562,7 +562,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const firstApiVersion: number; @@ -579,7 +579,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const versionId: string; @@ -596,7 +596,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const buildType: string; @@ -613,7 +613,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const buildUser: string; @@ -630,7 +630,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const buildHost: string; @@ -647,7 +647,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const buildTime: string; @@ -664,7 +664,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 10 + * @since 10 dynamic */ const buildRootHash: string; @@ -674,7 +674,7 @@ declare namespace deviceInfo { * @permission ohos.permission.sec.ACCESS_UDID * * @syscap SystemCapability.Startup.SystemInfo - * @since 7 + * @since 7 dynamic */ const udid: string; @@ -686,7 +686,7 @@ declare namespace deviceInfo { * * * @syscap SystemCapability.Startup.SystemInfo - * @since 10 + * @since 10 dynamic */ const distributionOSName: string; @@ -698,7 +698,7 @@ declare namespace deviceInfo { * * * @syscap SystemCapability.Startup.SystemInfo - * @since 10 + * @since 10 dynamic */ const distributionOSVersion: string; @@ -710,7 +710,7 @@ declare namespace deviceInfo { * * * @syscap SystemCapability.Startup.SystemInfo - * @since 10 + * @since 10 dynamic */ const distributionOSApiVersion: number; @@ -720,7 +720,7 @@ declare namespace deviceInfo { * distributionOSApiName will return the ISV OS api name * * @syscap SystemCapability.Startup.SystemInfo - * @since 13 + * @since 13 dynamic */ const distributionOSApiName: string; @@ -732,7 +732,7 @@ declare namespace deviceInfo { * * * @syscap SystemCapability.Startup.SystemInfo - * @since 10 + * @since 10 dynamic */ const distributionOSReleaseType: string; @@ -753,7 +753,7 @@ declare namespace deviceInfo { * * * @syscap SystemCapability.Startup.SystemInfo - * @since 12 + * @since 12 dynamic */ const ODID: string; @@ -762,7 +762,7 @@ declare namespace deviceInfo { * * @permission ohos.permission.ACCESS_DISK_PHY_INFO * @syscap SystemCapability.Startup.SystemInfo - * @since 15 + * @since 15 dynamic */ const diskSN: string; @@ -772,7 +772,7 @@ declare namespace deviceInfo { * @enum { number } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 19 + * @since 19 dynamic */ export enum PerformanceClassLevel { /** @@ -780,7 +780,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 19 + * @since 19 dynamic */ CLASS_LEVEL_HIGH, /** @@ -788,7 +788,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 19 + * @since 19 dynamic */ CLASS_LEVEL_MEDIUM, /** @@ -796,7 +796,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 19 + * @since 19 dynamic */ CLASS_LEVEL_LOW } @@ -806,7 +806,7 @@ declare namespace deviceInfo { * * @syscap SystemCapability.Startup.SystemInfo * @crossplatform - * @since 19 + * @since 19 dynamic */ const performanceClass: PerformanceClassLevel; @@ -817,7 +817,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ const sdkMinorApiVersion: number; @@ -828,7 +828,7 @@ declare namespace deviceInfo { * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ const sdkPatchApiVersion: number; } diff --git a/api/@ohos.deviceStatus.dragInteraction.d.ts b/api/@ohos.deviceStatus.dragInteraction.d.ts index 78d9075a49..9793b2cfb8 100644 --- a/api/@ohos.deviceStatus.dragInteraction.d.ts +++ b/api/@ohos.deviceStatus.dragInteraction.d.ts @@ -26,8 +26,8 @@ import { Callback } from './@ohos.base'; * @namespace dragInteraction * @syscap SystemCapability.Msdp.DeviceStatus.Drag * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare namespace dragInteraction { /** @@ -36,8 +36,8 @@ declare namespace dragInteraction { * @enum { number } * @syscap SystemCapability.Msdp.DeviceStatus.Drag * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum DragState { /** @@ -45,8 +45,8 @@ declare namespace dragInteraction { * * @syscap SystemCapability.Msdp.DeviceStatus.Drag * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MSG_DRAG_STATE_START = 1, @@ -55,8 +55,8 @@ declare namespace dragInteraction { * * @syscap SystemCapability.Msdp.DeviceStatus.Drag * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MSG_DRAG_STATE_STOP = 2, @@ -65,8 +65,8 @@ declare namespace dragInteraction { * * @syscap SystemCapability.Msdp.DeviceStatus.Drag * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MSG_DRAG_STATE_CANCEL = 3, } @@ -77,8 +77,8 @@ declare namespace dragInteraction { * @interface Summary * @syscap SystemCapability.Msdp.DeviceStatus.Drag * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface Summary { /** @@ -87,8 +87,8 @@ declare namespace dragInteraction { * @type { string } * @syscap SystemCapability.Msdp.DeviceStatus.Drag * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ dataType: string; @@ -98,8 +98,8 @@ declare namespace dragInteraction { * @type { int } * @syscap SystemCapability.Msdp.DeviceStatus.Drag * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ dataSize: int; } @@ -125,8 +125,8 @@ declare namespace dragInteraction { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Drag * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function on(type: 'drag', callback: Callback): void; @@ -153,8 +153,8 @@ declare namespace dragInteraction { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Drag * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function off(type: 'drag', callback?: Callback): void; @@ -165,8 +165,8 @@ declare namespace dragInteraction { * @throws {BusinessError} 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Msdp.DeviceStatus.Drag * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getDataSummary(): Array; @@ -177,7 +177,7 @@ declare namespace dragInteraction { * @throws {BusinessError} 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Msdp.DeviceStatus.Drag * @systemapi Hide this for inner system use. - * @since 18 + * @since 18 dynamic */ function setDragSwitchState(enabled: boolean): void; @@ -191,7 +191,7 @@ declare namespace dragInteraction { *
2.Incorrect parameter types.3.Parameter verification failed. * @syscap SystemCapability.Msdp.DeviceStatus.Drag * @systemapi Hide this for inner system use. - * @since 18 + * @since 18 dynamic */ function setAppDragSwitchState(enabled: boolean, bundleName: string): void; } diff --git a/api/@ohos.display.d.ts b/api/@ohos.display.d.ts index 48a52d789f..4bca982437 100644 --- a/api/@ohos.display.d.ts +++ b/api/@ohos.display.d.ts @@ -44,8 +44,8 @@ import type hdrCapability from './@ohos.graphics.hdrCapability'; * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace display { /** @@ -53,7 +53,7 @@ declare namespace display { * * @param { AsyncCallback } callback the result of display * @syscap SystemCapability.WindowManager.WindowManager.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.display#getDefaultDisplaySync */ @@ -64,7 +64,7 @@ declare namespace display { * * @returns { Promise } the result of display * @syscap SystemCapability.WindowManager.WindowManager.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.display#getDefaultDisplaySync */ @@ -95,8 +95,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getDefaultDisplaySync(): Display; @@ -109,8 +109,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getPrimaryDisplaySync(): Display; @@ -125,8 +125,8 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getDisplayByIdSync(displayId: long): Display; @@ -135,7 +135,7 @@ declare namespace display { * * @param { AsyncCallback> } callback the result of all displays * @syscap SystemCapability.WindowManager.WindowManager.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.display#getAllDisplays */ @@ -146,7 +146,7 @@ declare namespace display { * * @returns { Promise> } the result of all displays * @syscap SystemCapability.WindowManager.WindowManager.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.display#getAllDisplays */ @@ -167,8 +167,8 @@ declare namespace display { * @throws { BusinessError } 1400001 - Invalid display or screen. * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getAllDisplays(callback: AsyncCallback>): void; @@ -187,8 +187,8 @@ declare namespace display { * @throws { BusinessError } 1400001 - Invalid display or screen. * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getAllDisplays(): Promise>; @@ -199,8 +199,8 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getAllDisplayPhysicalResolution(): Promise>; @@ -215,8 +215,8 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function hasPrivateWindow(displayId: long): boolean; @@ -251,8 +251,7 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function on(type: 'add' | 'remove' | 'change', callback: Callback): void; @@ -287,8 +286,7 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function off(type: 'add' | 'remove' | 'change', callback?: Callback): void; @@ -302,8 +300,8 @@ declare namespace display { *
2. Incorrect parameter types. * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function on(type: 'privateModeChange', callback: Callback): void; @@ -317,8 +315,8 @@ declare namespace display { *
2. Incorrect parameter types. * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function off(type: 'privateModeChange', callback?: Callback): void; @@ -347,8 +345,7 @@ declare namespace display { * @syscap SystemCapability.Window.SessionManager * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function isFoldable(): boolean; @@ -377,8 +374,7 @@ declare namespace display { * @syscap SystemCapability.Window.SessionManager * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getFoldStatus(): FoldStatus; @@ -416,8 +412,7 @@ declare namespace display { * @syscap SystemCapability.Window.SessionManager * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function on(type: 'foldStatusChange', callback: Callback): void; @@ -455,8 +450,7 @@ declare namespace display { * @syscap SystemCapability.Window.SessionManager * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function off(type: 'foldStatusChange', callback?: Callback): void; @@ -483,8 +477,7 @@ declare namespace display { * @syscap SystemCapability.Window.SessionManager * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function on(type: 'foldAngleChange', callback: Callback>): void; @@ -511,8 +504,7 @@ declare namespace display { * @syscap SystemCapability.Window.SessionManager * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function off(type: 'foldAngleChange', callback?: Callback>): void; @@ -526,8 +518,8 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function on(type: 'captureStatusChange', callback: Callback): void; @@ -541,8 +533,8 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function off(type: 'captureStatusChange', callback?: Callback): void; @@ -554,8 +546,8 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function isCaptured(): boolean; @@ -584,8 +576,7 @@ declare namespace display { * @syscap SystemCapability.Window.SessionManager * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getFoldDisplayMode(): FoldDisplayMode; @@ -599,8 +590,8 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setFoldDisplayMode(mode: FoldDisplayMode): void; @@ -613,8 +604,8 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function setFoldDisplayMode(mode: FoldDisplayMode, reason: string): void; @@ -652,8 +643,7 @@ declare namespace display { * @syscap SystemCapability.Window.SessionManager * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function on(type: 'foldDisplayModeChange', callback: Callback): void; @@ -691,8 +681,7 @@ declare namespace display { * @syscap SystemCapability.Window.SessionManager * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function off(type: 'foldDisplayModeChange', callback?: Callback): void; @@ -711,8 +700,8 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getCurrentFoldCreaseRegion(): FoldCreaseRegion; @@ -726,8 +715,8 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function setFoldStatusLocked(locked: boolean): void; @@ -743,8 +732,8 @@ declare namespace display { * @throws { BusinessError } 801 - Capability not supported.function createVirtualScreen can not work correctly due to limited device capabilities. * @throws { BusinessError } 1400001 - Invalid display or screen. * @syscap SystemCapability.Window.SessionManager - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function createVirtualScreen(config: VirtualScreenConfig): Promise; @@ -761,8 +750,8 @@ declare namespace display { * @throws { BusinessError } 1400001 - Invalid display or screen. * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function destroyVirtualScreen(screenId: long): Promise; @@ -780,8 +769,8 @@ declare namespace display { * @throws { BusinessError } 1400001 - Invalid display or screen. * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function setVirtualScreenSurface(screenId: long, surfaceId: string): Promise; @@ -798,8 +787,8 @@ declare namespace display { * @throws { BusinessError } 1400001 - Invalid display or screen. * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function makeUnique(screenId: long): Promise; @@ -815,7 +804,7 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @systemapi Hide this for inner system use. - * @since 18 + * @since 18 dynamic */ function addVirtualScreenBlocklist(windowIds: Array): Promise; @@ -831,7 +820,7 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @systemapi Hide this for inner system use. - * @since 18 + * @since 18 dynamic */ function removeVirtualScreenBlocklist(windowIds: Array): Promise; @@ -847,7 +836,7 @@ declare namespace display { * @throws { BusinessError } 1400004 - Parameter error. Possible cause: 1. Invalid parameter range. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 20 + * @since 20 dynamic */ function convertGlobalToRelativeCoordinate(position: Position, displayId?: long): RelativePosition; @@ -861,7 +850,7 @@ declare namespace display { * @throws { BusinessError } 1400004 - Parameter error. Possible cause: 1. Invalid parameter range. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 20 + * @since 20 dynamic */ function convertRelativeToGlobalCoordinate(relativePosition: RelativePosition): Position; @@ -870,8 +859,8 @@ declare namespace display { * * @interface VirtualScreenConfig * @syscap SystemCapability.Window.SessionManager - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ interface VirtualScreenConfig { /** @@ -879,8 +868,8 @@ declare namespace display { * * @type { string } * @syscap SystemCapability.Window.SessionManager - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ name: string; @@ -889,8 +878,8 @@ declare namespace display { * * @type { long } * @syscap SystemCapability.Window.SessionManager - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ width: long; @@ -899,8 +888,8 @@ declare namespace display { * * @type { long } * @syscap SystemCapability.Window.SessionManager - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ height: long; @@ -909,8 +898,8 @@ declare namespace display { * * @type { double } * @syscap SystemCapability.Window.SessionManager - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ density: double; @@ -919,8 +908,8 @@ declare namespace display { * * @type { string } * @syscap SystemCapability.Window.SessionManager - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ surfaceId: string; } @@ -947,8 +936,7 @@ declare namespace display { * @syscap SystemCapability.Window.SessionManager * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum FoldStatus { /** @@ -970,8 +958,7 @@ declare namespace display { * @syscap SystemCapability.Window.SessionManager * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FOLD_STATUS_UNKNOWN = 0, /** @@ -993,8 +980,7 @@ declare namespace display { * @syscap SystemCapability.Window.SessionManager * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FOLD_STATUS_EXPANDED = 1, /** @@ -1008,8 +994,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FOLD_STATUS_FOLDED = 2, /** @@ -1031,8 +1017,7 @@ declare namespace display { * @syscap SystemCapability.Window.SessionManager * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FOLD_STATUS_HALF_FOLDED = 3, /** @@ -1040,8 +1025,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ FOLD_STATUS_EXPANDED_WITH_SECOND_EXPANDED = 11, /** @@ -1049,8 +1034,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ FOLD_STATUS_EXPANDED_WITH_SECOND_HALF_FOLDED = 21, /** @@ -1058,8 +1043,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ FOLD_STATUS_FOLDED_WITH_SECOND_EXPANDED = 12, /** @@ -1067,8 +1052,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ FOLD_STATUS_FOLDED_WITH_SECOND_HALF_FOLDED = 22, /** @@ -1076,8 +1061,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ FOLD_STATUS_HALF_FOLDED_WITH_SECOND_EXPANDED = 13, /** @@ -1085,8 +1070,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ FOLD_STATUS_HALF_FOLDED_WITH_SECOND_HALF_FOLDED = 23 } @@ -1113,8 +1098,7 @@ declare namespace display { * @syscap SystemCapability.Window.SessionManager * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum FoldDisplayMode { /** @@ -1128,8 +1112,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FOLD_DISPLAY_MODE_UNKNOWN = 0, /** @@ -1143,8 +1127,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FOLD_DISPLAY_MODE_FULL = 1, /** @@ -1158,8 +1142,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FOLD_DISPLAY_MODE_MAIN= 2, /** @@ -1173,8 +1157,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FOLD_DISPLAY_MODE_SUB= 3, /** @@ -1188,8 +1172,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FOLD_DISPLAY_MODE_COORDINATION } @@ -1207,8 +1191,8 @@ declare namespace display { * @enum { number } * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum DisplayState { /** @@ -1222,8 +1206,8 @@ declare namespace display { * * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_UNKNOWN = 0, /** @@ -1237,8 +1221,8 @@ declare namespace display { * * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_OFF = 1, /** @@ -1252,8 +1236,8 @@ declare namespace display { * * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_ON = 2, /** @@ -1267,8 +1251,8 @@ declare namespace display { * * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_DOZE = 3, /** @@ -1282,8 +1266,8 @@ declare namespace display { * * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_DOZE_SUSPEND = 4, /** @@ -1297,8 +1281,8 @@ declare namespace display { * * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_VR = 5, /** @@ -1312,8 +1296,8 @@ declare namespace display { * * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_ON_SUSPEND = 6 } @@ -1333,8 +1317,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum Orientation { /** @@ -1350,8 +1334,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PORTRAIT = 0, @@ -1368,8 +1352,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LANDSCAPE = 1, @@ -1386,8 +1370,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PORTRAIT_INVERTED = 2, @@ -1404,8 +1388,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LANDSCAPE_INVERTED = 3 } @@ -1416,8 +1400,8 @@ declare namespace display { * @enum { number } * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum DisplaySourceMode { /** @@ -1425,8 +1409,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ NONE = 0, @@ -1435,8 +1419,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ MAIN = 1, @@ -1445,8 +1429,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ MIRROR = 2, @@ -1455,8 +1439,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ EXTEND = 3, @@ -1465,8 +1449,8 @@ declare namespace display { * * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ ALONE = 4 } @@ -1477,8 +1461,8 @@ declare namespace display { * @enum { number } * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enum ScreenShape { /** @@ -1486,8 +1470,8 @@ declare namespace display { * * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ RECTANGLE = 0, /** @@ -1495,8 +1479,8 @@ declare namespace display { * * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ ROUND = 1 } @@ -1514,8 +1498,8 @@ declare namespace display { * @interface FoldCreaseRegion * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface FoldCreaseRegion { /** @@ -1533,8 +1517,8 @@ declare namespace display { * @readonly * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly displayId: long; @@ -1553,8 +1537,8 @@ declare namespace display { * @readonly * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly creaseRects: Array; } @@ -1572,8 +1556,8 @@ declare namespace display { * @interface Rect * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface Rect { /** @@ -1589,8 +1573,8 @@ declare namespace display { * @type { long } * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ left: long; @@ -1607,8 +1591,8 @@ declare namespace display { * @type { long } * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ top: long; @@ -1625,8 +1609,8 @@ declare namespace display { * @type { long } * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ width: long; @@ -1643,8 +1627,8 @@ declare namespace display { * @type { long } * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ height: long; } @@ -1662,8 +1646,8 @@ declare namespace display { * @interface WaterfallDisplayAreaRects * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface WaterfallDisplayAreaRects { /** @@ -1681,8 +1665,8 @@ declare namespace display { * @readonly * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly left: Rect; @@ -1701,8 +1685,8 @@ declare namespace display { * @readonly * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly right: Rect; @@ -1721,8 +1705,8 @@ declare namespace display { * @readonly * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly top: Rect; @@ -1741,8 +1725,8 @@ declare namespace display { * @readonly * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly bottom: Rect; } @@ -1760,8 +1744,8 @@ declare namespace display { * @interface CutoutInfo * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface CutoutInfo { /** @@ -1779,8 +1763,8 @@ declare namespace display { * @readonly * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly boundingRects: Array; @@ -1799,8 +1783,8 @@ declare namespace display { * @readonly * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly waterfallDisplayAreaRects: WaterfallDisplayAreaRects; } @@ -1812,8 +1796,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface DisplayPhysicalResolution { /** @@ -1822,8 +1806,8 @@ declare namespace display { * @type { FoldDisplayMode } * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ foldDisplayMode: FoldDisplayMode; @@ -1834,8 +1818,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ physicalWidth: long; @@ -1846,8 +1830,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ physicalHeight: long; } @@ -1874,8 +1858,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface Display { /** @@ -1900,8 +1884,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ id: long; @@ -1918,8 +1902,8 @@ declare namespace display { * @type { string } * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ name: string; @@ -1936,8 +1920,8 @@ declare namespace display { * @type { boolean } * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ alive: boolean; @@ -1954,8 +1938,8 @@ declare namespace display { * @type { DisplayState } * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ state: DisplayState; @@ -1972,8 +1956,8 @@ declare namespace display { * @type { int } * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ refreshRate: int; @@ -1994,8 +1978,8 @@ declare namespace display { * @type { int } * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ rotation: int; @@ -2021,8 +2005,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ width: long; @@ -2048,8 +2032,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ height: long; @@ -2060,8 +2044,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ availableWidth: long; @@ -2072,8 +2056,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ availableHeight: long; @@ -2099,8 +2083,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ densityDPI: double; @@ -2119,8 +2103,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ orientation: Orientation; @@ -2138,8 +2122,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ densityPixels: double; @@ -2165,8 +2149,8 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ scaledDensity: double; @@ -2192,8 +2176,7 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ xDPI: double; @@ -2219,7 +2202,7 @@ declare namespace display { * @syscap SystemCapability.WindowManager.WindowManager.Core * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ yDPI: double; @@ -2229,8 +2212,8 @@ declare namespace display { * @type { ?ScreenShape } * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ screenShape?: ScreenShape; @@ -2247,7 +2230,7 @@ declare namespace display { * @type { Array } * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ colorSpaces: Array; @@ -2264,7 +2247,7 @@ declare namespace display { * @type { Array } * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ hdrFormats: Array; @@ -2274,8 +2257,8 @@ declare namespace display { * @type { ?DisplaySourceMode } * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ sourceMode?: DisplaySourceMode; @@ -2285,8 +2268,8 @@ declare namespace display { * @type { ?long } * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ x?: long; @@ -2296,8 +2279,8 @@ declare namespace display { * @type { ?long } * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ y?: long; @@ -2307,8 +2290,7 @@ declare namespace display { * @type { ?Array } * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ supportedRefreshRates?: Array; @@ -2327,8 +2309,8 @@ declare namespace display { * @throws { BusinessError } 1400001 - Invalid display or screen. * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCutoutInfo(callback: AsyncCallback): void; @@ -2347,8 +2329,8 @@ declare namespace display { * @throws { BusinessError } 1400001 - Invalid display or screen. * @syscap SystemCapability.WindowManager.WindowManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCutoutInfo(): Promise; @@ -2362,8 +2344,8 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ hasImmersiveWindow(callback: AsyncCallback): void; @@ -2377,8 +2359,8 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ hasImmersiveWindow(): Promise; @@ -2390,8 +2372,8 @@ declare namespace display { * @throws { BusinessError } 1400001 - Invalid display or screen. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAvailableArea(): Promise; @@ -2406,8 +2388,8 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'availableAreaChange', callback: Callback): void; @@ -2422,8 +2404,8 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'availableAreaChange', callback?: Callback): void; @@ -2436,9 +2418,9 @@ declare namespace display { * @throws { BusinessError } 1400003 - This display manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getDisplayCapability(): string; } @@ -2448,7 +2430,7 @@ declare namespace display { * * @interface Position * @syscap SystemCapability.Window.SessionManager - * @since 20 + * @since 20 dynamic */ interface Position { /** @@ -2456,7 +2438,7 @@ declare namespace display { * * @type { long } * @syscap SystemCapability.Window.SessionManager - * @since 20 + * @since 20 dynamic */ x: long; @@ -2465,7 +2447,7 @@ declare namespace display { * * @type { long } * @syscap SystemCapability.Window.SessionManager - * @since 20 + * @since 20 dynamic */ y: long; } @@ -2475,7 +2457,7 @@ declare namespace display { * * @interface RelativePosition * @syscap SystemCapability.Window.SessionManager - * @since 20 + * @since 20 dynamic */ interface RelativePosition { /** @@ -2483,7 +2465,7 @@ declare namespace display { * * @type { long } * @syscap SystemCapability.Window.SessionManager - * @since 20 + * @since 20 dynamic */ displayId: long; @@ -2492,7 +2474,7 @@ declare namespace display { * * @type { Position } * @syscap SystemCapability.Window.SessionManager - * @since 20 + * @since 20 dynamic */ position: Position; } diff --git a/api/@ohos.distributedBundle.d.ts b/api/@ohos.distributedBundle.d.ts index b0ccd641dd..c42a44d807 100644 --- a/api/@ohos.distributedBundle.d.ts +++ b/api/@ohos.distributedBundle.d.ts @@ -28,7 +28,7 @@ import { RemoteAbilityInfo } from './bundle/remoteAbilityInfo'; * @namespace distributedBundle * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi Hide this for inner system use - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.distributedBundleManager */ @@ -41,7 +41,7 @@ declare namespace distributedBundle { * @param { AsyncCallback } callback * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.distributedBundleManager#getRemoteAbilityInfo */ @@ -55,7 +55,7 @@ declare namespace distributedBundle { * @returns { Promise } Returns the ability info of the remote device. * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.distributedBundleManager#getRemoteAbilityInfo */ @@ -69,7 +69,7 @@ declare namespace distributedBundle { * @param { AsyncCallback> } callback * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.distributedBundleManager#getRemoteAbilityInfo */ @@ -84,7 +84,7 @@ declare namespace distributedBundle { * @returns { Promise> } Returns the ability infos of the remote device. * @syscap SystemCapability.BundleManager.DistributedBundleFramework * @systemapi - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.bundle.distributedBundleManager#getRemoteAbilityInfo */ diff --git a/api/@ohos.distributedDeviceManager.d.ts b/api/@ohos.distributedDeviceManager.d.ts index a9b7ef6792..f557b671e8 100644 --- a/api/@ohos.distributedDeviceManager.d.ts +++ b/api/@ohos.distributedDeviceManager.d.ts @@ -25,8 +25,8 @@ import type { AsyncCallback, Callback } from './@ohos.base'; * * @namespace distributedDeviceManager * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare namespace distributedDeviceManager { @@ -35,8 +35,8 @@ declare namespace distributedDeviceManager { * Basic description information of a distributed device. * @interface DeviceBasicInfo * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface DeviceBasicInfo { /** @@ -45,8 +45,8 @@ declare namespace distributedDeviceManager { * the obtained ID will change. * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ deviceId: string; @@ -54,8 +54,8 @@ declare namespace distributedDeviceManager { * Device name. * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ deviceName: string; @@ -64,8 +64,8 @@ declare namespace distributedDeviceManager { * which can be {@code phone}, {@code tablet}, {@code tv}, {@code smartVision}, {@code car}. * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ deviceType: string; @@ -73,8 +73,8 @@ declare namespace distributedDeviceManager { * Device network id. * @type { ?string } * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ networkId?: string; } @@ -83,32 +83,32 @@ declare namespace distributedDeviceManager { * The state of the nearby devices. * @enum { int } * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum DeviceStateChange { /** * This state indicates the device is online but the state is unknown,The distributed function cannot used until * state changes to AVAILABLE. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ UNKNOWN = 0, /** * This state indicates the device has been synchronized to the database, Now the distributed function can be used. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ AVAILABLE = 1, /** * This state indicates the device is offline. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ UNAVAILABLE = 2, } @@ -117,24 +117,24 @@ declare namespace distributedDeviceManager { * Device status change result. * @interface DeviceStateChangeResult * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface DeviceStateChangeResult { /** * The state of the nearby devices. * @type { DeviceStateChange } * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ action: DeviceStateChange; /** * Basic description information of a distributed device. * @type { DeviceBasicInfo } * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ device: DeviceBasicInfo; } @@ -143,16 +143,16 @@ declare namespace distributedDeviceManager { * Device name change result. * @interface DeviceNameChangeResult * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface DeviceNameChangeResult { /** * Device name. * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ deviceName: string; } @@ -161,16 +161,16 @@ declare namespace distributedDeviceManager { * Discovery failure result. * @interface DiscoveryFailureResult * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface DiscoveryFailureResult { /** * Discovery failure cause code. * @type { int } * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ reason: int; } @@ -179,16 +179,16 @@ declare namespace distributedDeviceManager { * Discovery successful result. * @interface DiscoverySuccessResult * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface DiscoverySuccessResult { /** * Basic description information of a distributed device. * @type { DeviceBasicInfo } * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ device: DeviceBasicInfo; } @@ -198,8 +198,8 @@ declare namespace distributedDeviceManager { * @interface ReplyResult * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface ReplyResult { /** @@ -207,8 +207,8 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ param: string; } @@ -217,8 +217,8 @@ declare namespace distributedDeviceManager { * ServiceDie data. * @interface ServiceDieData * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface ServiceDieData {} @@ -227,7 +227,7 @@ declare namespace distributedDeviceManager { * @interface DeviceProfileInfoFilterOptions * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ interface DeviceProfileInfoFilterOptions { /** @@ -235,7 +235,7 @@ declare namespace distributedDeviceManager { * @type { boolean } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ isCloud : boolean, /** @@ -243,7 +243,7 @@ declare namespace distributedDeviceManager { * @type { Array } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ deviceIdList?: Array; } @@ -253,8 +253,8 @@ declare namespace distributedDeviceManager { * @interface ServiceProfileInfo * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ interface ServiceProfileInfo { /** @@ -262,8 +262,8 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ deviceId: string; @@ -272,7 +272,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ serviceId: string; @@ -281,7 +281,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ serviceType: string; @@ -290,7 +290,7 @@ declare namespace distributedDeviceManager { * @type { ?string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ data?: string; } @@ -300,8 +300,8 @@ declare namespace distributedDeviceManager { * @interface DeviceProfileInfo * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ interface DeviceProfileInfo { /** @@ -309,8 +309,8 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ deviceId: string; @@ -319,7 +319,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ deviceSn: string; @@ -328,7 +328,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ mac: string; @@ -337,7 +337,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ model: string; @@ -346,8 +346,8 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ deviceType: string; @@ -356,7 +356,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ manufacturer: string; @@ -365,8 +365,8 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ deviceName: string; @@ -375,7 +375,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ productId: string; @@ -384,7 +384,7 @@ declare namespace distributedDeviceManager { * @type { ?string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ subProductId?: string; @@ -393,7 +393,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ sdkVersion: string; @@ -402,7 +402,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ bleMac: string; @@ -411,7 +411,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ brMac: string; @@ -420,7 +420,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ sleMac: string; @@ -429,7 +429,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ firmwareVersion: string; @@ -438,7 +438,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ hardwareVersion: string; @@ -447,7 +447,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ softwareVersion: string; @@ -456,7 +456,7 @@ declare namespace distributedDeviceManager { * @type { number } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ protocolType: number; @@ -465,7 +465,7 @@ declare namespace distributedDeviceManager { * @type { number } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ setupType: number; @@ -474,7 +474,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ wiseDeviceId: string; @@ -483,7 +483,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ wiseUserId: string; @@ -492,7 +492,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ registerTime: string; @@ -501,7 +501,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ modifyTime: string; @@ -510,7 +510,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ shareTime: string; @@ -519,7 +519,7 @@ declare namespace distributedDeviceManager { * @type { boolean } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ isLocalDevice: boolean; @@ -528,7 +528,7 @@ declare namespace distributedDeviceManager { * @type { Array } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ services?: Array; @@ -537,7 +537,7 @@ declare namespace distributedDeviceManager { * @type { ?string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ productName?: string; @@ -546,7 +546,7 @@ declare namespace distributedDeviceManager { * @type { ?string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ internalModel?: string; } @@ -556,7 +556,7 @@ declare namespace distributedDeviceManager { * @interface DeviceIconInfoFilterOptions * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ interface DeviceIconInfoFilterOptions { /** @@ -564,7 +564,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ productId: string; @@ -573,7 +573,7 @@ declare namespace distributedDeviceManager { * @type { ?string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ subProductId?: string; @@ -582,7 +582,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ imageType: string; @@ -591,7 +591,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ specName: string; @@ -600,7 +600,7 @@ declare namespace distributedDeviceManager { * @type { ?string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ internalModel?: string; } @@ -610,7 +610,7 @@ declare namespace distributedDeviceManager { * @interface DeviceIconInfo * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ interface DeviceIconInfo { /** @@ -618,7 +618,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ productId: string; @@ -627,7 +627,7 @@ declare namespace distributedDeviceManager { * @type { ?string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ subProductId?: string; @@ -636,7 +636,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ imageType: string; @@ -645,7 +645,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ specName: string; @@ -654,7 +654,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ url: string; @@ -663,7 +663,7 @@ declare namespace distributedDeviceManager { * @type { ArrayBuffer } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ icon: ArrayBuffer; @@ -672,7 +672,7 @@ declare namespace distributedDeviceManager { * @type { ?string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ internalModel?: string; } @@ -682,21 +682,21 @@ declare namespace distributedDeviceManager { * @enum {number} * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ enum StrategyForHeartbeat { /** * Temporarily stop heartbeat, which automatically recovers after timeout. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ TEMP_STOP_HEARTBEAT = 100, /** * Start heartbeat. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ START_HEARTBEAT = 101, } @@ -706,7 +706,7 @@ declare namespace distributedDeviceManager { * @interface NetworkIdQueryFilter * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ interface NetworkIdQueryFilter { /** @@ -714,7 +714,7 @@ declare namespace distributedDeviceManager { * @type { string } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ wiseDeviceId : string; @@ -723,7 +723,7 @@ declare namespace distributedDeviceManager { * @type { number } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ onlineStatus : number, } @@ -741,8 +741,8 @@ declare namespace distributedDeviceManager { * 2. Incorrect parameter type; * 3. Parameter verification failed. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function createDeviceManager(bundleName: string): DeviceManager; @@ -756,7 +756,7 @@ declare namespace distributedDeviceManager { * 3. Parameter verification failed. * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since 10 + * @since 10 dynamic */ function releaseDeviceManager(deviceManager: DeviceManager): void; @@ -765,8 +765,8 @@ declare namespace distributedDeviceManager { * * @interface DeviceManager * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface DeviceManager { @@ -778,7 +778,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API. * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since 10 + * @since 10 dynamic */ getAvailableDeviceListSync(): Array; @@ -791,7 +791,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API. * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since 10 + * @since 10 dynamic */ getAvailableDeviceList(callback: AsyncCallback>): void; @@ -803,7 +803,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API. * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since 10 + * @since 10 dynamic */ getAvailableDeviceList(): Promise>; @@ -815,8 +815,8 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API. * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getLocalDeviceNetworkId(): string; @@ -828,7 +828,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API. * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since 10 + * @since 10 dynamic */ getLocalDeviceName(): string; @@ -840,7 +840,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API. * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since 10 + * @since 10 dynamic */ getLocalDeviceType(): number; @@ -854,8 +854,8 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API. * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getLocalDeviceId(): string; @@ -873,8 +873,8 @@ declare namespace distributedDeviceManager { * 4. The size of specified networkId is greater than 255. * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getDeviceName(networkId: string): string; @@ -892,8 +892,8 @@ declare namespace distributedDeviceManager { * 4. The size of specified networkId is greater than 255. * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getDeviceType(networkId: string): int; @@ -925,7 +925,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 11600104 - Discovery unavailable. * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since 10 + * @since 10 dynamic */ startDiscovering(discoverParam: { [key: string]: Object; }, filterOptions?: { [key: string]: Object; }): void; @@ -936,7 +936,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API. * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since 10 + * @since 10 dynamic */ stopDiscovering(): void; @@ -963,7 +963,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 11600101 - Failed to execute the function. * @throws { BusinessError } 11600103 - Authentication unavailable. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since 10 + * @since 10 dynamic */ bindTarget(deviceId: string, bindParam: { [key: string]: Object; }, callback: AsyncCallback<{deviceId: string;}>): void; @@ -980,8 +980,8 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API. * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ unbindTarget(deviceId: string): void; @@ -1000,7 +1000,7 @@ declare namespace distributedDeviceManager { * 4. The size of specified actionResult is greater than 255. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 10 + * @since 10 dynamic */ replyUiAction(action: number, actionResult: string): void; @@ -1037,8 +1037,8 @@ declare namespace distributedDeviceManager { * 3. Parameter verification failed; * 4. The size of specified type is greater than 255. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'deviceStateChange', callback: Callback): void; @@ -1073,8 +1073,8 @@ declare namespace distributedDeviceManager { * 3. Parameter verification failed; * 4. The size of specified type is greater than 255. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'deviceStateChange', callback?: Callback): void; @@ -1107,8 +1107,8 @@ declare namespace distributedDeviceManager { * 3. Parameter verification failed; * 4. The size of specified type is greater than 255. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'discoverSuccess', callback: Callback): void; @@ -1141,8 +1141,8 @@ declare namespace distributedDeviceManager { * 3. Parameter verification failed; * 4. The size of specified type is greater than 255. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'discoverSuccess', callback?: Callback): void; @@ -1175,8 +1175,8 @@ declare namespace distributedDeviceManager { * 3. Parameter verification failed; * 4. The size of specified type is greater than 255. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'deviceNameChange', callback: Callback): void; @@ -1209,8 +1209,8 @@ declare namespace distributedDeviceManager { * 3. Parameter verification failed; * 4. The size of specified type is greater than 255. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'deviceNameChange', callback?: Callback): void; @@ -1245,8 +1245,8 @@ declare namespace distributedDeviceManager { * 3. Parameter verification failed; * 4. The size of specified type is greater than 255. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'discoverFailure', callback: Callback): void; @@ -1281,8 +1281,8 @@ declare namespace distributedDeviceManager { * 3. Parameter verification failed; * 4. The size of specified type is greater than 255. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'discoverFailure', callback?: Callback): void; @@ -1315,8 +1315,8 @@ declare namespace distributedDeviceManager { * 3. Parameter verification failed; * 4. The size of specified type is greater than 255. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'serviceDie', callback?: Callback): void; @@ -1349,8 +1349,8 @@ declare namespace distributedDeviceManager { * 3. Parameter verification failed; * 4. The size of specified type is greater than 255. * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'serviceDie', callback?: Callback): void; @@ -1387,8 +1387,8 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'replyResult', callback: Callback): void; @@ -1425,8 +1425,8 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'replyResult', callback?: Callback): void; @@ -1451,7 +1451,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 11600107 - A login account is required. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ getDeviceProfileInfoList(filterOptions: DeviceProfileInfoFilterOptions): Promise>; @@ -1471,7 +1471,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 11600102 - Failed to obtain service. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ putDeviceProfileInfoList(deviceProfileInfoList: Array): Promise; @@ -1495,7 +1495,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 11600106 - Get data from cloud fail. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ getDeviceIconInfo(filterOptions: DeviceIconInfoFilterOptions): Promise; @@ -1515,7 +1515,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 11600102 - Failed to obtain service. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ getLocalDisplayDeviceName(maxNameLength: number): Promise; @@ -1537,7 +1537,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 11600108 - The device name contains non-compliant content. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ setLocalDeviceName(deviceName: string): Promise; @@ -1560,7 +1560,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 11600108 - The device name contains non-compliant content. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ setRemoteDeviceName(deviceId: string, deviceName: string): Promise; @@ -1579,7 +1579,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 11600102 - Failed to obtain service. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 15 + * @since 15 dynamic */ setHeartbeatPolicy(policy: StrategyForHeartbeat, delayTime: number): void; @@ -1592,7 +1592,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 11600102 - Failed to obtain the service. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ restoreLocalDeivceName(): void; @@ -1617,7 +1617,7 @@ declare namespace distributedDeviceManager { * @throws { BusinessError } 11600107 - A login account is required. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi - * @since 18 + * @since 18 dynamic */ getDeviceNetworkIdList(filterOptions: NetworkIdQueryFilter): Promise>; } diff --git a/api/@ohos.distributedHardware.deviceManager.d.ts b/api/@ohos.distributedHardware.deviceManager.d.ts index b9884d18f4..e46a0cefc1 100644 --- a/api/@ohos.distributedHardware.deviceManager.d.ts +++ b/api/@ohos.distributedHardware.deviceManager.d.ts @@ -25,7 +25,7 @@ import type { AsyncCallback, Callback } from './@ohos.base'; * * @namespace deviceManager * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager */ @@ -36,7 +36,7 @@ declare namespace deviceManager { * @interface DeviceInfo * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceBasicInfo */ @@ -46,7 +46,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceBasicInfo#deviceId */ @@ -57,7 +57,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceBasicInfo#deviceName */ @@ -68,7 +68,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceBasicInfo#deviceType */ @@ -79,7 +79,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceBasicInfo#networkId */ @@ -90,7 +90,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamic * @deprecated since 11 */ range: number; @@ -100,7 +100,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ authForm: AuthForm; @@ -112,7 +112,7 @@ declare namespace deviceManager { * @enum { number } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ enum AuthForm { @@ -121,7 +121,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ INVALID_TYPE = -1, @@ -131,7 +131,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ PEER_TO_PEER = 0, @@ -141,7 +141,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ IDENTICAL_ACCOUNT = 1, @@ -151,7 +151,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ ACROSS_ACCOUNT = 2 @@ -163,7 +163,7 @@ declare namespace deviceManager { * @enum { number } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ enum DeviceType { @@ -172,7 +172,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ UNKNOWN_TYPE = 0, @@ -182,7 +182,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ SPEAKER = 0x0A, @@ -192,7 +192,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ PHONE = 0x0E, @@ -202,7 +202,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ TABLET = 0x11, @@ -212,7 +212,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ WEARABLE = 0x6D, @@ -222,7 +222,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ CAR = 0x83, @@ -232,7 +232,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ TV = 0x9C @@ -244,7 +244,7 @@ declare namespace deviceManager { * @enum { number } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceStateChange */ @@ -254,7 +254,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceStateChange#UNKNOWN */ @@ -266,7 +266,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceStateChange#AVAILABLE */ @@ -277,7 +277,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceStateChange#UNAVAILABLE */ @@ -288,7 +288,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ CHANGE = 3 @@ -300,7 +300,7 @@ declare namespace deviceManager { * @interface SubscribeInfo * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ interface SubscribeInfo { @@ -309,7 +309,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ subscribeId: number; @@ -319,7 +319,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ mode: DiscoverMode; @@ -329,7 +329,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ medium: ExchangeMedium; @@ -339,7 +339,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ freq: ExchangeFreq; @@ -349,7 +349,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ isSameAccount: boolean; @@ -359,7 +359,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ isWakeRemote: boolean; @@ -369,7 +369,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ capability: SubscribeCap; @@ -381,7 +381,7 @@ declare namespace deviceManager { * @interface PublishInfo * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamic * @deprecated since 11 */ interface PublishInfo { @@ -390,7 +390,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamic * @deprecated since 11 */ publishId: number; @@ -400,7 +400,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamic * @deprecated since 11 */ mode: DiscoverMode; @@ -410,7 +410,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamic * @deprecated since 11 */ freq: ExchangeFreq; @@ -420,7 +420,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamic * @deprecated since 11 */ ranging: boolean; @@ -432,7 +432,7 @@ declare namespace deviceManager { * @enum { number } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ enum DiscoverMode { @@ -443,7 +443,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ DISCOVER_MODE_PASSIVE = 0x55, @@ -455,7 +455,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ DISCOVER_MODE_ACTIVE = 0xAA @@ -467,7 +467,7 @@ declare namespace deviceManager { * @enum { number } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ enum ExchangeMedium { @@ -476,7 +476,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ AUTO = 0, @@ -486,7 +486,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ BLE = 1, @@ -496,7 +496,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ COAP = 2, @@ -506,7 +506,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ USB = 3 @@ -518,7 +518,7 @@ declare namespace deviceManager { * @enum { number } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ enum ExchangeFreq { @@ -527,7 +527,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ LOW = 0, @@ -537,7 +537,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ MID = 1, @@ -547,7 +547,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ HIGH = 2, @@ -557,7 +557,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ SUPER_HIGH = 3 @@ -569,7 +569,7 @@ declare namespace deviceManager { * @enum { number } * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ enum SubscribeCap { @@ -578,7 +578,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ SUBSCRIBE_CAPABILITY_DDMP = 0, @@ -588,7 +588,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ SUBSCRIBE_CAPABILITY_OSD = 1 @@ -600,7 +600,7 @@ declare namespace deviceManager { * @interface AuthParam * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ interface AuthParam { @@ -609,7 +609,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ authType: number; @@ -619,7 +619,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ extraInfo: { [key: string]: any }; @@ -631,7 +631,7 @@ declare namespace deviceManager { * @interface AuthInfo * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ interface AuthInfo { @@ -640,7 +640,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ authType: number; @@ -650,7 +650,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ token: number; @@ -660,7 +660,7 @@ declare namespace deviceManager { * * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ extraInfo: { [key: string]: any }; @@ -680,7 +680,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.createDeviceManager */ @@ -691,7 +691,7 @@ declare namespace deviceManager { * * @interface DeviceManager * @syscap SystemCapability.DistributedHardware.DeviceManager - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager */ @@ -705,7 +705,7 @@ declare namespace deviceManager { * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.releaseDeviceManager */ @@ -721,7 +721,7 @@ declare namespace deviceManager { * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#getAvailableDeviceListSync */ @@ -742,7 +742,7 @@ declare namespace deviceManager { * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ getTrustedDeviceListSync(isRefresh: boolean): Array; @@ -759,7 +759,7 @@ declare namespace deviceManager { * 3. Parameter verification failed. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#getAvailableDeviceList */ @@ -773,7 +773,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#getAvailableDeviceList */ @@ -789,7 +789,7 @@ declare namespace deviceManager { * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#getLocalDeviceNetworkId */ @@ -807,7 +807,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#getLocalDeviceNetworkId */ @@ -821,7 +821,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#getLocalDeviceNetworkId */ @@ -841,7 +841,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#getDeviceName */ @@ -861,7 +861,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#getDeviceName */ @@ -883,7 +883,7 @@ declare namespace deviceManager { * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#startDiscovering */ @@ -906,7 +906,7 @@ declare namespace deviceManager { * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#startDiscovering */ @@ -927,7 +927,7 @@ declare namespace deviceManager { * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#stopDiscovering */ @@ -948,7 +948,7 @@ declare namespace deviceManager { * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamic * @deprecated since 11 */ publishDeviceDiscovery(publishInfo: PublishInfo): void; @@ -967,7 +967,7 @@ declare namespace deviceManager { * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamic * @deprecated since 11 */ unPublishDeviceDiscovery(publishId: number): void; @@ -986,7 +986,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#bindTarget */ @@ -1010,7 +1010,7 @@ declare namespace deviceManager { * @throws { BusinessError } 11600101 - Failed to execute the function. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#unbindTarget */ @@ -1029,7 +1029,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamic * @deprecated since 11 */ verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{ deviceId: string, level: number }>): void; @@ -1049,7 +1049,7 @@ declare namespace deviceManager { * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#replyUiAction */ @@ -1069,7 +1069,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback<{ registerInfo: string }>): void; @@ -1090,7 +1090,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ importCredential(credentialInfo: string, callback: AsyncCallback<{ resultInfo: string }>): void; @@ -1109,7 +1109,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ deleteCredential(queryInfo: string, callback: AsyncCallback<{ resultInfo: string }>): void; @@ -1129,7 +1129,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#on */ @@ -1150,7 +1150,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#off */ @@ -1172,7 +1172,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#on */ @@ -1192,7 +1192,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#off */ @@ -1212,7 +1212,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#on */ @@ -1232,7 +1232,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#off */ @@ -1252,7 +1252,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#on */ @@ -1272,7 +1272,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#off */ @@ -1292,7 +1292,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamic * @deprecated since 11 */ on(type: 'publishSuccess', callback: Callback<{ publishId: number }>): void; @@ -1311,7 +1311,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamic * @deprecated since 11 */ off(type: 'publishSuccess', callback?: Callback<{ publishId: number }>): void; @@ -1330,7 +1330,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamic * @deprecated since 11 */ on(type: 'publishFail', callback: Callback<{ publishId: number, reason: number }>): void; @@ -1349,7 +1349,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 9 + * @since 9 dynamic * @deprecated since 11 */ off(type: 'publishFail', callback?: Callback<{ publishId: number, reason: number }>): void; @@ -1368,7 +1368,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#on */ @@ -1388,7 +1388,7 @@ declare namespace deviceManager { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.DistributedHardware.DeviceManager * @systemapi this method can be used only by system applications. - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.distributedDeviceManager/distributedDeviceManager.DeviceManager#off */ diff --git a/api/@ohos.distributedHardware.hardwareManager.d.ts b/api/@ohos.distributedHardware.hardwareManager.d.ts index 7e9c9da0a8..de7421cec9 100644 --- a/api/@ohos.distributedHardware.hardwareManager.d.ts +++ b/api/@ohos.distributedHardware.hardwareManager.d.ts @@ -25,7 +25,7 @@ import type { AsyncCallback, Callback } from './@ohos.base'; * @namespace hardwareManager * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ declare namespace hardwareManager { /** @@ -33,56 +33,56 @@ declare namespace hardwareManager { * @enum {number} * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ enum DistributedHardwareType { /** * Indicates all hardware * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ ALL = 0, /** * Distributed camera * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ CAMERA = 1, /** * Distributed screen * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ SCREEN = 8, /** * Mic of distributed modem * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ MODEM_MIC = 256, /** * Speaker of distributed modem * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ MODEM_SPEAKER = 512, /** * Distributed mic * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ MIC = 1024, /** * Distributed speaker * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ SPEAKER = 2048 } @@ -92,14 +92,14 @@ declare namespace hardwareManager { * @enum {number} * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ enum DistributedHardwareErrorCode { /** * The distributed hardware is not started. * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ ERR_CODE_DISTRIBUTED_HARDWARE_NOT_STARTED = 24200101, @@ -107,7 +107,7 @@ declare namespace hardwareManager { * The source device is not connected. * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ ERR_CODE_DEVICE_NOT_CONNECTED = 24200102 } @@ -117,7 +117,7 @@ declare namespace hardwareManager { * @typedef HardwareDescriptor * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ interface HardwareDescriptor { /** @@ -126,7 +126,7 @@ declare namespace hardwareManager { * @type {DistributedHardwareType} * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ type: DistributedHardwareType; @@ -136,7 +136,7 @@ declare namespace hardwareManager { * @type {?string} * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ srcNetworkId?: string; } @@ -153,7 +153,7 @@ declare namespace hardwareManager { * @throws {BusinessError} 24200102 - The specified source device is not connected. * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ function pauseDistributedHardware(description: HardwareDescriptor): Promise; @@ -169,7 +169,7 @@ declare namespace hardwareManager { * @throws {BusinessError} 24200102 - The specified source device is not connected. * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ function resumeDistributedHardware(description: HardwareDescriptor): Promise; @@ -185,7 +185,7 @@ declare namespace hardwareManager { * @throws {BusinessError} 24200102 - The specified source device is not connected. * @syscap SystemCapability.DistributedHardware.DistributedHardwareFWK * @systemapi - * @since 11 + * @since 11 dynamic */ function stopDistributedHardware(description: HardwareDescriptor): Promise; } diff --git a/api/@ohos.distributedHardware.mechanicManager.d.ts b/api/@ohos.distributedHardware.mechanicManager.d.ts index 58456bc01c..34ff14f1f1 100644 --- a/api/@ohos.distributedHardware.mechanicManager.d.ts +++ b/api/@ohos.distributedHardware.mechanicManager.d.ts @@ -16,7 +16,6 @@ /** * @file * @kit MechanicKit - * @arkts 1.1&1.2 */ import type { Callback } from './@ohos.base'; @@ -27,7 +26,7 @@ import type { Callback } from './@ohos.base'; * * @namespace mechanicManager * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ declare namespace mechanicManager { @@ -38,7 +37,7 @@ declare namespace mechanicManager { * @param { Callback } callback Callback used to return the state change. * @throws { BusinessError } 33300001 - Service exception. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ function on(type: 'attachStateChange', callback: Callback): void; @@ -48,7 +47,7 @@ declare namespace mechanicManager { * @param { Callback } [callback] Callback used to return the state change. * @throws { BusinessError } 33300001 - Service exception. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ function off(type: 'attachStateChange', callback?: Callback): void; @@ -57,7 +56,7 @@ declare namespace mechanicManager { * @returns { MechInfo[] } List of connected mechanical devices. * @throws { BusinessError } 33300001 - Service exception. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ function getAttachedMechDevices(): MechInfo[]; @@ -72,7 +71,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300001 - Service exception. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ function setUserOperation(operation: Operation, mac: string, params: string): void; @@ -83,7 +82,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300002 - Device not connected. * @throws { BusinessError } 33300003 - Feature not supported. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ function setCameraTrackingEnabled(isEnabled: boolean): void; @@ -95,7 +94,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300001 - Service exception. * @throws { BusinessError } 33300002 - Device not connected. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ function getCameraTrackingEnabled(): boolean; @@ -106,7 +105,7 @@ declare namespace mechanicManager { * @param { Callback } callback Callback used to return the tracking event information. * @throws { BusinessError } 33300001 - Service exception. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ function on(type: 'trackingStateChange', callback: Callback): void; @@ -116,7 +115,7 @@ declare namespace mechanicManager { * @param { Callback } [callback] Callback used to return the tracking event information. * @throws { BusinessError } 33300001 - Service exception. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ function off(type: 'trackingStateChange', callback?: Callback): void; @@ -129,7 +128,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300003 - Feature not supported. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ function setCameraTrackingLayout(trackingLayout: CameraTrackingLayout): void; @@ -140,7 +139,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300001 - Service exception. * @throws { BusinessError } 33300002 - Device not connected. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ function getCameraTrackingLayout(): CameraTrackingLayout; @@ -155,7 +154,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300002 - Device not connected. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ function rotate(mechId: number, angles: RotationAngles, duration: number): Promise; @@ -171,7 +170,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300002 - Device not connected. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ function rotateToEulerAngles(mechId: number, angles: EulerAngles, duration: number): Promise; @@ -186,7 +185,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300002 - Device not connected. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ function getMaxRotationTime(mechId: number): number; @@ -200,7 +199,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300002 - Device not connected. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ function getMaxRotationSpeed(mechId: number): RotationSpeed; @@ -215,7 +214,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300002 - Device not connected. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ function rotateBySpeed(mechId: number, speed: RotationSpeed, duration: number): Promise; @@ -228,7 +227,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300002 - Device not connected. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ function stopMoving(mechId: number): Promise; @@ -241,7 +240,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300002 - Device not connected. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ function getCurrentAngles(mechId: number): EulerAngles; @@ -256,7 +255,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300002 - Device not connected. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ function getRotationLimits(mechId: number): RotationLimits; @@ -270,7 +269,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300002 - Device not connected. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ function getRotationAxesStatus(mechId: number): RotationAxesStatus; @@ -285,7 +284,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300001 - Service exception. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ function on(type: 'rotationAxesStatusChange', callback: Callback): void; @@ -298,7 +297,7 @@ declare namespace mechanicManager { * @throws { BusinessError } 33300001 - Service exception. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ function off(type: 'rotationAxesStatusChange', callback?: Callback): void; @@ -306,14 +305,14 @@ declare namespace mechanicManager { * Mechanical device information. * @typedef MechInfo * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ export interface MechInfo { /** * ID of the mechanical device. * @type { number } * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ mechId: number; @@ -322,7 +321,7 @@ declare namespace mechanicManager { * Type of the mechanical device. * @type { MechDeviceType } * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ mechDeviceType: MechDeviceType; @@ -330,7 +329,7 @@ declare namespace mechanicManager { * Name of the mechanical device. * @type { string } * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ mechName: string; } @@ -341,7 +340,7 @@ declare namespace mechanicManager { * @typedef RotationAngles * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ export interface RotationAngles { /** @@ -349,7 +348,7 @@ declare namespace mechanicManager { * @type { ?number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ yaw?: number; @@ -359,7 +358,7 @@ declare namespace mechanicManager { * @type { ?number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ roll?: number; @@ -369,7 +368,7 @@ declare namespace mechanicManager { * @type { ?number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ pitch?: number; @@ -381,7 +380,7 @@ declare namespace mechanicManager { * @typedef EulerAngles * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ export interface EulerAngles { /** @@ -389,7 +388,7 @@ declare namespace mechanicManager { * @type { ?number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ yaw?: number; @@ -399,7 +398,7 @@ declare namespace mechanicManager { * @type { ?number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ roll?: number; @@ -409,7 +408,7 @@ declare namespace mechanicManager { * @type { ?number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ pitch?: number; @@ -421,7 +420,7 @@ declare namespace mechanicManager { * @typedef RotationSpeed * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ export interface RotationSpeed { @@ -430,7 +429,7 @@ declare namespace mechanicManager { * @type { ?number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ yawSpeed?: number; @@ -440,7 +439,7 @@ declare namespace mechanicManager { * @type { ?number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ rollSpeed?: number; @@ -450,7 +449,7 @@ declare namespace mechanicManager { * @type { ?number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ pitchSpeed?: number; @@ -462,7 +461,7 @@ declare namespace mechanicManager { * @typedef RotationLimits * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ export interface RotationLimits { @@ -472,7 +471,7 @@ declare namespace mechanicManager { * @type { number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ negativeYawMax: number; @@ -482,7 +481,7 @@ declare namespace mechanicManager { * @type { number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ positiveYawMax: number; @@ -492,7 +491,7 @@ declare namespace mechanicManager { * @type { number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ negativeRollMax: number; @@ -502,7 +501,7 @@ declare namespace mechanicManager { * @type { number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ positiveRollMax: number; @@ -512,7 +511,7 @@ declare namespace mechanicManager { * @type { number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ negativePitchMax: number; @@ -522,7 +521,7 @@ declare namespace mechanicManager { * @type { number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ positivePitchMax: number; } @@ -533,7 +532,7 @@ declare namespace mechanicManager { * @typedef RotationAxesStatus * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ export interface RotationAxesStatus { /** @@ -541,7 +540,7 @@ declare namespace mechanicManager { * @type { boolean } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ yawEnabled: boolean; @@ -550,7 +549,7 @@ declare namespace mechanicManager { * @type { boolean } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ rollEnabled: boolean; @@ -559,7 +558,7 @@ declare namespace mechanicManager { * @type { boolean } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ pitchEnabled: boolean; @@ -568,7 +567,7 @@ declare namespace mechanicManager { * @type { ?RotationAxisLimited } RotationAxisLimited * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ yawLimited?: RotationAxisLimited; @@ -577,7 +576,7 @@ declare namespace mechanicManager { * @type { ?RotationAxisLimited } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ rollLimited?: RotationAxisLimited; @@ -586,7 +585,7 @@ declare namespace mechanicManager { * @type { ?RotationAxisLimited } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ pitchLimited?: RotationAxisLimited; } @@ -596,14 +595,14 @@ declare namespace mechanicManager { * @enum { int } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ export enum RotationAxisLimited { /** * Not limited. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ NOT_LIMITED = 0, @@ -611,7 +610,7 @@ declare namespace mechanicManager { * Negative limited. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ NEGATIVE_LIMITED = 1, @@ -619,7 +618,7 @@ declare namespace mechanicManager { * Positive limited. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ POSITIVE_LIMITED = 2, } @@ -629,7 +628,7 @@ declare namespace mechanicManager { * @typedef RotationAxesStateChangeInfo * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ export interface RotationAxesStateChangeInfo { /** @@ -637,7 +636,7 @@ declare namespace mechanicManager { * @type { number } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ mechId: number; @@ -646,7 +645,7 @@ declare namespace mechanicManager { * @type { RotationAxesStatus } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ status: RotationAxesStatus, } @@ -656,14 +655,14 @@ declare namespace mechanicManager { * * @typedef TrackingEventInfo * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ export interface TrackingEventInfo { /** * Tracking event. * @type { TrackingEvent } Tracking event. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ event: TrackingEvent; } @@ -672,7 +671,7 @@ declare namespace mechanicManager { * Callback information about the device attachment state change. * @typedef AttachStateChangeInfo * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ export interface AttachStateChangeInfo { @@ -680,7 +679,7 @@ declare namespace mechanicManager { * Device attachment state. * @type { AttachState } * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ state: AttachState; @@ -688,7 +687,7 @@ declare namespace mechanicManager { * Mechanical device information. * @type { MechInfo } * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ mechInfo: MechInfo, } @@ -698,14 +697,14 @@ declare namespace mechanicManager { * @enum { int } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ export enum Operation { /** * Connection operation. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ CONNECT = 0, @@ -713,7 +712,7 @@ declare namespace mechanicManager { * Disconnection operation. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ DISCONNECT = 1 } @@ -722,28 +721,28 @@ declare namespace mechanicManager { * Enumerates the tracking events. * @enum { int } * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ export enum TrackingEvent { /** * Camera tracking enabled by user. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ CAMERA_TRACKING_USER_ENABLED = 0, /** * Camera tracking disabled by user. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ CAMERA_TRACKING_USER_DISABLED = 1, /** * Camera tracking layout changed. You can call getCameraTrackingLayout to obtain the new layout. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ CAMERA_TRACKING_LAYOUT_CHANGED = 2, } @@ -754,14 +753,14 @@ declare namespace mechanicManager { * @enum { int } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ export enum Result { /** * Rotation completed. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ COMPLETED = 0, @@ -769,7 +768,7 @@ declare namespace mechanicManager { * Rotation was interrupted. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ INTERRUPTED = 1, @@ -777,7 +776,7 @@ declare namespace mechanicManager { * Device reached limitation. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ LIMITED = 2, @@ -785,7 +784,7 @@ declare namespace mechanicManager { * Rotation time out. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ TIMEOUT = 3, @@ -793,7 +792,7 @@ declare namespace mechanicManager { * Rotation failed due to system error. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ SYSTEM_ERROR = 100 } @@ -802,14 +801,14 @@ declare namespace mechanicManager { * Enumerates the mechanical device types. * @enum { int } * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ export enum MechDeviceType { /** * Gimbal device. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ GIMBAL_DEVICE = 0 @@ -820,21 +819,21 @@ declare namespace mechanicManager { * * @enum { int } * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ export enum AttachState { /** * Device attached. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ ATTACHED = 0, /** * Device detached. * @syscap SystemCapability.Mechanic.Core - * @since 20 + * @since 20 dynamic&static */ DETACHED = 1 } @@ -844,14 +843,14 @@ declare namespace mechanicManager { * @enum { int } * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ export enum CameraTrackingLayout { /** * Default layout. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ DEFAULT = 0, @@ -859,7 +858,7 @@ declare namespace mechanicManager { * Left-side layout. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ LEFT = 1, @@ -867,7 +866,7 @@ declare namespace mechanicManager { * Middle layout. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ MIDDLE = 2, @@ -875,7 +874,7 @@ declare namespace mechanicManager { * Right-side layout. * @syscap SystemCapability.Mechanic.Core * @systemapi - * @since 20 + * @since 20 dynamic&static */ RIGHT = 3 } diff --git a/api/@ohos.distributedMissionManager.d.ts b/api/@ohos.distributedMissionManager.d.ts index a504fbec2f..d3d410aa15 100644 --- a/api/@ohos.distributedMissionManager.d.ts +++ b/api/@ohos.distributedMissionManager.d.ts @@ -34,7 +34,7 @@ import type { MissionParameter as _MissionParameter } from './application/Missio * @namespace distributedMissionManager * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ declare namespace distributedMissionManager { /** @@ -43,7 +43,7 @@ declare namespace distributedMissionManager { * @enum { number } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ enum ContinueState { /** @@ -51,7 +51,7 @@ declare namespace distributedMissionManager { * * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ ACTIVE = 0, @@ -60,7 +60,7 @@ declare namespace distributedMissionManager { * * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ INACTIVE = 1 } @@ -71,7 +71,7 @@ declare namespace distributedMissionManager { * @interface ContinueCallbackInfo * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ interface ContinueCallbackInfo { /** @@ -80,7 +80,7 @@ declare namespace distributedMissionManager { * @type { ContinueState } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ state: ContinueState; @@ -90,7 +90,7 @@ declare namespace distributedMissionManager { * @type { ContinuableInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ info: ContinuableInfo; } @@ -106,7 +106,7 @@ declare namespace distributedMissionManager { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function startSyncRemoteMissions(parameter: MissionParameter, callback: AsyncCallback): void; @@ -121,7 +121,7 @@ declare namespace distributedMissionManager { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function startSyncRemoteMissions(parameter: MissionParameter): Promise; @@ -136,7 +136,7 @@ declare namespace distributedMissionManager { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function stopSyncRemoteMissions(parameter: MissionDeviceInfo, callback: AsyncCallback): void; @@ -151,7 +151,7 @@ declare namespace distributedMissionManager { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function stopSyncRemoteMissions(parameter: MissionDeviceInfo): Promise; @@ -167,7 +167,7 @@ declare namespace distributedMissionManager { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function registerMissionListener( parameter: MissionDeviceInfo, @@ -187,7 +187,7 @@ declare namespace distributedMissionManager { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function registerMissionListener(parameter: MissionDeviceInfo, options: MissionCallback): Promise; @@ -202,7 +202,7 @@ declare namespace distributedMissionManager { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function unRegisterMissionListener(parameter: MissionDeviceInfo, callback: AsyncCallback): void; @@ -217,7 +217,7 @@ declare namespace distributedMissionManager { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function unRegisterMissionListener(parameter: MissionDeviceInfo): Promise; @@ -245,7 +245,7 @@ declare namespace distributedMissionManager { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function on(type: 'continueStateChange', callback: Callback): void; @@ -273,7 +273,7 @@ declare namespace distributedMissionManager { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function off(type: 'continueStateChange', callback?: Callback): void; @@ -299,7 +299,7 @@ declare namespace distributedMissionManager { * @throws { BusinessError } 16300506 - The local continuation task is already in progress. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function continueMission( parameter: ContinueDeviceInfo, @@ -329,7 +329,7 @@ declare namespace distributedMissionManager { * @throws { BusinessError } 16300506 - The local continuation task is already in progress. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promise; @@ -354,7 +354,7 @@ declare namespace distributedMissionManager { * @throws { BusinessError } 16300507 - Failed to get the missionInfo of the specified bundle name. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function continueMission(parameter: ContinueMissionInfo, callback: AsyncCallback): void; @@ -379,7 +379,7 @@ declare namespace distributedMissionManager { * @throws { BusinessError } 16300507 - Failed to get the missionInfo of the specified bundle name. * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function continueMission(parameter: ContinueMissionInfo): Promise; @@ -388,7 +388,7 @@ declare namespace distributedMissionManager { * @typedef { _ContinuableInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ export type ContinuableInfo = _ContinuableInfo; @@ -397,7 +397,7 @@ declare namespace distributedMissionManager { * @typedef { _ContinueMissionInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ export type ContinueMissionInfo = _ContinueMissionInfo; @@ -406,7 +406,7 @@ declare namespace distributedMissionManager { * @typedef { _ContinueCallback } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since 10 + * @since 10 dynamic */ export type ContinueCallback = _ContinueCallback; @@ -415,7 +415,7 @@ declare namespace distributedMissionManager { * @typedef { _ContinueDeviceInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since 10 + * @since 10 dynamic */ export type ContinueDeviceInfo = _ContinueDeviceInfo; @@ -424,7 +424,7 @@ declare namespace distributedMissionManager { * @typedef { _MissionCallback } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since 10 + * @since 10 dynamic */ export type MissionCallback = _MissionCallback; @@ -433,7 +433,7 @@ declare namespace distributedMissionManager { * @typedef { _MissionDeviceInfo } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since 10 + * @since 10 dynamic */ export type MissionDeviceInfo = _MissionDeviceInfo; @@ -442,7 +442,7 @@ declare namespace distributedMissionManager { * @typedef { _MissionParameter } * @syscap SystemCapability.Ability.AbilityRuntime.Mission * @systemapi - * @since 10 + * @since 10 dynamic */ export type MissionParameter = _MissionParameter; } diff --git a/api/@ohos.distributedsched.abilityConnectionManager.d.ts b/api/@ohos.distributedsched.abilityConnectionManager.d.ts index 3ad53bf5dc..903136f9ee 100644 --- a/api/@ohos.distributedsched.abilityConnectionManager.d.ts +++ b/api/@ohos.distributedsched.abilityConnectionManager.d.ts @@ -28,7 +28,7 @@ import colorSpaceManager from './@ohos.graphics.colorSpaceManager'; * * @namespace abilityConnectionManager * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ declare namespace abilityConnectionManager { @@ -36,7 +36,7 @@ declare namespace abilityConnectionManager { * Collaborative application information. * @interface PeerInfo * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ interface PeerInfo { /** @@ -45,7 +45,7 @@ declare namespace abilityConnectionManager { * the obtained ID will change. * @type { string } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ deviceId: string; @@ -53,7 +53,7 @@ declare namespace abilityConnectionManager { * bundle name. * @type { string } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ bundleName: string; @@ -61,7 +61,7 @@ declare namespace abilityConnectionManager { * module name. * @type { string } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ moduleName: string; @@ -69,7 +69,7 @@ declare namespace abilityConnectionManager { * ability name. * @type { string } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ abilityName: string; @@ -77,7 +77,7 @@ declare namespace abilityConnectionManager { * Service name. * @type { ?string } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ serviceName?: string; } @@ -86,14 +86,14 @@ declare namespace abilityConnectionManager { * Connection options for ability connection sessions. * @interface ConnectOptions * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ interface ConnectOptions { /** * Send Data Configuration Options. WiFi needs to be turned on. * @type { ?boolean } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ needSendData?: boolean; @@ -102,7 +102,7 @@ declare namespace abilityConnectionManager { * @type { ?boolean } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ needSendStream?: boolean; @@ -111,7 +111,7 @@ declare namespace abilityConnectionManager { * @type { ?boolean } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ needReceiveStream?: boolean; @@ -119,7 +119,7 @@ declare namespace abilityConnectionManager { * Startup option. * @type { ?StartOptionParams } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ startOptions?: StartOptionParams; @@ -127,7 +127,7 @@ declare namespace abilityConnectionManager { * Additional information about the ability connection request. * @type { ?Record } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ parameters?: Record; } @@ -136,14 +136,14 @@ declare namespace abilityConnectionManager { * Connection result. * @interface ConnectResult * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ interface ConnectResult { /** * Connection is accepted or rejected. * @type { boolean } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ isConnected: boolean; @@ -151,7 +151,7 @@ declare namespace abilityConnectionManager { * Connection failure error code. * @type { ?ConnectErrorCode } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ errorCode?: ConnectErrorCode; @@ -159,7 +159,7 @@ declare namespace abilityConnectionManager { * Indicates the reason for reject. * @type { ?string } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ reason?: string; } @@ -168,48 +168,48 @@ declare namespace abilityConnectionManager { * Connection failure error code. * @enum { number } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ export enum ConnectErrorCode { /** * A connected session exists between the two application. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ CONNECTED_SESSION_EXISTS = 0, /** * The peer application rejects the collaboration request. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ PEER_APP_REJECTED = 1, /** * Connection failed due to the device's WiFi being off. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ LOCAL_WIFI_NOT_OPEN = 2, /** * Connection failed due to the peer's WiFi being off. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ PEER_WIFI_NOT_OPEN = 3, /** * Connection failed due to the peer ability has not implemented the onCollaborate method. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ PEER_ABILITY_NO_ONCOLLABORATE = 4, /** * The connection failed due to an internal system error. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ SYSTEM_INTERNAL_ERROR = 5, } @@ -219,13 +219,13 @@ declare namespace abilityConnectionManager { * * @enum { number } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ export enum StartOptionParams { /** * Launching the peer application to the foreground. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ START_IN_FOREGROUND = 0, @@ -233,7 +233,7 @@ declare namespace abilityConnectionManager { * Launching the peer application to the background. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ START_IN_BACKGROUND = 1, } @@ -242,14 +242,14 @@ declare namespace abilityConnectionManager { * Connection event callback information. * @interface EventCallbackInfo * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ interface EventCallbackInfo { /** * Ability connection Session id. * @type { number } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ sessionId: number; @@ -257,7 +257,7 @@ declare namespace abilityConnectionManager { * Indicates the reason of ability disconnection. * @type { ?DisconnectReason } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ reason?: DisconnectReason; @@ -265,7 +265,7 @@ declare namespace abilityConnectionManager { * Received message data. * @type { ?string } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ msg?: string; @@ -273,7 +273,7 @@ declare namespace abilityConnectionManager { * Received data. * @type { ?ArrayBuffer } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ data?: ArrayBuffer; @@ -282,7 +282,7 @@ declare namespace abilityConnectionManager { * @type { ?image.PixelMap } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ image?: image.PixelMap; } @@ -291,14 +291,14 @@ declare namespace abilityConnectionManager { * Collaborate event information. * @interface CollaborateEventInfo * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ interface CollaborateEventInfo { /** * Indicates the type of collaborate event. * @type { CollaborateEventType } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ eventType: CollaborateEventType; @@ -306,7 +306,7 @@ declare namespace abilityConnectionManager { * Indicates the collaborate message of collaborate event. * @type { ?string } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ eventMsg?: string; } @@ -315,20 +315,20 @@ declare namespace abilityConnectionManager { * CollaborateEventType. * @enum { number } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ enum CollaborateEventType { /** * Indicates send task failure. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ SEND_FAILURE = 0, /** * Indicates color space conversion failure. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ COLOR_SPACE_CONVERSION_FAILURE = 1, } @@ -337,27 +337,27 @@ declare namespace abilityConnectionManager { * DisconnectReason. * @enum { number } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ enum DisconnectReason { /** * Indicates that the reason is the peer application actively closes the collaboration. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ PEER_APP_CLOSE_COLLABORATION = 0, /** * Indicates that the reason is the peer application exit. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ PEER_APP_EXIT = 1, /** * Indicates that the reason is a network disconnection. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ NETWORK_DISCONNECTED = 2, } @@ -370,7 +370,7 @@ declare namespace abilityConnectionManager { * @param { Callback } callback - Used to handle ('connect') command. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function on(type: 'connect', sessionId: number, callback: Callback): void; @@ -383,7 +383,7 @@ declare namespace abilityConnectionManager { * @param { Callback } callback - Used to handle ('connect') command. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function off(type: 'connect', sessionId: number, callback?: Callback): void; @@ -396,7 +396,7 @@ declare namespace abilityConnectionManager { * @param { Callback } callback - Used to handle ('disconnect') command. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function on(type: 'disconnect', sessionId: number, callback: Callback): void; @@ -409,7 +409,7 @@ declare namespace abilityConnectionManager { * @param { Callback } callback - Used to handle ('disconnect') command. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function off(type: 'disconnect', sessionId: number, callback?: Callback): void; @@ -422,7 +422,7 @@ declare namespace abilityConnectionManager { * @param { Callback } callback - Used to handle ('receiveMessage') command. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function on(type: 'receiveMessage', sessionId: number, callback: Callback): void; @@ -435,7 +435,7 @@ declare namespace abilityConnectionManager { * @param { Callback } callback - Used to handle ('receiveMessage') command. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function off(type: 'receiveMessage', sessionId: number, callback?: Callback): void; @@ -448,7 +448,7 @@ declare namespace abilityConnectionManager { * @param { Callback } callback - Used to handle ('receiveData') command. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function on(type: 'receiveData', sessionId: number, callback: Callback): void; @@ -461,7 +461,7 @@ declare namespace abilityConnectionManager { * @param { Callback } callback - Used to handle ('receiveData') command. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function off(type: 'receiveData', sessionId: number, callback?: Callback): void; @@ -476,7 +476,7 @@ declare namespace abilityConnectionManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ function on(type: 'receiveImage', sessionId: number, callback: Callback): void; @@ -491,7 +491,7 @@ declare namespace abilityConnectionManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ function off(type: 'receiveImage', sessionId: number, callback?: Callback): void; @@ -506,7 +506,7 @@ declare namespace abilityConnectionManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ function on(type: 'collaborateEvent', sessionId: number, callback: Callback): void; @@ -521,7 +521,7 @@ declare namespace abilityConnectionManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ function off(type: 'collaborateEvent', sessionId: number, callback?: Callback): void; @@ -538,7 +538,7 @@ declare namespace abilityConnectionManager { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function createAbilityConnectionSession(serviceName: string, context: Context, peerInfo: PeerInfo, connectOptions: ConnectOptions): number; @@ -548,7 +548,7 @@ declare namespace abilityConnectionManager { * * @param { number } sessionId - Ability connection Session id. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function destroyAbilityConnectionSession(sessionId: number): void; @@ -559,7 +559,7 @@ declare namespace abilityConnectionManager { * @returns { PeerInfo | undefined } Returns the collaborative application information at the sink end. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function getPeerInfoById(sessionId: number): PeerInfo | undefined; @@ -570,7 +570,7 @@ declare namespace abilityConnectionManager { * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function connect(sessionId: number): Promise; @@ -579,7 +579,7 @@ declare namespace abilityConnectionManager { * * @param { number } sessionId - Ability connection Session id. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function disconnect(sessionId: number): void; @@ -591,7 +591,7 @@ declare namespace abilityConnectionManager { * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function acceptConnect(sessionId: number, token: string): Promise; @@ -602,7 +602,7 @@ declare namespace abilityConnectionManager { * @param { string } reason - Reason for connection rejection. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function reject(token: string, reason: string): void; @@ -614,7 +614,7 @@ declare namespace abilityConnectionManager { * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function sendMessage(sessionId: number, msg: string): Promise; @@ -626,7 +626,7 @@ declare namespace abilityConnectionManager { * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ function sendData(sessionId: number, data: ArrayBuffer): Promise; @@ -641,7 +641,7 @@ declare namespace abilityConnectionManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ function sendImage(sessionId: number, image: image.PixelMap, quality?: number): Promise; @@ -658,7 +658,7 @@ declare namespace abilityConnectionManager { * @throws { BusinessError } 32300004 - Color space not supported. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ function createStream(sessionId: number, param: StreamParam): Promise; @@ -672,7 +672,7 @@ declare namespace abilityConnectionManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ function setSurfaceId(streamId: number, surfaceId: string, param: SurfaceParam): void; /** @@ -685,7 +685,7 @@ declare namespace abilityConnectionManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ function getSurfaceId(streamId: number, param: SurfaceParam): string; @@ -698,7 +698,7 @@ declare namespace abilityConnectionManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ function updateSurfaceParam(streamId: number, param: SurfaceParam): void; @@ -710,7 +710,7 @@ declare namespace abilityConnectionManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ function destroyStream(streamId: number): void; @@ -723,7 +723,7 @@ declare namespace abilityConnectionManager { * @throws { BusinessError } 32300002 - The stream at the receive end is not started. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ function startStream(streamId: number): void; @@ -735,7 +735,7 @@ declare namespace abilityConnectionManager { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ function stopStream(streamId: number): void; @@ -744,7 +744,7 @@ declare namespace abilityConnectionManager { * @interface StreamParam * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ interface StreamParam { /** @@ -752,7 +752,7 @@ declare namespace abilityConnectionManager { * @type { string } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ name: string; @@ -761,7 +761,7 @@ declare namespace abilityConnectionManager { * @type { StreamRole } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ role: StreamRole; @@ -770,7 +770,7 @@ declare namespace abilityConnectionManager { * @type { ?number } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ bitrate?: number; @@ -780,7 +780,7 @@ declare namespace abilityConnectionManager { * @type { ?colorSpaceManager.ColorSpace } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ colorSpaceConversionTarget?: colorSpaceManager.ColorSpace; } @@ -790,7 +790,7 @@ declare namespace abilityConnectionManager { * @interface SurfaceParam * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ interface SurfaceParam { /** @@ -798,7 +798,7 @@ declare namespace abilityConnectionManager { * @type { number } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ width: number; @@ -807,7 +807,7 @@ declare namespace abilityConnectionManager { * @type { number } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ height: number; @@ -817,7 +817,7 @@ declare namespace abilityConnectionManager { * @type { ?VideoPixelFormat } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ format?: VideoPixelFormat; @@ -827,7 +827,7 @@ declare namespace abilityConnectionManager { * @type { ?number } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ rotation?: number; @@ -836,7 +836,7 @@ declare namespace abilityConnectionManager { * @type { ?FlipOptions } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ flip?: FlipOptions; } @@ -846,14 +846,14 @@ declare namespace abilityConnectionManager { * @enum { number } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ export enum FlipOptions { /** * Horizontal Flip * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ HORIZONTAL = 0, @@ -861,7 +861,7 @@ declare namespace abilityConnectionManager { * Vertical Flip * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ VERTICAL = 1, } @@ -871,14 +871,14 @@ declare namespace abilityConnectionManager { * @enum { number } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ export enum StreamRole { /** * This status indicates the stream is a send stream. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ SOURCE = 0, @@ -886,7 +886,7 @@ declare namespace abilityConnectionManager { * This status indicates the stream is a receive stream. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ SINK = 1, } @@ -896,14 +896,14 @@ declare namespace abilityConnectionManager { * @enum { number } * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ export enum VideoPixelFormat { /** * Unknown. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ UNKNOWN = -1, @@ -911,7 +911,7 @@ declare namespace abilityConnectionManager { * NV12. yuv 420 semiplanar. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ NV12 = 0, @@ -919,7 +919,7 @@ declare namespace abilityConnectionManager { * NV21. yvu 420 semiplanar. * @syscap SystemCapability.DistributedSched.AppCollaboration * @systemapi - * @since 18 + * @since 18 dynamic */ NV21 = 1, } @@ -928,27 +928,27 @@ declare namespace abilityConnectionManager { * The keys for ability onCollaborate parameters. * @enum { string } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ export enum CollaborationKeys { /** * The key of peerinfo * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ PEER_INFO = 'ohos.collaboration.key.peerInfo', /** * The key of connect options * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ CONNECT_OPTIONS = 'ohos.collaboration.key.connectOptions', /** * The key of collaboration type * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ COLLABORATE_TYPE = 'ohos.collaboration.key.abilityCollaborateType', } @@ -957,20 +957,20 @@ declare namespace abilityConnectionManager { * Ability collaboration values. * @enum { string } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ export enum CollaborationValues { /** * Default collaboration type * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ ABILITY_COLLABORATION_TYPE_DEFAULT = 'ohos.collaboration.value.abilityCollab', /** * Collaboration type of connect proxy * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 18 + * @since 18 dynamic */ ABILITY_COLLABORATION_TYPE_CONNECT_PROXY = 'ohos.collaboration.value.connectProxy', } diff --git a/api/@ohos.distributedsched.linkEnhance.d.ts b/api/@ohos.distributedsched.linkEnhance.d.ts index 2e6f4b44a6..b500d55e9f 100644 --- a/api/@ohos.distributedsched.linkEnhance.d.ts +++ b/api/@ohos.distributedsched.linkEnhance.d.ts @@ -25,7 +25,7 @@ import { Callback } from './@ohos.base'; * * @namespace linkEnhance * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ declare namespace linkEnhance { @@ -34,7 +34,7 @@ declare namespace linkEnhance { * * @typedef ConnectResult * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ interface ConnectResult { /** @@ -42,7 +42,7 @@ declare namespace linkEnhance { * * @type { string } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ deviceId: string; @@ -51,7 +51,7 @@ declare namespace linkEnhance { * * @type { boolean } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ success: boolean; @@ -64,7 +64,7 @@ declare namespace linkEnhance { * * @type { number } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ reason: number } @@ -76,7 +76,7 @@ declare namespace linkEnhance { * * @typedef Server * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ interface Server { /** @@ -87,7 +87,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 32390202 - The number of servers exceeds the limit. * @throws { BusinessError } 32390300 - Internal error. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ start(): void; @@ -97,7 +97,7 @@ declare namespace linkEnhance { * @permission ohos.permission.DISTRIBUTED_DATASYNC * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ stop(): void; @@ -107,7 +107,7 @@ declare namespace linkEnhance { * @permission ohos.permission.DISTRIBUTED_DATASYNC * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ close(): void; @@ -120,7 +120,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 32390206 - Parameter invalid. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ on(type: 'connectionAccepted', callback: Callback): void; @@ -133,7 +133,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 32390206 - Parameter invalid. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ off(type: 'connectionAccepted', callback?: Callback): void; @@ -146,7 +146,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 32390206 - Parameter invalid. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ on(type: 'serverStopped', callback: Callback): void; @@ -159,7 +159,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 32390206 - Parameter invalid. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ off(type: 'serverStopped', callback?: Callback): void; @@ -175,7 +175,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 32390206 - Invalid parameter. * @throws { BusinessError } 32390203 - Duplicate server name. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ function createServer(name: string): Server; @@ -186,7 +186,7 @@ declare namespace linkEnhance { * * @typedef Connection * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ interface Connection { /** @@ -198,7 +198,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 32390204 - The number of connection exceeds the limit. * @throws { BusinessError } 32390300 - Internal error. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ connect(): void; @@ -208,7 +208,7 @@ declare namespace linkEnhance { * @permission ohos.permission.DISTRIBUTED_DATASYNC * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ disconnect(): void; @@ -219,7 +219,7 @@ declare namespace linkEnhance { * @permission ohos.permission.DISTRIBUTED_DATASYNC * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ close(): void; @@ -230,7 +230,7 @@ declare namespace linkEnhance { * @returns { string } Returns the peer device id, return "" if operation failed. * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ getPeerDeviceId(): string; @@ -244,7 +244,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 32390205 - Connection is not ready. * @throws { BusinessError } 32390300 - Internal error. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ sendData(data: ArrayBuffer): void; @@ -257,7 +257,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 32390206 - Invalid parameter. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ on(type: 'connectResult', callback: Callback): void; @@ -270,7 +270,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 32390206 - Invalid parameter. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ off(type: 'connectResult', callback?: Callback): void; @@ -283,7 +283,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 32390206 - Invalid parameter. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ on(type: 'disconnected', callback: Callback): void; @@ -296,7 +296,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 32390206 - Invalid parameter. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ off(type: 'disconnected', callback?: Callback): void; @@ -309,7 +309,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 32390206 - Invalid parameter. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ on(type: 'dataReceived', callback: Callback): void; @@ -322,7 +322,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 32390206 - Invalid parameter. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ off(type: 'dataReceived', callback?: Callback): void; } @@ -337,7 +337,7 @@ declare namespace linkEnhance { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 32390206 - Invalid parameter. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ function createConnection(deviceId: string, name: string): Connection; } diff --git a/api/@ohos.distributedsched.proxyChannelManager.d.ts b/api/@ohos.distributedsched.proxyChannelManager.d.ts index eea8db3df9..e7d8ae083e 100644 --- a/api/@ohos.distributedsched.proxyChannelManager.d.ts +++ b/api/@ohos.distributedsched.proxyChannelManager.d.ts @@ -24,7 +24,7 @@ * * @namespace proxyChannelManager * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ declare namespace proxyChannelManager { /** @@ -41,7 +41,7 @@ declare namespace proxyChannelManager { * @throws { BusinessError } 32390101 - Call is restricted. * @throws { BusinessError } 32390102 - Operation failed or Connection timed out. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ function openProxyChannel(channelInfo: ChannelInfo): Promise; @@ -56,7 +56,7 @@ declare namespace proxyChannelManager { * @throws { BusinessError } 32390100 - Internal error. * @throws { BusinessError } 32390101 - Call is restricted. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ function closeProxyChannel(channelId: number): void; @@ -75,7 +75,7 @@ declare namespace proxyChannelManager { * @throws { BusinessError } 32390103 - Data too long. * @throws { BusinessError } 32390104 - Send failed. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ function sendData(channelId: number, data: ArrayBuffer): Promise; @@ -92,7 +92,7 @@ declare namespace proxyChannelManager { * @throws { BusinessError } 32390100 - Internal error. * @throws { BusinessError } 32390101 - Call is restricted. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ function on(type: 'receiveData', channelId: number, callback: Callback): void; @@ -109,7 +109,7 @@ declare namespace proxyChannelManager { * @throws { BusinessError } 32390100 - Internal error. * @throws { BusinessError } 32390101 - Call is restricted. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ function off(type: 'receiveData', channelId: number, callback?: Callback): void; @@ -126,7 +126,7 @@ declare namespace proxyChannelManager { * @throws { BusinessError } 32390100 - Internal error. * @throws { BusinessError } 32390101 - Call is restricted. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ function on(type: 'channelStateChange', channelId: number, callback: Callback): void; /** @@ -142,7 +142,7 @@ declare namespace proxyChannelManager { * @throws { BusinessError } 32390100 - Internal error. * @throws { BusinessError } 32390101 - Call is restricted. * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ function off(type: 'channelStateChange', channelId: number, callback?: Callback): void; @@ -151,14 +151,14 @@ declare namespace proxyChannelManager { * * @interface DataInfo * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ interface DataInfo { /** * Data channel ID. * @type { number } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ channelId: number; @@ -166,7 +166,7 @@ declare namespace proxyChannelManager { * Received Data. * @type { ArrayBuffer } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ data: ArrayBuffer; } @@ -175,14 +175,14 @@ declare namespace proxyChannelManager { * * @enum { number } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ enum LinkType { /** * Link type is BR. * * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ LINK_BR = 0, } @@ -191,7 +191,7 @@ declare namespace proxyChannelManager { * * @interface ChannelInfo * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ interface ChannelInfo { /** @@ -199,7 +199,7 @@ declare namespace proxyChannelManager { * * @type { LinkType } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ linkType: LinkType; /** @@ -207,7 +207,7 @@ declare namespace proxyChannelManager { * * @type { string } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ peerDevAddr: string; @@ -216,7 +216,7 @@ declare namespace proxyChannelManager { * * @type { string } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ peerUuid: string; } @@ -225,35 +225,35 @@ declare namespace proxyChannelManager { * * @enum { number } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ enum ChannelState { /** * Proxy channel disconnected, if the channel is not closed by business, it can recovery. * * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ CHANNEL_WAIT_RESUME = 0, /** * Proxy channel recovery. * * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ CHANNEL_RESUME = 1, /** * Software failure causes channel exception. * * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ CHANNEL_EXCEPTION_SOFTWARE_FAILED = 2, /** * BR unpairing causes proxy channel abnormal. * * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ CHANNEL_BR_NO_PAIRED = 3, } @@ -262,14 +262,14 @@ declare namespace proxyChannelManager { * * @interface ChannelStateInfo * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ interface ChannelStateInfo { /** * channel ID. * @type { number } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ channelId: number; /** @@ -277,7 +277,7 @@ declare namespace proxyChannelManager { * * @type { ChannelState } * @syscap SystemCapability.DistributedSched.AppCollaboration - * @since 20 + * @since 20 dynamic */ state: ChannelState; } diff --git a/api/@ohos.driver.deviceManager.d.ts b/api/@ohos.driver.deviceManager.d.ts index df0effd0de..df84468f69 100644 --- a/api/@ohos.driver.deviceManager.d.ts +++ b/api/@ohos.driver.deviceManager.d.ts @@ -26,8 +26,8 @@ import type rpc from './@ohos.rpc'; * * @namespace deviceManager * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare namespace deviceManager { /** @@ -39,8 +39,8 @@ declare namespace deviceManager { * @throws { BusinessError } 201 - The permission check failed. * @throws { BusinessError } 22900001 - ExternalDeviceManager service exception or busType parameter error. * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function queryDevices(busType?: int): Array>; @@ -171,8 +171,8 @@ declare namespace deviceManager { * @throws { BusinessError } 26300001 - ExternalDeviceManager service exception. * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function queryDeviceInfo(deviceId?: long): Array>; @@ -188,8 +188,8 @@ declare namespace deviceManager { * @throws { BusinessError } 26300001 - ExternalDeviceManager service exception. * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function queryDriverInfo(driverUid?: string): Array>; @@ -205,8 +205,8 @@ declare namespace deviceManager { * @throws { BusinessError } 26300001 - ExternalDeviceManager service exception. * @throws { BusinessError } 26300002 - The driver service does not allow any client to bind. * @syscap SystemCapability.Driver.ExternalDevice -* @since arkts{ '1.1':'19','1.2':'20'} -* @arkts 1.1&1.2 +* @since 19 dynamic +* @since 20 static */ function bindDriverWithDeviceId(deviceId: long, onDisconnect: AsyncCallback): Promise; @@ -220,8 +220,8 @@ declare namespace deviceManager { * @throws { BusinessError } 26300001 - ExternalDeviceManager service exception. * @throws { BusinessError } 26300003 - There is no binding relationship. * @syscap SystemCapability.Driver.ExternalDevice -* @since arkts{ '1.1':'19','1.2':'20'} -* @arkts 1.1&1.2 +* @since 19 dynamic +* @since 20 static */ function unbindDriverWithDeviceId(deviceId: long): Promise; @@ -230,16 +230,16 @@ declare namespace deviceManager { * * @enum { int } * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export enum BusType { /** * USB device type * * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ USB = 1, } @@ -249,8 +249,8 @@ declare namespace deviceManager { * * @typedef Device * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface Device { /** @@ -258,8 +258,8 @@ declare namespace deviceManager { * * @type { BusType } * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ busType: BusType; @@ -268,8 +268,8 @@ declare namespace deviceManager { * * @type { long } * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ deviceId: long; @@ -278,8 +278,8 @@ declare namespace deviceManager { * * @type { string } * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ description: string; } @@ -290,8 +290,8 @@ declare namespace deviceManager { * @typedef USBDevice * @extends Device * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface USBDevice extends Device { /** @@ -299,8 +299,8 @@ declare namespace deviceManager { * * @type { int } * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ vendorId: int; @@ -309,8 +309,8 @@ declare namespace deviceManager { * * @type { int } * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ productId: int; } @@ -320,8 +320,8 @@ declare namespace deviceManager { * * @typedef RemoteDeviceDriver * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface RemoteDeviceDriver { /** @@ -329,8 +329,8 @@ declare namespace deviceManager { * * @type { long } * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ deviceId: long; @@ -339,8 +339,8 @@ declare namespace deviceManager { * * @type { rpc.IRemoteObject } * @syscap SystemCapability.Driver.ExternalDevice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ remote: rpc.IRemoteObject; } @@ -351,8 +351,8 @@ declare namespace deviceManager { * @typedef USBInterfaceDesc * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface USBInterfaceDesc { /** @@ -361,8 +361,8 @@ declare namespace deviceManager { * @type { int } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ bInterfaceNumber: int; @@ -372,8 +372,8 @@ declare namespace deviceManager { * @type { int } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ bClass: int; @@ -383,8 +383,8 @@ declare namespace deviceManager { * @type { int } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ bSubClass: int; @@ -394,8 +394,8 @@ declare namespace deviceManager { * @type { int } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ bProtocol: int; } @@ -407,8 +407,8 @@ declare namespace deviceManager { * @typedef DeviceInfo * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface DeviceInfo { /** @@ -417,8 +417,8 @@ declare namespace deviceManager { * @type { long } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deviceId: long; @@ -428,8 +428,8 @@ declare namespace deviceManager { * @type { boolean } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isDriverMatched: boolean; @@ -439,8 +439,8 @@ declare namespace deviceManager { * @type { ?string } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ driverUid?: string; } @@ -452,8 +452,8 @@ declare namespace deviceManager { * @extends DeviceInfo * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface USBDeviceInfo extends DeviceInfo { /** @@ -462,8 +462,8 @@ declare namespace deviceManager { * @type { int } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ vendorId: int; @@ -473,8 +473,8 @@ declare namespace deviceManager { * @type { int } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ productId: int; @@ -484,8 +484,8 @@ declare namespace deviceManager { * @type { Array> } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interfaceDescList: Array>; } @@ -496,8 +496,8 @@ declare namespace deviceManager { * @typedef DriverInfo * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface DriverInfo { /** @@ -506,8 +506,8 @@ declare namespace deviceManager { * @type { BusType } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ busType: BusType; @@ -517,8 +517,8 @@ declare namespace deviceManager { * @type { string } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ driverUid: string; @@ -528,8 +528,8 @@ declare namespace deviceManager { * @type { string } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ driverName: string; @@ -539,8 +539,8 @@ declare namespace deviceManager { * @type { string } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ driverVersion: string; @@ -550,8 +550,8 @@ declare namespace deviceManager { * @type { string } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ driverSize: string; @@ -561,8 +561,8 @@ declare namespace deviceManager { * @type { string } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ description: string; } @@ -574,8 +574,8 @@ declare namespace deviceManager { * @extends DriverInfo * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface USBDriverInfo extends DriverInfo { /** @@ -584,8 +584,8 @@ declare namespace deviceManager { * @type { Array } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ productIdList: Array; @@ -595,8 +595,8 @@ declare namespace deviceManager { * @type { Array } * @syscap SystemCapability.Driver.ExternalDevice * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ vendorIdList: Array; } diff --git a/api/@ohos.effectKit.d.ts b/api/@ohos.effectKit.d.ts index 47a801c3c5..258199e8c6 100644 --- a/api/@ohos.effectKit.d.ts +++ b/api/@ohos.effectKit.d.ts @@ -38,8 +38,8 @@ import image from './@ohos.multimedia.image'; * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ declare namespace effectKit { @@ -65,8 +65,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface Filter { @@ -94,8 +94,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ blur(radius: double): Filter; @@ -105,8 +105,8 @@ declare namespace effectKit { * @param { TileMode } tileMode - The tile mode of blur. * @returns { Filter } Filters for the current effect have been added. * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ blur(radius: double, tileMode: TileMode): Filter; @@ -134,8 +134,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ brightness(bright: double): Filter; @@ -160,8 +160,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ grayscale(): Filter; @@ -176,8 +176,8 @@ declare namespace effectKit { * @returns { Filter } Filters for the current effect have been added. * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ invert(): Filter; @@ -198,8 +198,8 @@ declare namespace effectKit { * @throws { BusinessError } 401 - Input parameter error. * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ setColorMatrix(colorMatrix: Array): Filter; @@ -207,7 +207,7 @@ declare namespace effectKit { * Gets the PixelMap where all filter effects have been added to the image. * @returns { image.PixelMap } image.PixelMap. * @syscap SystemCapability.Multimedia.Image.Core - * @since 9 + * @since 9 dynamiconly * @deprecated since 11 * @useinstead effectKit.Filter#getEffectPixelMap */ @@ -234,8 +234,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getEffectPixelMap(): Promise; } @@ -261,8 +261,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface ColorPicker { @@ -287,8 +287,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getMainColor(): Promise; @@ -313,8 +313,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getMainColorSync(): Color; @@ -339,8 +339,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getLargestProportionColor(): Color; @@ -363,8 +363,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getTopProportionColors(colorCount: int): Array; @@ -389,8 +389,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getHighestSaturationColor(): Color; @@ -415,8 +415,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getAverageColor(): Color; @@ -444,8 +444,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ isBlackOrWhiteOrGrayColor(color: int): boolean; } @@ -471,8 +471,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface Color { @@ -497,8 +497,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ red: int; @@ -523,8 +523,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ green: int; @@ -549,8 +549,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ blue: int; @@ -575,8 +575,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ alpha: int; } @@ -605,8 +605,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function createEffect(source: image.PixelMap): Filter; @@ -637,8 +637,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function createColorPicker(source: image.PixelMap): Promise; @@ -675,8 +675,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function createColorPicker(source: image.PixelMap, region: Array): Promise; @@ -707,8 +707,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function createColorPicker(source: image.PixelMap, callback: AsyncCallback): void; @@ -745,8 +745,8 @@ declare namespace effectKit { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function createColorPicker(source: image.PixelMap, region: Array, callback: AsyncCallback): void; @@ -755,16 +755,16 @@ declare namespace effectKit { * * @enum { int } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum TileMode { /** * Clamp mode. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CLAMP = 0, @@ -772,8 +772,8 @@ declare namespace effectKit { * Repeat mode. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ REPEAT = 1, @@ -781,8 +781,8 @@ declare namespace effectKit { * Mirror mode. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ MIRROR = 2, @@ -790,8 +790,8 @@ declare namespace effectKit { * Decal mode. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ DECAL = 3, } diff --git a/api/@ohos.enterprise.adminManager.d.ts b/api/@ohos.enterprise.adminManager.d.ts index 17915f6485..7fc671ac7a 100644 --- a/api/@ohos.enterprise.adminManager.d.ts +++ b/api/@ohos.enterprise.adminManager.d.ts @@ -27,8 +27,8 @@ import common from '@ohos.app.ability.common'; * * @namespace adminManager * @syscap SystemCapability.Customization.EnterpriseDeviceManager - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace adminManager { /** @@ -37,8 +37,8 @@ declare namespace adminManager { * @typedef EnterpriseInfo * @syscap SystemCapability.Customization.EnterpriseDeviceManager * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface EnterpriseInfo { /** @@ -47,8 +47,8 @@ declare namespace adminManager { * @type { string } * @syscap SystemCapability.Customization.EnterpriseDeviceManager * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ name: string; @@ -58,8 +58,8 @@ declare namespace adminManager { * @type { string } * @syscap SystemCapability.Customization.EnterpriseDeviceManager * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ description: string; } @@ -459,8 +459,8 @@ declare namespace adminManager { * @syscap SystemCapability.Customization.EnterpriseDeviceManager * @systemapi * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getEnterpriseInfo(admin: Want, callback: AsyncCallback): void; @@ -476,8 +476,8 @@ declare namespace adminManager { * @syscap SystemCapability.Customization.EnterpriseDeviceManager * @systemapi * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getEnterpriseInfo(admin: Want): Promise; @@ -698,8 +698,8 @@ declare namespace adminManager { * @syscap SystemCapability.Customization.EnterpriseDeviceManager * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getSuperAdmin(): Promise; diff --git a/api/@ohos.enterprise.securityManager.d.ts b/api/@ohos.enterprise.securityManager.d.ts index b7fc14ab1d..f064eb6a20 100644 --- a/api/@ohos.enterprise.securityManager.d.ts +++ b/api/@ohos.enterprise.securityManager.d.ts @@ -27,8 +27,8 @@ import type image from './@ohos.multimedia.image'; * @namespace securityManager * @syscap SystemCapability.Customization.EnterpriseDeviceManager * @stagemodelonly - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace securityManager { /** @@ -270,8 +270,8 @@ declare namespace securityManager { * @syscap SystemCapability.Customization.EnterpriseDeviceManager * @systemapi * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getPasswordPolicy(): PasswordPolicy; @@ -388,8 +388,8 @@ declare namespace securityManager { * @typedef PasswordPolicy * @syscap SystemCapability.Customization.EnterpriseDeviceManager * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface PasswordPolicy { /** @@ -398,8 +398,8 @@ declare namespace securityManager { * @type { ?string } * @syscap SystemCapability.Customization.EnterpriseDeviceManager * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ complexityRegex?: string; @@ -409,8 +409,8 @@ declare namespace securityManager { * @type { ?long } * @syscap SystemCapability.Customization.EnterpriseDeviceManager * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ validityPeriod?: long; @@ -420,8 +420,8 @@ declare namespace securityManager { * @type { ?string } * @syscap SystemCapability.Customization.EnterpriseDeviceManager * @stagemodelonly - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ additionalDescription?: string; } diff --git a/api/@ohos.events.emitter.d.ts b/api/@ohos.events.emitter.d.ts index b196a3673c..795aae075c 100644 --- a/api/@ohos.events.emitter.d.ts +++ b/api/@ohos.events.emitter.d.ts @@ -42,8 +42,8 @@ import { Callback } from './@ohos.base'; * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace emitter { /** @@ -71,7 +71,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function on(event: InnerEvent, callback: Callback): void; @@ -82,8 +82,7 @@ declare namespace emitter { * @param { Callback } callback - Callback to be executed when the event is received. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function onWithEventTypeInnerEventCallback(event: InnerEvent, callback: Callback): void; @@ -104,7 +103,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function on(eventId: string, callback: Callback): void; @@ -115,8 +114,7 @@ declare namespace emitter { * @param { Callback } callback - Callback to be executed when the event is received. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function onWithEventIdTypeStringCallback(eventId: string, callback: Callback): void; @@ -128,7 +126,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function on(eventId: string, callback: Callback>): void; @@ -139,14 +137,12 @@ declare namespace emitter { * @param { Callback> } callback - Callback to be executed when the event is received. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function onWithEventIdTypeStringCallbackTypeGenericEventData(eventId: string, callback: Callback>): void; /** - * @since 20 - * @arkts 1.2 + * @since 20 static */ overload on { onWithEventTypeInnerEventCallback, onWithEventIdTypeStringCallback, onWithEventIdTypeStringCallbackTypeGenericEventData }; @@ -175,7 +171,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function once(event: InnerEvent, callback: Callback): void; @@ -186,8 +182,7 @@ declare namespace emitter { * @param { Callback } callback - Callback to be executed when the event is received. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function onceWithEventTypeInnerEventCallback(event: InnerEvent, callback: Callback): void; @@ -208,7 +203,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function once(eventId: string, callback: Callback): void; @@ -219,8 +214,7 @@ declare namespace emitter { * @param { Callback } callback - Callback to be executed when the event is received. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function onceWithEventIdTypeStringCallback(eventId: string, callback: Callback): void; @@ -232,7 +226,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function once(eventId: string, callback: Callback>): void; @@ -243,14 +237,12 @@ declare namespace emitter { * @param { Callback> } callback - Callback to be executed when the event is received. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function onceWithEventIdTypeStringCallbackTypeGenericEventData(eventId: string, callback: Callback>): void; /** - * @since 20 - * @arkts 1.2 + * @since 20 static */ overload once { onceWithEventTypeInnerEventCallback, onceWithEventIdTypeStringCallback, onceWithEventIdTypeStringCallbackTypeGenericEventData }; @@ -276,7 +268,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function off(eventId: long): void; @@ -286,8 +278,7 @@ declare namespace emitter { * @param { long } eventId - Event ID. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function offWithEventIdTypeLong(eventId: long): void; @@ -306,7 +297,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function off(eventId: string): void; @@ -316,8 +307,7 @@ declare namespace emitter { * @param { string } eventId - Event ID. The value cannot be an empty string and exceed 10240 bytes. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function offWithEventIdTypeString(eventId: string): void; @@ -346,7 +336,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function off(eventId: long, callback: Callback): void; @@ -357,8 +347,7 @@ declare namespace emitter { * @param { Callback } callback - Callback to unregister. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function offWithEventIdTypeLongCallback(eventId: long, callback: Callback): void; @@ -379,7 +368,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function off(eventId: string, callback: Callback): void; @@ -390,8 +379,7 @@ declare namespace emitter { * @param { Callback } callback - Callback to unregister. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function offWithEventIdTypeStringCallback(eventId: string, callback: Callback): void; @@ -403,7 +391,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function off(eventId: string, callback: Callback>): void; @@ -414,14 +402,12 @@ declare namespace emitter { * @param { Callback> } callback - Callback to unregister. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function offWithEventIdTypeStringCallbackTypeGenericEventData(eventId: string, callback: Callback>): void; /** - * @since 20 - * @arkts 1.2 + * @since 20 static */ overload off { offWithEventIdTypeLong, offWithEventIdTypeString, offWithEventIdTypeLongCallback, offWithEventIdTypeStringCallback, offWithEventIdTypeStringCallbackTypeGenericEventData }; @@ -450,7 +436,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function emit(event: InnerEvent, data?: EventData): void; @@ -461,8 +447,7 @@ declare namespace emitter { * @param { EventData } [data] - Data passed in the event. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function emitWithEventTypeInnerEventDataTypeEventData(event: InnerEvent, data?: EventData): void; @@ -483,7 +468,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function emit(eventId: string, data?: EventData): void; @@ -494,8 +479,7 @@ declare namespace emitter { * @param { EventData } [data] - Data passed in the event. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function emitWithEventIdTypeStringDataTypeEventData(eventId: string, data?: EventData): void; @@ -507,7 +491,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function emit(eventId: string, data?: GenericEventData): void; @@ -518,8 +502,7 @@ declare namespace emitter { * @param { GenericEventData } [data] - Data passed in the event. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function emitWithEventIdTypeStringDataTypeGenericEventData(eventId: string, data?: GenericEventData): void; @@ -542,7 +525,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function emit(eventId: string, options: Options, data?: EventData): void; @@ -554,8 +537,7 @@ declare namespace emitter { * @param { EventData } [data] - Data passed in the event. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function emitWithEventIdTypeStringOptionsDataTypeEventData(eventId: string, options: Options, data?: EventData): void; @@ -568,7 +550,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function emit(eventId: string, options: Options, data?: GenericEventData): void; @@ -580,14 +562,12 @@ declare namespace emitter { * @param { GenericEventData } [data] - Data passed in the event. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function emitWithEventIdTypeStringOptionsDataTypeGenericEventData(eventId: string, options: Options, data?: GenericEventData): void; /** - * @since 20 - * @arkts 1.2 + * @since 20 static */ overload emit { emitWithEventTypeInnerEventDataTypeEventData, emitWithEventIdTypeStringDataTypeEventData, emitWithEventIdTypeStringDataTypeGenericEventData, emitWithEventIdTypeStringOptionsDataTypeEventData, emitWithEventIdTypeStringOptionsDataTypeGenericEventData }; @@ -608,7 +588,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function getListenerCount(eventId: long | string): long; @@ -619,8 +599,7 @@ declare namespace emitter { * @returns { long } Returns the number of listener count. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function getListenerCountWithEventIdTypeLong(eventId: long): long; @@ -631,14 +610,12 @@ declare namespace emitter { * @returns { long } Returns the number of listener count. * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function getListenerCountWithEventIdTypeString(eventId: string): long; /** - * @since 20 - * @arkts 1.2 + * @since 20 static */ overload getListenerCount { getListenerCountWithEventIdTypeLong, getListenerCountWithEventIdTypeString }; @@ -664,8 +641,8 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface EventData { /** @@ -690,7 +667,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ data?: { [key: string]: any }; @@ -700,8 +677,7 @@ declare namespace emitter { * @type { ?(Record | ESObject) } * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ data?: Record | ESObject; } @@ -728,8 +704,8 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface InnerEvent { /** @@ -754,8 +730,8 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ eventId: long; @@ -781,8 +757,8 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ priority?: EventPriority; } @@ -809,8 +785,8 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum EventPriority { /** @@ -832,8 +808,8 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ IMMEDIATE = 0, @@ -856,8 +832,8 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HIGH, @@ -880,8 +856,8 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOW, @@ -904,8 +880,8 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ IDLE, } @@ -924,8 +900,8 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface Options { /** @@ -943,8 +919,8 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ priority?: EventPriority; } @@ -956,8 +932,8 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface GenericEventData { /** @@ -967,7 +943,7 @@ declare namespace emitter { * @syscap SystemCapability.Notification.Emitter * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ data?: T; @@ -977,8 +953,7 @@ declare namespace emitter { * @type { ?(T | ESObject) } * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ data?: T | ESObject; } diff --git a/api/@ohos.fastbuffer.d.ts b/api/@ohos.fastbuffer.d.ts index 68e81d509d..be7bfd63c6 100644 --- a/api/@ohos.fastbuffer.d.ts +++ b/api/@ohos.fastbuffer.d.ts @@ -23,7 +23,7 @@ * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ declare namespace fastbuffer { /** @@ -33,7 +33,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ type BufferEncoding = 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'base64url' | 'latin1' | 'binary' | 'hex'; /** @@ -44,7 +44,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ interface TypedArray extends Int8Array { } @@ -58,7 +58,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ function alloc(size: number, fill?: string | FastBuffer | number, encoding?: BufferEncoding): FastBuffer; /** @@ -69,7 +69,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ function allocUninitializedFromPool(size: number): FastBuffer; /** @@ -80,7 +80,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ function allocUninitialized(size: number): FastBuffer; /** @@ -94,7 +94,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ function byteLength(value: string | FastBuffer | TypedArray | DataView | ArrayBuffer | SharedArrayBuffer, encoding?: BufferEncoding): number; /** @@ -108,7 +108,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ function concat(list: FastBuffer[] | Uint8Array[], totalLength?: number): FastBuffer; /** @@ -119,7 +119,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ function from(array: number[]): FastBuffer; /** @@ -136,7 +136,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ function from(arrayBuffer: ArrayBuffer | SharedArrayBuffer, byteOffset?: number, length?: number): FastBuffer; /** @@ -148,7 +148,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ function from(buffer: FastBuffer | Uint8Array): FastBuffer; /** @@ -161,7 +161,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ function from(value: string, encoding?: BufferEncoding): FastBuffer; /** @@ -172,7 +172,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ function isBuffer(obj: Object): boolean; /** @@ -183,7 +183,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ function isEncoding(encoding: string): boolean; /** @@ -198,7 +198,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ function compare(buf1: FastBuffer | Uint8Array, buf2: FastBuffer | Uint8Array): -1 | 0 | 1; /** @@ -211,7 +211,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ function transcode(source: FastBuffer | Uint8Array, fromEnc: string, toEnc: string): FastBuffer; /** @@ -220,7 +220,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ class FastBuffer { /** @@ -230,7 +230,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ length: number; /** @@ -240,7 +240,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ buffer: ArrayBuffer; /** @@ -250,7 +250,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ byteOffset: number; /** @@ -267,7 +267,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ fill(value: string | FastBuffer | Uint8Array | number, offset?: number, end?: number, encoding?: BufferEncoding): FastBuffer; /** @@ -288,7 +288,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ compare(target: FastBuffer | Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): -1 | 0 | 1; /** @@ -306,7 +306,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ copy(target: FastBuffer | Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; /** @@ -318,7 +318,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ equals(otherBuffer: Uint8Array | FastBuffer): boolean; /** @@ -331,7 +331,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ includes(value: string | number | FastBuffer | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): boolean; /** @@ -345,7 +345,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ indexOf(value: string | number | FastBuffer | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number; /** @@ -355,7 +355,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ keys(): IterableIterator; /** @@ -365,7 +365,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ values(): IterableIterator; /** @@ -375,7 +375,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ entries(): IterableIterator<[ number, @@ -392,7 +392,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ lastIndexOf(value: string | number | FastBuffer | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number; /** @@ -404,7 +404,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readBigInt64BE(offset?: number): bigint; /** @@ -416,7 +416,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readBigInt64LE(offset?: number): bigint; /** @@ -428,7 +428,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readBigUInt64BE(offset?: number): bigint; /** @@ -440,7 +440,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readBigUInt64LE(offset?: number): bigint; /** @@ -452,7 +452,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readDoubleBE(offset?: number): number; /** @@ -464,7 +464,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readDoubleLE(offset?: number): number; /** @@ -476,7 +476,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readFloatBE(offset?: number): number; /** @@ -488,7 +488,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readFloatLE(offset?: number): number; /** @@ -500,7 +500,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readInt8(offset?: number): number; /** @@ -512,7 +512,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readInt16BE(offset?: number): number; /** @@ -524,7 +524,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readInt16LE(offset?: number): number; /** @@ -536,7 +536,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readInt32BE(offset?: number): number; /** @@ -548,7 +548,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readInt32LE(offset?: number): number; /** @@ -562,7 +562,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readIntBE(offset: number, byteLength: number): number; /** @@ -576,7 +576,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readIntLE(offset: number, byteLength: number): number; /** @@ -588,7 +588,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readUInt8(offset?: number): number; /** @@ -600,7 +600,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readUInt16BE(offset?: number): number; /** @@ -612,7 +612,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readUInt16LE(offset?: number): number; /** @@ -624,7 +624,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readUInt32BE(offset?: number): number; /** @@ -636,7 +636,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readUInt32LE(offset?: number): number; /** @@ -650,7 +650,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readUIntBE(offset: number, byteLength: number): number; /** @@ -664,7 +664,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ readUIntLE(offset: number, byteLength: number): number; /** @@ -676,7 +676,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ subarray(start?: number, end?: number): FastBuffer; /** @@ -687,7 +687,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ swap16(): FastBuffer; /** @@ -698,7 +698,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ swap32(): FastBuffer; /** @@ -709,7 +709,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ swap64(): FastBuffer; /** @@ -719,7 +719,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ toJSON(): Object; /** @@ -733,7 +733,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ toString(encoding?: string, start?: number, end?: number): string; /** @@ -750,7 +750,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ write(str: string, offset?: number, length?: number, encoding?: string): number; /** @@ -763,7 +763,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeBigInt64BE(value: bigint, offset?: number): number; /** @@ -776,7 +776,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeBigInt64LE(value: bigint, offset?: number): number; /** @@ -789,7 +789,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeBigUInt64BE(value: bigint, offset?: number): number; /** @@ -802,7 +802,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeBigUInt64LE(value: bigint, offset?: number): number; /** @@ -815,7 +815,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeDoubleBE(value: number, offset?: number): number; /** @@ -828,7 +828,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeDoubleLE(value: number, offset?: number): number; /** @@ -841,7 +841,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeFloatBE(value: number, offset?: number): number; /** @@ -854,7 +854,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeFloatLE(value: number, offset?: number): number; /** @@ -867,7 +867,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeInt8(value: number, offset?: number): number; /** @@ -880,7 +880,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeInt16BE(value: number, offset?: number): number; /** @@ -893,7 +893,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeInt16LE(value: number, offset?: number): number; /** @@ -906,7 +906,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeInt32BE(value: number, offset?: number): number; /** @@ -919,7 +919,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeInt32LE(value: number, offset?: number): number; /** @@ -933,7 +933,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeIntBE(value: number, offset: number, byteLength: number): number; /** @@ -947,7 +947,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeIntLE(value: number, offset: number, byteLength: number): number; /** @@ -960,7 +960,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeUInt8(value: number, offset?: number): number; /** @@ -973,7 +973,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeUInt16BE(value: number, offset?: number): number; /** @@ -986,7 +986,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeUInt16LE(value: number, offset?: number): number; /** @@ -999,7 +999,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeUInt32BE(value: number, offset?: number): number; /** @@ -1012,7 +1012,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeUInt32LE(value: number, offset?: number): number; /** @@ -1026,7 +1026,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeUIntBE(value: number, offset: number, byteLength: number): number; /** @@ -1040,7 +1040,7 @@ declare namespace fastbuffer { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamiconly */ writeUIntLE(value: number, offset: number, byteLength: number): number; } diff --git a/api/@ohos.faultLogger.d.ts b/api/@ohos.faultLogger.d.ts index bc1af1ad5a..fbb6d4ed2b 100644 --- a/api/@ohos.faultLogger.d.ts +++ b/api/@ohos.faultLogger.d.ts @@ -25,7 +25,7 @@ import type { AsyncCallback } from './@ohos.base'; * This module is deprecated since 18, please use hiAppEvent to monitor APP_CRASH and APP_FREEZE event * @namespace FaultLogger * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 * @useinstead ohos.hiviewdfx.hiAppEvent */ @@ -36,35 +36,35 @@ declare namespace FaultLogger { * The type of fault type. * @enum { number } * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 */ enum FaultType { /** * NO_SPECIFIC log type not distinguished. * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 */ NO_SPECIFIC = 0, /** * CPP_CRASH CPP crash log type. * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 */ CPP_CRASH = 2, /** * JS_CRASH JS crash log type. * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 */ JS_CRASH = 3, /** * APP_FREEZE app freeze log type. * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 */ APP_FREEZE = 4, @@ -75,7 +75,7 @@ declare namespace FaultLogger { * @param { FaultType } faultType - Fault type to query * @param { AsyncCallback> } callback - Faultlog information data callback function * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.faultlogger/FaultLogger#query */ @@ -86,7 +86,7 @@ declare namespace FaultLogger { * @param { FaultType } faultType - Fault type to query * @returns { Promise> } return faultlog information data by promise * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.faultlogger/FaultLogger#query */ @@ -100,7 +100,7 @@ declare namespace FaultLogger { * @throws { BusinessError } 801 - The specified SystemCapability name was not found * @throws { BusinessError } 10600001 - The service is not started or is faulty * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 9 + * @since 9 dynamiconly * @deprecated since 18 */ function query(faultType: FaultType, callback: AsyncCallback>): void; @@ -113,7 +113,7 @@ declare namespace FaultLogger { * @throws { BusinessError } 801 - The specified SystemCapability name was not found * @throws { BusinessError } 10600001 - The service is not started or is faulty * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 9 + * @since 9 dynamiconly * @deprecated since 18 */ function query(faultType: FaultType): Promise>; @@ -122,7 +122,7 @@ declare namespace FaultLogger { * FaultLog information data structure. * @interface FaultLogInfo * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 */ interface FaultLogInfo { @@ -130,7 +130,7 @@ declare namespace FaultLogger { * Process id. * @type { number } * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 */ pid: number; @@ -139,7 +139,7 @@ declare namespace FaultLogger { * User id. * @type { number } * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 */ uid: number; @@ -148,7 +148,7 @@ declare namespace FaultLogger { * Fault type. * @type { FaultType } * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 */ type: FaultType; @@ -157,7 +157,7 @@ declare namespace FaultLogger { * Second level timestamp. * @type { number } * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 */ timestamp: number; @@ -166,7 +166,7 @@ declare namespace FaultLogger { * Fault reason. * @type { string } * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 */ reason: string; @@ -175,7 +175,7 @@ declare namespace FaultLogger { * Fault module. * @type { string } * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 */ module: string; @@ -184,7 +184,7 @@ declare namespace FaultLogger { * Fault summary. * @type { string } * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 */ summary: string; @@ -193,7 +193,7 @@ declare namespace FaultLogger { * Fault log. * @type { string } * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger - * @since 8 + * @since 8 dynamiconly * @deprecated since 18 */ fullLog: string; diff --git a/api/@ohos.file.AlbumPickerComponent.d.ets b/api/@ohos.file.AlbumPickerComponent.d.ets index 1b62ae6421..08e73a78ae 100644 --- a/api/@ohos.file.AlbumPickerComponent.d.ets +++ b/api/@ohos.file.AlbumPickerComponent.d.ets @@ -26,7 +26,7 @@ import photoAccessHelper from '@ohos.file.photoAccessHelper'; * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ @Component export declare struct AlbumPickerComponent { @@ -36,7 +36,7 @@ export declare struct AlbumPickerComponent { * @type { ?AlbumPickerOptions } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ albumPickerOptions?: AlbumPickerOptions; @@ -46,7 +46,7 @@ export declare struct AlbumPickerComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ onAlbumClick?: (albumInfo: AlbumInfo) => boolean; @@ -56,7 +56,7 @@ export declare struct AlbumPickerComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ onEmptyAreaClick?: EmptyAreaClickCallback; } @@ -67,7 +67,7 @@ export declare struct AlbumPickerComponent { * @typedef { function } EmptyAreaClickCallback * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ export type EmptyAreaClickCallback = () => void @@ -76,7 +76,7 @@ export type EmptyAreaClickCallback = () => void * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class AlbumPickerOptions { /** @@ -85,7 +85,7 @@ export declare class AlbumPickerOptions { * @type { ?PickerColorMode } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ themeColorMode?: PickerColorMode; @@ -95,7 +95,7 @@ export declare class AlbumPickerOptions { * @type { ?photoAccessHelper.PhotoViewMIMETypes } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ filterType?: photoAccessHelper.PhotoViewMIMETypes; } @@ -106,7 +106,7 @@ export declare class AlbumPickerOptions { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class AlbumInfo { /** @@ -115,7 +115,7 @@ export declare class AlbumInfo { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ uri?: string; @@ -125,7 +125,7 @@ export declare class AlbumInfo { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ albumName?: string; } \ No newline at end of file diff --git a/api/@ohos.file.BackupExtensionContext.d.ts b/api/@ohos.file.BackupExtensionContext.d.ts index f3d95e9776..4b425edf53 100644 --- a/api/@ohos.file.BackupExtensionContext.d.ts +++ b/api/@ohos.file.BackupExtensionContext.d.ts @@ -28,7 +28,7 @@ import ExtensionContext from './application/ExtensionContext'; * @extends ExtensionContext * @syscap SystemCapability.FileManagement.StorageService.Backup * @StageModelOnly - * @since 12 + * @since 12 dynamic */ export default class BackupExtensionContext extends ExtensionContext { /** @@ -37,7 +37,7 @@ export default class BackupExtensionContext extends ExtensionContext { * @type { string } * @syscap SystemCapability.FileManagement.StorageService.Backup * @StageModelOnly - * @since 12 + * @since 12 dynamic */ readonly backupDir: string; } \ No newline at end of file diff --git a/api/@ohos.file.PhotoPickerComponent.d.ets b/api/@ohos.file.PhotoPickerComponent.d.ets index 9550ff0b3b..06e4d85ec8 100644 --- a/api/@ohos.file.PhotoPickerComponent.d.ets +++ b/api/@ohos.file.PhotoPickerComponent.d.ets @@ -26,7 +26,7 @@ import { AsyncCallback } from '@ohos.base'; * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ @Component export declare struct PhotoPickerComponent { @@ -36,7 +36,7 @@ export declare struct PhotoPickerComponent { * @type { ?PickerOptions } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ pickerOptions?: PickerOptions; @@ -46,7 +46,7 @@ export declare struct PhotoPickerComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ onSelect?: (uri: string) => void; @@ -56,7 +56,7 @@ export declare struct PhotoPickerComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ onDeselect?: (uri: string) => void; @@ -66,7 +66,7 @@ export declare struct PhotoPickerComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ onItemClicked?: (itemInfo: ItemInfo, clickType: ClickType) => boolean; @@ -76,7 +76,7 @@ export declare struct PhotoPickerComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ onEnterPhotoBrowser?: (photoBrowserInfo: PhotoBrowserInfo) => boolean; @@ -86,7 +86,7 @@ export declare struct PhotoPickerComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ onExitPhotoBrowser?: (photoBrowserInfo: PhotoBrowserInfo) => boolean; @@ -97,7 +97,7 @@ export declare struct PhotoPickerComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ onPickerControllerReady?: () => void; @@ -107,7 +107,7 @@ export declare struct PhotoPickerComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ onPhotoBrowserChanged?: (browserItemInfo: BaseItemInfo) => boolean; @@ -117,7 +117,7 @@ export declare struct PhotoPickerComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ onSelectedItemsDeleted?: ItemsDeletedCallback; @@ -127,7 +127,7 @@ export declare struct PhotoPickerComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ onExceedMaxSelected?: ExceedMaxSelectedCallback; @@ -137,7 +137,7 @@ export declare struct PhotoPickerComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ onCurrentAlbumDeleted?: CurrentAlbumDeletedCallback; @@ -147,7 +147,7 @@ export declare struct PhotoPickerComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamic */ onVideoPlayStateChanged?: videoPlayStateChangedCallback; @@ -157,7 +157,7 @@ export declare struct PhotoPickerComponent { * @type { ?PickerController } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ @ObjectLink pickerController: PickerController; @@ -167,7 +167,7 @@ export declare struct PhotoPickerComponent { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ build(): void; } @@ -180,7 +180,7 @@ export declare struct PhotoPickerComponent { * @param { Array } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ export type ItemsDeletedCallback = (baseItemInfos: Array) => void; @@ -191,7 +191,7 @@ export type ItemsDeletedCallback = (baseItemInfos: Array) => void; * @param { MaxCountType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ export type ExceedMaxSelectedCallback = (exceedMaxCountType: MaxCountType) => void; @@ -201,7 +201,7 @@ export type ExceedMaxSelectedCallback = (exceedMaxCountType: MaxCountType) => vo * @typedef { function } CurrentAlbumDeletedCallback * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ export type CurrentAlbumDeletedCallback = () => void; @@ -211,7 +211,7 @@ export type CurrentAlbumDeletedCallback = () => void; * @typedef { function } videoPlayStateChangedCallback * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamic */ export type videoPlayStateChangedCallback = (state: VideoPlayerState) => void; @@ -220,7 +220,7 @@ export type videoPlayStateChangedCallback = (state: VideoPlayerState) => void; * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ @Observed export declare class PickerController { @@ -231,7 +231,7 @@ export declare class PickerController { * @param { Object } data - data * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ setData(dataType: DataType, data: Object): void; @@ -241,7 +241,7 @@ export declare class PickerController { * @param { MaxSelected } maxSelected - max select count data * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ setMaxSelected(maxSelected: MaxSelected): void; @@ -252,7 +252,7 @@ export declare class PickerController { * @param { PhotoBrowserRange } photoBrowserRange - photo browser slide range * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ setPhotoBrowserItem(uri: string, photoBrowserRange?: PhotoBrowserRange): void; @@ -261,7 +261,7 @@ export declare class PickerController { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ exitPhotoBrowser(): void; @@ -272,7 +272,7 @@ export declare class PickerController { * @param { boolean } isVisible - visible or not * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ setPhotoBrowserUIElementVisibility(elements: Array, isVisible: boolean): void; @@ -284,7 +284,7 @@ export declare class PickerController { * @param { AsyncCallback } callback - Returns void * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 15 + * @since 15 dynamic */ replacePhotoPickerPreview(originalUri: string, newUri: string, callback: AsyncCallback): void; @@ -297,7 +297,7 @@ export declare class PickerController { * @param { SaveMode } [saveMode] - Mode of save * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 15 + * @since 15 dynamic */ saveTrustedPhotoAssets(trustedUris: Array, callback: AsyncCallback>, configs?: Array, saveMode?: SaveMode): void; @@ -308,7 +308,7 @@ export declare class PickerController { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { /** @@ -317,7 +317,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ checkBoxColor?: string; @@ -327,7 +327,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: string; @@ -337,7 +337,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?Margin } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamic */ gridMargin?: Margin; @@ -347,7 +347,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?Margin } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamic */ photoBrowserMargin?: Margin; @@ -357,7 +357,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ isRepeatSelectSupported?: boolean; @@ -367,7 +367,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ checkboxTextColor?: string; @@ -377,7 +377,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?PickerColorMode } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ photoBrowserBackgroundColorMode?: PickerColorMode; @@ -387,7 +387,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?ReminderMode } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ maxSelectedReminderMode?: ReminderMode; @@ -397,7 +397,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?PickerOrientation } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ orientation?: PickerOrientation; @@ -407,7 +407,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?SelectMode } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ selectMode?: SelectMode; @@ -417,7 +417,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ maxPhotoSelectNumber?: number; @@ -427,7 +427,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ maxVideoSelectNumber?: number; @@ -437,7 +437,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ isSlidingSelectionSupported?: boolean; @@ -447,7 +447,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?[number, number] } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ photoBrowserCheckboxPosition?: [number, number]; @@ -457,7 +457,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?SingleLineConfig } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ singleLineConfig?: SingleLineConfig; @@ -467,7 +467,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * @type { ?PickerColorMode } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ uiComponentColorMode?: PickerColorMode; } @@ -477,7 +477,7 @@ export declare class PickerOptions extends photoAccessHelper.BaseSelectOptions { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class BaseItemInfo { /** @@ -486,7 +486,7 @@ export declare class BaseItemInfo { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ uri?: string; @@ -496,7 +496,7 @@ export declare class BaseItemInfo { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ mimeType?: string; @@ -506,7 +506,7 @@ export declare class BaseItemInfo { * @type { ?number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ width?: number; @@ -516,7 +516,7 @@ export declare class BaseItemInfo { * @type { ?number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ height?: number; @@ -526,7 +526,7 @@ export declare class BaseItemInfo { * @type { ?number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ size?: number; @@ -536,7 +536,7 @@ export declare class BaseItemInfo { * @type { ?number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ duration?: number; } @@ -547,7 +547,7 @@ export declare class BaseItemInfo { * @extends BaseItemInfo * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class ItemInfo extends BaseItemInfo { /** @@ -556,7 +556,7 @@ export declare class ItemInfo extends BaseItemInfo { * @type { ?ItemType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ itemType?: ItemType; } @@ -566,7 +566,7 @@ export declare class ItemInfo extends BaseItemInfo { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class PhotoBrowserInfo { /** @@ -575,7 +575,7 @@ export declare class PhotoBrowserInfo { * @type { ?AnimatorParams } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ animatorParams?: AnimatorParams; } @@ -585,7 +585,7 @@ export declare class PhotoBrowserInfo { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class AnimatorParams { /** @@ -594,7 +594,7 @@ export declare class AnimatorParams { * @type { ?number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ duration?: number; @@ -604,7 +604,7 @@ export declare class AnimatorParams { * @type { ?Curve | ICurve | string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ curve?: Curve | ICurve | string; } @@ -614,7 +614,7 @@ export declare class AnimatorParams { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class MaxSelected { /** @@ -623,7 +623,7 @@ export declare class MaxSelected { * @type { ?Map } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ data?: Map; } @@ -634,7 +634,7 @@ export declare class MaxSelected { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ export declare class SingleLineConfig { /** @@ -643,7 +643,7 @@ export declare class SingleLineConfig { * @type { ?ItemDisplayRatio } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ itemDisplayRatio?: ItemDisplayRatio; @@ -653,7 +653,7 @@ export declare class SingleLineConfig { * @type { ?(Length | BorderRadiuses | LocalizedBorderRadiuses) } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ itemBorderRadius?: Length | BorderRadiuses | LocalizedBorderRadiuses; @@ -663,7 +663,7 @@ export declare class SingleLineConfig { * @type { ?Length } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ itemGap?: Length; } @@ -674,7 +674,7 @@ export declare class SingleLineConfig { * @enum { number } DataType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare enum DataType { /** @@ -682,7 +682,7 @@ export declare enum DataType { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ SET_SELECTED_URIS = 1, @@ -691,7 +691,7 @@ export declare enum DataType { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ SET_ALBUM_URI = 2 } @@ -702,7 +702,7 @@ export declare enum DataType { * @enum { number } ItemType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare enum ItemType { /** @@ -710,7 +710,7 @@ export declare enum ItemType { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ THUMBNAIL = 0, @@ -719,7 +719,7 @@ export declare enum ItemType { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ CAMERA = 1 } @@ -730,7 +730,7 @@ export declare enum ItemType { * @enum { number } ClickType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare enum ClickType { /** @@ -738,7 +738,7 @@ export declare enum ClickType { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ SELECTED = 0, @@ -747,7 +747,7 @@ export declare enum ClickType { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ DESELECTED = 1 } @@ -758,7 +758,7 @@ export declare enum ClickType { * @enum { number } PickerOrientation * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare enum PickerOrientation { /** @@ -766,7 +766,7 @@ export declare enum PickerOrientation { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ VERTICAL = 0, @@ -775,7 +775,7 @@ export declare enum PickerOrientation { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ HORIZONTAL = 1 } @@ -786,7 +786,7 @@ export declare enum PickerOrientation { * @enum { number } SelectMode * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare enum SelectMode { /** @@ -794,7 +794,7 @@ export declare enum SelectMode { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ SINGLE_SELECT = 0, @@ -803,7 +803,7 @@ export declare enum SelectMode { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ MULTI_SELECT = 1 } @@ -814,7 +814,7 @@ export declare enum SelectMode { * @enum { number } PickerColorMode * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare enum PickerColorMode { /** @@ -822,7 +822,7 @@ export declare enum PickerColorMode { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ AUTO = 0, @@ -831,7 +831,7 @@ export declare enum PickerColorMode { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ LIGHT = 1, @@ -840,7 +840,7 @@ export declare enum PickerColorMode { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ DARK = 2 } @@ -851,7 +851,7 @@ export declare enum PickerColorMode { * @enum { number } ReminderMode * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare enum ReminderMode { /** @@ -859,7 +859,7 @@ export declare enum ReminderMode { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ NONE = 0, @@ -868,7 +868,7 @@ export declare enum ReminderMode { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ TOAST = 1, @@ -877,7 +877,7 @@ export declare enum ReminderMode { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ MASK = 2 } @@ -888,7 +888,7 @@ export declare enum ReminderMode { * @enum { number } MaxCountType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare enum MaxCountType { /** @@ -896,7 +896,7 @@ export declare enum MaxCountType { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ TOTAL_MAX_COUNT = 0, @@ -905,7 +905,7 @@ export declare enum MaxCountType { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ PHOTO_MAX_COUNT = 1, @@ -914,7 +914,7 @@ export declare enum MaxCountType { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ VIDEO_MAX_COUNT = 2 } @@ -925,7 +925,7 @@ export declare enum MaxCountType { * @enum { number } PhotoBrowserRange * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare enum PhotoBrowserRange { /** @@ -933,7 +933,7 @@ export declare enum PhotoBrowserRange { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ ALL = 0, @@ -942,7 +942,7 @@ export declare enum PhotoBrowserRange { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ SELECTED_ONLY = 1, } @@ -953,7 +953,7 @@ export declare enum PhotoBrowserRange { * @enum { number } PhotoBrowserUIElement * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ export declare enum PhotoBrowserUIElement { /** @@ -961,7 +961,7 @@ export declare enum PhotoBrowserUIElement { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ CHECKBOX = 0, @@ -970,7 +970,7 @@ export declare enum PhotoBrowserUIElement { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ BACK_BUTTON = 1 } @@ -981,7 +981,7 @@ export declare enum PhotoBrowserUIElement { * @enum { number } SaveMode * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 15 + * @since 15 dynamic */ export declare enum SaveMode { /** @@ -989,7 +989,7 @@ export declare enum SaveMode { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 15 + * @since 15 dynamic */ SAVE_AS = 0, @@ -998,7 +998,7 @@ export declare enum SaveMode { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 15 + * @since 15 dynamic */ OVERWRITE = 1 } @@ -1009,7 +1009,7 @@ export declare enum SaveMode { * @enum { number } VideoPlayerState * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamic */ export declare enum VideoPlayerState { /** @@ -1017,7 +1017,7 @@ export declare enum VideoPlayerState { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamic */ PLAYING = 0, @@ -1026,7 +1026,7 @@ export declare enum VideoPlayerState { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamic */ PAUSED = 1, @@ -1035,7 +1035,7 @@ export declare enum VideoPlayerState { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamic */ STOPPED = 2, @@ -1044,7 +1044,7 @@ export declare enum VideoPlayerState { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamic */ SEEK_START = 3, @@ -1053,7 +1053,7 @@ export declare enum VideoPlayerState { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamic */ SEEK_FINISH = 4 } @@ -1064,7 +1064,7 @@ export declare enum VideoPlayerState { * @enum { number } Grid item display aspect ratio. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ export declare enum ItemDisplayRatio { /** @@ -1072,7 +1072,7 @@ export declare enum ItemDisplayRatio { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ SQUARE_RATIO = 0, @@ -1081,7 +1081,7 @@ export declare enum ItemDisplayRatio { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ ORIGINAL_SIZE_RATIO = 1 } \ No newline at end of file diff --git a/api/@ohos.file.RecentPhotoComponent.d.ets b/api/@ohos.file.RecentPhotoComponent.d.ets index 32a27a1dac..7c6932a91d 100644 --- a/api/@ohos.file.RecentPhotoComponent.d.ets +++ b/api/@ohos.file.RecentPhotoComponent.d.ets @@ -26,7 +26,7 @@ import { BaseItemInfo, PickerColorMode } from '@ohos.file.PhotoPickerComponent'; * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ @Component export declare struct RecentPhotoComponent { @@ -36,7 +36,7 @@ export declare struct RecentPhotoComponent { * @type { ?recentPhotoOptions } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ recentPhotoOptions?: RecentPhotoOptions; @@ -46,7 +46,7 @@ export declare struct RecentPhotoComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ onRecentPhotoCheckResult?: RecentPhotoCheckResultCallback; @@ -56,7 +56,7 @@ export declare struct RecentPhotoComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ onRecentPhotoClick: RecentPhotoClickCallback; @@ -66,7 +66,7 @@ export declare struct RecentPhotoComponent { * @type { ?function } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ onRecentPhotoCheckInfo?: RecentPhotoCheckInfoCallback; } @@ -78,7 +78,7 @@ export declare struct RecentPhotoComponent { * @param { boolean } recentPhotoExists - Does the recent photo exist? * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export type RecentPhotoCheckResultCallback = (recentPhotoExists: boolean) => void; @@ -89,7 +89,7 @@ export type RecentPhotoCheckResultCallback = (recentPhotoExists: boolean) => voi * @param { BaseItemInfo } recentPhotoInfo - The item information of recent photo * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export type RecentPhotoClickCallback = (recentPhotoInfo: BaseItemInfo) => boolean; @@ -101,7 +101,7 @@ export type RecentPhotoClickCallback = (recentPhotoInfo: BaseItemInfo) => boolea * @param { RecentPhotoInfo } info - the recent photo info * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ export type RecentPhotoCheckInfoCallback = (recentPhotoExists: boolean, info: RecentPhotoInfo) => void; @@ -110,7 +110,7 @@ export type RecentPhotoCheckInfoCallback = (recentPhotoExists: boolean, info: Re * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare class RecentPhotoOptions { /** @@ -119,7 +119,7 @@ export declare class RecentPhotoOptions { * @type { ?number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ period?: number; @@ -129,7 +129,7 @@ export declare class RecentPhotoOptions { * @type { ?photoAccessHelper.PhotoViewMIMETypes } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ MIMEType?: photoAccessHelper.PhotoViewMIMETypes; @@ -139,7 +139,7 @@ export declare class RecentPhotoOptions { * @type { ?PhotoSource } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ photoSource?: PhotoSource; @@ -149,8 +149,7 @@ export declare class RecentPhotoOptions { * @type { ?boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ isAutoRefreshSupported?: boolean; @@ -160,8 +159,7 @@ export declare class RecentPhotoOptions { * @type { ?PickerColorMode } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ colorMode?: PickerColorMode; } @@ -171,7 +169,7 @@ export declare class RecentPhotoOptions { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ export declare class RecentPhotoInfo { /** @@ -180,7 +178,7 @@ export declare class RecentPhotoInfo { * @type { ?number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ dateTaken?: number; @@ -190,7 +188,7 @@ export declare class RecentPhotoInfo { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ identifier?: string; } @@ -201,7 +199,7 @@ export declare class RecentPhotoInfo { * @enum { number } PhotoSource * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ export declare enum PhotoSource { /** @@ -209,7 +207,7 @@ export declare enum PhotoSource { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ ALL = 0, @@ -218,7 +216,7 @@ export declare enum PhotoSource { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ CAMERA = 1, @@ -227,7 +225,7 @@ export declare enum PhotoSource { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ SCREENSHOT = 2 } \ No newline at end of file diff --git a/api/@ohos.file.backup.d.ts b/api/@ohos.file.backup.d.ts index 723db6e50a..4ccad048e0 100644 --- a/api/@ohos.file.backup.d.ts +++ b/api/@ohos.file.backup.d.ts @@ -26,7 +26,7 @@ import type { AsyncCallback, Callback } from './@ohos.base'; * @namespace backup * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ declare namespace backup { /** @@ -35,7 +35,7 @@ declare namespace backup { * @interface FileMeta * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ interface FileMeta { /** @@ -44,7 +44,7 @@ declare namespace backup { * @type { string } * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ bundleName: string; @@ -54,7 +54,7 @@ declare namespace backup { * @type { string } * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ uri: string; } @@ -65,7 +65,7 @@ declare namespace backup { * @interface FileData * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ interface FileData { /** @@ -74,7 +74,7 @@ declare namespace backup { * @type { number } * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ fd: number; } @@ -85,7 +85,7 @@ declare namespace backup { * @interface IncrementalBackupTime * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ interface IncrementalBackupTime { /** @@ -94,7 +94,7 @@ declare namespace backup { * @type { string } * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ bundleName: string; @@ -104,7 +104,7 @@ declare namespace backup { * @type { number } * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ lastIncrementalTime: number; } @@ -115,7 +115,7 @@ declare namespace backup { * @interface FileManifestData * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ interface FileManifestData { /** @@ -124,7 +124,7 @@ declare namespace backup { * @type { number } * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ manifestFd: number; } @@ -135,7 +135,7 @@ declare namespace backup { * @interface BackupParams * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ interface BackupParams { /** @@ -144,7 +144,7 @@ declare namespace backup { * @type { ?string } * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ parameters?: string; } @@ -155,7 +155,7 @@ declare namespace backup { * @interface BackupPriority * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ interface BackupPriority { /** @@ -164,7 +164,7 @@ declare namespace backup { * @type { ?number } * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ priority?: number; } @@ -176,7 +176,7 @@ declare namespace backup { * @interface IncrementalBackupData * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ interface IncrementalBackupData extends IncrementalBackupTime, FileManifestData, BackupParams, BackupPriority {} @@ -198,7 +198,7 @@ declare namespace backup { * @interface File * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ interface File extends FileMeta, FileData, FileManifestData {} @@ -211,7 +211,7 @@ declare namespace backup { * @throws { BusinessError } 202 - Permission verification failed, application which is not a system application uses system API. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 18 + * @since 18 dynamic */ function getBackupVersion(): string; @@ -228,7 +228,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ function getLocalCapabilities(): Promise; @@ -245,7 +245,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ function getLocalCapabilities(callback: AsyncCallback): void; @@ -267,7 +267,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ function getLocalCapabilities(dataList: Array): Promise; @@ -283,7 +283,7 @@ declare namespace backup { *
2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ function getBackupInfo(bundleToBackup: string): string; @@ -300,7 +300,7 @@ declare namespace backup { *
2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ function updateTimer(bundleName: string, timeout: number): boolean; @@ -317,7 +317,7 @@ declare namespace backup { *
2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ function updateSendRate(bundleName: string, sendRate: number): boolean; @@ -328,7 +328,7 @@ declare namespace backup { * @param {string} reportInfo -the scanned backup datasize infos. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 18 + * @since 18 dynamic */ type OnBackupSizeReport = (reportInfo: string) => void; @@ -339,7 +339,7 @@ declare namespace backup { * @interface GeneralCallbacks * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ interface GeneralCallbacks { /** @@ -356,7 +356,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ onFileReady: AsyncCallback; @@ -392,7 +392,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ onBundleBegin: AsyncCallback; @@ -428,7 +428,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ onBundleEnd: AsyncCallback; @@ -444,7 +444,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ onAllBundlesEnd: AsyncCallback; @@ -454,7 +454,7 @@ declare namespace backup { * @type { Callback } * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ onBackupServiceDied: Callback; @@ -475,7 +475,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ onResultReport(bundleName: string, result: string); @@ -498,7 +498,7 @@ declare namespace backup { * @throws { BusinessError } 13900025 - No space left on device * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ onProcess(bundleName: string, process: string); @@ -509,7 +509,7 @@ declare namespace backup { * @type {OnBackupSizeReport}. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 18 + * @since 18 dynamic */ onBackupSizeReport?: OnBackupSizeReport; } @@ -519,7 +519,7 @@ declare namespace backup { * * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ class SessionBackup { /** @@ -529,7 +529,7 @@ declare namespace backup { * @param { GeneralCallbacks } callbacks Callbacks to be registered for the backup. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ constructor(callbacks: GeneralCallbacks); @@ -547,7 +547,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Internal error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 18 + * @since 18 dynamic */ getLocalCapabilities(): Promise; @@ -568,7 +568,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Internal error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 18 + * @since 18 dynamic */ getBackupDataSize(isPreciseScan: boolean, dataList: Array): Promise; @@ -605,7 +605,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ appendBundles(bundlesToBackup: string[], infos?: string[]): Promise; @@ -624,7 +624,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ appendBundles(bundlesToBackup: string[], callback: AsyncCallback): void; @@ -643,7 +643,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ release(): Promise; @@ -659,7 +659,7 @@ declare namespace backup { *
2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 18 + * @since 18 dynamic */ cancel(bundleName: string): number; @@ -674,7 +674,7 @@ declare namespace backup { *
2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 20 + * @since 20 dynamic */ cleanBundleTempDir(bundleName: string): Promise; } @@ -684,7 +684,7 @@ declare namespace backup { * * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ class SessionRestore { /** @@ -694,7 +694,7 @@ declare namespace backup { * @param { GeneralCallbacks } callbacks Callbacks to be registered for the restore. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ constructor(callbacks: GeneralCallbacks); @@ -712,7 +712,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Internal error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 18 + * @since 18 dynamic */ getLocalCapabilities(): Promise; @@ -753,7 +753,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ appendBundles(remoteCapabilitiesFd: number, bundlesToBackup: string[], infos?: string[]): Promise; @@ -774,7 +774,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ appendBundles(remoteCapabilitiesFd: number, bundlesToBackup: string[], callback: AsyncCallback): void; @@ -792,7 +792,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ publishFile(fileMeta: FileMeta): Promise; @@ -810,7 +810,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ publishFile(fileMeta: FileMeta, callback: AsyncCallback): void; @@ -829,7 +829,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ getFileHandle(fileMeta: FileMeta): Promise; @@ -848,7 +848,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 10 + * @since 10 dynamic */ getFileHandle(fileMeta: FileMeta, callback: AsyncCallback): void; @@ -867,7 +867,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ release(): Promise; @@ -883,7 +883,7 @@ declare namespace backup { *
2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 18 + * @since 18 dynamic */ cancel(bundleName: string): number; @@ -898,7 +898,7 @@ declare namespace backup { *
2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 20 + * @since 20 dynamic */ cleanBundleTempDir(bundleName: string): Promise; } @@ -908,7 +908,7 @@ declare namespace backup { * * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ class IncrementalBackupSession { /** @@ -922,7 +922,7 @@ declare namespace backup { *
2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ constructor(callbacks: GeneralCallbacks); @@ -940,7 +940,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Internal error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 18 + * @since 18 dynamic */ getLocalCapabilities(): Promise; @@ -961,7 +961,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Internal error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 18 + * @since 18 dynamic */ getBackupDataSize(isPreciseScan: boolean, dataList: Array): Promise; @@ -983,7 +983,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ appendBundles(bundlesToBackup: Array): Promise; @@ -1006,7 +1006,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ appendBundles(bundlesToAppend: Array, infos: string[]): Promise; @@ -1025,7 +1025,7 @@ declare namespace backup { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 12 + * @since 12 dynamic */ release(): Promise; @@ -1041,7 +1041,7 @@ declare namespace backup { *
2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 18 + * @since 18 dynamic */ cancel(bundleName: string): number; @@ -1056,7 +1056,7 @@ declare namespace backup { *
2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.FileManagement.StorageService.Backup * @systemapi - * @since 20 + * @since 20 dynamic */ cleanBundleTempDir(bundleName: string): Promise; } diff --git a/api/@ohos.file.cloudSync.d.ts b/api/@ohos.file.cloudSync.d.ts index 04e7c17c0f..84cb2d2ab0 100644 --- a/api/@ohos.file.cloudSync.d.ts +++ b/api/@ohos.file.cloudSync.d.ts @@ -25,8 +25,8 @@ import type { AsyncCallback, Callback } from './@ohos.base'; * * @namespace cloudSync * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace cloudSync { /** @@ -34,56 +34,56 @@ declare namespace cloudSync { * * @enum { int } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum SyncState { /** * Indicates that the sync state is uploading. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UPLOADING = 0, /** * Indicates that the sync failed in upload processing. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UPLOAD_FAILED = 1, /** * Indicates that the sync state is downloading. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DOWNLOADING = 2, /** * Indicates that the sync failed in download processing. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DOWNLOAD_FAILED = 3, /** * Indicates that the sync finish. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMPLETED = 4, /** * Indicates that the sync has been stopped. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STOPPED = 5, } @@ -93,72 +93,72 @@ declare namespace cloudSync { * * @enum { int } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum ErrorType { /** * No error occurred. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NO_ERROR = 0, /** * Synchronization aborted due to network unavailable. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NETWORK_UNAVAILABLE = 1, /** * Synchronization aborted due to wifi unavailable. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WIFI_UNAVAILABLE = 2, /** * Synchronization aborted due to low capacity level. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BATTERY_LEVEL_LOW = 3, /** * Synchronization aborted due to warning low capacity level. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BATTERY_LEVEL_WARNING = 4, /** * Synchronization aborted due to cloud storage is full. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CLOUD_STORAGE_FULL = 5, /** * Synchronization aborted due to local storage is full. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOCAL_STORAGE_FULL = 6, /** * Synchronization aborted due to device temperature is too high. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_TEMPERATURE_TOO_HIGH = 7, @@ -169,8 +169,8 @@ declare namespace cloudSync { * * @interface SyncProgress * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface SyncProgress { /** @@ -178,8 +178,8 @@ declare namespace cloudSync { * * @type { SyncState } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ state: SyncState; /** @@ -187,8 +187,8 @@ declare namespace cloudSync { * * @type { ErrorType } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ error: ErrorType; } @@ -198,8 +198,8 @@ declare namespace cloudSync { * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ class GallerySync { /** @@ -207,8 +207,8 @@ declare namespace cloudSync { * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ constructor(); /** @@ -224,8 +224,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13600001 - IPC error * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(evt: 'progress', callback: (pg: SyncProgress) => void): void; /** @@ -241,8 +241,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13600001 - IPC error * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(evt: 'progress', callback: (pg: SyncProgress) => void): void; /** @@ -257,8 +257,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13600001 - IPC error * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(evt: 'progress'): void; /** @@ -274,8 +274,8 @@ declare namespace cloudSync { * @throws { BusinessError } 22400003 - Low battery level. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ start(): Promise; /** @@ -292,8 +292,8 @@ declare namespace cloudSync { * @throws { BusinessError } 22400003 - Low battery level. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ start(callback: AsyncCallback): void; /** @@ -306,8 +306,8 @@ declare namespace cloudSync { * @throws { BusinessError } 401 - The input parameter is invalid.Possible causes:Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ stop(): Promise; /** @@ -321,8 +321,8 @@ declare namespace cloudSync { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ stop(callback: AsyncCallback): void; } @@ -332,40 +332,40 @@ declare namespace cloudSync { * * @enum { int } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum State { /** * Indicates that the download task in process now. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ RUNNING = 0, /** * Indicates that the download task finished. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COMPLETED = 1, /** * Indicates that the download task failed. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FAILED = 2, /** * Indicates that the download task stopped. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ STOPPED = 3, } @@ -375,56 +375,56 @@ declare namespace cloudSync { * * @enum { int } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum DownloadErrorType { /** * No error occurred. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NO_ERROR = 0, /** * download aborted due to unknown error. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNKNOWN_ERROR = 1, /** * download aborted due to network unavailable. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NETWORK_UNAVAILABLE = 2, /** * download aborted due to local storage is full. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ LOCAL_STORAGE_FULL = 3, /** * download aborted due to content is not found in the cloud. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CONTENT_NOT_FOUND = 4, /** * download aborted due to frequent user requests. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FREQUENT_USER_REQUESTS = 5, } @@ -434,8 +434,8 @@ declare namespace cloudSync { * * @interface DownloadProgress * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface DownloadProgress { /** @@ -443,8 +443,8 @@ declare namespace cloudSync { * * @type { State } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ state: State; /** @@ -452,8 +452,8 @@ declare namespace cloudSync { * * @type { long } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ processed: long; /** @@ -461,8 +461,8 @@ declare namespace cloudSync { * * @type { long } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ size: long; /** @@ -470,8 +470,8 @@ declare namespace cloudSync { * * @type { string } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ uri: string; /** @@ -479,8 +479,8 @@ declare namespace cloudSync { * * @type { DownloadErrorType } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ error: DownloadErrorType; } @@ -490,8 +490,8 @@ declare namespace cloudSync { * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ class Download { /** @@ -499,8 +499,8 @@ declare namespace cloudSync { * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ constructor(); /** @@ -516,8 +516,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13600001 - IPC error * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(evt: 'progress', callback: (pg: DownloadProgress) => void): void; /** @@ -533,8 +533,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13600001 - IPC error * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(evt: 'progress', callback: (pg: DownloadProgress) => void): void; /** @@ -549,8 +549,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13600001 - IPC error * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(evt: 'progress'): void; /** @@ -567,8 +567,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13900025 - No space left on device. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ start(uri: string): Promise; /** @@ -585,8 +585,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13900025 - No space left on device. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ start(uri: string, callback: AsyncCallback): void; /** @@ -601,8 +601,8 @@ declare namespace cloudSync { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ stop(uri: string): Promise; /** @@ -617,8 +617,8 @@ declare namespace cloudSync { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ stop(uri: string, callback: AsyncCallback): void; } @@ -627,8 +627,8 @@ declare namespace cloudSync { * FileSync object. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class FileSync { /** @@ -636,8 +636,8 @@ declare namespace cloudSync { * * @throws { BusinessError } 401 - The input parameter is invalid.Possible causes:Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(); /** @@ -649,8 +649,8 @@ declare namespace cloudSync { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(bundleName: string); /** @@ -662,8 +662,8 @@ declare namespace cloudSync { *
2.Incorrect parameter types. * @throws { BusinessError } 13600001 - IPC error * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(event: 'progress', callback: Callback): void; /** @@ -674,8 +674,8 @@ declare namespace cloudSync { * @throws { BusinessError } 401 - The input parameter is invalid.Possible causes:1.Mandatory parameters are left unspecified;2.Incorrect parameter types. * @throws { BusinessError } 13600001 - IPC error * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(event: 'progress', callback?: Callback): void; /** @@ -688,8 +688,8 @@ declare namespace cloudSync { * @throws { BusinessError } 22400002 - Network unavailable. * @throws { BusinessError } 22400003 - Low battery level. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ start(): Promise; /** @@ -702,8 +702,8 @@ declare namespace cloudSync { * @throws { BusinessError } 22400002 - Network unavailable. * @throws { BusinessError } 22400003 - Low battery level. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ start(callback: AsyncCallback): void; /** @@ -713,8 +713,8 @@ declare namespace cloudSync { * @throws { BusinessError } 401 - The input parameter is invalid.Possible causes:Incorrect parameter types. * @throws { BusinessError } 13600001 - IPC error. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stop(): Promise; /** @@ -725,8 +725,8 @@ declare namespace cloudSync { *
2.Incorrect parameter types. * @throws { BusinessError } 13600001 - IPC error. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stop(callback: AsyncCallback): void; /** @@ -736,8 +736,8 @@ declare namespace cloudSync { * @throws { BusinessError } 401 - The input parameter is invalid.Possible causes:Incorrect parameter types. * @throws { BusinessError } 13600001 - IPC error. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getLastSyncTime(): Promise; /** @@ -748,8 +748,8 @@ declare namespace cloudSync { *
2.Incorrect parameter types. * @throws { BusinessError } 13600001 - IPC error. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getLastSyncTime(callback: AsyncCallback): void; } @@ -757,8 +757,8 @@ declare namespace cloudSync { * CloudFileCache object. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class CloudFileCache { /** @@ -766,8 +766,8 @@ declare namespace cloudSync { * * @throws { BusinessError } 401 - The input parameter is invalid.Possible causes:Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(); /** @@ -779,8 +779,8 @@ declare namespace cloudSync { *
2.Incorrect parameter types. * @throws { BusinessError } 13600001 - IPC error * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(event: 'progress', callback: Callback): void; /** @@ -792,8 +792,8 @@ declare namespace cloudSync { *
2.Incorrect parameter types. * @throws { BusinessError } 13600001 - IPC error * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(event: 'progress', callback?: Callback): void; @@ -809,8 +809,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13900025 - No space left on device. * @throws { BusinessError } 14000002 - Invalid URI. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ start(uri: string): Promise; /** @@ -825,8 +825,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13900025 - No space left on device. * @throws { BusinessError } 14000002 - Invalid URI. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ start(uri: string, callback: AsyncCallback): void; /** @@ -854,8 +854,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13900002 - No such file or directory. * @throws { BusinessError } 14000002 - Invalid URI. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stop(uri: string, needClean?: boolean): Promise; /** @@ -869,8 +869,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13900002 - No such file or directory. * @throws { BusinessError } 14000002 - Invalid URI. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ stop(uri: string, callback: AsyncCallback): void; /** @@ -887,8 +887,8 @@ declare namespace cloudSync { * @throws { BusinessError } 14000002 - Invalid URI. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ cleanCache(uri: string): void; } @@ -899,8 +899,8 @@ declare namespace cloudSync { * @enum { int } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum FileSyncState { /** @@ -908,8 +908,8 @@ declare namespace cloudSync { * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UPLOADING = 0, /** @@ -917,8 +917,8 @@ declare namespace cloudSync { * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DOWNLOADING = 1, /** @@ -926,8 +926,8 @@ declare namespace cloudSync { * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COMPLETED = 2, /** @@ -935,8 +935,8 @@ declare namespace cloudSync { * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ STOPPED = 3, /** @@ -944,8 +944,8 @@ declare namespace cloudSync { * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TO_BE_UPLOADED = 4, /** @@ -953,8 +953,8 @@ declare namespace cloudSync { * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UPLOAD_SUCCESS = 5, /** @@ -962,8 +962,8 @@ declare namespace cloudSync { * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UPLOAD_FAILURE = 6, } @@ -983,8 +983,8 @@ declare namespace cloudSync { * @throws { BusinessError } 14000002 - Invalid URI. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getFileSyncState(uri: Array): Promise>; /** @@ -1002,8 +1002,8 @@ declare namespace cloudSync { * @throws { BusinessError } 14000002 - Invalid URI. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getFileSyncState(uri: Array, callback: AsyncCallback>): void; /** @@ -1023,8 +1023,8 @@ declare namespace cloudSync { * @throws { BusinessError } 14000002 - Invalid URI. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getFileSyncState(uri: string): FileSyncState; /** @@ -1040,8 +1040,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13900012 - Permission denied * @throws { BusinessError } 14000002 - Invalid URI. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function registerChange(uri: string, recursion: boolean, callback: Callback): void; /** @@ -1055,8 +1055,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13900012 - Permission denied * @throws { BusinessError } 14000002 - Invalid URI. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function unregisterChange(uri: string): void; @@ -1065,40 +1065,40 @@ declare namespace cloudSync { * * @enum { int } NotifyType * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum NotifyType { /** * File has been newly created * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFY_ADDED = 0, /** * File has been modified. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFY_MODIFIED = 1, /** * File has been deleted. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFY_DELETED = 2, /** * File has been renamed or moved. * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFY_RENAMED = 3, } @@ -1108,8 +1108,8 @@ declare namespace cloudSync { * * @interface ChangeData * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ChangeData { /** @@ -1117,8 +1117,8 @@ declare namespace cloudSync { * * @type {NotifyType} * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type: NotifyType; /** @@ -1126,8 +1126,8 @@ declare namespace cloudSync { * * @type {Array} * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isDirectory: Array; /** @@ -1135,8 +1135,8 @@ declare namespace cloudSync { * * @type {Array} * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ uris: Array; } @@ -1153,8 +1153,8 @@ declare namespace cloudSync { * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ function optimizeStorage(): Promise; @@ -1173,8 +1173,8 @@ declare namespace cloudSync { * @throws { BusinessError } 22400006 - The same task is already in progress. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ function startOptimizeSpace(optimizePara: OptimizeSpaceParam, callback?: Callback): Promise; @@ -1188,8 +1188,8 @@ declare namespace cloudSync { * @throws { BusinessError } 22400005 - Inner error. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ function stopOptimizeSpace(): void; @@ -1198,8 +1198,8 @@ declare namespace cloudSync { * @enum { int } OptimizeState * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ enum OptimizeState { @@ -1207,8 +1207,8 @@ declare namespace cloudSync { * Indicates that the optimize space task in process now. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ RUNNING = 0, @@ -1216,8 +1216,8 @@ declare namespace cloudSync { * Indicates that the optimize space task finished successfully. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ COMPLETED = 1, @@ -1225,8 +1225,8 @@ declare namespace cloudSync { * Indicates that the optimize space task failed. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ FAILED = 2, @@ -1234,8 +1234,8 @@ declare namespace cloudSync { * Indicates that the optimize space task stopped. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ STOPPED = 3 } @@ -1245,8 +1245,8 @@ declare namespace cloudSync { * @typedef OptimizeSpaceProgress * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ interface OptimizeSpaceProgress { @@ -1256,8 +1256,8 @@ declare namespace cloudSync { * @type { OptimizeState } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ state: OptimizeState; @@ -1267,8 +1267,8 @@ declare namespace cloudSync { * @type { int } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ progress: int; } @@ -1278,8 +1278,8 @@ declare namespace cloudSync { * @typedef OptimizeSpaceParam * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ interface OptimizeSpaceParam { @@ -1289,8 +1289,8 @@ declare namespace cloudSync { * @type { long } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ totalSize: long; @@ -1300,8 +1300,8 @@ declare namespace cloudSync { * @type { int } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core * @systemapi - * @since arkts{ '1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ agingDays: int; } @@ -1310,56 +1310,49 @@ declare namespace cloudSync { * Defines the HistoryVersion data structure. * @typedef HistoryVersion * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface HistoryVersion { /** * The time when the content of this version file is edited. * @type { number } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ editedTime: number; /** * The size of this history version file. * @type { number } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ fileSize: number; /** * The version ID of this version. * @type { string } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ versionId: string; /** * The original file name used to create this version. * @type { string } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ originalFileName: string; /** * The Sha256 check value of this version file. * @type { string } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ sha256: string; /** * Indicates whether this version automatically resolves the conflict. * @type { boolean } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ autoResolved: boolean; } @@ -1368,32 +1361,28 @@ declare namespace cloudSync { * Defines the VersionDownloadProgress data structure. * @typedef VersionDownloadProgress * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface VersionDownloadProgress { /** * The current download task state. * @type { State } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ state: State; /** * The percentage of downloaded files. * @type { number } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ progress: number; /** * The error type of download. * @type { DownloadErrorType } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ errType: DownloadErrorType; } @@ -1401,8 +1390,7 @@ declare namespace cloudSync { /** * FileVersion object. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ class FileVersion { /** @@ -1412,8 +1400,7 @@ declare namespace cloudSync { *
1.Failed to access the database or execute the SQL statement. *
2.System error, such as a null pointer, insufficient memory or a JS engine exception. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ constructor(); /** @@ -1435,8 +1422,7 @@ declare namespace cloudSync { *
1.Failed to access the database or execute the SQL statement. *
2.System error, such as a null pointer, insufficient memory or a JS engine exception. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getHistoryVersionList(uri: string, versionNumLimit: number): Promise>; /** @@ -1459,8 +1445,7 @@ declare namespace cloudSync { *
1.Failed to access the database or execute the SQL statement. *
2.System error, such as a null pointer, insufficient memory or a JS engine exception. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ downloadHistoryVersion(uri: string, versionId: string, callback: Callback): Promise; /** @@ -1484,8 +1469,7 @@ declare namespace cloudSync { *
2.System error, such as a null pointer, insufficient memory or a JS engine exception. * @throws { BusinessError } 22400007 - The version file specified to replace the original file does not exist. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ replaceFileWithHistoryVersion(originalUri: string, versionUri: string): Promise; /** @@ -1505,8 +1489,7 @@ declare namespace cloudSync { *
1.Failed to access the database or execute the SQL statement. *
2.System error, such as a null pointer, insufficient memory or a JS engine exception. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ isFileConflict(uri: string): Promise; /** @@ -1526,8 +1509,7 @@ declare namespace cloudSync { *
1.Failed to access the database or execute the SQL statement. *
2.System error, such as a null pointer, insufficient memory or a JS engine exception. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ clearFileConflict(uri: string): Promise; } diff --git a/api/@ohos.file.cloudSyncManager.d.ts b/api/@ohos.file.cloudSyncManager.d.ts index 16db44010c..d6e91235cd 100644 --- a/api/@ohos.file.cloudSyncManager.d.ts +++ b/api/@ohos.file.cloudSyncManager.d.ts @@ -25,8 +25,8 @@ import type { AsyncCallback, Callback } from './@ohos.base'; * * @namespace cloudSyncManager * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare namespace cloudSyncManager { /** @@ -42,8 +42,8 @@ declare namespace cloudSyncManager { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function changeAppCloudSwitch(accountId: string, bundleName: string, status: boolean): Promise; @@ -60,8 +60,8 @@ declare namespace cloudSyncManager { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function changeAppCloudSwitch( accountId: string, @@ -82,8 +82,8 @@ declare namespace cloudSyncManager { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function notifyDataChange(accountId: string, bundleName: string): Promise; @@ -99,8 +99,8 @@ declare namespace cloudSyncManager { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function notifyDataChange(accountId: string, bundleName: string, callback: AsyncCallback): void; @@ -117,8 +117,8 @@ declare namespace cloudSyncManager { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function enableCloud(accountId: string, switches: Record): Promise; @@ -135,8 +135,8 @@ declare namespace cloudSyncManager { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function enableCloud(accountId: string, switches: Record, callback: AsyncCallback): void; @@ -152,8 +152,8 @@ declare namespace cloudSyncManager { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function disableCloud(accountId: string): Promise; @@ -169,8 +169,8 @@ declare namespace cloudSyncManager { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function disableCloud(accountId: string, callback: AsyncCallback): void; @@ -180,8 +180,8 @@ declare namespace cloudSyncManager { * @enum { int } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum Action { /** @@ -189,8 +189,8 @@ declare namespace cloudSyncManager { * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ RETAIN_DATA, @@ -199,8 +199,8 @@ declare namespace cloudSyncManager { * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CLEAR_DATA } @@ -218,8 +218,8 @@ declare namespace cloudSyncManager { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function clean(accountId: string, appActions: Record): Promise; @@ -236,8 +236,8 @@ declare namespace cloudSyncManager { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function clean(accountId: string, appActions: Record, callback: AsyncCallback): void; @@ -255,8 +255,8 @@ declare namespace cloudSyncManager { * @throws { BusinessError } 13600001 - IPC error. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function notifyDataChange(userId: int, extraData: ExtraData): Promise; @@ -274,8 +274,8 @@ declare namespace cloudSyncManager { * @throws { BusinessError } 13600001 - IPC error. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function notifyDataChange(userId: int, extraData: ExtraData, callback: AsyncCallback): void; @@ -285,8 +285,8 @@ declare namespace cloudSyncManager { * @interface ExtraData * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface ExtraData { /** @@ -295,8 +295,8 @@ declare namespace cloudSyncManager { * @type { string } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ eventId: string; /** @@ -305,8 +305,8 @@ declare namespace cloudSyncManager { * @type { string } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since arkts{ '1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ extraData: string; } @@ -315,64 +315,56 @@ declare namespace cloudSyncManager { * Describes the reason why the download task stop. * @enum { number } DownloadStopReason * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum DownloadStopReason { /** * download task is not stopped. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ NO_STOP = 0, /** * Network is unavailable. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ NETWORK_UNAVAILABLE = 1, /** * The local storage space is full. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ LOCAL_STORAGE_FULL = 2, /** * Temperature control Limits. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ TEMPERATURE_LIMIT = 3, /** * User stopped the download task. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ USER_STOPPED = 4, /** * The local application has been unloaded. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ APP_UNLOAD = 5, /** * Other reasons of some internal error. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ OTHER_REASON = 6 } @@ -381,32 +373,28 @@ declare namespace cloudSyncManager { * Describes the state type of downgrade download. * @enum { number } DownloadState * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum DownloadState { /** * Indicates that the download task in process now. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ RUNNING = 0, /** * Indicates that the download task finished. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ COMPLETED = 1, /** * Indicates that the download task stopped. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ STOPPED = 2 } @@ -415,8 +403,7 @@ declare namespace cloudSyncManager { * Defines the CloudFileInfo data structure. * @typedef CloudFileInfo * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface CloudFileInfo { @@ -424,8 +411,7 @@ declare namespace cloudSyncManager { * Total number of files located in the cloud. * @type { number } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ cloudFileCount: number; @@ -433,8 +419,7 @@ declare namespace cloudSyncManager { * Total size of files located in the cloud, in units of bytes. * @type { number } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ cloudFileTotalSize: number; @@ -442,8 +427,7 @@ declare namespace cloudSyncManager { * Total number of files located locally. * @type { number } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ localFileCount: number; @@ -451,8 +435,7 @@ declare namespace cloudSyncManager { * Total size of files located locally, in units of bytes. * @type { number } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ localFileTotalSize: number; @@ -460,8 +443,7 @@ declare namespace cloudSyncManager { * Total number of files located both locally and in the cloud. * @type { number } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ bothFileCount: number; @@ -469,8 +451,7 @@ declare namespace cloudSyncManager { * Total size of files located both locally and in the cloud, in units of bytes. * @type { number } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ bothFileTotalSize: number; } @@ -478,8 +459,7 @@ declare namespace cloudSyncManager { /** * Defines DownloadProgress object. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ class DownloadProgress { @@ -487,8 +467,7 @@ declare namespace cloudSyncManager { * The current download task state. * @type { DownloadState } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ state: DownloadState; @@ -496,8 +475,7 @@ declare namespace cloudSyncManager { * The number of files that downloaded successfully * @type { number } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ successfulCount: number; @@ -505,8 +483,7 @@ declare namespace cloudSyncManager { * The number of files that fail to be downloaded. * @type { number } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ failedCount: number; @@ -514,8 +491,7 @@ declare namespace cloudSyncManager { * Total number of all files to be downloaded. * @type { number } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ totalCount: number; @@ -523,8 +499,7 @@ declare namespace cloudSyncManager { * Total size of downloaded files. * @type { number } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ downloadedSize: number; @@ -532,8 +507,7 @@ declare namespace cloudSyncManager { * Total size of all files to be downloaded. * @type { number } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ totalSize: number; @@ -541,8 +515,7 @@ declare namespace cloudSyncManager { * The reason for stopping the download task. * @type { DownloadStopReason } * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ stopReason: DownloadStopReason; } @@ -552,8 +525,7 @@ declare namespace cloudSyncManager { * * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ class DowngradeDownload { @@ -571,8 +543,7 @@ declare namespace cloudSyncManager { *
2.System error, such as a null pointer, insufficient memory or a JS engine exception. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ constructor(bundleName: string); @@ -591,8 +562,7 @@ declare namespace cloudSyncManager { *
2.System error, such as a null pointer, insufficient memory or a JS engine exception. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getCloudFileInfo(): Promise; @@ -615,8 +585,7 @@ declare namespace cloudSyncManager { * @throws { BusinessError } 22400006 - The same task is already in progress. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ startDownload(callback: Callback): Promise; @@ -634,8 +603,7 @@ declare namespace cloudSyncManager { *
2.System error, such as a null pointer, insufficient memory or a JS engine exception. * @syscap SystemCapability.FileManagement.DistributedFileService.CloudSyncManager * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ stopDownload(): Promise; } diff --git a/api/@ohos.file.environment.d.ts b/api/@ohos.file.environment.d.ts index cb5c78b0fd..4157bf77ba 100644 --- a/api/@ohos.file.environment.d.ts +++ b/api/@ohos.file.environment.d.ts @@ -25,8 +25,8 @@ import type { AsyncCallback } from './@ohos.base'; * * @namespace Environment * @syscap SystemCapability.FileManagement.File.Environment - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace Environment { /** @@ -38,8 +38,8 @@ declare namespace Environment { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.Environment * @systemapi - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getStorageDataDir(): Promise; @@ -52,8 +52,8 @@ declare namespace Environment { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.Environment * @systemapi - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getStorageDataDir(callback: AsyncCallback): void; @@ -66,8 +66,8 @@ declare namespace Environment { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.Environment * @systemapi - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getUserDataDir(): Promise; @@ -80,8 +80,8 @@ declare namespace Environment { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.Environment * @systemapi - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getUserDataDir(callback: AsyncCallback): void; @@ -103,8 +103,8 @@ declare namespace Environment { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.File.Environment.FolderObtain - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getUserDownloadDir(): string; @@ -126,8 +126,8 @@ declare namespace Environment { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.File.Environment.FolderObtain - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getUserDesktopDir(): string; @@ -149,8 +149,8 @@ declare namespace Environment { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.File.Environment.FolderObtain - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getUserDocumentDir(): string; @@ -165,8 +165,8 @@ declare namespace Environment { * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.File.Environment.FolderObtain * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getExternalStorageDir(): string; @@ -181,8 +181,8 @@ declare namespace Environment { * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.File.Environment.FolderObtain * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getUserHomeDir(): string; } diff --git a/api/@ohos.file.fileAccess.d.ts b/api/@ohos.file.fileAccess.d.ts index 4dce6a547d..4415d4c1e8 100644 --- a/api/@ohos.file.fileAccess.d.ts +++ b/api/@ohos.file.fileAccess.d.ts @@ -28,7 +28,7 @@ import { Filter } from './@ohos.file.fs'; * * @namespace fileAccess * @syscap SystemCapability.FileManagement.UserFileService - * @since 9 + * @since 9 dynamic */ declare namespace fileAccess { /** @@ -69,7 +69,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ function getFileAccessAbilityInfo(callback: AsyncCallback>): void; @@ -111,7 +111,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ function getFileAccessAbilityInfo(): Promise>; @@ -154,7 +154,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ function createFileAccessHelper(context: Context): FileAccessHelper; @@ -198,7 +198,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ function createFileAccessHelper(context: Context, wants: Array): FileAccessHelper; @@ -209,7 +209,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ interface FileInfo { /** @@ -220,7 +220,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ uri: string; /** @@ -231,7 +231,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ relativePath: string; /** @@ -242,7 +242,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ fileName: string; /** @@ -253,7 +253,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ mode: number; /** @@ -264,7 +264,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ size: number; /** @@ -275,7 +275,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ mtime: number; /** @@ -286,7 +286,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ mimeType: string; @@ -333,7 +333,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ listFile(filter?: Filter): FileIterator; @@ -380,7 +380,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ scanFile(filter?: Filter): FileIterator; } @@ -392,7 +392,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ interface FileIterator { /** @@ -437,7 +437,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ next(): { value: FileInfo, done: boolean }; } @@ -449,7 +449,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ interface RootInfo { /** @@ -458,7 +458,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ deviceType: number; /** @@ -467,7 +467,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ uri: string; /** @@ -478,7 +478,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ relativePath: string; /** @@ -487,7 +487,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ displayName: string; /** @@ -496,7 +496,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ deviceFlags: number; @@ -543,7 +543,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ listFile(filter?: Filter): FileIterator; @@ -590,7 +590,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ scanFile(filter?: Filter): FileIterator; } @@ -602,7 +602,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ interface RootIterator { /** @@ -647,7 +647,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ next(): { value: RootInfo, done: boolean }; } @@ -659,7 +659,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 10 + * @since 10 dynamic */ interface CopyResult { /** @@ -670,7 +670,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 10 + * @since 10 dynamic */ sourceUri: string; /** @@ -681,7 +681,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 10 + * @since 10 dynamic */ destUri: string; /** @@ -692,7 +692,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 10 + * @since 10 dynamic */ errCode: number; /** @@ -703,7 +703,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 10 + * @since 10 dynamic */ errMsg: string; } @@ -715,7 +715,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ enum OPENFLAGS { /** @@ -724,7 +724,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ READ = 0o0, @@ -734,7 +734,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ WRITE = 0o1, @@ -744,7 +744,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ WRITE_READ = 0o2 } @@ -756,7 +756,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ enum FileKey { /** @@ -765,7 +765,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ DISPLAY_NAME = 'display_name', @@ -775,7 +775,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ DATE_ADDED = 'date_added', @@ -785,7 +785,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ DATE_MODIFIED = 'date_modified', @@ -795,7 +795,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ RELATIVE_PATH = 'relative_path', @@ -805,7 +805,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ FILE_SIZE = 'size' } @@ -817,7 +817,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ enum NotifyType { /** @@ -826,7 +826,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ NOTIFY_ADD, @@ -836,7 +836,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ NOTIFY_DELETE, @@ -846,7 +846,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ NOTIFY_MOVED_TO, @@ -856,7 +856,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ NOTIFY_MOVED_FROM, @@ -866,7 +866,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ NOTIFY_MOVE_SELF, @@ -876,7 +876,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ NOTIFY_DEVICE_ONLINE, @@ -886,7 +886,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ NOTIFY_DEVICE_OFFLINE } @@ -898,7 +898,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ interface NotifyMessage { /** @@ -909,7 +909,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ type: NotifyType; @@ -921,7 +921,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ uris: Array; } @@ -933,7 +933,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ interface MoveResult { /** @@ -944,7 +944,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ sourceUri: string; @@ -956,7 +956,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ destUri: string; @@ -968,7 +968,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ errCode: number; @@ -980,7 +980,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ errMsg: string; } @@ -992,7 +992,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ const DEVICES_URI = 'file://docs'; @@ -1002,7 +1002,7 @@ declare namespace fileAccess { * @interface FileAccessHelper * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ interface FileAccessHelper { /** @@ -1048,7 +1048,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ openFile(uri: string, flags: OPENFLAGS): Promise; @@ -1095,7 +1095,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback): void; @@ -1142,7 +1142,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ createFile(uri: string, displayName: string): Promise; @@ -1189,7 +1189,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ createFile(uri: string, displayName: string, callback: AsyncCallback): void; @@ -1236,7 +1236,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ mkDir(parentUri: string, displayName: string): Promise; @@ -1283,7 +1283,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ mkDir(parentUri: string, displayName: string, callback: AsyncCallback): void; @@ -1329,7 +1329,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ delete(uri: string): Promise; @@ -1375,7 +1375,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ delete(uri: string, callback: AsyncCallback): void; @@ -1422,7 +1422,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ move(sourceFile: string, destFile: string): Promise; @@ -1469,7 +1469,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ move(sourceFile: string, destFile: string, callback: AsyncCallback): void; @@ -1483,7 +1483,7 @@ declare namespace fileAccess { * @returns { Promise> } Returns the file information where the error occurred. * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 10 + * @since 10 dynamic */ copy(sourceUri: string, destUri: string, force?: boolean): Promise>; @@ -1496,7 +1496,7 @@ declare namespace fileAccess { * @param { AsyncCallback> } callback - The callback is used to return the file information where the error occurred. * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 10 + * @since 10 dynamic */ copy(sourceUri: string, destUri: string, callback: AsyncCallback>): void; @@ -1510,7 +1510,7 @@ declare namespace fileAccess { * @param { AsyncCallback> } callback - The callback is used to return the file information where the error occurred. * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 10 + * @since 10 dynamic */ copy(sourceUri: string, destUri: string, force: boolean, callback: AsyncCallback>): void; @@ -1549,7 +1549,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ copyFile(sourceUri: string, destUri: string, fileName: string): Promise; @@ -1588,7 +1588,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ copyFile(sourceUri: string, destUri: string, fileName: string, callback: AsyncCallback): void; @@ -1635,7 +1635,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ rename(uri: string, displayName: string): Promise; @@ -1682,7 +1682,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ rename(uri: string, displayName: string, callback: AsyncCallback): void; @@ -1728,7 +1728,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ access(sourceFileUri: string): Promise; @@ -1774,7 +1774,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ access(sourceFileUri: string, callback: AsyncCallback): void; @@ -1787,7 +1787,7 @@ declare namespace fileAccess { * @returns { Promise } Returns the json string, includes query property and value. * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 10 + * @since 10 dynamic */ query(uri: string, metaJson: string): Promise; @@ -1800,7 +1800,7 @@ declare namespace fileAccess { * @param { AsyncCallback } callback - Returns the json string, includes query property and value. * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 10 + * @since 10 dynamic */ query(uri: string, metaJson: string, callback: AsyncCallback): void; @@ -1812,7 +1812,7 @@ declare namespace fileAccess { * @returns { Promise } Returns a FileInfo. * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 10 + * @since 10 dynamic */ getFileInfoFromUri(uri: string): Promise; @@ -1824,7 +1824,7 @@ declare namespace fileAccess { * @param { AsyncCallback } callback - The callback is used to return a fileinfo object. * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 10 + * @since 10 dynamic */ getFileInfoFromUri(uri: string, callback: AsyncCallback): void; @@ -1836,7 +1836,7 @@ declare namespace fileAccess { * @returns { Promise } Returns a FileInfo. * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 10 + * @since 10 dynamic */ getFileInfoFromRelativePath(relativePath: string): Promise; @@ -1848,7 +1848,7 @@ declare namespace fileAccess { * @param { AsyncCallback } callback - The callback is used to return a fileinfo object. * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 10 + * @since 10 dynamic */ getFileInfoFromRelativePath(relativePath: string, callback: AsyncCallback): void; @@ -1893,7 +1893,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ getRoots(): Promise; @@ -1938,7 +1938,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300004 - Get wrong result * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ getRoots(callback: AsyncCallback): void; @@ -1952,7 +1952,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300002 - Invalid uri * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 10 + * @since 10 dynamic */ registerObserver(uri: string, notifyForDescendants: boolean, callback: Callback): void; @@ -1965,7 +1965,7 @@ declare namespace fileAccess { * @throws { BusinessError } 14300002 - Invalid uri * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 10 + * @since 10 dynamic */ unregisterObserver(uri: string, callback?: Callback): void; @@ -2004,7 +2004,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ moveItem(sourceUri: string, destUri: string, force?: boolean): Promise>; @@ -2042,7 +2042,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ moveItem(sourceUri: string, destUri: string, callback: AsyncCallback>): void; @@ -2081,7 +2081,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ moveItem(sourceUri: string, destUri: string, force: boolean, callback: AsyncCallback>): void; @@ -2120,7 +2120,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ moveFile(sourceUri: string, destUri: string, fileName: string): Promise; @@ -2159,7 +2159,7 @@ declare namespace fileAccess { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 11 + * @since 11 dynamic */ moveFile(sourceUri: string, destUri: string, fileName: string, callback: AsyncCallback): void; } diff --git a/api/@ohos.file.fileExtensionInfo.d.ts b/api/@ohos.file.fileExtensionInfo.d.ts index 95474594a4..a9c98d17eb 100644 --- a/api/@ohos.file.fileExtensionInfo.d.ts +++ b/api/@ohos.file.fileExtensionInfo.d.ts @@ -24,7 +24,7 @@ * @namespace fileExtensionInfo * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 9 + * @since 9 dynamic */ declare namespace fileExtensionInfo { /** @@ -34,7 +34,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ enum DeviceType { /** @@ -43,7 +43,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ DEVICE_LOCAL_DISK = 1, @@ -53,7 +53,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ DEVICE_SHARED_DISK, @@ -63,7 +63,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ DEVICE_SHARED_TERMINAL, @@ -73,7 +73,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ DEVICE_NETWORK_NEIGHBORHOODS, @@ -83,7 +83,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ DEVICE_EXTERNAL_MTP, @@ -93,7 +93,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ DEVICE_EXTERNAL_USB, @@ -103,7 +103,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ DEVICE_EXTERNAL_CLOUD } @@ -115,7 +115,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ namespace DeviceFlag { /** @@ -125,7 +125,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ const SUPPORTS_READ = 0b1; @@ -136,7 +136,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ const SUPPORTS_WRITE = 0b10; } @@ -148,7 +148,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ namespace DocumentFlag { /** @@ -158,7 +158,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ const REPRESENTS_FILE = 0b1; @@ -169,7 +169,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ const REPRESENTS_DIR = 0b10; @@ -180,7 +180,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ const SUPPORTS_READ = 0b100; @@ -191,7 +191,7 @@ declare namespace fileExtensionInfo { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @stagemodelonly - * @since 9 + * @since 9 dynamic */ const SUPPORTS_WRITE = 0b1000; } diff --git a/api/@ohos.file.fileuri.d.ts b/api/@ohos.file.fileuri.d.ts index 462c9c3d1d..4af4ee9780 100644 --- a/api/@ohos.file.fileuri.d.ts +++ b/api/@ohos.file.fileuri.d.ts @@ -34,8 +34,8 @@ import uri from './@ohos.uri'; * @namespace fileUri * @syscap SystemCapability.FileManagement.AppFileService * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ declare namespace fileUri { /** @@ -51,8 +51,8 @@ declare namespace fileUri { * @extends uri.URI * @syscap SystemCapability.FileManagement.AppFileService * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ class FileUri extends uri.URI { /** @@ -76,8 +76,8 @@ declare namespace fileUri { * @throws { BusinessError } 14300002 - Invalid uri * @syscap SystemCapability.FileManagement.AppFileService * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ constructor(uriOrPath: string); @@ -102,8 +102,8 @@ declare namespace fileUri { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.AppFileService * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ get name(): string; @@ -126,7 +126,7 @@ declare namespace fileUri { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.AppFileService * @atomicservice - * @since 15 + * @since 15 dynamic */ getFullDirectoryUri(): string; @@ -145,7 +145,7 @@ declare namespace fileUri { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.AppFileService * @atomicservice - * @since 15 + * @since 15 dynamic */ isRemoteUri(): boolean; } @@ -169,8 +169,8 @@ declare namespace fileUri { *
2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.AppFileService * @atomicservice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function getUriFromPath(path: string): string; } diff --git a/api/@ohos.file.fs.d.ets b/api/@ohos.file.fs.d.ets index 1525dbedaa..29c510e468 100644 --- a/api/@ohos.file.fs.d.ets +++ b/api/@ohos.file.fs.d.ets @@ -16,7 +16,6 @@ /** * @file * @kit CoreFileKit - * @arkts 1.2 */ import { AsyncCallback } from './@ohos.base'; @@ -27,7 +26,7 @@ import stream from './@ohos.util.stream'; * * @namespace fileIo * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ declare namespace fileIo { @@ -36,7 +35,7 @@ declare namespace fileIo { * * @namespace OpenMode * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ namespace OpenMode { /** @@ -44,7 +43,7 @@ declare namespace fileIo { * * @constant * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ const READ_ONLY = 0o0; /** @@ -52,7 +51,7 @@ declare namespace fileIo { * * @constant * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ const WRITE_ONLY = 0o1; /** @@ -60,7 +59,7 @@ declare namespace fileIo { * * @constant * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ const READ_WRITE = 0o2; /** @@ -68,7 +67,7 @@ declare namespace fileIo { * * @constant * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ const CREATE = 0o100; /** @@ -76,7 +75,7 @@ declare namespace fileIo { * * @constant * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ const TRUNC = 0o1000; /** @@ -84,7 +83,7 @@ declare namespace fileIo { * * @constant * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ const APPEND = 0o2000; /** @@ -92,7 +91,7 @@ declare namespace fileIo { * * @constant * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ const NONBLOCK = 0o4000; /** @@ -100,7 +99,7 @@ declare namespace fileIo { * * @constant * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ const DIR = 0o200000; /** @@ -108,7 +107,7 @@ declare namespace fileIo { * * @constant * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ const NOFOLLOW = 0o400000; /** @@ -116,7 +115,7 @@ declare namespace fileIo { * * @constant * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ const SYNC = 0o4010000; } @@ -140,7 +139,7 @@ declare namespace fileIo { * @throws { BusinessError } 13900033 - Too many symbolic links encountered * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function access(path: string, mode?: AccessModeType): Promise; @@ -162,7 +161,7 @@ function access(path: string, mode?: AccessModeType): Promise; * @throws { BusinessError } 13900033 - Too many symbolic links encountered * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function access(path: string, callback: AsyncCallback): void; @@ -185,7 +184,7 @@ function access(path: string, callback: AsyncCallback): void; * @throws { BusinessError } 13900030 - File name too long * @throws { BusinessError } 13900033 - Too many symbolic links encountered * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function access(path: string, mode: AccessModeType, flag: AccessFlagType): Promise; @@ -209,7 +208,7 @@ function access(path: string, mode: AccessModeType, flag: AccessFlagType): Promi * @throws { BusinessError } 13900033 - Too many symbolic links encountered * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function accessSync(path: string, mode?: AccessModeType): boolean; @@ -232,7 +231,7 @@ function accessSync(path: string, mode?: AccessModeType): boolean; * @throws { BusinessError } 13900030 - File name too long * @throws { BusinessError } 13900033 - Too many symbolic links encountered * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function accessSync(path: string, mode: AccessModeType, flag: AccessFlagType): boolean; @@ -248,7 +247,7 @@ function accessSync(path: string, mode: AccessModeType, flag: AccessFlagType): b * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function close(file: int | File): Promise; @@ -264,7 +263,7 @@ function close(file: int | File): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function close(file: int | File, callback: AsyncCallback): void; @@ -279,7 +278,7 @@ function close(file: int | File, callback: AsyncCallback): void; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function closeSync(file: int | File): void; @@ -318,7 +317,7 @@ function closeSync(file: int | File): void; * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function copy(srcUri: string, destUri: string, options?: CopyOptions): Promise; @@ -355,7 +354,7 @@ function copy(srcUri: string, destUri: string, options?: CopyOptions): Promise): void; @@ -393,7 +392,7 @@ function copy(srcUri: string, destUri: string, callback: AsyncCallback): v * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function copy(srcUri: string, destUri: string, options: CopyOptions, callback: AsyncCallback): void; @@ -423,7 +422,7 @@ function copy(srcUri: string, destUri: string, options: CopyOptions, callback: A * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function copyDir(src: string, dest: string, mode?: int): Promise; @@ -451,7 +450,7 @@ function copyDir(src: string, dest: string, mode?: int): Promise; * @throws { BusinessError } 13900038 - Value too large for defined data type * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function copyDir(src: string, dest: string, callback: AsyncCallback): void; @@ -463,7 +462,7 @@ function copyDir(src: string, dest: string, callback: AsyncCallback): void * @param { AsyncCallback> } callback - Return the callback function. * @throws { BusinessError } 13900015 - File exists * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function copyDir(src: string, dest: string, callback: AsyncCallback>): void; @@ -492,7 +491,7 @@ function copyDir(src: string, dest: string, callback: AsyncCallback): void; @@ -505,7 +504,7 @@ function copyDir(src: string, dest: string, mode: int, callback: AsyncCallback> } callback - Return the callback function. * @throws { BusinessError } 13900015 - File exists * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function copyDir(src: string, dest: string, mode: int, callback: AsyncCallback>): void; @@ -535,7 +534,7 @@ function copyDir(src: string, dest: string, mode: int, callback: AsyncCallback; @@ -593,7 +592,7 @@ function copyFile(src: string | int, dest: string | int, mode?: int): Promise): void; @@ -622,7 +621,7 @@ function copyFile(src: string | int, dest: string | int, callback: AsyncCallback * @throws { BusinessError } 13900038 - Value too large for defined data type * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function copyFile( src: string | int, @@ -656,7 +655,7 @@ function copyFile( * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function copyFileSync(src: string | int, dest: string | int, mode?: int): void; @@ -694,7 +693,7 @@ function copyFileSync(src: string | int, dest: string | int, mode?: int): void; * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function createStream(path: string, mode: string): Promise; @@ -731,7 +730,7 @@ function createStream(path: string, mode: string): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function createStream(path: string, mode: string, callback: AsyncCallback): void; @@ -769,7 +768,7 @@ function createStream(path: string, mode: string, callback: AsyncCallback; @@ -845,7 +844,7 @@ function createRandomAccessFile(file: string | File, mode?: int, * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function createRandomAccessFile(file: string | File, callback: AsyncCallback): void; @@ -882,7 +881,7 @@ function createRandomAccessFile(file: string | File, callback: AsyncCallback): void; @@ -921,7 +920,7 @@ function createRandomAccessFile(file: string | File, mode: int, callback: AsyncC * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function createRandomAccessFileSync(file: string | File, mode?: int, options?: RandomAccessFileOptions): RandomAccessFile; @@ -949,7 +948,7 @@ function createRandomAccessFileSync(file: string | File, mode?: int, * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function createReadStream(path: string, options?: ReadStreamOptions): ReadStream; @@ -978,7 +977,7 @@ function createReadStream(path: string, options?: ReadStreamOptions): ReadStream * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function createWriteStream(path: string, options?: WriteStreamOptions): WriteStream; @@ -1003,7 +1002,7 @@ function createWriteStream(path: string, options?: WriteStreamOptions): WriteStr * @throws { BusinessError } 13900030 - File name too long * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function createWatcher(path: string, events: int, listener: WatchEventListener): Watcher; @@ -1020,7 +1019,7 @@ function createWatcher(path: string, events: int, listener: WatchEventListener): * @throws { BusinessError } 13900022 - Too many open files * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function dup(fd: int): File; @@ -1037,7 +1036,7 @@ function dup(fd: int): File; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function fdatasync(fd: int): Promise; @@ -1054,7 +1053,7 @@ function fdatasync(fd: int): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function fdatasync(fd: int, callback: AsyncCallback): void; @@ -1070,7 +1069,7 @@ function fdatasync(fd: int, callback: AsyncCallback): void; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function fdatasyncSync(fd: int): void; @@ -1108,7 +1107,7 @@ function fdatasyncSync(fd: int): void; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function fdopenStream(fd: int, mode: string): Promise; @@ -1146,7 +1145,7 @@ function fdopenStream(fd: int, mode: string): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function fdopenStream(fd: int, mode: string, callback: AsyncCallback): void; @@ -1184,7 +1183,7 @@ function fdopenStream(fd: int, mode: string, callback: AsyncCallback): v * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function fdopenStreamSync(fd: int, mode: string): Stream; @@ -1201,7 +1200,7 @@ function fdopenStreamSync(fd: int, mode: string): Stream; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function fsync(fd: int): Promise; @@ -1218,7 +1217,7 @@ function fsync(fd: int): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function fsync(fd: int, callback: AsyncCallback): void; @@ -1234,7 +1233,7 @@ function fsync(fd: int, callback: AsyncCallback): void; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function fsyncSync(fd: int): void; @@ -1251,7 +1250,7 @@ function fsyncSync(fd: int): void; * @throws { BusinessError } 13900018 - Not a directory * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function listFile( path: string, @@ -1270,7 +1269,7 @@ function listFile( * @throws { BusinessError } 13900018 - Not a directory * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function listFile(path: string, callback: AsyncCallback): void; @@ -1287,7 +1286,7 @@ function listFile(path: string, callback: AsyncCallback): void; * @throws { BusinessError } 13900018 - Not a directory * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function listFile( path: string, @@ -1307,7 +1306,7 @@ function listFile( * @throws { BusinessError } 13900018 - Not a directory * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function listFileSync( path: string, @@ -1327,7 +1326,7 @@ function listFileSync( * @throws { BusinessError } 13900038 - Value too large for defined data type * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function lseek(fd: int, offset: long, whence?: WhenceType): long; @@ -1347,7 +1346,7 @@ function lseek(fd: int, offset: long, whence?: WhenceType): long; * @throws { BusinessError } 13900038 - Value too large for defined data type * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function lstat(path: string): Promise; @@ -1367,7 +1366,7 @@ function lstat(path: string): Promise; * @throws { BusinessError } 13900038 - Value too large for defined data type * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function lstat(path: string, callback: AsyncCallback): void; @@ -1387,7 +1386,7 @@ function lstat(path: string, callback: AsyncCallback): void; * @throws { BusinessError } 13900038 - Value too large for defined data type * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function lstatSync(path: string): Stat; @@ -1412,7 +1411,7 @@ function lstatSync(path: string): Stat; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function mkdir(path: string): Promise; @@ -1438,7 +1437,7 @@ function mkdir(path: string): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function mkdir(path: string, recursion: boolean): Promise; @@ -1463,7 +1462,7 @@ function mkdir(path: string, recursion: boolean): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function mkdir(path: string, callback: AsyncCallback): void; @@ -1489,7 +1488,7 @@ function mkdir(path: string, callback: AsyncCallback): void; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function mkdir(path: string, recursion: boolean, callback: AsyncCallback): void; @@ -1513,7 +1512,7 @@ function mkdir(path: string, recursion: boolean, callback: AsyncCallback): * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function mkdirSync(path: string): void; @@ -1538,7 +1537,7 @@ function mkdirSync(path: string): void; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function mkdirSync(path: string, recursion: boolean): void; @@ -1563,7 +1562,7 @@ function mkdirSync(path: string, recursion: boolean): void; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function mkdtemp(prefix: string): Promise; @@ -1588,7 +1587,7 @@ function mkdtemp(prefix: string): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function mkdtemp(prefix: string, callback: AsyncCallback): void; @@ -1613,7 +1612,7 @@ function mkdtemp(prefix: string, callback: AsyncCallback): void; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function mkdtempSync(prefix: string): string; @@ -1644,7 +1643,7 @@ function mkdtempSync(prefix: string): string; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function moveDir(src: string, dest: string, mode?: int): Promise; @@ -1673,7 +1672,7 @@ function moveDir(src: string, dest: string, mode?: int): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function moveDir(src: string, dest: string, callback: AsyncCallback): void; @@ -1685,7 +1684,7 @@ function moveDir(src: string, dest: string, callback: AsyncCallback): void * @param { AsyncCallback> } callback - Return the callback function. * @throws { BusinessError } 13900015 - File exists * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function moveDir(src: string, dest: string, callback: AsyncCallback>): void; @@ -1715,7 +1714,7 @@ function moveDir(src: string, dest: string, callback: AsyncCallback): void; @@ -1728,7 +1727,7 @@ function moveDir(src: string, dest: string, mode: int, callback: AsyncCallback> } callback - Return the callback function. * @throws { BusinessError } 13900015 - File exists * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function moveDir(src: string, dest: string, mode: int, callback: AsyncCallback>): void; @@ -1758,7 +1757,7 @@ function moveDir(src: string, dest: string, mode: int, callback: AsyncCallback; @@ -1819,7 +1818,7 @@ function moveFile(src: string, dest: string, mode?: int): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function moveFile(src: string, dest: string, callback: AsyncCallback): void; @@ -1850,7 +1849,7 @@ function moveFile(src: string, dest: string, callback: AsyncCallback): voi * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function moveFile(src: string, dest: string, mode: int, callback: AsyncCallback): void; @@ -1880,7 +1879,7 @@ function moveFile(src: string, dest: string, mode: int, callback: AsyncCallback< * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function moveFileSync(src: string, dest: string, mode?: int): void; @@ -1918,7 +1917,7 @@ function moveFileSync(src: string, dest: string, mode?: int): void; * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function open(path: string, mode?: int): Promise; @@ -1954,7 +1953,7 @@ function open(path: string, mode?: int): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function open(path: string, callback: AsyncCallback): void; @@ -1991,7 +1990,7 @@ function open(path: string, callback: AsyncCallback): void; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function open(path: string, mode: int, callback: AsyncCallback): void; @@ -2029,7 +2028,7 @@ function open(path: string, mode: int, callback: AsyncCallback): void; * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function openSync(path: string, mode?: int): File; @@ -2051,7 +2050,7 @@ function openSync(path: string, mode?: int): File; * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function read( fd: int, @@ -2075,7 +2074,7 @@ function read( * @throws { BusinessError } 13900034 - Operation would block * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function read(fd: int, buffer: ArrayBuffer, callback: AsyncCallback): void; @@ -2096,7 +2095,7 @@ function read(fd: int, buffer: ArrayBuffer, callback: AsyncCallback): void * @throws { BusinessError } 13900034 - Operation would block * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function read( fd: int, @@ -2123,7 +2122,7 @@ function read( * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function readSync( fd: int, @@ -2151,7 +2150,7 @@ function readSync( * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function readLines(filePath: string, options?: Options): Promise; @@ -2173,7 +2172,7 @@ function readLines(filePath: string, options?: Options): Promise * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function readLines(filePath: string, callback: AsyncCallback): void; @@ -2196,7 +2195,7 @@ function readLines(filePath: string, callback: AsyncCallback): v * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function readLines(filePath: string, options: Options, callback: AsyncCallback): void; @@ -2220,7 +2219,7 @@ function readLines(filePath: string, options: Options, callback: AsyncCallback): void; @@ -2295,7 +2294,7 @@ function readText(filePath: string, callback: AsyncCallback): void; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function readText( filePath: string, @@ -2324,7 +2323,7 @@ function readText( * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function readTextSync( filePath: string, @@ -2357,7 +2356,7 @@ function readTextSync( * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function rename(oldPath: string, newPath: string): Promise; @@ -2387,7 +2386,7 @@ function rename(oldPath: string, newPath: string): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function rename(oldPath: string, newPath: string, callback: AsyncCallback): void; @@ -2416,7 +2415,7 @@ function rename(oldPath: string, newPath: string, callback: AsyncCallback) * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function renameSync(oldPath: string, newPath: string): void; @@ -2438,7 +2437,7 @@ function renameSync(oldPath: string, newPath: string): void; * @throws { BusinessError } 13900032 - Directory not empty * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function rmdir(path: string): Promise; @@ -2460,7 +2459,7 @@ function rmdir(path: string): Promise; * @throws { BusinessError } 13900032 - Directory not empty * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function rmdir(path: string, callback: AsyncCallback): void; @@ -2481,7 +2480,7 @@ function rmdir(path: string, callback: AsyncCallback): void; * @throws { BusinessError } 13900032 - Directory not empty * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function rmdirSync(path: string): void; @@ -2504,7 +2503,7 @@ function rmdirSync(path: string): void; * @throws { BusinessError } 13900038 - Value too large for defined data type * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function stat(file: string | int): Promise; @@ -2527,7 +2526,7 @@ function stat(file: string | int): Promise; * @throws { BusinessError } 13900038 - Value too large for defined data type * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function stat(file: string | int, callback: AsyncCallback): void; @@ -2550,7 +2549,7 @@ function stat(file: string | int, callback: AsyncCallback): void; * @throws { BusinessError } 13900038 - Value too large for defined data type * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function statSync(file: string | int): Stat; @@ -2575,7 +2574,7 @@ function statSync(file: string | int): Stat; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function symlink(target: string, srcPath: string): Promise; @@ -2600,7 +2599,7 @@ function symlink(target: string, srcPath: string): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function symlink(target: string, srcPath: string, callback: AsyncCallback): void; @@ -2624,7 +2623,7 @@ function symlink(target: string, srcPath: string, callback: AsyncCallback) * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function symlinkSync(target: string, srcPath: string): void; @@ -2651,7 +2650,7 @@ function symlinkSync(target: string, srcPath: string): void; * @throws { BusinessError } 13900033 - Too many symbolic links encountered * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function truncate(file: string | int, len?: long): Promise; @@ -2677,7 +2676,7 @@ function truncate(file: string | int, len?: long): Promise; * @throws { BusinessError } 13900033 - Too many symbolic links encountered * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function truncate(file: string | int, callback: AsyncCallback): void; @@ -2704,7 +2703,7 @@ function truncate(file: string | int, callback: AsyncCallback): void; * @throws { BusinessError } 13900033 - Too many symbolic links encountered * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function truncate(file: string | int, len: long, callback: AsyncCallback): void; @@ -2730,7 +2729,7 @@ function truncate(file: string | int, len: long, callback: AsyncCallback): * @throws { BusinessError } 13900033 - Too many symbolic links encountered * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function truncateSync(file: string | int, len?: long): void; @@ -2755,7 +2754,7 @@ function truncateSync(file: string | int, len?: long): void; * @throws { BusinessError } 13900033 - Too many symbolic links encountered * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function unlink(path: string): Promise; @@ -2780,7 +2779,7 @@ function unlink(path: string): Promise; * @throws { BusinessError } 13900033 - Too many symbolic links encountered * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function unlink(path: string, callback: AsyncCallback): void; @@ -2804,7 +2803,7 @@ function unlink(path: string, callback: AsyncCallback): void; * @throws { BusinessError } 13900033 - Too many symbolic links encountered * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function unlinkSync(path: string): void; @@ -2820,7 +2819,7 @@ function unlinkSync(path: string): void; * @throws { BusinessError } 13900027 - Read-only file system * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function utimes(path: string, mtime: double): void; @@ -2844,7 +2843,7 @@ function utimes(path: string, mtime: double): void; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function write( fd: int, @@ -2871,7 +2870,7 @@ function write( * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function write(fd: int, buffer: ArrayBuffer | string, callback: AsyncCallback): void; @@ -2895,7 +2894,7 @@ function write(fd: int, buffer: ArrayBuffer | string, callback: AsyncCallback; @@ -2960,7 +2959,7 @@ function connectDfs(networkId: string, listeners: DfsListeners): Promise; *
2.Incorrect parameter types. * @throws { BusinessError } 13600004 - Unmount failed. * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function disconnectDfs(networkId: string): Promise; @@ -2983,7 +2982,7 @@ function disconnectDfs(networkId: string): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function setxattr(path: string, key: string, value: string): Promise; @@ -3005,7 +3004,7 @@ function setxattr(path: string, key: string, value: string): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function setxattrSync(path: string, key: string, value: string): void; @@ -3026,7 +3025,7 @@ function setxattrSync(path: string, key: string, value: string): void; * @throws { BusinessError } 13900038 - Value too large for defined data type * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function getxattr(path: string, key: string): Promise; @@ -3046,7 +3045,7 @@ function getxattr(path: string, key: string): Promise; * @throws { BusinessError } 13900038 - Value too large for defined data type * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ function getxattrSync(path: string, key: string): string; @@ -3055,14 +3054,14 @@ function getxattrSync(path: string, key: string): string; * * @typedef Progress * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ interface Progress { /** * @type { long } * @readonly * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly processedSize: long; @@ -3070,7 +3069,7 @@ interface Progress { * @type { long } * @readonly * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly totalSize: long; } @@ -3079,7 +3078,7 @@ interface Progress { * Task signal. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ class TaskSignal { /** @@ -3089,7 +3088,7 @@ class TaskSignal { * @throws { BusinessError } 13900012 - Permission denied by the file system * @throws { BusinessError } 13900043 - No task can be canceled. * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ cancel(): void; @@ -3101,7 +3100,7 @@ class TaskSignal { * @throws { BusinessError } 13900008 - Bad file descriptor * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ onCancel(): Promise; } @@ -3111,7 +3110,7 @@ class TaskSignal { * * @typedef CopyOptions * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ interface CopyOptions { /** @@ -3119,7 +3118,7 @@ interface CopyOptions { * * @type { ?ProgressListener } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ progressListener?: ProgressListener; /** @@ -3127,7 +3126,7 @@ interface CopyOptions { * * @type { ?TaskSignal } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ copySignal?: TaskSignal; } @@ -3138,7 +3137,7 @@ interface CopyOptions { * @typedef { function } ProgressListener * @param { Progress } progress - indicates the progress data of copyFile * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ type ProgressListener = (progress: Progress) => void; @@ -3147,7 +3146,7 @@ type ProgressListener = (progress: Progress) => void; * * @interface File * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ interface File { @@ -3155,7 +3154,7 @@ interface File { * @type { int } * @readonly * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly fd: int; @@ -3168,7 +3167,7 @@ interface File { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 14300002 - Invalid URI * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly path: string; @@ -3180,7 +3179,7 @@ interface File { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly name: string; @@ -3192,7 +3191,7 @@ interface File { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 14300002 - Invalid URI * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ getParent(): string; @@ -3208,7 +3207,7 @@ interface File { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900043 - No record locks available * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ lock(exclusive?: boolean): Promise; @@ -3223,7 +3222,7 @@ interface File { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900043 - No record locks available * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ lock(callback: AsyncCallback): void; @@ -3239,7 +3238,7 @@ interface File { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900043 - No record locks available * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ lock(exclusive: boolean, callback: AsyncCallback): void; @@ -3254,7 +3253,7 @@ interface File { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900043 - No record locks available * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ tryLock(exclusive?: boolean): void; @@ -3268,7 +3267,7 @@ interface File { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900043 - No record locks available * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ unlock(): void; } @@ -3278,7 +3277,7 @@ interface File { * * @interface RandomAccessFile * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ interface RandomAccessFile { @@ -3288,7 +3287,7 @@ interface RandomAccessFile { * @type { int } * @readonly * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly fd: int; @@ -3298,7 +3297,7 @@ interface RandomAccessFile { * @type { long } * @readonly * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly filePointer: long; @@ -3312,7 +3311,7 @@ interface RandomAccessFile { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ setFilePointer(filePointer: long): void; @@ -3326,7 +3325,7 @@ interface RandomAccessFile { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ close(): void; @@ -3349,7 +3348,7 @@ interface RandomAccessFile { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ write( buffer: ArrayBuffer | string, @@ -3374,7 +3373,7 @@ interface RandomAccessFile { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ write(buffer: ArrayBuffer | string, callback: AsyncCallback): void; @@ -3397,7 +3396,7 @@ interface RandomAccessFile { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ write( buffer: ArrayBuffer | string, @@ -3424,7 +3423,7 @@ interface RandomAccessFile { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ writeSync( buffer: ArrayBuffer | string, @@ -3448,7 +3447,7 @@ interface RandomAccessFile { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ read( buffer: ArrayBuffer, @@ -3470,7 +3469,7 @@ interface RandomAccessFile { * @throws { BusinessError } 13900034 - Operation would block * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ read(buffer: ArrayBuffer, callback: AsyncCallback): void; @@ -3490,7 +3489,7 @@ interface RandomAccessFile { * @throws { BusinessError } 13900034 - Operation would block * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ read( buffer: ArrayBuffer, @@ -3515,7 +3514,7 @@ interface RandomAccessFile { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readSync( buffer: ArrayBuffer, @@ -3533,7 +3532,7 @@ interface RandomAccessFile { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ getReadStream(): ReadStream; @@ -3548,7 +3547,7 @@ interface RandomAccessFile { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ getWriteStream(): WriteStream; } @@ -3558,14 +3557,14 @@ interface RandomAccessFile { * * @extends stream.Readable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ class ReadStream extends stream.Readable { /** * The ReadStream constructor. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ constructor(); @@ -3576,7 +3575,7 @@ class ReadStream extends stream.Readable { * @readonly * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly bytesRead: long; @@ -3587,7 +3586,7 @@ class ReadStream extends stream.Readable { * @readonly * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly path: string; @@ -3602,7 +3601,7 @@ class ReadStream extends stream.Readable { * @throws { BusinessError } 13900026 - Illegal seek * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ seek(offset: long, whence?: WhenceType): long; @@ -3616,7 +3615,7 @@ class ReadStream extends stream.Readable { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ close(): void; } @@ -3626,14 +3625,14 @@ class ReadStream extends stream.Readable { * * @extends stream.Writable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ class WriteStream extends stream.Writable { /** * The WriteStream constructor. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ constructor(); @@ -3644,7 +3643,7 @@ class WriteStream extends stream.Writable { * @readonly * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly bytesWritten: long; @@ -3655,7 +3654,7 @@ class WriteStream extends stream.Writable { * @readonly * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly path: string; @@ -3670,7 +3669,7 @@ class WriteStream extends stream.Writable { * @throws { BusinessError } 13900026 - Illegal seek * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ seek(offset: long, whence?: WhenceType): long; @@ -3684,7 +3683,7 @@ class WriteStream extends stream.Writable { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ close(): void; } @@ -3692,7 +3691,7 @@ class WriteStream extends stream.Writable { /** * The AtomicFile class provides methods for performing atomic operations on files. * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export class AtomicFile { /** @@ -3700,7 +3699,7 @@ export class AtomicFile { * @param { string } path file path. * @throws { BusinessError } 401 Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ constructor(path: string); @@ -3712,7 +3711,7 @@ export class AtomicFile { * @throws { BusinessError } 13900012 Permission denied * @throws { BusinessError } 13900042 Internal error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ getBaseFile(): File; @@ -3724,7 +3723,7 @@ export class AtomicFile { * @throws { BusinessError } 13900012 Permission denied * @throws { BusinessError } 13900042 Internal error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ openRead(): ReadStream; @@ -3734,7 +3733,7 @@ export class AtomicFile { * @throws { BusinessError } 13900005 I/O error * @throws { BusinessError } 13900042 Internal error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readFully(): ArrayBuffer; @@ -3747,7 +3746,7 @@ export class AtomicFile { * @throws { BusinessError } 13900027 Read-only file system * @throws { BusinessError } 13900042 Internal error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ startWrite(): WriteStream; @@ -3755,7 +3754,7 @@ export class AtomicFile { * If the file is written successfully, the file is closed. * @throws { BusinessError } 13900042 Internal error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ finishWrite(): void; @@ -3763,7 +3762,7 @@ export class AtomicFile { * If writing to the file fails, the file is rolled back. * @throws { BusinessError } 13900042 Internal error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ failWrite(): void; @@ -3775,7 +3774,7 @@ export class AtomicFile { * @throws { BusinessError } 13900027 Read-only file system * @throws { BusinessError } 13900042 Internal error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ delete(): void; } @@ -3785,7 +3784,7 @@ export class AtomicFile { * * @interface Stat * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ interface Stat { @@ -3795,7 +3794,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly ino: bigint; @@ -3805,7 +3804,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly mode: long; @@ -3817,7 +3816,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly uid: long; @@ -3827,7 +3826,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly gid: long; @@ -3837,7 +3836,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly size: long; @@ -3847,7 +3846,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly atime: long; @@ -3857,7 +3856,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly mtime: long; @@ -3867,7 +3866,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly ctime: long; @@ -3877,7 +3876,7 @@ interface Stat { * @readonly * @throws { BusinessError } 13900042 - Internal error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly atimeNs?:bigint; @@ -3887,7 +3886,7 @@ interface Stat { * @readonly * @throws { BusinessError } 13900042 - Internal error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly mtimeNs?:bigint; @@ -3897,7 +3896,7 @@ interface Stat { * @readonly * @throws { BusinessError } 13900042 - Internal error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly ctimeNs?:bigint; @@ -3907,7 +3906,7 @@ interface Stat { * @readonly * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly location: LocationType; @@ -3918,7 +3917,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ isBlockDevice(): boolean; @@ -3929,7 +3928,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ isCharacterDevice(): boolean; @@ -3940,7 +3939,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ isDirectory(): boolean; @@ -3951,7 +3950,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ isFIFO(): boolean; @@ -3962,7 +3961,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ isFile(): boolean; @@ -3973,7 +3972,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ isSocket(): boolean; @@ -3984,7 +3983,7 @@ interface Stat { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ isSymbolicLink(): boolean; } @@ -3994,7 +3993,7 @@ interface Stat { * * @interface Stream * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ interface Stream { /** @@ -4008,7 +4007,7 @@ interface Stream { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ close(): Promise; @@ -4023,7 +4022,7 @@ interface Stream { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ close(callback: AsyncCallback): void; @@ -4037,7 +4036,7 @@ interface Stream { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ closeSync(): void; @@ -4058,7 +4057,7 @@ interface Stream { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ flush(): Promise; @@ -4079,7 +4078,7 @@ interface Stream { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ flush(callback: AsyncCallback): void; @@ -4099,7 +4098,7 @@ interface Stream { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ flushSync(): void; @@ -4122,7 +4121,7 @@ interface Stream { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ write( buffer: ArrayBuffer | string, @@ -4147,7 +4146,7 @@ interface Stream { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ write(buffer: ArrayBuffer | string, callback: AsyncCallback): void; @@ -4170,7 +4169,7 @@ interface Stream { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ write( buffer: ArrayBuffer | string, @@ -4197,7 +4196,7 @@ interface Stream { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ writeSync( buffer: ArrayBuffer | string, @@ -4221,7 +4220,7 @@ interface Stream { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ read( buffer: ArrayBuffer, @@ -4243,7 +4242,7 @@ interface Stream { * @throws { BusinessError } 13900034 - Operation would block * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ read(buffer: ArrayBuffer, callback: AsyncCallback): void; @@ -4263,7 +4262,7 @@ interface Stream { * @throws { BusinessError } 13900034 - Operation would block * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ read( buffer: ArrayBuffer, @@ -4288,7 +4287,7 @@ interface Stream { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readSync( buffer: ArrayBuffer, @@ -4301,7 +4300,7 @@ interface Stream { * * @interface Watcher * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ interface Watcher { /** @@ -4321,7 +4320,7 @@ interface Watcher { * @throws { BusinessError } 13900030 - File name too long * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ start(): void; @@ -4342,7 +4341,7 @@ interface Watcher { * @throws { BusinessError } 13900030 - File name too long * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ stop(): void; } @@ -4352,14 +4351,14 @@ interface Watcher { * * @enum { int } whence type * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ enum WhenceType { /** * Starting position of the file offset. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ SEEK_SET = 0, @@ -4367,7 +4366,7 @@ enum WhenceType { * Current position of the file offset. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ SEEK_CUR = 1, @@ -4375,7 +4374,7 @@ enum WhenceType { * Ending position of the file offset. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ SEEK_END = 2, } @@ -4385,14 +4384,14 @@ enum WhenceType { * * @enum { int } location type * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ enum LocationType { /** * Local file. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ LOCAL = 1 << 0, @@ -4400,7 +4399,7 @@ enum LocationType { * Cloud file. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ CLOUD = 1 << 1, } @@ -4410,14 +4409,14 @@ enum LocationType { * * @enum { int } access mode type * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ enum AccessModeType { /** * Check if the file exists. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ EXIST = 0, @@ -4425,7 +4424,7 @@ enum AccessModeType { * Check if the file has write permission. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ WRITE = 2, @@ -4433,7 +4432,7 @@ enum AccessModeType { * Check if the file has read permission. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ READ = 4, @@ -4441,7 +4440,7 @@ enum AccessModeType { * Check if the file has read and write permission. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ READ_WRITE = 6, } @@ -4451,14 +4450,14 @@ enum AccessModeType { * * @enum { int } access flag type * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ enum AccessFlagType { /** * Check if the file is on the local. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ LOCAL = 0, } @@ -4468,7 +4467,7 @@ enum AccessFlagType { * * @interface ReaderIterator * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ interface ReaderIterator { /** @@ -4479,7 +4478,7 @@ interface ReaderIterator { * @throws { BusinessError } 13900037 - No data available * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ next(): ReaderIteratorResult; } @@ -4492,7 +4491,7 @@ interface ReaderIterator { * @typedef { function } WatchEventListener * @param { WatchEvent } event - Event type for the callback to invoke. * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export type WatchEventListener = (event: WatchEvent) => void; @@ -4501,7 +4500,7 @@ export type WatchEventListener = (event: WatchEvent) => void; * * @interface WatchEvent * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export interface WatchEvent { /** @@ -4510,7 +4509,7 @@ export interface WatchEvent { * @type { string } * @readonly * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly fileName: string; @@ -4520,7 +4519,7 @@ export interface WatchEvent { * @type { int } * @readonly * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly event: int; @@ -4530,7 +4529,7 @@ export interface WatchEvent { * @type { int } * @readonly * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ readonly cookie: int; } @@ -4540,7 +4539,7 @@ export interface WatchEvent { * * @interface ReaderIteratorResult * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export interface ReaderIteratorResult { /** @@ -4548,7 +4547,7 @@ export interface ReaderIteratorResult { * * @type { boolean } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ done: boolean; @@ -4557,7 +4556,7 @@ export interface ReaderIteratorResult { * * @type { string } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ value: string; } @@ -4567,7 +4566,7 @@ export interface ReaderIteratorResult { * * @interface Filter * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export interface Filter { @@ -4576,7 +4575,7 @@ export interface Filter { * * @type { ?Array } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ suffix?: Array; @@ -4585,7 +4584,7 @@ export interface Filter { * * @type { ?Array } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ displayName?: Array; @@ -4594,7 +4593,7 @@ export interface Filter { * * @type { ?Array } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ mimeType?: Array; @@ -4603,7 +4602,7 @@ export interface Filter { * * @type { ?long } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ fileSizeOver?: long; @@ -4612,7 +4611,7 @@ export interface Filter { * * @type { ?double } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ lastModifiedAfter?: double; @@ -4621,7 +4620,7 @@ export interface Filter { * * @type { ?boolean } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ excludeMedia?: boolean; } @@ -4631,7 +4630,7 @@ export interface Filter { * * @interface ConflictFiles * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export interface ConflictFiles { @@ -4640,7 +4639,7 @@ export interface ConflictFiles { * * @type { string } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ srcFile: string; @@ -4649,7 +4648,7 @@ export interface ConflictFiles { * * @type { string } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ destFile: string; } @@ -4659,7 +4658,7 @@ export interface ConflictFiles { * * @interface Options * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export interface Options { /** @@ -4667,7 +4666,7 @@ export interface Options { * * @type { ?string } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ encoding?: string; } @@ -4677,7 +4676,7 @@ export interface Options { * * @interface ReadOptions * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export interface ReadOptions { /** @@ -4685,7 +4684,7 @@ export interface ReadOptions { * * @type { ?long } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ offset?: long; /** @@ -4693,7 +4692,7 @@ export interface ReadOptions { * * @type { ?long } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ length?: long; } @@ -4704,7 +4703,7 @@ export interface ReadOptions { * @extends ReadOptions * @interface ReadTextOptions * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export interface ReadTextOptions extends ReadOptions { /** @@ -4712,7 +4711,7 @@ export interface ReadTextOptions extends ReadOptions { * * @type { ?string } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ encoding?: string; } @@ -4723,7 +4722,7 @@ export interface ReadTextOptions extends ReadOptions { * @extends Options * @interface WriteOptions * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export interface WriteOptions extends Options { /** @@ -4731,7 +4730,7 @@ export interface WriteOptions extends Options { * * @type { ?long } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ offset?: long; /** @@ -4739,7 +4738,7 @@ export interface WriteOptions extends Options { * * @type { ?long } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ length?: long; } @@ -4749,7 +4748,7 @@ export interface WriteOptions extends Options { * * @interface ListFileOptions * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export interface ListFileOptions { /** @@ -4757,7 +4756,7 @@ export interface ListFileOptions { * * @type { ?boolean } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ recursion?: boolean; @@ -4766,7 +4765,7 @@ export interface ListFileOptions { * * @type { ?long } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ listNum?: long; @@ -4775,7 +4774,7 @@ export interface ListFileOptions { * * @type { ?Filter } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ filter?: Filter; } @@ -4785,7 +4784,7 @@ export interface ListFileOptions { * * @interface RandomAccessFileOptions * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export interface RandomAccessFileOptions { /** @@ -4793,7 +4792,7 @@ export interface RandomAccessFileOptions { * * @type { ?long } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ start?: long; @@ -4802,7 +4801,7 @@ export interface RandomAccessFileOptions { * * @type { ?long } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ end?: long; } @@ -4812,7 +4811,7 @@ export interface RandomAccessFileOptions { * * @interface ReadStreamOptions * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export interface ReadStreamOptions { /** @@ -4820,7 +4819,7 @@ export interface ReadStreamOptions { * * @type { ?long } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ start?: long; @@ -4829,7 +4828,7 @@ export interface ReadStreamOptions { * * @type { ?long } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ end?: long; } @@ -4839,7 +4838,7 @@ export interface ReadStreamOptions { * * @interface WriteStreamOptions * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export interface WriteStreamOptions { /** @@ -4847,7 +4846,7 @@ export interface WriteStreamOptions { * * @type { ?int } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ mode?: int; /** @@ -4855,7 +4854,7 @@ export interface WriteStreamOptions { * * @type { ?long } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ start?: long; } @@ -4865,7 +4864,7 @@ export interface WriteStreamOptions { * * @typedef DfsListeners * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ export interface DfsListeners { /** @@ -4874,7 +4873,7 @@ export interface DfsListeners { * @param { string } networkId - The networkId of device. * @param { number } status - The status code of Distributed File System. * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ onStatus(networkId: string, status: number): void; } @@ -4883,7 +4882,7 @@ export interface DfsListeners { * Task signal. * @typedef { fileIo.TaskSignal } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ type TaskSignal = fileIo.TaskSignal; @@ -4891,7 +4890,7 @@ type TaskSignal = fileIo.TaskSignal; * Watcher object * @typedef { fileIo.Watcher } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ type Watcher = fileIo.Watcher; @@ -4899,7 +4898,7 @@ type Watcher = fileIo.Watcher; * Watcher object * @typedef { fileIo.AtomicFile } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 20 + * @since 20 static */ type AtomicFile = fileIo.AtomicFile; diff --git a/api/@ohos.file.fs.d.ts b/api/@ohos.file.fs.d.ts index b1a5127b64..88c47378a4 100644 --- a/api/@ohos.file.fs.d.ts +++ b/api/@ohos.file.fs.d.ts @@ -54,7 +54,7 @@ export default fileIo; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare namespace fileIo { @@ -246,7 +246,7 @@ declare namespace fileIo { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ namespace OpenMode { /** @@ -271,7 +271,7 @@ declare namespace fileIo { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ const READ_ONLY = 0o0; /** @@ -296,7 +296,7 @@ declare namespace fileIo { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ const WRITE_ONLY = 0o1; /** @@ -321,7 +321,7 @@ declare namespace fileIo { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ const READ_WRITE = 0o2; /** @@ -346,7 +346,7 @@ declare namespace fileIo { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ const CREATE = 0o100; /** @@ -371,7 +371,7 @@ declare namespace fileIo { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ const TRUNC = 0o1000; /** @@ -396,7 +396,7 @@ declare namespace fileIo { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ const APPEND = 0o2000; /** @@ -412,7 +412,7 @@ declare namespace fileIo { * @constant * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ const NONBLOCK = 0o4000; /** @@ -428,7 +428,7 @@ declare namespace fileIo { * @constant * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ const DIR = 0o200000; /** @@ -444,7 +444,7 @@ declare namespace fileIo { * @constant * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ const NOFOLLOW = 0o400000; /** @@ -460,7 +460,7 @@ declare namespace fileIo { * @constant * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ const SYNC = 0o4010000; } @@ -555,7 +555,7 @@ declare namespace fileIo { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare function access(path: string, mode?: AccessModeType): Promise; @@ -621,7 +621,7 @@ declare function access(path: string, mode?: AccessModeType): Promise; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function access(path: string, callback: AsyncCallback): void; @@ -648,7 +648,7 @@ declare function access(path: string, callback: AsyncCallback): void; * @throws { BusinessError } 13900030 - File name too long * @throws { BusinessError } 13900033 - Too many symbolic links encountered * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ declare function access(path: string, mode: AccessModeType, flag: AccessFlagType): Promise; @@ -740,7 +740,7 @@ declare function access(path: string, mode: AccessModeType, flag: AccessFlagType * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare function accessSync(path: string, mode?: AccessModeType): boolean; @@ -766,7 +766,7 @@ declare function accessSync(path: string, mode?: AccessModeType): boolean; * @throws { BusinessError } 13900030 - File name too long * @throws { BusinessError } 13900033 - Too many symbolic links encountered * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ declare function accessSync(path: string, mode: AccessModeType, flag: AccessFlagType): boolean; @@ -814,7 +814,7 @@ declare function accessSync(path: string, mode: AccessModeType, flag: AccessFlag * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function close(file: number | File): Promise; @@ -862,7 +862,7 @@ declare function close(file: number | File): Promise; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function close(file: number | File, callback: AsyncCallback): void; @@ -907,7 +907,7 @@ declare function close(file: number | File, callback: AsyncCallback): void * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function closeSync(file: number | File): void; @@ -986,7 +986,7 @@ declare function closeSync(file: number | File): void; * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ declare function copy(srcUri: string, destUri: string, options?: CopyOptions): Promise; @@ -1026,7 +1026,7 @@ declare function copy(srcUri: string, destUri: string, options?: CopyOptions): P * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 11 + * @since 11 dynamic */ declare function copy(srcUri: string, destUri: string, callback: AsyncCallback): void; @@ -1067,7 +1067,7 @@ declare function copy(srcUri: string, destUri: string, callback: AsyncCallback): void; @@ -1171,7 +1171,7 @@ declare function copy(srcUri: string, destUri: string, options: CopyOptions, cal * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function copyDir(src: string, dest: string, mode?: number): Promise; @@ -1228,7 +1228,7 @@ declare function copyDir(src: string, dest: string, mode?: number): Promise): void; @@ -1253,7 +1253,7 @@ declare function copyDir(src: string, dest: string, callback: AsyncCallback>): void; @@ -1331,7 +1331,7 @@ declare function copyDir(src: string, dest: string, callback: AsyncCallback): void; @@ -1376,7 +1376,7 @@ declare function copyDir(src: string, dest: string, mode: number, callback: Asyn * @throws { BusinessError } 13900015 - File exists * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function copyDir(src: string, dest: string, mode: number, callback: AsyncCallback>): void; @@ -1480,7 +1480,7 @@ declare function copyDir(src: string, dest: string, mode: number, callback: Asyn * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function copyDirSync(src: string, dest: string, mode?: number): void; @@ -1598,7 +1598,7 @@ declare function copyDirSync(src: string, dest: string, mode?: number): void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare function copyFile(src: string | number, dest: string | number, mode?: number): Promise; @@ -1682,7 +1682,7 @@ declare function copyFile(src: string | number, dest: string | number, mode?: nu * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function copyFile(src: string | number, dest: string | number, callback: AsyncCallback): void; @@ -1771,7 +1771,7 @@ declare function copyFile(src: string | number, dest: string | number, callback: * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function copyFile( src: string | number, @@ -1890,7 +1890,7 @@ declare function copyFile( * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare function copyFileSync(src: string | number, dest: string | number, mode?: number): void; @@ -2019,7 +2019,7 @@ declare function copyFileSync(src: string | number, dest: string | number, mode? * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare function createStream(path: string, mode: string): Promise; @@ -2111,7 +2111,7 @@ declare function createStream(path: string, mode: string): Promise; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare function createStream(path: string, mode: string, callback: AsyncCallback): void; @@ -2240,7 +2240,7 @@ declare function createStream(path: string, mode: string, callback: AsyncCallbac * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare function createStreamSync(path: string, mode: string): Stream; @@ -2389,7 +2389,7 @@ declare function createStreamSync(path: string, mode: string): Stream; * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function createRandomAccessFile(file: string | File, mode?: number, options?: RandomAccessFileOptions): Promise; @@ -2463,7 +2463,7 @@ declare function createRandomAccessFile(file: string | File, mode?: number, * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function createRandomAccessFile(file: string | File, callback: AsyncCallback): void; @@ -2572,7 +2572,7 @@ declare function createRandomAccessFile(file: string | File, callback: AsyncCall * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function createRandomAccessFile(file: string | File, mode: number, callback: AsyncCallback): void; @@ -2718,7 +2718,7 @@ declare function createRandomAccessFile(file: string | File, mode: number, callb * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function createRandomAccessFileSync(file: string | File, mode?: number, options?: RandomAccessFileOptions): RandomAccessFile; @@ -2776,7 +2776,7 @@ declare function createRandomAccessFileSync(file: string | File, mode?: number, * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function createReadStream(path: string, options?: ReadStreamOptions): ReadStream; @@ -2837,7 +2837,7 @@ declare function createReadStream(path: string, options?: ReadStreamOptions): Re * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function createWriteStream(path: string, options?: WriteStreamOptions): WriteStream; @@ -2888,7 +2888,7 @@ declare function createWriteStream(path: string, options?: WriteStreamOptions): * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function createWatcher(path: string, events: number, listener: WatchEventListener): Watcher; @@ -2905,7 +2905,7 @@ declare function createWatcher(path: string, events: number, listener: WatchEven * @throws { BusinessError } 13900022 - Too many open files * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 10 + * @since 10 dynamic */ declare function dup(fd: number): File; @@ -2938,7 +2938,7 @@ declare function dup(fd: number): File; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ declare function fdatasync(fd: number): Promise; @@ -2972,7 +2972,7 @@ declare function fdatasync(fd: number): Promise; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ declare function fdatasync(fd: number, callback: AsyncCallback): void; @@ -3003,7 +3003,7 @@ declare function fdatasync(fd: number, callback: AsyncCallback): void; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ declare function fdatasyncSync(fd: number): void; @@ -3095,7 +3095,7 @@ declare function fdatasyncSync(fd: number): void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare function fdopenStream(fd: number, mode: string): Promise; @@ -3187,7 +3187,7 @@ declare function fdopenStream(fd: number, mode: string): Promise; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback): void; @@ -3277,7 +3277,7 @@ declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback< * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare function fdopenStreamSync(fd: number, mode: string): Stream; @@ -3310,7 +3310,7 @@ declare function fdopenStreamSync(fd: number, mode: string): Stream; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ declare function fsync(fd: number): Promise; @@ -3343,7 +3343,7 @@ declare function fsync(fd: number): Promise; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ declare function fsync(fd: number, callback: AsyncCallback): void; @@ -3374,7 +3374,7 @@ declare function fsync(fd: number, callback: AsyncCallback): void; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ declare function fsyncSync(fd: number): void; @@ -3424,7 +3424,7 @@ declare function fsyncSync(fd: number): void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function listFile( path: string, @@ -3473,7 +3473,7 @@ declare function listFile( * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function listFile(path: string, callback: AsyncCallback): void; @@ -3523,7 +3523,7 @@ declare function listFile(path: string, callback: AsyncCallback): void * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function listFile( path: string, @@ -3575,7 +3575,7 @@ declare function listFile( * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function listFileSync( path: string, @@ -3612,7 +3612,7 @@ declare function listFileSync( * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 12 + * @since 12 dynamic */ declare function lseek(fd: number, offset: number, whence?: WhenceType): number; @@ -3653,7 +3653,7 @@ declare function lseek(fd: number, offset: number, whence?: WhenceType): number; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function lstat(path: string): Promise; @@ -3694,7 +3694,7 @@ declare function lstat(path: string): Promise; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function lstat(path: string, callback: AsyncCallback): void; @@ -3735,7 +3735,7 @@ declare function lstat(path: string, callback: AsyncCallback): void; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function lstatSync(path: string): Stat; @@ -3809,7 +3809,7 @@ declare function lstatSync(path: string): Stat; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function mkdir(path: string): Promise; @@ -3864,7 +3864,7 @@ declare function mkdir(path: string): Promise; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare function mkdir(path: string, recursion: boolean): Promise; @@ -3938,7 +3938,7 @@ declare function mkdir(path: string, recursion: boolean): Promise; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function mkdir(path: string, callback: AsyncCallback): void; @@ -3995,7 +3995,7 @@ declare function mkdir(path: string, callback: AsyncCallback): void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare function mkdir(path: string, recursion: boolean, callback: AsyncCallback): void; @@ -4066,7 +4066,7 @@ declare function mkdir(path: string, recursion: boolean, callback: AsyncCallback * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function mkdirSync(path: string): void; @@ -4119,7 +4119,7 @@ declare function mkdirSync(path: string): void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare function mkdirSync(path: string, recursion: boolean): void; @@ -4168,7 +4168,7 @@ declare function mkdirSync(path: string, recursion: boolean): void; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ declare function mkdtemp(prefix: string): Promise; @@ -4218,7 +4218,7 @@ declare function mkdtemp(prefix: string): Promise; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ declare function mkdtemp(prefix: string, callback: AsyncCallback): void; @@ -4268,7 +4268,7 @@ declare function mkdtemp(prefix: string, callback: AsyncCallback): void; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ declare function mkdtempSync(prefix: string): string; @@ -4359,7 +4359,7 @@ declare function mkdtempSync(prefix: string): string; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function moveDir(src: string, dest: string, mode?: number): Promise; @@ -4416,7 +4416,7 @@ declare function moveDir(src: string, dest: string, mode?: number): Promise): void; @@ -4439,7 +4439,7 @@ declare function moveDir(src: string, dest: string, callback: AsyncCallback>): void; @@ -4530,7 +4530,7 @@ declare function moveDir(src: string, dest: string, callback: AsyncCallback): void; @@ -4587,7 +4587,7 @@ declare function moveDir(src: string, dest: string, mode: number, callback: Asyn * @throws { BusinessError } 13900015 - File exists * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function moveDir(src: string, dest: string, mode: number, callback: AsyncCallback>): void; @@ -4676,7 +4676,7 @@ declare function moveDir(src: string, dest: string, mode: number, callback: Asyn * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function moveDirSync(src: string, dest: string, mode?: number): void; @@ -4739,7 +4739,7 @@ declare function moveDirSync(src: string, dest: string, mode?: number): void; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ declare function moveFile(src: string, dest: string, mode?: number): Promise; @@ -4799,7 +4799,7 @@ declare function moveFile(src: string, dest: string, mode?: number): Promise): void; @@ -4862,7 +4862,7 @@ declare function moveFile(src: string, dest: string, callback: AsyncCallback): void; @@ -4923,7 +4923,7 @@ declare function moveFile(src: string, dest: string, mode: number, callback: Asy * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ declare function moveFileSync(src: string, dest: string, mode?: number): void; @@ -5084,7 +5084,7 @@ declare function moveFileSync(src: string, dest: string, mode?: number): void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare function open(path: string, mode?: number): Promise; @@ -5191,7 +5191,7 @@ declare function open(path: string, mode?: number): Promise; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function open(path: string, callback: AsyncCallback): void; @@ -5315,7 +5315,7 @@ declare function open(path: string, callback: AsyncCallback): void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function open(path: string, mode: number, callback: AsyncCallback): void; @@ -5476,7 +5476,7 @@ declare function open(path: string, mode: number, callback: AsyncCallback) * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare function openSync(path: string, mode?: number): File; @@ -5563,7 +5563,7 @@ declare function openSync(path: string, mode?: number): File; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare function read( fd: number, @@ -5626,7 +5626,7 @@ declare function read( * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback): void; @@ -5691,7 +5691,7 @@ declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback; @@ -5906,7 +5906,7 @@ declare function readLines(filePath: string, options?: Options): Promise): void; @@ -5957,7 +5957,7 @@ declare function readLines(filePath: string, callback: AsyncCallback): void; @@ -6029,7 +6029,7 @@ declare function readLines(filePath: string, options: Options, callback: AsyncCa * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function readLinesSync(filePath: string, options?: Options): ReaderIterator; @@ -6129,7 +6129,7 @@ declare function readLinesSync(filePath: string, options?: Options): ReaderItera * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare function readText( filePath: string, @@ -6200,7 +6200,7 @@ declare function readText( * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function readText(filePath: string, callback: AsyncCallback): void; @@ -6275,7 +6275,7 @@ declare function readText(filePath: string, callback: AsyncCallback): vo * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function readText( filePath: string, @@ -6379,7 +6379,7 @@ declare function readText( * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare function readTextSync( filePath: string, @@ -6471,7 +6471,7 @@ declare function readTextSync( * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function rename(oldPath: string, newPath: string): Promise; @@ -6560,7 +6560,7 @@ declare function rename(oldPath: string, newPath: string): Promise; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function rename(oldPath: string, newPath: string, callback: AsyncCallback): void; @@ -6646,7 +6646,7 @@ declare function rename(oldPath: string, newPath: string, callback: AsyncCallbac * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function renameSync(oldPath: string, newPath: string): void; @@ -6711,7 +6711,7 @@ declare function renameSync(oldPath: string, newPath: string): void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function rmdir(path: string): Promise; @@ -6776,7 +6776,7 @@ declare function rmdir(path: string): Promise; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function rmdir(path: string, callback: AsyncCallback): void; @@ -6838,7 +6838,7 @@ declare function rmdir(path: string, callback: AsyncCallback): void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function rmdirSync(path: string): void; @@ -6906,7 +6906,7 @@ declare function rmdirSync(path: string): void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function stat(file: string | number): Promise; @@ -6975,7 +6975,7 @@ declare function stat(file: string | number): Promise; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function stat(file: string | number, callback: AsyncCallback): void; @@ -7043,7 +7043,7 @@ declare function stat(file: string | number, callback: AsyncCallback): voi * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function statSync(file: string | number): Stat; @@ -7068,7 +7068,7 @@ declare function statSync(file: string | number): Stat; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 9 + * @since 9 dynamic */ declare function symlink(target: string, srcPath: string): Promise; @@ -7093,7 +7093,7 @@ declare function symlink(target: string, srcPath: string): Promise; * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 9 + * @since 9 dynamic */ declare function symlink(target: string, srcPath: string, callback: AsyncCallback): void; @@ -7117,7 +7117,7 @@ declare function symlink(target: string, srcPath: string, callback: AsyncCallbac * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 9 + * @since 9 dynamic */ declare function symlinkSync(target: string, srcPath: string): void; @@ -7197,7 +7197,7 @@ declare function symlinkSync(target: string, srcPath: string): void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function truncate(file: string | number, len?: number): Promise; @@ -7274,7 +7274,7 @@ declare function truncate(file: string | number, len?: number): Promise; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function truncate(file: string | number, callback: AsyncCallback): void; @@ -7354,7 +7354,7 @@ declare function truncate(file: string | number, callback: AsyncCallback): * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function truncate(file: string | number, len: number, callback: AsyncCallback): void; @@ -7431,7 +7431,7 @@ declare function truncate(file: string | number, len: number, callback: AsyncCal * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function truncateSync(file: string | number, len?: number): void; @@ -7505,7 +7505,7 @@ declare function truncateSync(file: string | number, len?: number): void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function unlink(path: string): Promise; @@ -7579,7 +7579,7 @@ declare function unlink(path: string): Promise; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function unlink(path: string, callback: AsyncCallback): void; @@ -7650,7 +7650,7 @@ declare function unlink(path: string, callback: AsyncCallback): void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function unlinkSync(path: string): void; @@ -7682,7 +7682,7 @@ declare function unlinkSync(path: string): void; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 12 + * @since 12 dynamic */ declare function utimes(path: string, mtime: number): void; @@ -7753,7 +7753,7 @@ declare function utimes(path: string, mtime: number): void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function write( fd: number, @@ -7825,7 +7825,7 @@ declare function write( * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function write(fd: number, buffer: ArrayBuffer | string, callback: AsyncCallback): void; @@ -7901,7 +7901,7 @@ declare function write(fd: number, buffer: ArrayBuffer | string, callback: Async * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function write( fd: number, @@ -7982,7 +7982,7 @@ declare function write( * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare function writeSync( fd: number, @@ -8003,7 +8003,7 @@ declare function writeSync( * @throws { BusinessError } 13900045 - Connection failed. * @throws { BusinessError } 13900046 - Software caused connection abort. * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ declare function connectDfs(networkId: string, listeners: DfsListeners): Promise; @@ -8018,7 +8018,7 @@ declare function connectDfs(networkId: string, listeners: DfsListeners): Promise *
2.Incorrect parameter types. * @throws { BusinessError } 13600004 - Unmount failed. * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ declare function disconnectDfs(networkId: string): Promise; @@ -8065,7 +8065,7 @@ declare function disconnectDfs(networkId: string): Promise; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function setxattr(path: string, key: string, value: string): Promise; @@ -8110,7 +8110,7 @@ declare function setxattr(path: string, key: string, value: string): Promise; @@ -8188,7 +8188,7 @@ declare function getxattr(path: string, key: string): Promise; * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare function getxattrSync(path: string, key: string): string; @@ -8197,7 +8197,7 @@ declare function getxattrSync(path: string, key: string): string; * * @typedef Progress * @syscap SystemCapability.FileManagement.File.FileIO - * @since 11 + * @since 11 dynamic */ interface Progress { /** @@ -8206,7 +8206,7 @@ interface Progress { * @type { number } * @readonly * @syscap SystemCapability.FileManagement.File.FileIO - * @since 11 + * @since 11 dynamic */ readonly processedSize: number; @@ -8216,7 +8216,7 @@ interface Progress { * @type { number } * @readonly * @syscap SystemCapability.FileManagement.File.FileIO - * @since 11 + * @since 11 dynamic */ readonly totalSize: number; } @@ -8225,7 +8225,7 @@ interface Progress { * Provides APIs for interrupting a copy task. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ export class TaskSignal { /** @@ -8235,7 +8235,7 @@ export class TaskSignal { * @throws { BusinessError } 13900012 - Permission denied by the file system * @throws { BusinessError } 13900043 - No task can be canceled. * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ cancel(): void; @@ -8247,7 +8247,7 @@ export class TaskSignal { * @throws { BusinessError } 13900008 - Bad file descriptor * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ onCancel(): Promise; } @@ -8257,7 +8257,7 @@ export class TaskSignal { * * @typedef CopyOptions * @syscap SystemCapability.FileManagement.File.FileIO - * @since 11 + * @since 11 dynamic */ interface CopyOptions { /** @@ -8265,7 +8265,7 @@ interface CopyOptions { * * @type { ?ProgressListener } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 11 + * @since 11 dynamic */ progressListener?: ProgressListener; /** @@ -8273,7 +8273,7 @@ interface CopyOptions { * * @type { ?TaskSignal } * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ copySignal?: TaskSignal; } @@ -8284,7 +8284,7 @@ interface CopyOptions { * @typedef { function } ProgressListener * @param { Progress } progress - indicates the progress data of copyFile * @syscap SystemCapability.FileManagement.File.FileIO - * @since 11 + * @since 11 dynamic */ type ProgressListener = (progress: Progress) => void; @@ -8310,7 +8310,7 @@ type ProgressListener = (progress: Progress) => void; * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface File { /** @@ -8334,7 +8334,7 @@ declare interface File { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly fd: number; @@ -8347,7 +8347,7 @@ declare interface File { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 14300002 - Invalid URI * @syscap SystemCapability.FileManagement.File.FileIO - * @since 10 + * @since 10 dynamic */ readonly path: string; @@ -8359,7 +8359,7 @@ declare interface File { * @throws { BusinessError } 13900005 - I/O error * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 10 + * @since 10 dynamic */ readonly name: string; @@ -8382,7 +8382,7 @@ declare interface File { * @throws { BusinessError } 14300002 - Invalid URI * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ getParent(): string; @@ -8400,7 +8400,7 @@ declare interface File { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900043 - No record locks available * @syscap SystemCapability.FileManagement.File.FileIO - * @since 9 + * @since 9 dynamic */ lock(exclusive?: boolean): Promise; @@ -8416,7 +8416,7 @@ declare interface File { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900043 - No record locks available * @syscap SystemCapability.FileManagement.File.FileIO - * @since 9 + * @since 9 dynamic */ lock(callback: AsyncCallback): void; @@ -8434,7 +8434,7 @@ declare interface File { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900043 - No record locks available * @syscap SystemCapability.FileManagement.File.FileIO - * @since 9 + * @since 9 dynamic */ lock(exclusive: boolean, callback: AsyncCallback): void; @@ -8450,7 +8450,7 @@ declare interface File { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900043 - No record locks available * @syscap SystemCapability.FileManagement.File.FileIO - * @since 9 + * @since 9 dynamic */ tryLock(exclusive?: boolean): void; @@ -8464,7 +8464,7 @@ declare interface File { * @throws { BusinessError } 13900042 - Unknown error * @throws { BusinessError } 13900043 - No record locks available * @syscap SystemCapability.FileManagement.File.FileIO - * @since 9 + * @since 9 dynamic */ unlock(): void; } @@ -8484,7 +8484,7 @@ declare interface File { * @interface RandomAccessFile * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare interface RandomAccessFile { @@ -8503,7 +8503,7 @@ declare interface RandomAccessFile { * @readonly * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly fd: number; @@ -8522,7 +8522,7 @@ declare interface RandomAccessFile { * @readonly * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly filePointer: number; @@ -8549,7 +8549,7 @@ declare interface RandomAccessFile { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ setFilePointer(filePointer: number): void; @@ -8576,7 +8576,7 @@ declare interface RandomAccessFile { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ close(): void; @@ -8652,7 +8652,7 @@ declare interface RandomAccessFile { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ write( buffer: ArrayBuffer | string, @@ -8698,7 +8698,7 @@ declare interface RandomAccessFile { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ write(buffer: ArrayBuffer | string, callback: AsyncCallback): void; @@ -8774,7 +8774,7 @@ declare interface RandomAccessFile { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ write( buffer: ArrayBuffer | string, @@ -8854,7 +8854,7 @@ declare interface RandomAccessFile { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ writeSync( buffer: ArrayBuffer | string, @@ -8940,7 +8940,7 @@ declare interface RandomAccessFile { * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ read( buffer: ArrayBuffer, @@ -8980,7 +8980,7 @@ declare interface RandomAccessFile { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ read(buffer: ArrayBuffer, callback: AsyncCallback): void; @@ -9043,7 +9043,7 @@ declare interface RandomAccessFile { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ read( buffer: ArrayBuffer, @@ -9130,7 +9130,7 @@ declare interface RandomAccessFile { * @throws { BusinessError } 13900044 - Network is unreachable * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ readSync( buffer: ArrayBuffer, @@ -9148,7 +9148,7 @@ declare interface RandomAccessFile { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ getReadStream(): ReadStream; @@ -9163,7 +9163,7 @@ declare interface RandomAccessFile { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ getWriteStream(): WriteStream; } @@ -9185,7 +9185,7 @@ declare interface RandomAccessFile { * @extends stream.Readable * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare class ReadStream extends stream.Readable { /** @@ -9199,7 +9199,7 @@ declare class ReadStream extends stream.Readable { * * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ constructor(); @@ -9220,7 +9220,7 @@ declare class ReadStream extends stream.Readable { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly bytesRead: number; @@ -9241,7 +9241,7 @@ declare class ReadStream extends stream.Readable { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly path: string; @@ -9272,7 +9272,7 @@ declare class ReadStream extends stream.Readable { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ seek(offset: number, whence?: WhenceType): number; @@ -9299,7 +9299,7 @@ declare class ReadStream extends stream.Readable { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ close(): void; } @@ -9319,7 +9319,7 @@ declare class ReadStream extends stream.Readable { * @extends stream.Writable * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare class WriteStream extends stream.Writable { /** @@ -9333,7 +9333,7 @@ declare class WriteStream extends stream.Writable { * * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ constructor(); @@ -9354,7 +9354,7 @@ declare class WriteStream extends stream.Writable { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly bytesWritten: number; @@ -9375,7 +9375,7 @@ declare class WriteStream extends stream.Writable { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly path: string; @@ -9404,7 +9404,7 @@ declare class WriteStream extends stream.Writable { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ seek(offset: number, whence?: WhenceType): number; @@ -9431,7 +9431,7 @@ declare class WriteStream extends stream.Writable { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ close(): void; } @@ -9453,7 +9453,7 @@ declare class WriteStream extends stream.Writable { * * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ export class AtomicFile { /** @@ -9471,7 +9471,7 @@ export class AtomicFile { * @throws { BusinessError } 401 Parameter error.Possible causes:1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ constructor(path: string); @@ -9496,7 +9496,7 @@ export class AtomicFile { * @throws { BusinessError } 13900042 Internal error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ getBaseFile(): File; @@ -9521,7 +9521,7 @@ export class AtomicFile { * @throws { BusinessError } 13900042 Internal error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ openRead(): ReadStream; @@ -9542,7 +9542,7 @@ export class AtomicFile { * @throws { BusinessError } 13900042 Internal error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ readFully(): ArrayBuffer; @@ -9571,7 +9571,7 @@ export class AtomicFile { * @throws { BusinessError } 13900042 Internal error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ startWrite(): WriteStream; @@ -9588,7 +9588,7 @@ export class AtomicFile { * @throws { BusinessError } 13900042 Internal error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ finishWrite(): void; @@ -9605,7 +9605,7 @@ export class AtomicFile { * @throws { BusinessError } 13900042 Internal error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ failWrite(): void; @@ -9630,7 +9630,7 @@ export class AtomicFile { * @throws { BusinessError } 13900042 Internal error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ delete(): void; } @@ -9658,7 +9658,7 @@ export class AtomicFile { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare interface Stat { /** @@ -9678,7 +9678,7 @@ declare interface Stat { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ readonly ino: bigint; /** @@ -9718,7 +9718,7 @@ declare interface Stat { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly mode: number; /** @@ -9742,7 +9742,7 @@ declare interface Stat { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ readonly uid: number; /** @@ -9762,7 +9762,7 @@ declare interface Stat { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ readonly gid: number; /** @@ -9792,7 +9792,7 @@ declare interface Stat { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly size: number; /** @@ -9823,7 +9823,7 @@ declare interface Stat { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly atime: number; /** @@ -9854,7 +9854,7 @@ declare interface Stat { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ readonly mtime: number; /** @@ -9875,7 +9875,7 @@ declare interface Stat { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ readonly ctime: number; @@ -9888,7 +9888,7 @@ declare interface Stat { * @readonly * @throws { BusinessError } 13900042 - Internal error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 15 + * @since 15 dynamic */ readonly atimeNs?:bigint; @@ -9900,7 +9900,7 @@ declare interface Stat { * @readonly * @throws { BusinessError } 13900042 - Internal error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 15 + * @since 15 dynamic */ readonly mtimeNs?:bigint; @@ -9912,7 +9912,7 @@ declare interface Stat { * @readonly * @throws { BusinessError } 13900042 - Internal error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 15 + * @since 15 dynamic */ readonly ctimeNs?:bigint; @@ -9923,7 +9923,7 @@ declare interface Stat { * @readonly * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 11 + * @since 11 dynamic */ readonly location: LocationType; @@ -9944,7 +9944,7 @@ declare interface Stat { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ isBlockDevice(): boolean; /** @@ -9964,7 +9964,7 @@ declare interface Stat { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ isCharacterDevice(): boolean; /** @@ -9995,7 +9995,7 @@ declare interface Stat { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ isDirectory(): boolean; /** @@ -10015,7 +10015,7 @@ declare interface Stat { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ isFIFO(): boolean; /** @@ -10046,7 +10046,7 @@ declare interface Stat { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ isFile(): boolean; /** @@ -10066,7 +10066,7 @@ declare interface Stat { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ isSocket(): boolean; /** @@ -10086,7 +10086,7 @@ declare interface Stat { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 10 + * @since 10 dynamic */ isSymbolicLink(): boolean; } @@ -10107,7 +10107,7 @@ declare interface Stat { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare interface Stream { /** @@ -10136,7 +10136,7 @@ declare interface Stream { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ close(): Promise; @@ -10166,7 +10166,7 @@ declare interface Stream { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ close(callback: AsyncCallback): void; @@ -10194,7 +10194,7 @@ declare interface Stream { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ closeSync(): void; @@ -10236,7 +10236,7 @@ declare interface Stream { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ flush(): Promise; @@ -10278,7 +10278,7 @@ declare interface Stream { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ flush(callback: AsyncCallback): void; @@ -10318,7 +10318,7 @@ declare interface Stream { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ flushSync(): void; @@ -10395,7 +10395,7 @@ declare interface Stream { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ write( buffer: ArrayBuffer | string, @@ -10420,7 +10420,7 @@ declare interface Stream { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since 9 + * @since 9 dynamic */ /** /** @@ -10443,7 +10443,7 @@ declare interface Stream { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ write(buffer: ArrayBuffer | string, callback: AsyncCallback): void; @@ -10520,7 +10520,7 @@ declare interface Stream { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ write( buffer: ArrayBuffer | string, @@ -10601,7 +10601,7 @@ declare interface Stream { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ writeSync( buffer: ArrayBuffer | string, @@ -10688,7 +10688,7 @@ declare interface Stream { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ read( buffer: ArrayBuffer, @@ -10729,7 +10729,7 @@ declare interface Stream { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ read(buffer: ArrayBuffer, callback: AsyncCallback): void; @@ -10793,7 +10793,7 @@ declare interface Stream { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ read( buffer: ArrayBuffer, @@ -10881,7 +10881,7 @@ declare interface Stream { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ readSync( buffer: ArrayBuffer, @@ -10902,7 +10902,7 @@ declare interface Stream { * @interface WatchEventListener * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ export interface WatchEventListener { /** @@ -10918,7 +10918,7 @@ export interface WatchEventListener { * @param { WatchEvent } event - Event for the callback to invoke. * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ (event: WatchEvent): void; } @@ -10936,7 +10936,7 @@ export interface WatchEventListener { * @interface WatchEvent * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ export interface WatchEvent { /** @@ -10954,7 +10954,7 @@ export interface WatchEvent { * @readonly * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly fileName: string; @@ -10999,7 +10999,7 @@ export interface WatchEvent { * @readonly * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly event: number; @@ -11020,7 +11020,7 @@ export interface WatchEvent { * @readonly * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ readonly cookie: number; } @@ -11040,7 +11040,7 @@ export interface WatchEvent { * @interface Watcher * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ export interface Watcher { /** @@ -11080,7 +11080,7 @@ export interface Watcher { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ start(): void; @@ -11121,7 +11121,7 @@ export interface Watcher { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ stop(): void; } @@ -11139,7 +11139,7 @@ export interface Watcher { * @interface ReaderIteratorResult * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ export interface ReaderIteratorResult { /** @@ -11157,7 +11157,7 @@ export interface ReaderIteratorResult { * @type { boolean } * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ done: boolean; @@ -11174,7 +11174,7 @@ export interface ReaderIteratorResult { * @type { string } * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ value: string; } @@ -11194,7 +11194,7 @@ export interface ReaderIteratorResult { * @interface ReaderIterator * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare interface ReaderIterator { /** @@ -11216,7 +11216,7 @@ declare interface ReaderIterator { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ next(): ReaderIteratorResult; } @@ -11235,7 +11235,7 @@ declare interface ReaderIterator { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ export interface Filter { /** @@ -11252,7 +11252,7 @@ export interface Filter { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ suffix?: Array; /** @@ -11270,7 +11270,7 @@ export interface Filter { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ displayName?: Array; /** @@ -11287,7 +11287,7 @@ export interface Filter { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ mimeType?: Array; /** @@ -11304,7 +11304,7 @@ export interface Filter { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ fileSizeOver?: number; /** @@ -11321,7 +11321,7 @@ export interface Filter { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ lastModifiedAfter?: number; /** @@ -11339,7 +11339,7 @@ export interface Filter { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ excludeMedia?: boolean; } @@ -11363,7 +11363,7 @@ export interface Filter { * @interface ConflictFiles * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ export interface ConflictFiles { /** @@ -11386,7 +11386,7 @@ export interface ConflictFiles { * @type { string } * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ srcFile: string; @@ -11410,7 +11410,7 @@ export interface ConflictFiles { * @type { string } * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ destFile: string; } @@ -11428,7 +11428,7 @@ export interface ConflictFiles { * @interface Options * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ export interface Options { /** @@ -11444,7 +11444,7 @@ export interface Options { * @type { ?string } * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ encoding?: string; } @@ -11464,7 +11464,7 @@ export interface Options { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export interface ReadOptions { /** @@ -11482,7 +11482,7 @@ export interface ReadOptions { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ offset?: number; /** @@ -11502,7 +11502,7 @@ export interface ReadOptions { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ length?: number; } @@ -11524,7 +11524,7 @@ export interface ReadOptions { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export interface ReadTextOptions extends ReadOptions { /** @@ -11544,7 +11544,7 @@ export interface ReadTextOptions extends ReadOptions { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ encoding?: string; } @@ -11566,7 +11566,7 @@ export interface ReadTextOptions extends ReadOptions { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ export interface WriteOptions extends Options { /** @@ -11610,7 +11610,7 @@ export interface WriteOptions extends Options { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ offset?: number; /** @@ -11628,7 +11628,7 @@ export interface WriteOptions extends Options { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ length?: number; } @@ -11639,7 +11639,7 @@ export interface WriteOptions extends Options { * @interface ListFileOptions * @syscap SystemCapability.FileManagement.File.FileIO * @atomicservice - * @since 11 + * @since 11 dynamic */ export interface ListFileOptions { /** @@ -11651,7 +11651,7 @@ export interface ListFileOptions { * @type { ?boolean } * @syscap SystemCapability.FileManagement.File.FileIO * @atomicservice - * @since 11 + * @since 11 dynamic */ recursion?: boolean; @@ -11661,7 +11661,7 @@ export interface ListFileOptions { * @type { ?number } * @syscap SystemCapability.FileManagement.File.FileIO * @atomicservice - * @since 11 + * @since 11 dynamic */ listNum?: number; @@ -11671,7 +11671,7 @@ export interface ListFileOptions { * @type { ?Filter } * @syscap SystemCapability.FileManagement.File.FileIO * @atomicservice - * @since 11 + * @since 11 dynamic */ filter?: Filter; } @@ -11689,7 +11689,7 @@ export interface ListFileOptions { * @interface RandomAccessFileOptions * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ export interface RandomAccessFileOptions { /** @@ -11705,7 +11705,7 @@ export interface RandomAccessFileOptions { * @type { ?number } * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ start?: number; @@ -11722,7 +11722,7 @@ export interface RandomAccessFileOptions { * @type { ?number } * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ end?: number; } @@ -11740,7 +11740,7 @@ export interface RandomAccessFileOptions { * @interface ReadStreamOptions * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ export interface ReadStreamOptions { /** @@ -11758,7 +11758,7 @@ export interface ReadStreamOptions { * @type { ?number } * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ start?: number; @@ -11777,7 +11777,7 @@ export interface ReadStreamOptions { * @type { ?number } * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ end?: number; } @@ -11795,7 +11795,7 @@ export interface ReadStreamOptions { * @interface WriteStreamOptions * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ export interface WriteStreamOptions { /** @@ -11811,7 +11811,7 @@ export interface WriteStreamOptions { * @type { ?number } * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ mode?: number; /** @@ -11829,7 +11829,7 @@ export interface WriteStreamOptions { * @type { ?number } * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ start?: number; } @@ -11839,7 +11839,7 @@ export interface WriteStreamOptions { * * @typedef DfsListeners * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ export interface DfsListeners { /** @@ -11848,7 +11848,7 @@ export interface DfsListeners { * @param { string } networkId - The networkId of device. * @param { number } status - The status code of Distributed File System. * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ onStatus(networkId: string, status: number): void; } @@ -11866,7 +11866,7 @@ export interface DfsListeners { * @enum { number } whence type * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ declare enum WhenceType { /** @@ -11880,7 +11880,7 @@ declare enum WhenceType { * * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ SEEK_SET = 0, @@ -11895,7 +11895,7 @@ declare enum WhenceType { * * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ SEEK_CUR = 1, @@ -11910,7 +11910,7 @@ declare enum WhenceType { * * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 + * @since 20 dynamic */ SEEK_END = 2 } @@ -11920,14 +11920,14 @@ declare enum WhenceType { * * @enum { number } location type * @syscap SystemCapability.FileManagement.File.FileIO - * @since 11 + * @since 11 dynamic */ declare enum LocationType { /** * The file is stored in a local device. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 11 + * @since 11 dynamic */ LOCAL = 1 << 0, @@ -11935,7 +11935,7 @@ declare enum LocationType { * The file is stored in the cloud. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 11 + * @since 11 dynamic */ CLOUD = 1 << 1 } @@ -11955,7 +11955,7 @@ declare enum LocationType { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ declare enum AccessModeType { /** @@ -11971,7 +11971,7 @@ declare enum AccessModeType { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ EXIST = 0, @@ -11988,7 +11988,7 @@ declare enum AccessModeType { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ WRITE = 2, @@ -12005,7 +12005,7 @@ declare enum AccessModeType { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ READ = 4, @@ -12022,7 +12022,7 @@ declare enum AccessModeType { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ READ_WRITE = 6 } @@ -12032,14 +12032,14 @@ declare enum AccessModeType { * * @enum { number } access flag type * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ declare enum AccessFlagType { /** * The file is stored locally. * * @syscap SystemCapability.FileManagement.File.FileIO - * @since 12 + * @since 12 dynamic */ LOCAL = 0 } diff --git a/api/@ohos.file.hash.d.ts b/api/@ohos.file.hash.d.ts index 6d8e4097b0..20f9840c4f 100644 --- a/api/@ohos.file.hash.d.ts +++ b/api/@ohos.file.hash.d.ts @@ -43,8 +43,7 @@ import stream from './@ohos.util.stream'; * @syscap SystemCapability.FileManagement.File.FileIO * @atomicservice * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ declare namespace hash { /** @@ -81,8 +80,7 @@ declare namespace hash { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function hash(path: string, algorithm: string): Promise; @@ -120,8 +118,7 @@ declare namespace hash { * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function hash(path: string, algorithm: string, callback: AsyncCallback): void; @@ -138,8 +135,7 @@ declare namespace hash { * @extends stream.Transform * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ class HashStream extends stream.Transform { /** @@ -159,8 +155,7 @@ declare namespace hash { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ digest(): string; @@ -181,8 +176,7 @@ declare namespace hash { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ update(data: ArrayBuffer): void; } @@ -208,8 +202,7 @@ declare namespace hash { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function createHash(algorithm: string): HashStream; } diff --git a/api/@ohos.file.keyManager.d.ts b/api/@ohos.file.keyManager.d.ts index 864eeabb70..da54cf3bfa 100644 --- a/api/@ohos.file.keyManager.d.ts +++ b/api/@ohos.file.keyManager.d.ts @@ -23,8 +23,8 @@ * * @namespace keyManager * @syscap SystemCapability.FileManagement.StorageService.Encryption - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ declare namespace keyManager { /** @@ -41,8 +41,8 @@ declare namespace keyManager { * @throws { BusinessError } 13600009 - User ID out of range. Possible causes: input parameter userId < 100 or userId > 10736. * @syscap SystemCapability.FileManagement.StorageService.Encryption * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function deactivateUserKey(userId: long):void; } diff --git a/api/@ohos.file.photoAccessHelper.d.ts b/api/@ohos.file.photoAccessHelper.d.ts index 9c482d200e..2b99b773bb 100644 --- a/api/@ohos.file.photoAccessHelper.d.ts +++ b/api/@ohos.file.photoAccessHelper.d.ts @@ -46,8 +46,8 @@ import type { CustomColors } from './@ohos.arkui.theme'; * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace photoAccessHelper { /** @@ -84,8 +84,8 @@ declare namespace photoAccessHelper { * @StageModelOnly * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getPhotoAccessHelper(context: Context): PhotoAccessHelper; @@ -102,8 +102,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi * @StageModelOnly - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function getPhotoAccessHelper(context: Context, userId: int): PhotoAccessHelper; @@ -113,8 +113,7 @@ declare namespace photoAccessHelper { * @enum { string } SupportedImageFormat * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum SupportedImageFormat { /** @@ -122,8 +121,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ AVFILE_FORMAT_JPG = 'jpg', } @@ -150,8 +148,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum PhotoType { /** @@ -173,8 +171,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ IMAGE = 1, /** @@ -196,8 +194,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO = 2 } @@ -216,8 +214,8 @@ declare namespace photoAccessHelper { * @enum { int } PhotoSubtype * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum PhotoSubtype { /** @@ -232,8 +230,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEFAULT = 0, /** @@ -241,8 +239,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SCREENSHOT = 1, /** @@ -250,8 +248,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MOVING_PHOTO = 3, /** @@ -259,8 +257,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BURST = 4, } @@ -270,24 +268,24 @@ declare namespace photoAccessHelper { * * @enum { int } DynamicRangeType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum DynamicRangeType { /** * Standard dynamic range (SDR). * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SDR = 0, /** * High dynamic range (HDR). * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HDR = 1 } @@ -298,8 +296,8 @@ declare namespace photoAccessHelper { * @enum { int } ThumbnailVisibility * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum ThumbnailVisibility { /** @@ -307,8 +305,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ INVISIBLE = 0, /** @@ -316,8 +314,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ VISIBLE = 1 } @@ -335,8 +333,8 @@ declare namespace photoAccessHelper { * * @enum { int } Photo asset position, such as local device or cloud * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ enum PositionType { /** @@ -350,8 +348,8 @@ declare namespace photoAccessHelper { * Asset exists only in local device * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ LOCAL = 1, /** @@ -365,16 +363,16 @@ declare namespace photoAccessHelper { * Stored only on the cloud. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ CLOUD = 2, /** * Stored both on a local device and cloud. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ LOCAL_AND_CLOUD = 3 } @@ -385,8 +383,8 @@ declare namespace photoAccessHelper { * @enum { int } AnalysisType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum AnalysisType { /** @@ -394,8 +392,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ANALYSIS_AESTHETICS_SCORE = 0, /** @@ -403,8 +401,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ANALYSIS_LABEL, /** @@ -412,8 +410,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ANALYSIS_OCR, /** @@ -421,8 +419,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ANALYSIS_FACE, /** @@ -430,8 +428,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ANALYSIS_OBJECT, /** @@ -439,8 +437,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ANALYSIS_RECOMMENDATION, /** @@ -448,8 +446,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ANALYSIS_SEGMENTATION, /** @@ -457,8 +455,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ANALYSIS_COMPOSITION, /** @@ -466,8 +464,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ANALYSIS_SALIENCY, /** @@ -475,8 +473,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ANALYSIS_DETAIL_ADDRESS, /** @@ -484,8 +482,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ANALYSIS_HUMAN_FACE_TAG, /** @@ -493,8 +491,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ANALYSIS_HEAD_POSITION, /** @@ -502,8 +500,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ANALYSIS_BONE_POSE, /** @@ -511,8 +509,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ANALYSIS_VIDEO_LABEL, /** @@ -520,8 +518,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ANALYSIS_HIGHLIGHT, /** @@ -529,8 +527,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ANALYSIS_MULTI_CROP, /** @@ -538,8 +536,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ ANALYSIS_SEARCH_INDEX = 16 } @@ -550,8 +548,8 @@ declare namespace photoAccessHelper { * @enum { int } RecommendationType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum RecommendationType { /** @@ -559,8 +557,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ QR_OR_BAR_CODE = 1, @@ -569,8 +567,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ QR_CODE = 2, @@ -579,8 +577,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BAR_CODE = 3, @@ -589,8 +587,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ID_CARD = 4, @@ -599,8 +597,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PROFILE_PICTURE = 5, @@ -609,8 +607,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PASSPORT = 6, @@ -619,8 +617,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BANK_CARD = 7, @@ -629,8 +627,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DRIVER_LICENSE = 8, @@ -639,8 +637,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DRIVING_LICENSE = 9, @@ -649,8 +647,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FEATURED_SINGLE_PORTRAIT = 10, @@ -659,8 +657,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ COLOR_STYLE_PHOTO = 12 } @@ -670,16 +668,16 @@ declare namespace photoAccessHelper { * * @enum { int } DeliveryMode * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum DeliveryMode { /** * Fast mode. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FAST_MODE = 0, @@ -687,8 +685,8 @@ declare namespace photoAccessHelper { * High-quality mode. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ HIGH_QUALITY_MODE = 1, @@ -696,8 +694,8 @@ declare namespace photoAccessHelper { * Balance mode. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BALANCE_MODE = 2 } @@ -707,16 +705,16 @@ declare namespace photoAccessHelper { * * @enum { int } CompatibleMode * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum CompatibleMode { /** * Maintains the original video format. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ ORIGINAL_FORMAT_MODE = 0, @@ -724,8 +722,8 @@ declare namespace photoAccessHelper { * Converts the HDR content to SDR format. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ COMPATIBLE_FORMAT_MODE = 1 } @@ -735,8 +733,8 @@ declare namespace photoAccessHelper { * * @interface MediaAssetProgressHandler * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ interface MediaAssetProgressHandler { /** @@ -744,8 +742,8 @@ declare namespace photoAccessHelper { * * @param { int } progress - Progress in percentage. Value range: 0 to 100 * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ onProgress(progress: int): void; } @@ -756,8 +754,8 @@ declare namespace photoAccessHelper { * @enum { int } SourceMode * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum SourceMode { /** @@ -765,8 +763,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ORIGINAL_MODE = 0, @@ -775,8 +773,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ EDITED_MODE = 1 } @@ -787,8 +785,8 @@ declare namespace photoAccessHelper { * @enum { int } PhotoPermissionType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum PhotoPermissionType { /** @@ -796,8 +794,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TEMPORARY_READ_IMAGEVIDEO = 0, @@ -806,8 +804,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PERSISTENT_READ_IMAGEVIDEO = 1 } @@ -818,8 +816,8 @@ declare namespace photoAccessHelper { * @enum { int } HideSensitiveType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum HideSensitiveType { /** @@ -827,8 +825,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HIDE_LOCATION_AND_SHOOTING_PARAM = 0, @@ -837,8 +835,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HIDE_LOCATION_ONLY = 1, @@ -847,8 +845,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HIDE_SHOOTING_PARAM_ONLY = 2, @@ -857,8 +855,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NO_HIDE_SENSITIVE_TYPE = 3 } @@ -869,8 +867,8 @@ declare namespace photoAccessHelper { * @enum { int } AuthorizationMode * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AuthorizationMode { /** @@ -878,8 +876,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SHORT_TIME_AUTHORIZATION = 0 } @@ -890,8 +888,8 @@ declare namespace photoAccessHelper { * @enum { int } WatermarkType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum WatermarkType { /** @@ -899,8 +897,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ DEFAULT = 0, @@ -909,8 +907,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ BRAND_COMMON = 1, @@ -919,8 +917,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ COMMON = 2, @@ -929,8 +927,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ BRAND = 3, } @@ -941,8 +939,8 @@ declare namespace photoAccessHelper { * @enum { int } CompleteButtonText * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum CompleteButtonText { /** @@ -950,8 +948,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ TEXT_DONE = 0, /** @@ -959,8 +957,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ TEXT_SEND = 1, @@ -969,8 +967,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ TEXT_ADD = 2, } @@ -980,8 +978,8 @@ declare namespace photoAccessHelper { * * @interface RequestOptions * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface RequestOptions { /** @@ -989,8 +987,8 @@ declare namespace photoAccessHelper { * * @type { DeliveryMode } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ deliveryMode: DeliveryMode; @@ -1000,8 +998,8 @@ declare namespace photoAccessHelper { * @type { ?SourceMode } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ sourceMode?: SourceMode; @@ -1010,8 +1008,8 @@ declare namespace photoAccessHelper { * * @type { ?CompatibleMode } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ compatibleMode?: CompatibleMode; @@ -1020,8 +1018,8 @@ declare namespace photoAccessHelper { * * @type { ?MediaAssetProgressHandler } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ mediaAssetProgressHandler?: MediaAssetProgressHandler; } @@ -1031,8 +1029,8 @@ declare namespace photoAccessHelper { * * @interface MediaAssetDataHandler * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface MediaAssetDataHandler { /** @@ -1048,8 +1046,8 @@ declare namespace photoAccessHelper { * @param { T } data - the returned data of media asset * @param { Map } [map] - additional information for the data * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ onDataPrepared(data: T, map?: Map): void; } @@ -1059,8 +1057,8 @@ declare namespace photoAccessHelper { * * @typedef QuickImageDataHandler * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface QuickImageDataHandler { /** @@ -1070,8 +1068,8 @@ declare namespace photoAccessHelper { * @param { image.ImageSource } imageSource - the returned data of imageSource * @param { Map } map - additional information for the data * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ onDataPrepared(data: T, imageSource: image.ImageSource, map: Map): void; } @@ -1082,8 +1080,8 @@ declare namespace photoAccessHelper { * @interface PhotoProxy * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface PhotoProxy {} @@ -1098,8 +1096,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ class MediaAssetManager { /** @@ -1117,8 +1115,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ static requestImage( context: Context, @@ -1142,7 +1140,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 13 + * @since 13 dynamic */ static quickRequestImage( context: Context, @@ -1166,8 +1164,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ static requestImageData( context: Context, @@ -1209,8 +1207,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ static requestMovingPhoto( context: Context, @@ -1232,8 +1230,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static cancelRequest(context: Context, requestId: string): Promise; @@ -1272,8 +1270,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ static requestVideoFile( context: Context, @@ -1310,8 +1308,8 @@ declare namespace photoAccessHelper { * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ static loadMovingPhoto( context: Context, @@ -1333,8 +1331,8 @@ declare namespace photoAccessHelper { * @typedef { int | long | double | string | boolean } MemberType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type MemberType = int | long | double | string | boolean; @@ -1360,8 +1358,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface PhotoAsset { /** @@ -1379,8 +1377,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly uri: string; /** @@ -1408,8 +1406,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ readonly photoType: PhotoType; /** @@ -1437,8 +1434,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ readonly displayName: string; /** @@ -1478,8 +1474,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ get(member: string): MemberType; /** @@ -1492,8 +1487,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000014 - The provided member must be a property name of PhotoKey. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static * @example : set(PhotoKeys.TITLE, "newTitle"), call commitModify after set */ set(member: string, value: string): void; @@ -1524,8 +1519,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ commitModify(callback: AsyncCallback): void; /** @@ -1555,8 +1550,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ commitModify(): Promise; /** @@ -1573,7 +1568,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ open(mode: string, callback: AsyncCallback): void; @@ -1591,7 +1586,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ open(mode: string): Promise; @@ -1606,7 +1601,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ getReadOnlyFd(callback: AsyncCallback): void; @@ -1621,7 +1616,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ getReadOnlyFd(): Promise; @@ -1635,7 +1630,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ close(fd: number, callback: AsyncCallback): void; @@ -1649,7 +1644,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 10 + * @since 10 dynamic * @deprecated since 11 */ close(fd: number): Promise; @@ -1664,8 +1659,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getThumbnail(callback: AsyncCallback): void; /** @@ -1680,8 +1675,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getThumbnail(size: image.Size, callback: AsyncCallback): void; /** @@ -1696,8 +1691,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getThumbnail(size?: image.Size): Promise; /** @@ -1714,8 +1709,8 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getThumbnailData(type: ThumbnailType): Promise; /** @@ -1732,7 +1727,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAssetChangeRequest#setFavorite */ @@ -1751,7 +1746,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAssetChangeRequest#setFavorite */ @@ -1770,7 +1765,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAssetChangeRequest#setHidden */ @@ -1789,7 +1784,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAssetChangeRequest#setHidden */ @@ -1808,7 +1803,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAssetChangeRequest#setUserComment */ @@ -1827,7 +1822,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAssetChangeRequest#setUserComment */ @@ -1845,8 +1840,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getExif(callback: AsyncCallback): void; /** @@ -1862,8 +1857,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getAnalysisData(analysisType: AnalysisType): Promise; /** @@ -1879,8 +1874,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getExif(): Promise; /** @@ -1896,8 +1891,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setPending(pendingState: boolean, callback: AsyncCallback): void; /** @@ -1913,8 +1908,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setPending(pendingState: boolean): Promise; /** @@ -1929,8 +1924,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isEdited(callback: AsyncCallback): void; /** @@ -1945,8 +1940,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isEdited(): Promise; /** @@ -1961,8 +1956,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ requestEditData(callback: AsyncCallback): void; /** @@ -1977,8 +1972,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ requestEditData(): Promise; /** @@ -1993,8 +1988,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getEditData(): Promise; /** @@ -2009,8 +2004,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error. It is recommended to retry and check the logs. *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ clone(title: string): Promise; /** @@ -2037,8 +2032,7 @@ declare namespace photoAccessHelper { * 1. Database corrupted. 2. The file system is abnormal. 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ convertImageFormat(title: string, imageFormat: SupportedImageFormat): Promise; /** @@ -2053,8 +2047,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ requestSource(callback: AsyncCallback): void; /** @@ -2069,8 +2063,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ requestSource(): Promise; /** @@ -2087,8 +2081,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ commitEditedAsset(editData: string, uri: string, callback: AsyncCallback): void; /** @@ -2105,8 +2099,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ commitEditedAsset(editData: string, uri: string): Promise; /** @@ -2121,8 +2115,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ revertToOriginal(callback: AsyncCallback): void; /** @@ -2137,8 +2131,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ revertToOriginal(): Promise; /** @@ -2154,8 +2148,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ requestPhoto(callback: AsyncCallback): string; /** @@ -2172,8 +2166,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ requestPhoto(options: RequestPhotoOptions, callback: AsyncCallback): string; /** @@ -2188,8 +2182,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ cancelPhotoRequest(requestId: string): void; /** @@ -2206,8 +2200,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getKeyFrameThumbnail(beginFrameTimeMs: long, type: ThumbnailType): Promise; } @@ -2234,8 +2228,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum PhotoKeys { /** @@ -2257,8 +2250,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ URI = 'uri', /** @@ -2280,8 +2272,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ PHOTO_TYPE = 'media_type', /** @@ -2303,8 +2294,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DISPLAY_NAME = 'display_name', /** @@ -2326,8 +2316,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ SIZE = 'size', /** @@ -2349,8 +2338,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DATE_ADDED = 'date_added', /** @@ -2372,8 +2360,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DATE_MODIFIED = 'date_modified', /** @@ -2395,8 +2382,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DURATION = 'duration', /** @@ -2418,8 +2404,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ WIDTH = 'width', /** @@ -2441,8 +2426,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ HEIGHT = 'height', /** @@ -2464,9 +2448,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 - + * @since 20 dynamic&static */ DATE_TAKEN = 'date_taken', /** @@ -2488,8 +2470,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ ORIENTATION = 'orientation', /** @@ -2511,8 +2492,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FAVORITE = 'is_favorite', /** @@ -2534,8 +2514,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ TITLE = 'title', /** @@ -2556,8 +2535,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ POSITION = 'position', /** @@ -2565,8 +2543,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ DATE_TRASHED = 'date_trashed', /** @@ -2574,8 +2552,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ HIDDEN = 'hidden', /** @@ -2583,8 +2561,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ USER_COMMENT = 'user_comment', /** @@ -2592,8 +2570,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CAMERA_SHOT_KEY = 'camera_shot_key', /** @@ -2601,8 +2579,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DATE_YEAR = 'date_year', /** @@ -2610,8 +2588,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DATE_MONTH = 'date_month', /** @@ -2619,8 +2597,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DATE_DAY = 'date_day', /** @@ -2628,8 +2606,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PENDING = 'pending', /** @@ -2643,8 +2621,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DATE_ADDED_MS = 'date_added_ms', /** @@ -2658,8 +2635,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DATE_MODIFIED_MS = 'date_modified_ms', /** @@ -2667,8 +2643,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DATE_TRASHED_MS = 'date_trashed_ms', /** @@ -2682,8 +2658,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ PHOTO_SUBTYPE = 'subtype', /** @@ -2691,8 +2666,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MOVING_PHOTO_EFFECT_MODE = 'moving_photo_effect_mode', /** @@ -2706,8 +2681,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DYNAMIC_RANGE_TYPE = 'dynamic_range_type', /** @@ -2721,8 +2695,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ COVER_POSITION = 'cover_position', /** @@ -2736,8 +2709,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ BURST_KEY = 'burst_key', /** @@ -2745,8 +2717,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ THUMBNAIL_READY = 'thumbnail_ready', /** @@ -2760,8 +2732,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ LCD_SIZE = 'lcd_size', /** @@ -2775,8 +2746,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ THM_SIZE = 'thm_size', /** @@ -2790,8 +2760,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DETAIL_TIME = 'detail_time', /** @@ -2805,8 +2774,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DATE_TAKEN_MS = 'date_taken_ms', /** @@ -2814,8 +2782,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ CE_AVAILABLE = 'ce_available', /** @@ -2823,8 +2791,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ SUPPORTED_WATERMARK_TYPE = 'supported_watermark_type', /** @@ -2832,8 +2800,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ THUMBNAIL_VISIBLE = 'thumbnail_visible', /** @@ -2841,8 +2809,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ IS_CE_AUTO = 'is_auto', /** @@ -2850,8 +2818,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ OWNER_ALBUM_ID = 'owner_album_id', /** @@ -2859,16 +2827,16 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ IS_RECENT_SHOW = 'is_recent_show', /** * Suffix of the asset, read only * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ MEDIA_SUFFIX = 'media_suffix', /** @@ -2876,7 +2844,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 19 + * @since 19 dynamic */ SUM_SIZE = 'sum(size)' } @@ -2894,8 +2862,8 @@ declare namespace photoAccessHelper { * @enum { string } AlbumKeys * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AlbumKeys { /** @@ -2916,8 +2884,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ URI = 'uri', /** @@ -2931,8 +2898,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ALBUM_NAME = 'album_name', /** @@ -2940,8 +2907,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ ALBUM_LPATH = 'lpath', /** @@ -2949,8 +2916,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ BUNDLE_NAME = 'bundle_name', /** @@ -2958,8 +2925,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ DATE_MODIFIED = 'date_modified', /** @@ -2967,8 +2934,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ COVER_URI_SOURCE = 'cover_uri_source' } @@ -2979,8 +2945,8 @@ declare namespace photoAccessHelper { * @enum { int } HiddenPhotosDisplayMode * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum HiddenPhotosDisplayMode { /** @@ -2988,8 +2954,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ASSETS_MODE, /** @@ -2997,8 +2963,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ALBUMS_MODE } @@ -3025,8 +2991,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface FetchOptions { /** @@ -3051,8 +3016,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ fetchColumns: Array; /** @@ -3077,8 +3041,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ predicates: dataSharePredicates.DataSharePredicates; } @@ -3089,8 +3052,8 @@ declare namespace photoAccessHelper { * @interface PhotoCreateOptions * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface PhotoCreateOptions { /** @@ -3099,8 +3062,8 @@ declare namespace photoAccessHelper { * @type { ?PhotoSubtype } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ subtype?: PhotoSubtype; /** @@ -3109,8 +3072,8 @@ declare namespace photoAccessHelper { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ cameraShotKey?: string; /** @@ -3119,7 +3082,7 @@ declare namespace photoAccessHelper { * @type { ?int } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 19 + * @since 19 dynamic */ userId?: int; } @@ -3130,8 +3093,8 @@ declare namespace photoAccessHelper { * @interface PhotoCreationConfig * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface PhotoCreationConfig { /** @@ -3140,8 +3103,8 @@ declare namespace photoAccessHelper { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ title?: string; @@ -3151,8 +3114,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fileNameExtension: string; @@ -3162,8 +3125,8 @@ declare namespace photoAccessHelper { * @type { PhotoType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ photoType: PhotoType; @@ -3173,8 +3136,8 @@ declare namespace photoAccessHelper { * @type { ?PhotoSubtype } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ subtype?: PhotoSubtype; } @@ -3192,8 +3155,8 @@ declare namespace photoAccessHelper { * @interface CreateOptions * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface CreateOptions { /** @@ -3209,8 +3172,8 @@ declare namespace photoAccessHelper { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ title?: string; /** @@ -3219,8 +3182,8 @@ declare namespace photoAccessHelper { * @type { ?PhotoSubtype } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ subtype?: PhotoSubtype; } @@ -3231,8 +3194,8 @@ declare namespace photoAccessHelper { * @interface RequestPhotoOptions * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface RequestPhotoOptions { /** @@ -3241,8 +3204,8 @@ declare namespace photoAccessHelper { * @type { ?image.Size } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ size?: image.Size; /** @@ -3251,8 +3214,8 @@ declare namespace photoAccessHelper { * @type { ?RequestPhotoType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ requestPhotoType?: RequestPhotoType; } @@ -3263,8 +3226,8 @@ declare namespace photoAccessHelper { * @interface PhotoCreationSource * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface PhotoCreationSource { /** @@ -3273,8 +3236,8 @@ declare namespace photoAccessHelper { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ bundleName?: string; /** @@ -3283,8 +3246,8 @@ declare namespace photoAccessHelper { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ appName?: string; /** @@ -3293,8 +3256,8 @@ declare namespace photoAccessHelper { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ appId?: string; /** @@ -3303,8 +3266,8 @@ declare namespace photoAccessHelper { * @type { ?long } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ tokenId?: long; } @@ -3331,8 +3294,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface FetchResult { /** @@ -3367,8 +3329,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getCount(): int; /** @@ -3406,8 +3367,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ isAfterLast(): boolean; /** @@ -3442,8 +3402,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getFirstObject(callback: AsyncCallback): void; /** @@ -3478,8 +3437,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getFirstObject(): Promise; /** @@ -3518,8 +3476,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getNextObject(callback: AsyncCallback): void; /** @@ -3558,8 +3515,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getNextObject(): Promise; /** @@ -3594,8 +3550,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getLastObject(callback: AsyncCallback): void; /** @@ -3630,8 +3585,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getLastObject(): Promise; /** @@ -3669,8 +3623,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getObjectByPosition(index: int, callback: AsyncCallback): void; /** @@ -3708,8 +3661,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getObjectByPosition(index: int): Promise; /** @@ -3744,8 +3696,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getAllObjects(callback: AsyncCallback>): void; /** @@ -3780,8 +3731,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getAllObjects(): Promise>; /** @@ -3813,8 +3763,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ close(): void; } @@ -3832,8 +3781,8 @@ declare namespace photoAccessHelper { * @enum { int } AlbumType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AlbumType { /** @@ -3847,8 +3796,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ USER = 0, /** @@ -3862,8 +3811,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SYSTEM = 1024, /** @@ -3871,8 +3820,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SOURCE = 2048, /** @@ -3880,8 +3829,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SMART = 4096 } @@ -3899,8 +3848,8 @@ declare namespace photoAccessHelper { * @enum { int } AlbumSubtype * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AlbumSubtype { /** @@ -3914,8 +3863,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ USER_GENERIC = 1, /** @@ -3929,8 +3878,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FAVORITE = 1025, /** @@ -3944,8 +3893,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO, /** @@ -3953,8 +3902,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ HIDDEN, /** @@ -3962,8 +3911,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ TRASH, /** @@ -3971,8 +3920,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SCREENSHOT, /** @@ -3980,8 +3929,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CAMERA, /** @@ -3995,8 +3944,8 @@ declare namespace photoAccessHelper { * Image album * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ IMAGE = 1031, /** @@ -4004,8 +3953,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ CLOUD_ENHANCEMENT = 1032, /** @@ -4013,8 +3962,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SOURCE_GENERIC = 2049, /** @@ -4022,8 +3971,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CLASSIFY = 4097, /** @@ -4031,8 +3980,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ GEOGRAPHY_LOCATION = 4099, /** @@ -4040,8 +3989,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ GEOGRAPHY_CITY, /** @@ -4049,8 +3998,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SHOOTING_MODE, /** @@ -4058,8 +4007,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PORTRAIT, /** @@ -4067,8 +4016,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ GROUP_PHOTO, /** @@ -4076,8 +4025,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HIGHLIGHT = 4104, /** @@ -4085,8 +4034,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HIGHLIGHT_SUGGESTIONS, /** @@ -4100,8 +4049,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ANY = 2147483647 } @@ -4112,8 +4061,8 @@ declare namespace photoAccessHelper { * @enum { int } RequestPhotoType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum RequestPhotoType { /** @@ -4121,8 +4070,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ REQUEST_ALL_THUMBNAILS = 0, /** @@ -4130,8 +4079,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ REQUEST_FAST_THUMBNAIL, /** @@ -4139,8 +4088,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ REQUEST_QUALITY_THUMBNAIL } @@ -4151,8 +4100,7 @@ declare namespace photoAccessHelper { * @enum { number } CoverUriSource * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum CoverUriSource { /** @@ -4160,8 +4108,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DEFAULT_COVER = 0, @@ -4170,8 +4117,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ MANUAL_COVER = 1 } @@ -4189,8 +4135,8 @@ declare namespace photoAccessHelper { * @interface AbsAlbum * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AbsAlbum { /** @@ -4208,8 +4154,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly albumType: AlbumType; /** @@ -4227,8 +4173,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly albumSubtype: AlbumSubtype; /** @@ -4244,8 +4190,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ albumName: string; /** @@ -4263,8 +4209,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly albumUri: string; /** @@ -4282,8 +4228,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly count: int; /** @@ -4292,8 +4238,8 @@ declare namespace photoAccessHelper { * @type { string } * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ readonly coverUri: string; /** @@ -4303,8 +4249,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ readonly lpath?: string; /** @@ -4314,8 +4260,7 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ readonly coverUriSource?: CoverUriSource; /** @@ -4345,8 +4290,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAssets(options: FetchOptions, callback: AsyncCallback>): void; /** @@ -4392,8 +4337,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getAssets(options: FetchOptions): Promise>; /** @@ -4409,8 +4353,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getSharedPhotoAssets(options: FetchOptions): Array; } @@ -4420,28 +4364,28 @@ declare namespace photoAccessHelper { * * @enum { number } NotifyChangeType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ enum NotifyChangeType { /** * Data(assets or albums) have been newly created. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ NOTIFY_CHANGE_ADD = 0, /** * Data(assets or albums) have been modified. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ NOTIFY_CHANGE_UPDATE = 1, /** * Data(assets or albums) have been removed. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ NOTIFY_CHANGE_REMOVE = 2, } @@ -4461,8 +4405,8 @@ declare namespace photoAccessHelper { * @interface Album * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface Album extends AbsAlbum { /** @@ -4480,8 +4424,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly imageCount?: int; /** @@ -4499,8 +4443,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly videoCount?: int; /** @@ -4510,8 +4454,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ readonly dateAdded?: long; /** @@ -4521,8 +4465,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ readonly dateModified?: long; /** @@ -4536,8 +4480,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ commitModify(callback: AsyncCallback): void; /** @@ -4551,8 +4495,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ commitModify(): Promise; /** @@ -4568,7 +4512,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAlbumChangeRequest#addAssets */ @@ -4586,7 +4530,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAlbumChangeRequest#addAssets */ @@ -4604,7 +4548,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAlbumChangeRequest#removeAssets */ @@ -4622,7 +4566,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAlbumChangeRequest#removeAssets */ @@ -4642,7 +4586,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAlbumChangeRequest#recoverAssets */ @@ -4662,7 +4606,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAlbumChangeRequest#recoverAssets */ @@ -4682,7 +4626,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAlbumChangeRequest#deleteAssets */ @@ -4702,7 +4646,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAlbumChangeRequest#deleteAssets */ @@ -4721,7 +4665,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAlbumChangeRequest#setCoverUri */ @@ -4740,7 +4684,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAlbumChangeRequest#setCoverUri */ @@ -4756,8 +4700,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getFaceId(): Promise; } @@ -4768,7 +4712,7 @@ declare namespace photoAccessHelper { * @interface AlbumOrder * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ interface AlbumOrder { /** @@ -4777,7 +4721,7 @@ declare namespace photoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ albumId: number; /** @@ -4786,7 +4730,7 @@ declare namespace photoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ albumOrder: number; /** @@ -4795,7 +4739,7 @@ declare namespace photoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ orderSection: number; /** @@ -4804,7 +4748,7 @@ declare namespace photoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ orderType: number; /** @@ -4813,7 +4757,7 @@ declare namespace photoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ orderStatus: number; } @@ -4840,8 +4784,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface PhotoAccessHelper { /** @@ -4871,8 +4815,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAssets(options: FetchOptions, callback: AsyncCallback>): void; /** @@ -4916,8 +4860,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getAssets(options: FetchOptions): Promise>; /** @@ -4945,8 +4888,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getBurstAssets(burstKey: string, options: FetchOptions): Promise>; /** @@ -4964,8 +4906,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ createAsset(displayName: string, callback: AsyncCallback): void; /** @@ -4983,8 +4925,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ createAsset(displayName: string): Promise; /** @@ -5003,8 +4945,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ createAsset(displayName: string, options: PhotoCreateOptions): Promise; /** @@ -5024,8 +4966,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ createAsset(displayName: string, options: PhotoCreateOptions, callback: AsyncCallback): void; /** @@ -5061,8 +5003,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback): void; /** @@ -5096,8 +5038,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback): void; /** @@ -5133,8 +5075,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise; /** @@ -5152,7 +5094,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAlbumChangeRequest#createAlbumRequest */ @@ -5172,7 +5114,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAlbumChangeRequest#createAlbumRequest */ @@ -5192,7 +5134,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAlbumChangeRequest#deleteAlbums */ @@ -5212,7 +5154,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAlbumChangeRequest#deleteAlbums */ @@ -5250,8 +5192,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAlbums( type: AlbumType, @@ -5290,8 +5232,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback>): void; /** @@ -5327,8 +5269,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise>; /** @@ -5346,8 +5288,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getHiddenAlbums(mode: HiddenPhotosDisplayMode, options: FetchOptions, callback: AsyncCallback>): void; /** @@ -5363,8 +5305,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getHiddenAlbums(mode: HiddenPhotosDisplayMode, callback: AsyncCallback>): void; /** @@ -5381,8 +5323,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getHiddenAlbums(mode: HiddenPhotosDisplayMode, options?: FetchOptions): Promise>; /** @@ -5400,7 +5342,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAssetChangeRequest#deleteAssets */ @@ -5420,7 +5362,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAssetChangeRequest#deleteAssets */ @@ -5443,8 +5385,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900012 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ registerChange(uri: string, forChildUris: boolean, callback: Callback): void; /** @@ -5460,8 +5402,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getDataAnalysisProgress(analysisType: AnalysisType): Promise; /** @@ -5475,8 +5417,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900012 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ unRegisterChange(uri: string, callback?: Callback): void; /** @@ -5492,7 +5434,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAssetChangeRequest#deleteAssets */ @@ -5510,7 +5452,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead photoAccessHelper.MediaAssetChangeRequest#deleteAssets */ @@ -5526,7 +5468,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ showAssetsCreationDialog(srcFileUris: Array, photoCreationConfigs: Array): Promise>; /** @@ -5545,8 +5487,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ createAssetsForApp(bundleName: string, appName: string, tokenId: long, photoCreationConfigs: Array): Promise>; /** @@ -5560,7 +5502,7 @@ declare namespace photoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamic */ createAssetWithShortTermPermission(photoCreationConfig: PhotoCreationConfig): Promise; /** @@ -5581,8 +5523,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ createAssetsForAppWithMode( bundleName: string, @@ -5602,7 +5544,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamic */ requestPhotoUrisReadPermission(srcFileUris: Array): Promise>; /** @@ -5623,8 +5565,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions, callback: AsyncCallback): void; /** @@ -5644,8 +5586,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions): Promise; /** @@ -5658,8 +5600,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; /** @@ -5672,8 +5614,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ release(): Promise; /** @@ -5689,8 +5631,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ saveFormInfo(info: FormInfo, callback: AsyncCallback): void; /** @@ -5706,8 +5648,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ saveFormInfo(info: FormInfo): Promise; /** @@ -5723,8 +5665,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ saveGalleryFormInfo(info: GalleryFormInfo): Promise; /** @@ -5740,8 +5682,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ removeFormInfo(info: FormInfo, callback: AsyncCallback): void; /** @@ -5757,8 +5699,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ removeFormInfo(info: FormInfo): Promise; /** @@ -5774,8 +5716,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ removeGalleryFormInfo(info: GalleryFormInfo): Promise; /** @@ -5791,8 +5733,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ updateGalleryFormInfo(info: GalleryFormInfo): Promise; /** @@ -5807,8 +5749,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ applyChanges(mediaChangeRequest: MediaChangeRequest): Promise; /** @@ -5821,8 +5763,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getIndexConstructProgress(): Promise; /** @@ -5842,8 +5784,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ grantPhotoUrisPermission(tokenId: long, uriList: Array, photoPermissionType: PhotoPermissionType, hideSensitiveType: HideSensitiveType): Promise; /** @@ -5863,8 +5805,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ grantPhotoUriPermission(tokenId: long, uri: string, photoPermissionType: PhotoPermissionType, hideSensitiveType: HideSensitiveType): Promise; /** @@ -5882,8 +5824,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ cancelPhotoUriPermission(tokenId: long, uri: string, photoPermissionType: PhotoPermissionType): Promise; /** @@ -5900,8 +5842,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ startThumbnailCreationTask(predicate: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): int; /** @@ -5916,8 +5858,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ stopThumbnailCreationTask(taskId: int): void; /** @@ -5933,8 +5875,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getSharedPhotoAssets(options: FetchOptions): Array; /** @@ -5946,8 +5888,8 @@ declare namespace photoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 14000011 - Internal system error. It is recommended to retry and check the logs. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getSupportedPhotoFormats(photoType: PhotoType): Promise>; /** @@ -5963,8 +5905,8 @@ declare namespace photoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ startAssetAnalysis(type: AnalysisType, assetUris?: Array): Promise; /** @@ -5980,8 +5922,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getAlbumsByIds(albumIds: Array): Promise>; /** @@ -6000,8 +5942,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ createAssetsForAppWithAlbum(source: PhotoCreationSource, albumUri: string, isAuthorized: boolean, photoCreationConfigs: Array): Promise>; @@ -6017,7 +5959,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 23800301 - Internal system error. You are advised to retry and check the logs. *
Possible causes: 1. The database is corrupted. 2. The file system is abnormal. 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ on(type: 'photoChange', callback: Callback): void; @@ -6033,7 +5975,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 23800301 - Internal system error. You are advised to retry and check the logs. *
Possible causes: 1. The database is corrupted. 2. The file system is abnormal. 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ off(type: 'photoChange', callback?: Callback): void; @@ -6051,7 +5993,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. The database is corrupted. 2. The file system is abnormal. 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ on(type: 'hiddenPhotoChange', callback: Callback): void; @@ -6069,7 +6011,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. The database is corrupted. 2. The file system is abnormal. 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ off(type: 'hiddenPhotoChange', callback?: Callback): void; @@ -6087,7 +6029,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. The database is corrupted. 2. The file system is abnormal. 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ on(type: 'trashedPhotoChange', callback: Callback): void; @@ -6105,7 +6047,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. The database is corrupted. 2. The file system is abnormal. 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ off(type: 'trashedPhotoChange', callback?: Callback): void; @@ -6121,7 +6063,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 23800301 - Internal system error. You are advised to retry and check the logs. *
Possible causes: 1. The database is corrupted. 2. The file system is abnormal. 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ on(type: 'photoAlbumChange', callback: Callback): void; @@ -6137,7 +6079,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 23800301 - Internal system error. You are advised to retry and check the logs. *
Possible causes: 1. The database is corrupted. 2. The file system is abnormal. 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ off(type: 'photoAlbumChange', callback?: Callback): void; @@ -6155,7 +6097,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. The database is corrupted. 2. The file system is abnormal. 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ on(type: 'hiddenAlbumChange', callback: Callback): void; @@ -6173,7 +6115,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. The database is corrupted. 2. The file system is abnormal. 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ off(type: 'hiddenAlbumChange', callback?: Callback): void; @@ -6191,7 +6133,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. The database is corrupted. 2. The file system is abnormal. 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ on(type: 'trashedAlbumChange', callback: Callback): void; @@ -6209,7 +6151,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. The database is corrupted. 2. The file system is abnormal. 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ off(type: 'trashedAlbumChange', callback?: Callback): void; @@ -6221,7 +6163,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. The IPC request timed out. 2. system running error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ getPhotoPickerComponentDefaultAlbumName(): Promise; @@ -6238,7 +6180,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ getPhotoAlbums(options?: FetchOptions): Promise>; @@ -6257,7 +6199,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ getPhotoAlbumOrder(orderStyle: number, options?: FetchOptions): Promise>; @@ -6276,7 +6218,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ setPhotoAlbumOrder(orderStyle: number, albumOrders: Array): Promise; } @@ -6287,7 +6229,7 @@ declare namespace photoAccessHelper { * @enum { number } ThumbnailChangeStatus * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ enum ThumbnailChangeStatus { /** @@ -6295,7 +6237,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ THUMBNAIL_NOT_EXISTS = 0, @@ -6304,7 +6246,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ THUMBNAIL_ADD = 1, @@ -6313,7 +6255,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ THUMBNAIL_UPDATE = 2, @@ -6322,7 +6264,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ THUMBNAIL_NOT_CHANGE = 3 } @@ -6333,7 +6275,7 @@ declare namespace photoAccessHelper { * @enum { number } StrongAssociationType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ enum StrongAssociationType { /** @@ -6341,7 +6283,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ NORMAL = 0, /** @@ -6349,7 +6291,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ CLOUD_ENHANCEMENT = 1 } @@ -6359,7 +6301,7 @@ declare namespace photoAccessHelper { * * @interface PhotoAssetChangeInfos * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ interface PhotoAssetChangeInfos { /** @@ -6367,7 +6309,7 @@ declare namespace photoAccessHelper { * * @type { NotifyChangeType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ type: NotifyChangeType; @@ -6376,7 +6318,7 @@ declare namespace photoAccessHelper { * * @type { PhotoAssetChangeData[] | null } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ assetChangeDatas: PhotoAssetChangeData[] | null; @@ -6385,7 +6327,7 @@ declare namespace photoAccessHelper { * * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ isForRecheck: boolean; } @@ -6395,7 +6337,7 @@ declare namespace photoAccessHelper { * * @interface PhotoAssetChangeData * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ interface PhotoAssetChangeData { /** @@ -6403,7 +6345,7 @@ declare namespace photoAccessHelper { * * @type { PhotoAssetChangeInfo | null } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ assetBeforeChange: PhotoAssetChangeInfo | null; @@ -6412,7 +6354,7 @@ declare namespace photoAccessHelper { * * @type { PhotoAssetChangeInfo | null } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ assetAfterChange: PhotoAssetChangeInfo | null; @@ -6421,7 +6363,7 @@ declare namespace photoAccessHelper { * * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ isContentChanged: boolean; @@ -6430,7 +6372,7 @@ declare namespace photoAccessHelper { * * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ isDeleted: boolean; @@ -6440,7 +6382,7 @@ declare namespace photoAccessHelper { * @type { ThumbnailChangeStatus } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ thumbnailChangeStatus: ThumbnailChangeStatus; @@ -6450,7 +6392,7 @@ declare namespace photoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ version: number; } @@ -6460,7 +6402,7 @@ declare namespace photoAccessHelper { * * @interface PhotoAssetChangeInfo * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ interface PhotoAssetChangeInfo { /** @@ -6468,7 +6410,7 @@ declare namespace photoAccessHelper { * * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ uri: string; @@ -6477,7 +6419,7 @@ declare namespace photoAccessHelper { * * @type { PhotoType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ mediaType: PhotoType; @@ -6486,7 +6428,7 @@ declare namespace photoAccessHelper { * * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ albumUri: string; @@ -6496,7 +6438,7 @@ declare namespace photoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ fileId: number; @@ -6506,7 +6448,7 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ dateDay: string; @@ -6516,7 +6458,7 @@ declare namespace photoAccessHelper { * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ isFavorite: boolean; @@ -6526,7 +6468,7 @@ declare namespace photoAccessHelper { * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ isHidden: boolean; @@ -6536,7 +6478,7 @@ declare namespace photoAccessHelper { * @type { StrongAssociationType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ strongAssociation: StrongAssociationType; @@ -6546,7 +6488,7 @@ declare namespace photoAccessHelper { * @type { ThumbnailVisibility } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ thumbnailVisible: ThumbnailVisibility; @@ -6556,7 +6498,7 @@ declare namespace photoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ dateTrashedMs: number; @@ -6566,7 +6508,7 @@ declare namespace photoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ dateAddedMs: number; @@ -6576,7 +6518,7 @@ declare namespace photoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ dateTakenMs: number; } @@ -6586,7 +6528,7 @@ declare namespace photoAccessHelper { * * @interface AlbumChangeInfos * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ interface AlbumChangeInfos { /** @@ -6594,7 +6536,7 @@ declare namespace photoAccessHelper { * * @type { NotifyChangeType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ type: NotifyChangeType; @@ -6603,7 +6545,7 @@ declare namespace photoAccessHelper { * * @type { AlbumChangeData[] | null } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ albumChangeDatas: AlbumChangeData[] | null; @@ -6612,7 +6554,7 @@ declare namespace photoAccessHelper { * * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ isForRecheck: boolean; } @@ -6622,7 +6564,7 @@ declare namespace photoAccessHelper { * * @interface AlbumChangeData * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ interface AlbumChangeData { /** @@ -6630,7 +6572,7 @@ declare namespace photoAccessHelper { * * @type { AlbumChangeInfo | null } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ albumBeforeChange: AlbumChangeInfo | null; @@ -6639,7 +6581,7 @@ declare namespace photoAccessHelper { * * @type { AlbumChangeInfo | null } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ albumAfterChange: AlbumChangeInfo | null; @@ -6649,7 +6591,7 @@ declare namespace photoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ version: number; } @@ -6659,7 +6601,7 @@ declare namespace photoAccessHelper { * * @interface AlbumChangeInfo * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ interface AlbumChangeInfo { /** @@ -6667,7 +6609,7 @@ declare namespace photoAccessHelper { * * @type { AlbumType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ albumType: AlbumType; @@ -6676,7 +6618,7 @@ declare namespace photoAccessHelper { * * @type { AlbumSubtype } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ albumSubtype: AlbumSubtype; @@ -6685,7 +6627,7 @@ declare namespace photoAccessHelper { * * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ albumName: string; @@ -6694,7 +6636,7 @@ declare namespace photoAccessHelper { * * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ albumUri: string; @@ -6703,7 +6645,7 @@ declare namespace photoAccessHelper { * * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ imageCount: number; @@ -6712,7 +6654,7 @@ declare namespace photoAccessHelper { * * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ videoCount: number; @@ -6721,7 +6663,7 @@ declare namespace photoAccessHelper { * * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ count: number; @@ -6730,7 +6672,7 @@ declare namespace photoAccessHelper { * * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 20 + * @since 20 dynamic */ coverUri: string; @@ -6740,7 +6682,7 @@ declare namespace photoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ hiddenCount: number; @@ -6750,7 +6692,7 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ hiddenCoverUri: string; @@ -6760,7 +6702,7 @@ declare namespace photoAccessHelper { * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ isCoverChanged: boolean; @@ -6770,7 +6712,7 @@ declare namespace photoAccessHelper { * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ isHiddenCoverChanged: boolean; @@ -6780,7 +6722,7 @@ declare namespace photoAccessHelper { * @type { ?PhotoAssetChangeInfo } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ coverInfo?: PhotoAssetChangeInfo; @@ -6790,7 +6732,7 @@ declare namespace photoAccessHelper { * @type { ?PhotoAssetChangeInfo } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ hiddenCoverInfo?: PhotoAssetChangeInfo; } @@ -6801,8 +6743,8 @@ declare namespace photoAccessHelper { * @interface GalleryFormInfo * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface GalleryFormInfo { /** @@ -6811,8 +6753,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ formId: string; /** @@ -6821,8 +6763,8 @@ declare namespace photoAccessHelper { * @type { ?Array } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ assetUris?: Array; } @@ -6833,8 +6775,8 @@ declare namespace photoAccessHelper { * @interface FormInfo * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface FormInfo { /** @@ -6843,8 +6785,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ formId: string; /** @@ -6854,8 +6796,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ uri: string; } @@ -6865,48 +6807,48 @@ declare namespace photoAccessHelper { * * @enum { int } NotifyType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum NotifyType { /** * Data(assets or albums) have been newly created * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NOTIFY_ADD, /** * Data(assets or albums) have been modified * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NOTIFY_UPDATE, /** * Data(assets or albums) have been removed * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NOTIFY_REMOVE, /** * Assets have been added to an album. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NOTIFY_ALBUM_ADD_ASSET, /** * Assets have been removed from an album. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NOTIFY_ALBUM_REMOVE_ASSET } @@ -6916,24 +6858,24 @@ declare namespace photoAccessHelper { * * @enum { string } DefaultChangeUri * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum DefaultChangeUri { /** * Uri for default PhotoAsset, use with forDescendant{true}, will receive all PhotoAsset's change notifications * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ DEFAULT_PHOTO_URI = 'file://media/Photo', /** * Uri for default Album, use with forDescendant{true}, will receive all Album's change notifications * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ DEFAULT_ALBUM_URI = 'file://media/PhotoAlbum', /** @@ -6941,8 +6883,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DEFAULT_HIDDEN_ALBUM_URI = 'file://media/HiddenAlbum' } @@ -6952,8 +6894,8 @@ declare namespace photoAccessHelper { * * @interface ChangeData * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface ChangeData { /** @@ -6961,8 +6903,8 @@ declare namespace photoAccessHelper { * * @type { NotifyType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ type: NotifyType; /** @@ -6970,8 +6912,8 @@ declare namespace photoAccessHelper { * * @type { Array } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ uris: Array; /** @@ -6979,8 +6921,8 @@ declare namespace photoAccessHelper { * * @type { Array } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ extraUris: Array; /** @@ -6989,8 +6931,8 @@ declare namespace photoAccessHelper { * @type { Array } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ sharedPhotoAssets: Array; /** @@ -6999,8 +6941,8 @@ declare namespace photoAccessHelper { * @type { Array } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ sharedAlbumAssets: Array; /** @@ -7009,8 +6951,8 @@ declare namespace photoAccessHelper { * @type { Array } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ sharedExtraPhotoAssets: Array; } @@ -7037,8 +6979,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum PhotoViewMIMETypes { /** @@ -7060,8 +7002,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ IMAGE_TYPE = 'image/*', /** @@ -7083,8 +7025,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_TYPE = 'video/*', /** @@ -7106,8 +7048,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ IMAGE_VIDEO_TYPE = '*/*', @@ -7116,8 +7058,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MOVING_PHOTO_IMAGE_TYPE = 'image/movingPhoto' } @@ -7128,7 +7070,7 @@ declare namespace photoAccessHelper { * @enum { int } FilterOperator * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ export enum FilterOperator { /** @@ -7136,7 +7078,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ EQUAL_TO = 0, /** @@ -7144,7 +7086,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ NOT_EQUAL_TO = 1, /** @@ -7152,7 +7094,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ MORE_THAN = 2, /** @@ -7160,7 +7102,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ LESS_THAN = 3, /** @@ -7168,7 +7110,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ MORE_THAN_OR_EQUAL_TO = 4, /** @@ -7176,7 +7118,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ LESS_THAN_OR_EQUAL_TO = 5, /** @@ -7184,7 +7126,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ BETWEEN = 6, } @@ -7195,7 +7137,7 @@ declare namespace photoAccessHelper { * @enum { number } SingleSelectionMode * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ export enum SingleSelectionMode { /** @@ -7203,7 +7145,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ BROWSER_MODE = 0, /** @@ -7211,7 +7153,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ SELECT_MODE = 1, /** @@ -7219,7 +7161,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ BROWSER_AND_SELECT_MODE = 2 } @@ -7230,8 +7172,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class BaseSelectOptions { /** @@ -7257,7 +7199,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ MIMEType?: PhotoViewMIMETypes; @@ -7283,7 +7225,7 @@ declare namespace photoAccessHelper { * @type { ?int } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ maxSelectNumber?: int; @@ -7302,7 +7244,7 @@ declare namespace photoAccessHelper { * @type { ?boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ isSearchSupported?: boolean; @@ -7321,7 +7263,7 @@ declare namespace photoAccessHelper { * @type { ?boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ isPhotoTakingSupported?: boolean; @@ -7340,7 +7282,7 @@ declare namespace photoAccessHelper { * @type { ?RecommendationOptions } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ recommendationOptions?: RecommendationOptions; @@ -7359,7 +7301,7 @@ declare namespace photoAccessHelper { * @type { ?Array } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ preselectedUris?: Array; @@ -7369,7 +7311,7 @@ declare namespace photoAccessHelper { * @type { ?boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ isPreviewForSingleSelectionSupported?: boolean; @@ -7379,7 +7321,7 @@ declare namespace photoAccessHelper { * @type { ?SingleSelectionMode } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ singleSelectionMode?: SingleSelectionMode; @@ -7389,7 +7331,7 @@ declare namespace photoAccessHelper { * @type { ?MimeTypeFilter } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ mimeTypeFilter?: MimeTypeFilter; @@ -7399,7 +7341,7 @@ declare namespace photoAccessHelper { * @type { ?FileSizeFilter } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ fileSizeFilter?: FileSizeFilter; @@ -7409,7 +7351,7 @@ declare namespace photoAccessHelper { * @type { ?VideoDurationFilter } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ videoDurationFilter?: VideoDurationFilter; } @@ -7419,7 +7361,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ class MimeTypeFilter { /** @@ -7428,7 +7370,7 @@ declare namespace photoAccessHelper { * @type { Array } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ mimeTypeArray: Array; } @@ -7438,7 +7380,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ class FileSizeFilter { /** @@ -7447,7 +7389,7 @@ declare namespace photoAccessHelper { * @type { FilterOperator } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ filterOperator: FilterOperator; @@ -7457,7 +7399,7 @@ declare namespace photoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ fileSize: number; @@ -7467,7 +7409,7 @@ declare namespace photoAccessHelper { * @type { ?number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ extraFileSize?: number; } @@ -7477,7 +7419,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ class VideoDurationFilter { /** @@ -7486,7 +7428,7 @@ declare namespace photoAccessHelper { * @type { FilterOperator } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ filterOperator: FilterOperator; @@ -7496,7 +7438,7 @@ declare namespace photoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ videoDuration: number; @@ -7506,7 +7448,7 @@ declare namespace photoAccessHelper { * @type { ?number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ extraVideoDuration?: number; } @@ -7531,8 +7473,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class PhotoSelectOptions extends BaseSelectOptions { /** @@ -7541,7 +7483,7 @@ declare namespace photoAccessHelper { * @type { ?boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 11 + * @since 11 dynamic */ isEditSupported?: boolean; @@ -7551,7 +7493,7 @@ declare namespace photoAccessHelper { * @type { ?boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ isOriginalSupported?: boolean; @@ -7561,7 +7503,7 @@ declare namespace photoAccessHelper { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ subWindowName?: string; @@ -7571,7 +7513,7 @@ declare namespace photoAccessHelper { * @type { ?CustomColors } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamic */ themeColor?: CustomColors; @@ -7581,7 +7523,7 @@ declare namespace photoAccessHelper { * @type { ?CompleteButtonText } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamic */ completeButtonText?: CompleteButtonText; @@ -7591,7 +7533,7 @@ declare namespace photoAccessHelper { * @type { ?number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 18 + * @since 18 dynamic */ userId?: number; } @@ -7602,8 +7544,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class RecommendationOptions { /** @@ -7612,8 +7554,8 @@ declare namespace photoAccessHelper { * @type { ?RecommendationType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ recommendationType?: RecommendationType; @@ -7624,8 +7566,8 @@ declare namespace photoAccessHelper { * @type { ?TextContextInfo } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ textContextInfo?: TextContextInfo; } @@ -7636,8 +7578,8 @@ declare namespace photoAccessHelper { * @interface TextContextInfo * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface TextContextInfo { /** @@ -7647,8 +7589,8 @@ declare namespace photoAccessHelper { * @type { ?string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ text?: string; } @@ -7672,8 +7614,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class PhotoSelectResult { /** @@ -7701,7 +7643,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ photoUris: Array; @@ -7733,7 +7675,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ isOriginalPhoto: boolean; } @@ -7760,8 +7702,8 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class PhotoViewPicker { /** @@ -7798,7 +7740,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ select(option?: PhotoSelectOptions): Promise; @@ -7836,7 +7778,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ select(option: PhotoSelectOptions, callback: AsyncCallback): void; @@ -7871,7 +7813,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ select(callback: AsyncCallback): void; } @@ -7881,8 +7823,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class MediaAssetEditData { /** @@ -7896,8 +7838,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(compatibleFormat: string, formatVersion: string); @@ -7907,8 +7849,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ compatibleFormat: string; @@ -7918,8 +7860,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ formatVersion: string; @@ -7929,8 +7871,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ data: string; } @@ -7941,8 +7883,8 @@ declare namespace photoAccessHelper { * @enum { int } ResourceType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum ResourceType { /** @@ -7950,8 +7892,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ IMAGE_RESOURCE = 1, @@ -7960,8 +7902,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ VIDEO_RESOURCE = 2, @@ -7970,8 +7912,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PHOTO_PROXY = 3, @@ -7980,8 +7922,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ PRIVATE_MOVING_PHOTO_RESOURCE = 4, @@ -7990,8 +7932,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ PRIVATE_MOVING_PHOTO_METADATA = 5 } @@ -8001,16 +7943,16 @@ declare namespace photoAccessHelper { * * @enum { int } ImageFileType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum ImageFileType { /** * JPEG * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ JPEG = 1, @@ -8018,8 +7960,8 @@ declare namespace photoAccessHelper { * HEIF * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ HEIF = 2 } @@ -8030,8 +7972,8 @@ declare namespace photoAccessHelper { * @enum { int } MovingPhotoEffectMode * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum MovingPhotoEffectMode { /** @@ -8039,8 +7981,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEFAULT = 0, @@ -8049,8 +7991,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BOUNCE_PLAY = 1, @@ -8059,8 +8001,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOOP_PLAY = 2, @@ -8069,8 +8011,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LONG_EXPOSURE = 3, @@ -8079,8 +8021,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MULTI_EXPOSURE = 4, @@ -8089,8 +8031,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ CINEMA_GRAPH = 5, @@ -8099,8 +8041,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ IMAGE_ONLY = 10 } @@ -8111,8 +8053,8 @@ declare namespace photoAccessHelper { * @enum { int } VideoEnhancementType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum VideoEnhancementType { /** @@ -8120,8 +8062,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ QUALITY_ENHANCEMENT_LOCAL = 0, @@ -8130,8 +8072,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ QUALITY_ENHANCEMENT_CLOUD = 1, @@ -8140,8 +8082,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ QUALITY_ENHANCEMENT_LOCAL_AND_CLOUD = 2 } @@ -8152,8 +8094,8 @@ declare namespace photoAccessHelper { * @interface MediaChangeRequest * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface MediaChangeRequest {} @@ -8163,8 +8105,8 @@ declare namespace photoAccessHelper { * @implements MediaChangeRequest * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class MediaAssetChangeRequest implements MediaChangeRequest { /** @@ -8186,8 +8128,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(asset: PhotoAsset); @@ -8218,8 +8160,8 @@ declare namespace photoAccessHelper { * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static createImageAssetRequest(context: Context, fileUri: string): MediaAssetChangeRequest; @@ -8235,8 +8177,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ static createVideoAssetRequest(context: Context, fileUri: string): MediaAssetChangeRequest; @@ -8255,8 +8197,8 @@ declare namespace photoAccessHelper { * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ static createAssetRequest(context: Context, displayName: string, options?: PhotoCreateOptions): MediaAssetChangeRequest; @@ -8274,8 +8216,8 @@ declare namespace photoAccessHelper { * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ static createAssetRequest(context: Context, photoType: PhotoType, extension: string, options?: CreateOptions): MediaAssetChangeRequest; @@ -8292,8 +8234,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ static deleteAssets(context: Context, assets: Array): Promise; @@ -8311,8 +8253,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ static deleteAssets(context: Context, uriList: Array): Promise; @@ -8335,8 +8277,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAsset(): PhotoAsset; @@ -8350,8 +8292,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setFavorite(favoriteState: boolean): void; @@ -8365,8 +8307,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setHidden(hiddenState: boolean): void; @@ -8380,8 +8322,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setUserComment(userComment: string): void; @@ -8396,8 +8338,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setLocation(longitude: double, latitude: double): void; @@ -8420,8 +8362,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setTitle(title: string): void; @@ -8435,8 +8377,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setEditData(editData: MediaAssetEditData): void; @@ -8451,8 +8393,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getWriteCacheHandler(): Promise; @@ -8468,8 +8410,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ addResource(type: ResourceType, fileUri: string): void; @@ -8484,8 +8426,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ addResource(type: ResourceType, data: ArrayBuffer): void; @@ -8501,8 +8443,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ addResource(type: ResourceType, proxy: PhotoProxy): void; @@ -8517,8 +8459,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setCameraShotKey(cameraShotKey: string): void; @@ -8528,8 +8470,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ saveCameraPhoto(): void; @@ -8540,8 +8482,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ saveCameraPhoto(imageFileType: ImageFileType): void; @@ -8551,8 +8493,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ discardCameraPhoto(): void; @@ -8567,8 +8509,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setEffectMode(mode: MovingPhotoEffectMode): void; @@ -8580,8 +8522,8 @@ declare namespace photoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ setOrientation(orientation: int): void; @@ -8597,8 +8539,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ setVideoEnhancementAttr(videoEnhancementType: VideoEnhancementType, photoId: string): void; @@ -8612,8 +8554,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ setSupportedWatermarkType(watermarkType: WatermarkType): void; @@ -8633,8 +8575,8 @@ declare namespace photoAccessHelper { * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ static deleteLocalAssetsPermanently(context: Context, assets: Array): Promise; @@ -8653,7 +8595,7 @@ declare namespace photoAccessHelper { * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 19 + * @since 19 dynamic */ static deleteLocalAssetsPermanentlyWithUri(context: Context, assetUris: Array): Promise; } @@ -8664,8 +8606,8 @@ declare namespace photoAccessHelper { * @implements MediaChangeRequest * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class MediaAssetsChangeRequest implements MediaChangeRequest { /** @@ -8678,8 +8620,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(assets: Array); @@ -8693,8 +8635,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setFavorite(favoriteState: boolean): void; @@ -8708,8 +8650,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setHidden(hiddenState: boolean): void; @@ -8723,8 +8665,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setUserComment(userComment: string): void; @@ -8739,8 +8681,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ setIsRecentShow(isRencentShow: boolean): void; } @@ -8750,8 +8692,8 @@ declare namespace photoAccessHelper { * * @implements MediaChangeRequest * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class MediaAlbumChangeRequest implements MediaChangeRequest { /** @@ -8762,8 +8704,8 @@ declare namespace photoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(album: Album); @@ -8780,8 +8722,8 @@ declare namespace photoAccessHelper { * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ static createAlbumRequest(context: Context, name: string): MediaAlbumChangeRequest; @@ -8800,8 +8742,8 @@ declare namespace photoAccessHelper { * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ static deleteAlbums(context: Context, albums: Array): Promise; @@ -8820,7 +8762,7 @@ declare namespace photoAccessHelper { * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 19 + * @since 19 dynamic */ static deleteAlbumsWithUri(context: Context, albumUris: Array): Promise; @@ -8832,8 +8774,8 @@ declare namespace photoAccessHelper { *
2. Incorrect parameter types. * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getAlbum(): Album; @@ -8847,8 +8789,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setCoverUri(coverUri: string): void; @@ -8860,8 +8802,8 @@ declare namespace photoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setAlbumName(name: string): void; @@ -8874,8 +8816,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ addAssets(assets: Array): void; @@ -8888,8 +8830,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ removeAssets(assets: Array): void; @@ -8905,8 +8847,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ moveAssets(assets: Array, targetAlbum: Album): void; @@ -8922,7 +8864,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 19 + * @since 19 dynamic */ moveAssetsWithUri(assetUris: Array, targetAlbum: Album): void; @@ -8937,8 +8879,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ recoverAssets(assets: Array): void; @@ -8953,7 +8895,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 19 + * @since 19 dynamic */ recoverAssetsWithUri(assetUris: Array): void; @@ -8968,8 +8910,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ deleteAssets(assets: Array): void; @@ -8984,7 +8926,7 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 19 + * @since 19 dynamic */ deleteAssetsWithUri(assetUris: Array): void; @@ -8997,8 +8939,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setIsMe(): void; @@ -9012,8 +8954,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setDisplayLevel(displayLevel: int): void; @@ -9028,8 +8970,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ dismissAssets(assets: Array): void; @@ -9044,8 +8986,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000016 - Operation Not Support * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ mergeAlbum(target: Album): void; @@ -9059,8 +9001,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ placeBefore(album: Album): void; @@ -9073,8 +9015,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ dismiss(): void; @@ -9086,8 +9028,7 @@ declare namespace photoAccessHelper { *
Possible causes:1. Database corrupted.2. The file system is abnormal.3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ resetCoverUri(): void; } @@ -9098,8 +9039,8 @@ declare namespace photoAccessHelper { * @interface SharedPhotoAsset * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface SharedPhotoAsset { /** @@ -9108,8 +9049,8 @@ declare namespace photoAccessHelper { * @type { int } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ fileId: int; /** @@ -9118,8 +9059,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ uri: string; /** @@ -9128,8 +9069,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ data: string; /** @@ -9138,8 +9079,8 @@ declare namespace photoAccessHelper { * @type { PhotoType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ mediaType: PhotoType; /** @@ -9148,8 +9089,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ displayName: string; /** @@ -9158,8 +9099,8 @@ declare namespace photoAccessHelper { * @type { long } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ size: long; /** @@ -9168,8 +9109,8 @@ declare namespace photoAccessHelper { * @type { long } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ dateAdded: long; /** @@ -9178,8 +9119,8 @@ declare namespace photoAccessHelper { * @type { long } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ dateModified: long; /** @@ -9188,8 +9129,8 @@ declare namespace photoAccessHelper { * @type { int } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ duration: int; /** @@ -9198,8 +9139,8 @@ declare namespace photoAccessHelper { * @type { int } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ width: int; /** @@ -9208,8 +9149,8 @@ declare namespace photoAccessHelper { * @type { int } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ height: int; /** @@ -9218,8 +9159,8 @@ declare namespace photoAccessHelper { * @type { long } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ dateTaken: long; /** @@ -9228,8 +9169,8 @@ declare namespace photoAccessHelper { * @type { int } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ orientation: int; /** @@ -9238,8 +9179,8 @@ declare namespace photoAccessHelper { * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ isFavorite: boolean; /** @@ -9248,8 +9189,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ title: string; /** @@ -9258,8 +9199,8 @@ declare namespace photoAccessHelper { * @type { PositionType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ position: PositionType; /** @@ -9268,8 +9209,8 @@ declare namespace photoAccessHelper { * @type { long } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ dateTrashed: long; /** @@ -9278,8 +9219,8 @@ declare namespace photoAccessHelper { * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ hidden: boolean; /** @@ -9288,8 +9229,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ userComment: string; /** @@ -9298,8 +9239,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ cameraShotKey: string; /** @@ -9308,8 +9249,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ dateYear: string; /** @@ -9318,8 +9259,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ dateMonth: string; /** @@ -9328,8 +9269,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ dateDay: string; /** @@ -9338,8 +9279,8 @@ declare namespace photoAccessHelper { * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ pending: boolean; /** @@ -9348,8 +9289,8 @@ declare namespace photoAccessHelper { * @type { long } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ dateAddedMs: long; /** @@ -9358,8 +9299,8 @@ declare namespace photoAccessHelper { * @type { long } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ dateModifiedMs: long; /** @@ -9368,8 +9309,8 @@ declare namespace photoAccessHelper { * @type { long } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ dateTrashedMs: long; /** @@ -9378,8 +9319,8 @@ declare namespace photoAccessHelper { * @type { PhotoSubtype } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ subtype: PhotoSubtype; /** @@ -9388,8 +9329,8 @@ declare namespace photoAccessHelper { * @type { MovingPhotoEffectMode } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ movingPhotoEffectMode: MovingPhotoEffectMode; /** @@ -9398,8 +9339,8 @@ declare namespace photoAccessHelper { * @type { DynamicRangeType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ dynamicRangeType: DynamicRangeType; /** @@ -9408,8 +9349,8 @@ declare namespace photoAccessHelper { * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ thumbnailReady: boolean; /** @@ -9418,8 +9359,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ lcdSize: string; /** @@ -9428,8 +9369,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ thmSize: string; /** @@ -9438,8 +9379,8 @@ declare namespace photoAccessHelper { * @type { ?long } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ thumbnailModifiedMs?: long; /** @@ -9448,8 +9389,8 @@ declare namespace photoAccessHelper { * @type { ThumbnailVisibility } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ thumbnailVisible: ThumbnailVisibility; } @@ -9460,8 +9401,8 @@ declare namespace photoAccessHelper { * @interface SharedAlbumAsset * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface SharedAlbumAsset { /** @@ -9470,8 +9411,8 @@ declare namespace photoAccessHelper { * @type { int } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ albumId: int; /** @@ -9480,8 +9421,8 @@ declare namespace photoAccessHelper { * @type { AlbumType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ albumType: AlbumType; /** @@ -9490,8 +9431,8 @@ declare namespace photoAccessHelper { * @type { AlbumSubtype } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ albumSubType: AlbumSubtype; /** @@ -9500,8 +9441,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ albumName: string; /** @@ -9510,8 +9451,8 @@ declare namespace photoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ coverUri: string; /** @@ -9520,8 +9461,8 @@ declare namespace photoAccessHelper { * @type { int } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ count: int; /** @@ -9530,8 +9471,8 @@ declare namespace photoAccessHelper { * @type { int } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ imageCount: int; /** @@ -9540,8 +9481,8 @@ declare namespace photoAccessHelper { * @type { int } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ videoCount: int; } @@ -9552,8 +9493,8 @@ declare namespace photoAccessHelper { * @interface MovingPhoto * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface MovingPhoto { /** @@ -9569,8 +9510,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ requestContent(imageFileUri: string, videoFileUri: string): Promise; @@ -9587,8 +9528,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ requestContent(resourceType: ResourceType, fileUri: string): Promise; @@ -9604,8 +9545,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ requestContent(resourceType: ResourceType): Promise; @@ -9618,8 +9559,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getUri(): string; @@ -9634,8 +9575,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ isVideoReady(): Promise; } @@ -9646,8 +9586,8 @@ declare namespace photoAccessHelper { * @enum { int } HighlightAlbumInfoType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum HighlightAlbumInfoType { /** @@ -9655,8 +9595,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COVER_INFO = 0, /** @@ -9664,8 +9604,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PLAY_INFO } @@ -9676,8 +9616,8 @@ declare namespace photoAccessHelper { * @enum { int } HighlightUserActionType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum HighlightUserActionType { /** @@ -9685,8 +9625,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INSERTED_PIC_COUNT = 0, /** @@ -9694,8 +9634,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REMOVED_PIC_COUNT, /** @@ -9703,8 +9643,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SHARED_SCREENSHOT_COUNT, /** @@ -9712,8 +9652,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SHARED_COVER_COUNT, /** @@ -9721,8 +9661,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RENAMED_COUNT, /** @@ -9730,8 +9670,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CHANGED_COVER_COUNT, /** @@ -9739,8 +9679,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RENDER_VIEWED_TIMES = 100, /** @@ -9748,8 +9688,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RENDER_VIEWED_DURATION, /** @@ -9757,8 +9697,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ART_LAYOUT_VIEWED_TIMES, /** @@ -9766,8 +9706,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ART_LAYOUT_VIEWED_DURATION } @@ -9778,8 +9718,8 @@ declare namespace photoAccessHelper { * @enum { int } ThumbnailType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum ThumbnailType { /** @@ -9787,8 +9727,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ LCD = 1, /** @@ -9796,8 +9736,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ THM = 2 } @@ -9808,8 +9748,8 @@ declare namespace photoAccessHelper { * @extends MediaAlbumChangeRequest * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ class MediaAnalysisAlbumChangeRequest extends MediaAlbumChangeRequest { /** @@ -9821,8 +9761,8 @@ declare namespace photoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ constructor(album: Album); @@ -9840,8 +9780,8 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ setOrderPosition(assets: Array, position: Array): void; } @@ -9851,8 +9791,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ class AnalysisAlbum { /** @@ -9864,8 +9804,8 @@ declare namespace photoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ constructor(album: Album); /** @@ -9882,8 +9822,8 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getOrderPosition(assets: Array): Promise>; } @@ -9893,8 +9833,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class HighlightAlbum { /** @@ -9907,8 +9847,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(album: Album); @@ -9925,8 +9865,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getHighlightAlbumInfo(type: HighlightAlbumInfoType): Promise; @@ -9943,8 +9883,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getHighlightResource(resourceUri: string): Promise; @@ -9962,8 +9902,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setHighlightUserActionData(type: HighlightUserActionType, actionData: int): Promise; @@ -9981,8 +9921,8 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ setSubTitle(subTitle: string): Promise; @@ -10002,8 +9942,8 @@ declare namespace photoAccessHelper { * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ static deleteHighlightAlbums(context: Context, albums: Array): Promise; } @@ -10014,8 +9954,8 @@ declare namespace photoAccessHelper { * @enum { int } CloudEnhancementTaskStage * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum CloudEnhancementTaskStage { /** @@ -10023,8 +9963,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ TASK_STAGE_EXCEPTION = -1, /** @@ -10032,8 +9972,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ TASK_STAGE_PREPARING, /** @@ -10041,8 +9981,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ TASK_STAGE_UPLOADING, /** @@ -10050,8 +9990,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ TASK_STAGE_EXECUTING, /** @@ -10059,8 +9999,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ TASK_STAGE_DOWNLOADING, /** @@ -10068,8 +10008,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ TASK_STAGE_FAILED, /** @@ -10077,8 +10017,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ TASK_STAGE_COMPLETED } @@ -10090,8 +10030,8 @@ declare namespace photoAccessHelper { * @interface CloudEnhancementTaskState * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface CloudEnhancementTaskState { /** @@ -10101,8 +10041,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly taskStage: CloudEnhancementTaskStage; /** @@ -10112,8 +10052,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly transferredFileSize?: int; /** @@ -10123,8 +10063,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly totalFileSize?: int; /** @@ -10134,8 +10074,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly expectedDuration?: int; /** @@ -10145,8 +10085,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly statusCode?: int; } @@ -10158,8 +10098,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ class CloudEnhancement { /** @@ -10174,8 +10114,8 @@ declare namespace photoAccessHelper { * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ static getCloudEnhancementInstance(context: Context): CloudEnhancement; @@ -10193,8 +10133,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ submitCloudEnhancementTasks(photoAssets: Array, hasCloudWatermark: boolean): Promise; @@ -10215,8 +10155,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ submitCloudEnhancementTasks( photoAssets: Array, @@ -10237,8 +10177,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ prioritizeCloudEnhancementTask(photoAsset: PhotoAsset): Promise; @@ -10255,8 +10195,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ cancelCloudEnhancementTasks(photoAssets: Array): Promise; @@ -10270,8 +10210,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ cancelAllCloudEnhancementTasks(): Promise; @@ -10288,8 +10228,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ queryCloudEnhancementTaskState(photoAsset: PhotoAsset): Promise; @@ -10303,8 +10243,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ syncCloudEnhancementTaskStatus(): Promise; @@ -10321,8 +10261,8 @@ declare namespace photoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getCloudEnhancementPair(asset: PhotoAsset): Promise; } @@ -10333,8 +10273,8 @@ declare namespace photoAccessHelper { * @enum { int } CloudEnhancementState * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum CloudEnhancementState { /** @@ -10342,8 +10282,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ UNAVAILABLE = 0, /** @@ -10351,8 +10291,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ AVAILABLE, /** @@ -10360,8 +10300,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ EXECUTING, /** @@ -10369,8 +10309,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ COMPLETED } @@ -10381,8 +10321,8 @@ declare namespace photoAccessHelper { * @enum { int } CloudMediaAssetTaskStatus * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum CloudMediaAssetTaskStatus { /** @@ -10390,8 +10330,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ DOWNLOADING = 0, /** @@ -10399,8 +10339,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PAUSED = 1, /** @@ -10408,8 +10348,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ IDLE = 2 } @@ -10420,8 +10360,8 @@ declare namespace photoAccessHelper { * @enum { int } CloudMediaTaskPauseCause * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum CloudMediaTaskPauseCause { /** @@ -10429,8 +10369,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ NO_PAUSE = 0, /** @@ -10438,8 +10378,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ TEMPERATURE_LIMIT = 1, /** @@ -10447,8 +10387,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ ROM_LIMIT = 2, /** @@ -10456,8 +10396,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ NETWORK_FLOW_LIMIT = 3, /** @@ -10465,8 +10405,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ WIFI_UNAVAILABLE = 4, /** @@ -10474,8 +10414,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ POWER_LIMIT = 5, /** @@ -10483,8 +10423,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ BACKGROUND_TASK_UNAVAILABLE = 6, /** @@ -10492,8 +10432,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ FREQUENT_USER_REQUESTS = 7, /** @@ -10501,8 +10441,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CLOUD_ERROR = 8, /** @@ -10510,8 +10450,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ USER_PAUSED = 9 } @@ -10523,8 +10463,8 @@ declare namespace photoAccessHelper { * @interface CloudMediaAssetStatus * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface CloudMediaAssetStatus { /** @@ -10534,8 +10474,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ readonly taskStatus: CloudMediaAssetTaskStatus; /** @@ -10546,8 +10486,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ readonly taskInfo: string; /** @@ -10557,8 +10497,8 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ readonly errorCode: CloudMediaTaskPauseCause; } @@ -10569,8 +10509,8 @@ declare namespace photoAccessHelper { * @enum { int } CloudMediaDownloadType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum CloudMediaDownloadType { /** @@ -10578,8 +10518,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ DOWNLOAD_FORCE = 0, /** @@ -10587,8 +10527,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ DOWNLOAD_GENTLE = 1 } @@ -10599,8 +10539,8 @@ declare namespace photoAccessHelper { * @enum { int } CloudMediaRetainType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum CloudMediaRetainType { /** @@ -10608,8 +10548,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ RETAIN_FORCE = 0 } @@ -10620,8 +10560,8 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ class CloudMediaAssetManager { /** @@ -10637,8 +10577,8 @@ declare namespace photoAccessHelper { * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ static getCloudMediaAssetManagerInstance(context: Context): CloudMediaAssetManager; @@ -10656,8 +10596,8 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ startDownloadCloudMedia(downloadType: CloudMediaDownloadType): Promise; @@ -10672,8 +10612,8 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ pauseDownloadCloudMedia(): Promise; @@ -10688,8 +10628,8 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ cancelDownloadCloudMedia(): Promise; @@ -10707,8 +10647,8 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ retainCloudMediaAsset(retainType: CloudMediaRetainType): Promise; @@ -10723,8 +10663,8 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getCloudMediaAssetStatus(): Promise; } @@ -10735,7 +10675,7 @@ declare namespace photoAccessHelper { * @interface PhotoAssetCustomRecord * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ interface PhotoAssetCustomRecord { /** @@ -10746,7 +10686,7 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ readonly fileId: number; /** @@ -10757,7 +10697,7 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ readonly shareCount: number; /** @@ -10768,7 +10708,7 @@ declare namespace photoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ readonly lcdJumpCount: number; } @@ -10778,7 +10718,7 @@ declare namespace photoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ class PhotoAssetCustomRecordManager { /** @@ -10791,7 +10731,7 @@ declare namespace photoAccessHelper { * @static * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ static getCustomRecordManagerInstance(context: Context): PhotoAssetCustomRecordManager; /** @@ -10808,7 +10748,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ createCustomRecords(customRecords: Array): Promise; /** @@ -10823,7 +10763,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ getCustomRecords(optionCheck: FetchOptions): Promise>; /** @@ -10840,7 +10780,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ setCustomRecords(customRecords: Array): Promise>; /** @@ -10855,7 +10795,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ removeCustomRecords(optionCheck: FetchOptions): Promise; /** @@ -10871,7 +10811,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ addShareCount(ids: Array): Promise>; /** @@ -10887,7 +10827,7 @@ declare namespace photoAccessHelper { *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 20 + * @since 20 dynamic */ addLcdJumpCount(ids: Array): Promise>; } diff --git a/api/@ohos.file.picker.d.ts b/api/@ohos.file.picker.d.ts index 476fd45436..effa9e5959 100644 --- a/api/@ohos.file.picker.d.ts +++ b/api/@ohos.file.picker.d.ts @@ -59,7 +59,7 @@ import type { CustomColors } from './@ohos.arkui.theme'; * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare namespace picker { /** @@ -75,7 +75,7 @@ declare namespace picker { * @enum { string } PhotoViewMIMETypes * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.file.photoAccessHelper/photoAccessHelper#PhotoViewMIMETypes */ @@ -91,7 +91,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.file.photoAccessHelper/photoAccessHelper#PhotoViewMIMETypes.IMAGE_TYPE */ @@ -108,7 +108,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.file.photoAccessHelper/photoAccessHelper#PhotoViewMIMETypes.VIDEO_TYPE */ @@ -125,7 +125,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.file.photoAccessHelper/photoAccessHelper#PhotoViewMIMETypes.IMAGE_VIDEO_TYPE */ @@ -143,7 +143,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.file.photoAccessHelper/photoAccessHelper#PhotoSelectOptions */ @@ -161,7 +161,7 @@ declare namespace picker { * @type { ?PhotoViewMIMETypes } * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.file.photoAccessHelper/photoAccessHelper#PhotoSelectOptions.MIMEType */ @@ -182,7 +182,7 @@ declare namespace picker { * @type { ?number } * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.file.photoAccessHelper/photoAccessHelper#PhotoSelectOptions.maxSelectNumber */ @@ -200,7 +200,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.file.photoAccessHelper/photoAccessHelper#PhotoSelectResult */ @@ -220,7 +220,7 @@ declare namespace picker { * @type { Array } * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.file.photoAccessHelper/photoAccessHelper#PhotoSelectResult.photoUris */ @@ -241,7 +241,7 @@ declare namespace picker { * @type { boolean } * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 18 * @useinstead ohos.file.photoAccessHelper/photoAccessHelper#PhotoSelectResult.isOriginalPhoto */ @@ -252,7 +252,7 @@ declare namespace picker { * Defines the options for saving images or videos. * * @syscap SystemCapability.FileManagement.UserFileService - * @since 9 + * @since 9 dynamic * @deprecated since 12 */ class PhotoSaveOptions { @@ -261,7 +261,7 @@ declare namespace picker { * * @type { ?Array } * @syscap SystemCapability.FileManagement.UserFileService - * @since 9 + * @since 9 dynamic * @deprecated since 18 */ newFileNames?: Array; @@ -282,7 +282,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.file.photoAccessHelper/photoAccessHelper#PhotoViewPicker */ @@ -293,7 +293,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 12 + * @since 12 dynamic * @deprecated since 18 */ constructor(); @@ -304,7 +304,7 @@ declare namespace picker { * * @param { Context } context - represents the context. * @syscap SystemCapability.FileManagement.UserFileService - * @since 12 + * @since 12 dynamic * @deprecated since 18 */ constructor(context: Context); @@ -332,7 +332,7 @@ declare namespace picker { * @returns { Promise } Promise used to return the URIs of the images or videos selected. * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.file.photoAccessHelper/photoAccessHelper.PhotoViewPicker#select */ @@ -357,7 +357,7 @@ declare namespace picker { * @param { AsyncCallback } callback - Callback used to return the images or videos selected. * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.file.photoAccessHelper/photoAccessHelper.PhotoViewPicker#select */ @@ -378,7 +378,7 @@ declare namespace picker { * @param { AsyncCallback } callback - Callback used to return the images or videos selected. * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.file.photoAccessHelper/photoAccessHelper.PhotoViewPicker#select */ @@ -393,7 +393,7 @@ declare namespace picker { * a photoPicker page will be displayed for the user to enter the names of the files to save. * @returns { Promise> } Returns the uris for the saved files. * @syscap SystemCapability.FileManagement.UserFileService - * @since 9 + * @since 9 dynamiconly * @deprecated since 12 * @useinstead save_button/SaveButton */ @@ -407,7 +407,7 @@ declare namespace picker { * @param { PhotoSaveOptions } option - Options for saving images or videos. * @param { AsyncCallback> } callback - Callback invoked to return the URIs of the images or videos saved. * @syscap SystemCapability.FileManagement.UserFileService - * @since 9 + * @since 9 dynamiconly * @deprecated since 12 * @useinstead save_button/SaveButton */ @@ -419,7 +419,7 @@ declare namespace picker { * * @param { AsyncCallback> } callback - Callback invoked to return the URIs of the images or videos saved. * @syscap SystemCapability.FileManagement.UserFileService - * @since 9 + * @since 9 dynamiconly * @deprecated since 12 * @useinstead save_button/SaveButton */ @@ -442,7 +442,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService.FolderSelection * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export enum DocumentSelectMode { /** @@ -459,7 +459,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService.FolderSelection * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FILE = 0, @@ -477,7 +477,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService.FolderSelection * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ FOLDER = 1, @@ -494,7 +494,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService.FolderSelection * @atomicservice - * @since 12 + * @since 12 dynamic */ MIXED = 2, } @@ -505,7 +505,7 @@ declare namespace picker { * @enum { number } DocumentPickerMode * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 12 + * @since 12 dynamic */ export enum DocumentPickerMode { /** @@ -513,7 +513,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 12 + * @since 12 dynamic */ DEFAULT = 0, @@ -522,7 +522,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 12 + * @since 12 dynamic */ DOWNLOAD = 1, } @@ -533,7 +533,7 @@ declare namespace picker { * @enum { number } DocumentPickerMode * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 15 + * @since 15 dynamic */ export enum MergeTypeMode { /** @@ -541,7 +541,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 15 + * @since 15 dynamic */ DEFAULT = 0, @@ -551,7 +551,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 15 + * @since 15 dynamic */ AUDIO = 1, @@ -561,7 +561,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 15 + * @since 15 dynamic */ VIDEO = 2, @@ -571,7 +571,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 15 + * @since 15 dynamic */ DOCUMENT = 3, @@ -581,7 +581,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 15 + * @since 15 dynamic */ PICTURE = 4, } @@ -598,7 +598,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ class DocumentSelectOptions { /** @@ -617,7 +617,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ defaultFilePathUri?: string; @@ -649,7 +649,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fileSuffixFilters?: Array; @@ -675,7 +675,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ maxSelectNumber?: number; @@ -693,7 +693,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService.FolderSelection * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ selectMode?: DocumentSelectMode; @@ -705,7 +705,7 @@ declare namespace picker { * @type { ?boolean } * @syscap SystemCapability.FileManagement.UserFileService.FolderSelection * @atomicservice - * @since 12 + * @since 12 dynamic */ authMode?: boolean; @@ -719,7 +719,7 @@ declare namespace picker { * @type { ?boolean } * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 15 + * @since 15 dynamic */ multiAuthMode?: boolean; @@ -732,7 +732,7 @@ declare namespace picker { * @type { ?Array } * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 15 + * @since 15 dynamic */ multiUriArray?: Array; @@ -745,7 +745,7 @@ declare namespace picker { * @type { ?MergeTypeMode } * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 15 + * @since 15 dynamic */ mergeMode?: MergeTypeMode; @@ -758,7 +758,7 @@ declare namespace picker { * @type { ?boolean } * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 19 + * @since 19 dynamic */ isEncryptionSupported?: boolean; @@ -768,7 +768,7 @@ declare namespace picker { * @type { ?CustomColors } * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 18 + * @since 18 dynamic */ themeColor?: CustomColors; } @@ -785,7 +785,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ class DocumentSaveOptions { /** @@ -804,7 +804,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ newFileNames?: Array; @@ -822,7 +822,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ defaultFilePathUri?: string; @@ -845,7 +845,7 @@ declare namespace picker { * @type { ?Array } * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 12 + * @since 12 dynamic */ fileSuffixChoices?: Array; /** @@ -856,7 +856,7 @@ declare namespace picker { * @type { ?DocumentPickerMode } * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 12 + * @since 12 dynamic */ pickerMode?: DocumentPickerMode; @@ -866,7 +866,7 @@ declare namespace picker { * @type { ?CustomColors } * @syscap SystemCapability.FileManagement.UserFileService * @systemapi - * @since 18 + * @since 18 dynamic */ themeColor?: CustomColors; } @@ -885,7 +885,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ class DocumentViewPicker { /** @@ -894,7 +894,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(); @@ -906,7 +906,7 @@ declare namespace picker { * For details about the application context of the stage model, see Context. * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(context: Context); @@ -918,7 +918,7 @@ declare namespace picker { * For details about the application context of the stage model, see Context. * @param { window.Window } window - Window instance created by the application. * @syscap SystemCapability.FileManagement.UserFileService - * @since 13 + * @since 13 dynamic */ constructor(context: Context, window: window.Window); @@ -944,7 +944,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ select(option?: DocumentSelectOptions): Promise>; @@ -968,7 +968,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ select(option: DocumentSelectOptions, callback: AsyncCallback>): void; @@ -988,7 +988,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ select(callback: AsyncCallback>): void; @@ -1014,7 +1014,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ save(option?: DocumentSaveOptions): Promise>; @@ -1038,7 +1038,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ save(option: DocumentSaveOptions, callback: AsyncCallback>): void; @@ -1058,7 +1058,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ save(callback: AsyncCallback>): void; @@ -1076,7 +1076,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService.FolderSelection * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ getSelectedIndex(): number; } @@ -1093,7 +1093,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ class AudioSelectOptions { /** @@ -1104,7 +1104,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ maxSelectNumber?: number; } @@ -1121,7 +1121,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ class AudioSaveOptions { /** @@ -1140,7 +1140,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ newFileNames?: Array; } @@ -1159,7 +1159,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ class AudioViewPicker { /** @@ -1168,7 +1168,7 @@ declare namespace picker { * * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(); @@ -1180,7 +1180,7 @@ declare namespace picker { * For details about the application context of the stage model, see Context. * @syscap SystemCapability.FileManagement.UserFileService * @atomicservice - * @since 12 + * @since 12 dynamic */ constructor(context: Context); @@ -1206,7 +1206,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ select(option?: AudioSelectOptions): Promise>; @@ -1229,7 +1229,7 @@ declare namespace picker { * @param { AsyncCallback> } callback - Callback invoked to return the URIs of the audio clips selected. * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform - * @since 12 + * @since 12 dynamic */ select(option: AudioSelectOptions, callback: AsyncCallback>): void; @@ -1248,7 +1248,7 @@ declare namespace picker { * @param { AsyncCallback> } callback - Callback invoked to return the URIs of the audio clips selected. * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform - * @since 12 + * @since 12 dynamic */ select(callback: AsyncCallback>): void; @@ -1276,7 +1276,7 @@ declare namespace picker { * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ save(option?: AudioSaveOptions): Promise>; @@ -1301,7 +1301,7 @@ declare namespace picker { * @param { AsyncCallback> } callback - Callback invoked to return the URIs of the audio clips saved. * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform - * @since 12 + * @since 12 dynamic */ save(option: AudioSaveOptions, callback: AsyncCallback>): void; @@ -1322,7 +1322,7 @@ declare namespace picker { * @param { AsyncCallback> } callback - Callback invoked to return the URIs of the audio clips saved. * @syscap SystemCapability.FileManagement.UserFileService * @crossplatform - * @since 12 + * @since 12 dynamic */ save(callback: AsyncCallback>): void; } diff --git a/api/@ohos.file.recent.d.ts b/api/@ohos.file.recent.d.ts index a46eec9f6b..4e255b54d5 100644 --- a/api/@ohos.file.recent.d.ts +++ b/api/@ohos.file.recent.d.ts @@ -25,7 +25,7 @@ * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ declare namespace recent { /** @@ -35,7 +35,7 @@ declare namespace recent { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ interface FileInfo { /** @@ -46,7 +46,7 @@ declare namespace recent { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ readonly uri: string; @@ -58,7 +58,7 @@ declare namespace recent { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ readonly srcPath: string; @@ -70,7 +70,7 @@ declare namespace recent { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ readonly fileName: string; @@ -82,7 +82,7 @@ declare namespace recent { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ readonly mode: number; @@ -94,7 +94,7 @@ declare namespace recent { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ readonly size: number; @@ -106,7 +106,7 @@ declare namespace recent { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ readonly mtime: number; @@ -118,7 +118,7 @@ declare namespace recent { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ readonly ctime: number; } @@ -134,7 +134,7 @@ declare namespace recent { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ function listFile(): Array; @@ -149,7 +149,7 @@ declare namespace recent { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ function add(uri: string): void; @@ -164,7 +164,7 @@ declare namespace recent { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ function remove(uri: string): void; } diff --git a/api/@ohos.file.securityLabel.d.ts b/api/@ohos.file.securityLabel.d.ts index f675714f29..600671c109 100644 --- a/api/@ohos.file.securityLabel.d.ts +++ b/api/@ohos.file.securityLabel.d.ts @@ -25,8 +25,8 @@ import type { AsyncCallback } from './@ohos.base'; * * @namespace securityLabel * @syscap SystemCapability.FileManagement.File.FileIO - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace securityLabel { /** @@ -34,8 +34,8 @@ declare namespace securityLabel { * * @typedef { 's0' | 's1' | 's2' | 's3' | 's4' } * @syscap SystemCapability.FileManagement.File.FileIO - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ type DataLevel = 's0' | 's1' | 's2' | 's3' | 's4'; @@ -54,8 +54,8 @@ declare namespace securityLabel { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setSecurityLabel(path: string, type: DataLevel): Promise; @@ -74,8 +74,8 @@ declare namespace securityLabel { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setSecurityLabel(path: string, type: DataLevel, callback: AsyncCallback): void; @@ -93,8 +93,8 @@ declare namespace securityLabel { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setSecurityLabelSync(path: string, type: DataLevel): void; @@ -112,8 +112,8 @@ declare namespace securityLabel { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSecurityLabel(path: string): Promise; @@ -131,8 +131,8 @@ declare namespace securityLabel { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSecurityLabel(path: string, callback: AsyncCallback): void; @@ -150,8 +150,8 @@ declare namespace securityLabel { * @throws { BusinessError } 13900041 - Quota exceeded * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSecurityLabelSync(path: string): string; } diff --git a/api/@ohos.file.sendablePhotoAccessHelper.d.ets b/api/@ohos.file.sendablePhotoAccessHelper.d.ets index 12926ba042..8e7fd43ceb 100644 --- a/api/@ohos.file.sendablePhotoAccessHelper.d.ets +++ b/api/@ohos.file.sendablePhotoAccessHelper.d.ets @@ -29,7 +29,7 @@ import photoAccessHelper from './@ohos.file.photoAccessHelper'; * @namespace sendablePhotoAccessHelper * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ declare namespace sendablePhotoAccessHelper { /** @@ -42,7 +42,7 @@ declare namespace sendablePhotoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @StageModelOnly * @atomicservice - * @since 12 + * @since 12 dynamiconly */ function getPhotoAccessHelper(context: Context): PhotoAccessHelper; @@ -60,7 +60,7 @@ declare namespace sendablePhotoAccessHelper { * @systemapi * @StageModelOnly * @crossplatform - * @since 19 + * @since 19 dynamiconly */ function getPhotoAccessHelper(context: Context, userId: number): PhotoAccessHelper; @@ -70,7 +70,7 @@ declare namespace sendablePhotoAccessHelper { * @enum { number } PhotoType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ const enum PhotoType { /** @@ -78,7 +78,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ IMAGE = 1, /** @@ -86,7 +86,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ VIDEO = 2 } @@ -97,7 +97,7 @@ declare namespace sendablePhotoAccessHelper { * @enum { number } PhotoSubtype * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamiconly */ enum PhotoSubtype { /** @@ -105,7 +105,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamiconly */ DEFAULT = 0, /** @@ -113,7 +113,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ SCREENSHOT = 1, /** @@ -121,7 +121,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamiconly */ MOVING_PHOTO = 3, /** @@ -129,7 +129,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 14 + * @since 14 dynamiconly */ BURST = 4, } @@ -139,21 +139,21 @@ declare namespace sendablePhotoAccessHelper { * * @enum { number } DynamicRangeType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 14 + * @since 14 dynamiconly */ enum DynamicRangeType { /** * Standard dynamic range (SDR). * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 14 + * @since 14 dynamiconly */ SDR = 0, /** * High dynamic range (HDR). * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 14 + * @since 14 dynamiconly */ HDR = 1 } @@ -164,7 +164,7 @@ declare namespace sendablePhotoAccessHelper { * @enum { number } ThumbnailVisibility * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ enum ThumbnailVisibility { /** @@ -172,7 +172,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ INVISIBLE = 0, /** @@ -180,7 +180,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ VISIBLE = 1 } @@ -191,7 +191,7 @@ declare namespace sendablePhotoAccessHelper { * @enum { number } Photo asset position, such as local device or cloud * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ enum PositionType { /** @@ -199,7 +199,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ LOCAL = 1 << 0, /** @@ -207,7 +207,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ CLOUD = 1 << 1 } @@ -218,7 +218,7 @@ declare namespace sendablePhotoAccessHelper { * @enum { number } MovingPhotoEffectMode * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ enum MovingPhotoEffectMode { /** @@ -226,7 +226,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ DEFAULT = 0, @@ -235,7 +235,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ BOUNCE_PLAY = 1, @@ -244,7 +244,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ LOOP_PLAY = 2, @@ -253,7 +253,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ LONG_EXPOSURE = 3, @@ -262,7 +262,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ MULTI_EXPOSURE = 4, @@ -271,7 +271,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ CINEMA_GRAPH = 5, @@ -280,7 +280,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ IMAGE_ONLY = 10 } @@ -291,7 +291,7 @@ declare namespace sendablePhotoAccessHelper { * @interface PhotoAsset * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ interface PhotoAsset extends lang.ISendable { /** @@ -301,7 +301,7 @@ declare namespace sendablePhotoAccessHelper { * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ readonly uri: string; /** @@ -309,7 +309,7 @@ declare namespace sendablePhotoAccessHelper { * * @type { PhotoType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ readonly photoType: PhotoType; /** @@ -317,7 +317,7 @@ declare namespace sendablePhotoAccessHelper { * * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ readonly displayName: string; /** @@ -330,7 +330,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ get(member: string): photoAccessHelper.MemberType; /** @@ -345,7 +345,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly * @example : set(PhotoKeys.TITLE, "newTitle"), call commitModify after set */ set(member: string, value: string): void; @@ -360,7 +360,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ commitModify(): Promise; /** @@ -374,7 +374,7 @@ declare namespace sendablePhotoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ getThumbnail(size?: image.Size): Promise; /** @@ -390,7 +390,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ getAnalysisData(analysisType: photoAccessHelper.AnalysisType): Promise; /** @@ -403,7 +403,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ requestSource(): Promise; /** @@ -413,7 +413,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ convertToPhotoAsset(): photoAccessHelper.PhotoAsset; } @@ -423,7 +423,7 @@ declare namespace sendablePhotoAccessHelper { * * @interface FetchResult * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ interface FetchResult extends lang.ISendable { /** @@ -432,7 +432,7 @@ declare namespace sendablePhotoAccessHelper { * @returns { number } Total number of objects. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ getCount(): number; /** @@ -441,7 +441,7 @@ declare namespace sendablePhotoAccessHelper { * @returns { boolean } Whether the object is the last one in the fetch result. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ isAfterLast(): boolean; /** @@ -450,7 +450,7 @@ declare namespace sendablePhotoAccessHelper { * @returns { Promise } Returns the first object in the fetch result. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ getFirstObject(): Promise; /** @@ -460,7 +460,7 @@ declare namespace sendablePhotoAccessHelper { * @returns { Promise } Returns the next object * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ getNextObject(): Promise; /** @@ -469,7 +469,7 @@ declare namespace sendablePhotoAccessHelper { * @returns { Promise } Returns the last object * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ getLastObject(): Promise; /** @@ -481,7 +481,7 @@ declare namespace sendablePhotoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ getObjectByPosition(index: number): Promise; /** @@ -490,7 +490,7 @@ declare namespace sendablePhotoAccessHelper { * @returns { Promise> } Returns all the objects * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ getAllObjects(): Promise>; /** @@ -499,7 +499,7 @@ declare namespace sendablePhotoAccessHelper { * * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ close(): void; } @@ -509,21 +509,21 @@ declare namespace sendablePhotoAccessHelper { * * @enum { number } AlbumType * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ const enum AlbumType { /** * User album. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ USER = 0, /** * System album. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ SYSTEM = 1024, /** @@ -531,7 +531,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ SMART = 4096 } @@ -541,28 +541,28 @@ declare namespace sendablePhotoAccessHelper { * * @enum { number } AlbumSubtype * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ const enum AlbumSubtype { /** * User album. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ USER_GENERIC = 1, /** * Favorites. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ FAVORITE = 1025, /** * Video album, which contains all video assets. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ VIDEO, /** @@ -570,7 +570,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ HIDDEN, /** @@ -578,7 +578,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ TRASH, /** @@ -586,7 +586,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ SCREENSHOT, /** @@ -594,14 +594,14 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ CAMERA, /** * Image album * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ IMAGE = 1031, /** @@ -609,7 +609,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ SOURCE_GENERIC = 2049, /** @@ -617,7 +617,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ CLASSIFY = 4097, /** @@ -625,7 +625,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ GEOGRAPHY_LOCATION = 4099, /** @@ -633,7 +633,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ GEOGRAPHY_CITY, /** @@ -641,7 +641,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ SHOOTING_MODE, /** @@ -649,7 +649,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ PORTRAIT, /** @@ -657,7 +657,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ GROUP_PHOTO, /** @@ -665,7 +665,7 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ HIGHLIGHT = 4104, /** @@ -673,14 +673,14 @@ declare namespace sendablePhotoAccessHelper { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ HIGHLIGHT_SUGGESTIONS, /** * Any album * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ ANY = 2147483647 } @@ -690,7 +690,7 @@ declare namespace sendablePhotoAccessHelper { * * @interface AbsAlbum * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ interface AbsAlbum extends lang.ISendable { /** @@ -698,7 +698,7 @@ declare namespace sendablePhotoAccessHelper { * * @type { AlbumType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ readonly albumType: AlbumType; /** @@ -706,7 +706,7 @@ declare namespace sendablePhotoAccessHelper { * * @type { AlbumSubtype } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ readonly albumSubtype: AlbumSubtype; /** @@ -714,7 +714,7 @@ declare namespace sendablePhotoAccessHelper { * * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ albumName: string; /** @@ -722,7 +722,7 @@ declare namespace sendablePhotoAccessHelper { * * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ readonly albumUri: string; /** @@ -730,7 +730,7 @@ declare namespace sendablePhotoAccessHelper { * * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ readonly count: number; /** @@ -738,7 +738,7 @@ declare namespace sendablePhotoAccessHelper { * * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ readonly coverUri: string; /** @@ -752,7 +752,7 @@ declare namespace sendablePhotoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ getAssets(options: photoAccessHelper.FetchOptions): Promise>; /** @@ -768,7 +768,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ getSharedPhotoAssets(options: photoAccessHelper.FetchOptions): Array; } @@ -778,7 +778,7 @@ declare namespace sendablePhotoAccessHelper { * * @interface Album * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ interface Album extends AbsAlbum { /** @@ -787,7 +787,7 @@ declare namespace sendablePhotoAccessHelper { * @type { ?number } * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ readonly imageCount?: number; /** @@ -796,7 +796,7 @@ declare namespace sendablePhotoAccessHelper { * @type { ?number } * @readonly * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ readonly videoCount?: number; /** @@ -807,7 +807,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ commitModify(): Promise; /** @@ -817,7 +817,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ convertToPhotoAlbum(): photoAccessHelper.Album; /** @@ -831,7 +831,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 13 + * @since 13 dynamiconly */ getFaceId(): Promise; } @@ -842,7 +842,7 @@ declare namespace sendablePhotoAccessHelper { * @interface SharedPhotoAsset * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ interface SharedPhotoAsset extends lang.ISendable { /** @@ -851,7 +851,7 @@ declare namespace sendablePhotoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ fileId: number; /** @@ -860,7 +860,7 @@ declare namespace sendablePhotoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ uri: string; /** @@ -869,7 +869,7 @@ declare namespace sendablePhotoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ data: string; /** @@ -878,7 +878,7 @@ declare namespace sendablePhotoAccessHelper { * @type { PhotoType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ mediaType: PhotoType; /** @@ -887,7 +887,7 @@ declare namespace sendablePhotoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ displayName: string; /** @@ -896,7 +896,7 @@ declare namespace sendablePhotoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ size: number; /** @@ -905,7 +905,7 @@ declare namespace sendablePhotoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ dateAdded: number; /** @@ -914,7 +914,7 @@ declare namespace sendablePhotoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ dateModified: number; /** @@ -923,7 +923,7 @@ declare namespace sendablePhotoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ duration: number; /** @@ -932,7 +932,7 @@ declare namespace sendablePhotoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ width: number; /** @@ -941,7 +941,7 @@ declare namespace sendablePhotoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ height: number; /** @@ -950,7 +950,7 @@ declare namespace sendablePhotoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ dateTaken: number; /** @@ -959,7 +959,7 @@ declare namespace sendablePhotoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ orientation: number; /** @@ -968,7 +968,7 @@ declare namespace sendablePhotoAccessHelper { * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ isFavorite: boolean; /** @@ -977,7 +977,7 @@ declare namespace sendablePhotoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ title: string; /** @@ -986,7 +986,7 @@ declare namespace sendablePhotoAccessHelper { * @type { PositionType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ position: PositionType; /** @@ -995,7 +995,7 @@ declare namespace sendablePhotoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ dateTrashed: number; /** @@ -1004,7 +1004,7 @@ declare namespace sendablePhotoAccessHelper { * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ hidden: boolean; /** @@ -1013,7 +1013,7 @@ declare namespace sendablePhotoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ userComment: string; /** @@ -1022,7 +1022,7 @@ declare namespace sendablePhotoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ cameraShotKey: string; /** @@ -1031,7 +1031,7 @@ declare namespace sendablePhotoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ dateYear: string; /** @@ -1040,7 +1040,7 @@ declare namespace sendablePhotoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ dateMonth: string; /** @@ -1049,7 +1049,7 @@ declare namespace sendablePhotoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ dateDay: string; /** @@ -1058,7 +1058,7 @@ declare namespace sendablePhotoAccessHelper { * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ pending: boolean; /** @@ -1067,7 +1067,7 @@ declare namespace sendablePhotoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ dateAddedMs: number; /** @@ -1076,7 +1076,7 @@ declare namespace sendablePhotoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ dateModifiedMs: number; /** @@ -1085,7 +1085,7 @@ declare namespace sendablePhotoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ dateTrashedMs: number; /** @@ -1094,7 +1094,7 @@ declare namespace sendablePhotoAccessHelper { * @type { PhotoSubtype } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ subtype: PhotoSubtype; /** @@ -1103,7 +1103,7 @@ declare namespace sendablePhotoAccessHelper { * @type { MovingPhotoEffectMode } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ movingPhotoEffectMode: MovingPhotoEffectMode; /** @@ -1112,7 +1112,7 @@ declare namespace sendablePhotoAccessHelper { * @type { DynamicRangeType } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ dynamicRangeType: DynamicRangeType; /** @@ -1121,7 +1121,7 @@ declare namespace sendablePhotoAccessHelper { * @type { boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ thumbnailReady: boolean; /** @@ -1130,7 +1130,7 @@ declare namespace sendablePhotoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ lcdSize: string; /** @@ -1139,7 +1139,7 @@ declare namespace sendablePhotoAccessHelper { * @type { string } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ thmSize: string; /** @@ -1148,7 +1148,7 @@ declare namespace sendablePhotoAccessHelper { * @type { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ thumbnailModifiedMs: number; /** @@ -1157,7 +1157,7 @@ declare namespace sendablePhotoAccessHelper { * @type { ThumbnailVisibility } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ thumbnailVisible: ThumbnailVisibility; } @@ -1168,7 +1168,7 @@ declare namespace sendablePhotoAccessHelper { * @interface PhotoAccessHelper * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ interface PhotoAccessHelper extends lang.ISendable { /** @@ -1182,7 +1182,7 @@ declare namespace sendablePhotoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ getAssets(options: photoAccessHelper.FetchOptions): Promise>; /** @@ -1196,7 +1196,7 @@ declare namespace sendablePhotoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ getBurstAssets(burstKey: string, options: photoAccessHelper.FetchOptions): Promise>; /** @@ -1212,7 +1212,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ createAsset(displayName: string): Promise; /** @@ -1229,7 +1229,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ createAsset(displayName: string, options: photoAccessHelper.PhotoCreateOptions): Promise; /** @@ -1248,7 +1248,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly */ createAsset(photoType: PhotoType, extension: string, options?: photoAccessHelper.CreateOptions): Promise; /** @@ -1262,7 +1262,7 @@ declare namespace sendablePhotoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ getAlbums(options: photoAccessHelper.FetchOptions): Promise>; /** @@ -1279,7 +1279,7 @@ declare namespace sendablePhotoAccessHelper { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ getAlbums( type: AlbumType, @@ -1302,7 +1302,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 12 + * @since 12 dynamiconly */ getHiddenAlbums( mode: photoAccessHelper.HiddenPhotosDisplayMode, @@ -1315,7 +1315,7 @@ declare namespace sendablePhotoAccessHelper { * @returns { Promise } Returns void * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 12 + * @since 12 dynamiconly */ release(): Promise; /** @@ -1331,7 +1331,7 @@ declare namespace sendablePhotoAccessHelper { * @throws { BusinessError } 14000011 - Internal system error * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamiconly */ getSharedPhotoAssets(options: photoAccessHelper.FetchOptions): Array; } diff --git a/api/@ohos.file.statvfs.d.ts b/api/@ohos.file.statvfs.d.ts index b844c7dd5f..f6cab826e1 100644 --- a/api/@ohos.file.statvfs.d.ts +++ b/api/@ohos.file.statvfs.d.ts @@ -33,8 +33,7 @@ import type { AsyncCallback } from './@ohos.base'; * @namespace statfs * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ declare namespace statfs { /** @@ -78,8 +77,7 @@ declare namespace statfs { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getFreeSize(path: string): Promise; @@ -124,8 +122,7 @@ declare namespace statfs { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getFreeSize(path: string, callback: AsyncCallback): void; @@ -170,8 +167,7 @@ declare namespace statfs { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getFreeSizeSync(path: string): long; @@ -216,8 +212,7 @@ declare namespace statfs { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getTotalSize(path: string): Promise; @@ -262,8 +257,7 @@ declare namespace statfs { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getTotalSize(path: string, callback: AsyncCallback): void; @@ -308,8 +302,7 @@ declare namespace statfs { * @throws { BusinessError } 13900042 - Unknown error * @syscap SystemCapability.FileManagement.File.FileIO * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getTotalSizeSync(path: string): long; } diff --git a/api/@ohos.file.storageStatistics.d.ts b/api/@ohos.file.storageStatistics.d.ts index 7d8cf858eb..04b5758c20 100644 --- a/api/@ohos.file.storageStatistics.d.ts +++ b/api/@ohos.file.storageStatistics.d.ts @@ -25,8 +25,8 @@ import { AsyncCallback, Callback } from './@ohos.base'; * * @namespace storageStatistics * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ declare namespace storageStatistics { /** @@ -45,7 +45,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since 8 + * @since 8 dynamic */ function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback): void; @@ -65,7 +65,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since 8 + * @since 8 dynamic */ function getTotalSizeOfVolume(volumeUuid: string): Promise; /** @@ -84,7 +84,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since 8 + * @since 8 dynamic */ function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback): void; @@ -104,7 +104,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since 8 + * @since 8 dynamic */ function getFreeSizeOfVolume(volumeUuid: string): Promise; @@ -113,8 +113,8 @@ parameters are left unspecified; * * @interface BundleStats * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface BundleStats { /** @@ -122,8 +122,8 @@ parameters are left unspecified; * * @type { long } * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ appSize: long; @@ -132,8 +132,8 @@ parameters are left unspecified; * * @type { long } * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ cacheSize: long; @@ -142,8 +142,8 @@ parameters are left unspecified; * * @type { long } * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ dataSize: long; } @@ -180,7 +180,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since 12 + * @since 12 dynamic */ function getBundleStats(packageName: string, callback: AsyncCallback, index?: number): void; @@ -217,7 +217,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since 12 + * @since 12 dynamic */ function getBundleStats(packageName: string, index?: number): Promise; @@ -230,8 +230,8 @@ parameters are left unspecified; * @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getCurrentBundleStats(callback: AsyncCallback): void; @@ -244,8 +244,8 @@ parameters are left unspecified; * @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getCurrentBundleStats(): Promise; @@ -262,7 +262,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since 9 + * @since 9 dynamic */ function getSystemSize(callback: AsyncCallback): void; @@ -279,7 +279,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since 9 + * @since 9 dynamic */ function getSystemSize(): Promise; @@ -289,8 +289,8 @@ parameters are left unspecified; * @interface StorageStats * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface StorageStats { /** @@ -299,8 +299,8 @@ parameters are left unspecified; * @type { long } * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ total: long; @@ -310,7 +310,7 @@ parameters are left unspecified; * @type { number } * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since 9 + * @since 9 dynamic */ audio: number; @@ -320,7 +320,7 @@ parameters are left unspecified; * @type { number } * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since 9 + * @since 9 dynamic */ video: number; @@ -330,7 +330,7 @@ parameters are left unspecified; * @type { number } * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since 9 + * @since 9 dynamic */ image: number; @@ -340,7 +340,7 @@ parameters are left unspecified; * @type { number } * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since 9 + * @since 9 dynamic */ file: number; @@ -350,7 +350,7 @@ parameters are left unspecified; * @type { number } * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since 9 + * @since 9 dynamic */ app: number; } @@ -369,8 +369,8 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getUserStorageStats(): Promise; @@ -388,8 +388,8 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getUserStorageStats(callback: AsyncCallback): void; @@ -409,8 +409,8 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getUserStorageStats(userId: long): Promise; @@ -430,8 +430,8 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getUserStorageStats(userId: long, callback: AsyncCallback): void; @@ -459,8 +459,8 @@ parameters are left unspecified; * @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function getTotalSize(callback: AsyncCallback): void; @@ -486,8 +486,8 @@ parameters are left unspecified; * @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function getTotalSize(): Promise; @@ -513,7 +513,7 @@ parameters are left unspecified; * @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics - * @since 15 + * @since 15 dynamic */ function getTotalSizeSync(): number; @@ -541,8 +541,8 @@ parameters are left unspecified; * @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function getFreeSize(callback: AsyncCallback): void; @@ -568,8 +568,8 @@ parameters are left unspecified; * @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function getFreeSize(): Promise; @@ -595,7 +595,7 @@ parameters are left unspecified; * @throws { BusinessError } 13600001 - IPC error. * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.SpatialStatistics - * @since 15 + * @since 15 dynamic */ function getFreeSizeSync(): number; } diff --git a/api/@ohos.file.trash.d.ts b/api/@ohos.file.trash.d.ts index b1602f6278..f199111142 100644 --- a/api/@ohos.file.trash.d.ts +++ b/api/@ohos.file.trash.d.ts @@ -25,7 +25,7 @@ * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ declare namespace trash { /** @@ -35,7 +35,7 @@ declare namespace trash { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ interface FileInfo { /** @@ -46,7 +46,7 @@ declare namespace trash { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ readonly uri: string; @@ -58,7 +58,7 @@ declare namespace trash { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ readonly srcPath: string; @@ -70,7 +70,7 @@ declare namespace trash { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ readonly fileName: string; @@ -82,7 +82,7 @@ declare namespace trash { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ readonly mode: number; @@ -94,7 +94,7 @@ declare namespace trash { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ readonly size: number; @@ -106,7 +106,7 @@ declare namespace trash { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ readonly mtime: number; @@ -118,7 +118,7 @@ declare namespace trash { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ readonly ctime: number; } @@ -134,7 +134,7 @@ declare namespace trash { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ function listFile(): Array; @@ -149,7 +149,7 @@ declare namespace trash { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ function recover(uri: string): void; @@ -164,7 +164,7 @@ declare namespace trash { * @syscap SystemCapability.FileManagement.UserFileService * @systemapi * @StageModelOnly - * @since 10 + * @since 10 dynamic */ function completelyDelete(uri: string): void; } diff --git a/api/@ohos.file.volumeManager.d.ts b/api/@ohos.file.volumeManager.d.ts index 1b90ba7c3f..711228a1cb 100644 --- a/api/@ohos.file.volumeManager.d.ts +++ b/api/@ohos.file.volumeManager.d.ts @@ -26,8 +26,8 @@ import { AsyncCallback, Callback } from './@ohos.base'; * @namespace volumeManager * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace volumeManager { /** @@ -36,8 +36,8 @@ declare namespace volumeManager { * @interface Volume * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface Volume { /** @@ -46,7 +46,7 @@ declare namespace volumeManager { * @type { string } * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ id: string; @@ -56,8 +56,8 @@ declare namespace volumeManager { * @type { string } * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ uuid: string; @@ -67,7 +67,7 @@ declare namespace volumeManager { * @type { string } * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ diskId: string; @@ -77,8 +77,8 @@ declare namespace volumeManager { * @type { string } * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ description: string; @@ -88,7 +88,7 @@ declare namespace volumeManager { * @type { boolean } * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ removable: boolean; @@ -98,7 +98,7 @@ declare namespace volumeManager { * @type { number } * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ state: number; @@ -108,7 +108,7 @@ declare namespace volumeManager { * @type { string } * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ path: string; @@ -118,7 +118,7 @@ declare namespace volumeManager { * @type { string } * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 12 + * @since 12 dynamic */ fsType: string; } @@ -135,8 +135,8 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAllVolumes(callback: AsyncCallback>): void; @@ -153,8 +153,8 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAllVolumes(): Promise>; @@ -177,7 +177,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ function mount(volumeId: string, callback: AsyncCallback): void; @@ -200,7 +200,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ function mount(volumeId: string): Promise; @@ -223,7 +223,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ function unmount(volumeId: string, callback: AsyncCallback): void; @@ -246,7 +246,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ function unmount(volumeId: string): Promise; @@ -266,8 +266,8 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getVolumeByUuid(uuid: string, callback: AsyncCallback): void; @@ -287,8 +287,8 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getVolumeByUuid(uuid: string): Promise; @@ -308,7 +308,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ function getVolumeById(volumeId: string, callback: AsyncCallback): void; @@ -328,7 +328,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ function getVolumeById(volumeId: string): Promise; @@ -351,7 +351,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback): void; @@ -374,7 +374,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ function setVolumeDescription(uuid: string, description: string): Promise; @@ -397,7 +397,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ function format(volumeId: string, fsType: string, callback: AsyncCallback): void; @@ -420,7 +420,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ function format(volumeId: string, fsType: string): Promise; @@ -441,7 +441,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ function partition(diskId: string, type: number, callback: AsyncCallback): void; @@ -462,7 +462,7 @@ parameters are left unspecified; * @throws { BusinessError } 13900042 - Unknown error. * @syscap SystemCapability.FileManagement.StorageService.Volume * @systemapi - * @since 9 + * @since 9 dynamic */ function partition(diskId: string, type: number): Promise; } diff --git a/api/@ohos.filemanagement.userFileManager.d.ts b/api/@ohos.filemanagement.userFileManager.d.ts index 4fe9440c8f..7090b40592 100644 --- a/api/@ohos.filemanagement.userFileManager.d.ts +++ b/api/@ohos.filemanagement.userFileManager.d.ts @@ -27,7 +27,7 @@ import dataSharePredicates from './@ohos.data.dataSharePredicates'; * @namespace userFileManager * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ declare namespace userFileManager { /** @@ -38,7 +38,7 @@ declare namespace userFileManager { * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ function getUserFileMgr(context: Context): UserFileManager; @@ -48,7 +48,7 @@ declare namespace userFileManager { * @enum { number } FileType * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ enum FileType { /** @@ -56,7 +56,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ IMAGE = 1, /** @@ -64,7 +64,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ VIDEO, /** @@ -72,7 +72,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ AUDIO } @@ -83,7 +83,7 @@ declare namespace userFileManager { * @enum { number } PhotoSubType * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ enum PhotoSubType { /** @@ -91,7 +91,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ DEFAULT, /** @@ -99,7 +99,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ SCREENSHOT, /** @@ -107,7 +107,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ CAMERA } @@ -118,7 +118,7 @@ declare namespace userFileManager { * @enum { number } File position, which indicates the file is on local device or cloud * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ enum PositionType { /** @@ -126,7 +126,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ LOCAL = 1, /** @@ -134,7 +134,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ CLOUD, /** @@ -142,7 +142,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ BOTH } @@ -153,7 +153,7 @@ declare namespace userFileManager { * @typedef { number | string | boolean } MemberType * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ type MemberType = number | string | boolean; @@ -163,7 +163,7 @@ declare namespace userFileManager { * @typedef { 'deviceChange' | 'albumChange' | 'imageChange' | 'audioChange' | 'videoChange' | 'remoteFileChange' } ChangeEvent * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ type ChangeEvent = 'deviceChange' @@ -179,7 +179,7 @@ declare namespace userFileManager { * @interface FileAsset * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ interface FileAsset { /** @@ -188,7 +188,7 @@ declare namespace userFileManager { * @type { string } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ readonly uri: string; /** @@ -197,7 +197,7 @@ declare namespace userFileManager { * @type { FileType } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ readonly fileType: FileType; /** @@ -206,7 +206,7 @@ declare namespace userFileManager { * @type { string } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ displayName: string; /** @@ -216,7 +216,7 @@ declare namespace userFileManager { * @returns { MemberType } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ get(member: string): MemberType; /** @@ -226,7 +226,7 @@ declare namespace userFileManager { * @param { string } value - The value of the parameter. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic * @example : Set(ImageVideoKey.TITLE, "newTitle"), call commitModify after set value */ set(member: string, value: string): void; @@ -237,7 +237,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - No value will be returned. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ commitModify(callback: AsyncCallback): void; /** @@ -247,7 +247,7 @@ declare namespace userFileManager { * @returns { Promise } Return promise * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ commitModify(): Promise; /** @@ -258,7 +258,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - Callback return the fd of the file. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ open(mode: string, callback: AsyncCallback): void; /** @@ -269,7 +269,7 @@ declare namespace userFileManager { * @returns { Promise } Return promise * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ open(mode: string): Promise; /** @@ -279,7 +279,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - No value will be returned. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ close(fd: number, callback: AsyncCallback): void; /** @@ -289,7 +289,7 @@ declare namespace userFileManager { * @returns { Promise } Return promise * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ close(fd: number): Promise; /** @@ -299,7 +299,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - Callback used to return the thumbnail's pixelMap. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getThumbnail(callback: AsyncCallback): void; /** @@ -310,7 +310,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - Callback used to return the thumbnail's pixelMap. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getThumbnail(size: image.Size, callback: AsyncCallback): void; /** @@ -321,7 +321,7 @@ declare namespace userFileManager { * @returns { Promise } Return promise * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getThumbnail(size?: image.Size): Promise; /** @@ -332,7 +332,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - Callback used to return, No value is returned. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ favorite(isFavorite: boolean, callback: AsyncCallback): void; /** @@ -343,7 +343,7 @@ declare namespace userFileManager { * @returns { Promise } Return promise * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ favorite(isFavorite: boolean): Promise; /** @@ -356,7 +356,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if parameter is invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setHidden(hiddenState: boolean, callback: AsyncCallback): void; /** @@ -369,7 +369,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if parameter is invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setHidden(hiddenState: boolean): Promise; /** @@ -383,7 +383,7 @@ declare namespace userFileManager { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setUserComment(userComment: string, callback: AsyncCallback): void; /** @@ -397,7 +397,7 @@ declare namespace userFileManager { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ setUserComment(userComment: string): Promise; /** @@ -408,7 +408,7 @@ declare namespace userFileManager { * @throws { BusinessError } 202 - Called by non-system application. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getExif(callback: AsyncCallback): void; /** @@ -419,7 +419,7 @@ declare namespace userFileManager { * @throws { BusinessError } 202 - Called by non-system application. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getExif(): Promise; } @@ -430,7 +430,7 @@ declare namespace userFileManager { * @enum { string } AudioKey * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ enum AudioKey { /** @@ -438,7 +438,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ URI, /** @@ -446,7 +446,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ DISPLAY_NAME, /** @@ -454,7 +454,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ DATE_ADDED, /** @@ -462,7 +462,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ DATE_MODIFIED, /** @@ -470,7 +470,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ TITLE, /** @@ -478,7 +478,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ ARTIST, /** @@ -486,7 +486,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ AUDIOALBUM, /** @@ -494,7 +494,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ DURATION, /** @@ -502,7 +502,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ FAVORITE } @@ -513,7 +513,7 @@ declare namespace userFileManager { * @enum { string } ImageVideoKey * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ enum ImageVideoKey { /** @@ -521,7 +521,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ URI, /** @@ -529,7 +529,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ FILE_TYPE, /** @@ -537,7 +537,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ DISPLAY_NAME, /** @@ -545,7 +545,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ DATE_ADDED, /** @@ -553,7 +553,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ DATE_MODIFIED, /** @@ -561,7 +561,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ TITLE, /** @@ -569,7 +569,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ DURATION, /** @@ -577,7 +577,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ WIDTH, /** @@ -585,7 +585,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ HEIGHT, /** @@ -593,7 +593,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ DATE_TAKEN, /** @@ -601,7 +601,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ ORIENTATION, /** @@ -609,7 +609,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ FAVORITE, /** @@ -617,7 +617,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ POSITION, /** @@ -625,7 +625,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ DATE_TRASHED, /** @@ -633,7 +633,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ HIDDEN, /** @@ -641,7 +641,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ USER_COMMENT, /** @@ -649,7 +649,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ CAMERA_SHOT_KEY } @@ -660,7 +660,7 @@ declare namespace userFileManager { * @enum { string } AlbumKey * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ enum AlbumKey { /** @@ -668,7 +668,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ URI, /** @@ -676,7 +676,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ FILE_TYPE, /** @@ -684,7 +684,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ ALBUM_NAME, /** @@ -692,7 +692,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ DATE_ADDED, /** @@ -700,7 +700,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ DATE_MODIFIED } @@ -711,7 +711,7 @@ declare namespace userFileManager { * @interface FetchOptions * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ interface FetchOptions { /** @@ -720,7 +720,7 @@ declare namespace userFileManager { * @type { Array } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ fetchColumns: Array; /** @@ -729,7 +729,7 @@ declare namespace userFileManager { * @type { dataSharePredicates.DataSharePredicates } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ predicates: dataSharePredicates.DataSharePredicates; } @@ -740,7 +740,7 @@ declare namespace userFileManager { * @interface AlbumFetchOptions * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ interface AlbumFetchOptions { /** @@ -749,7 +749,7 @@ declare namespace userFileManager { * @type { dataSharePredicates.DataSharePredicates } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ predicates: dataSharePredicates.DataSharePredicates; } @@ -760,7 +760,7 @@ declare namespace userFileManager { * @interface PhotoCreateOptions * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ interface PhotoCreateOptions { /** @@ -769,7 +769,7 @@ declare namespace userFileManager { * @type { ?PhotoSubType } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ subType?: PhotoSubType; /** @@ -778,7 +778,7 @@ declare namespace userFileManager { * @type { ?string } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ cameraShotKey?: string; } @@ -789,7 +789,7 @@ declare namespace userFileManager { * @interface FetchResult * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ interface FetchResult { /** @@ -798,7 +798,7 @@ declare namespace userFileManager { * @returns { number } Total number of files. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getCount(): number; /** @@ -809,7 +809,7 @@ declare namespace userFileManager { * which returns the next file only when False is returned for this method. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ isAfterLast(): boolean; /** @@ -817,7 +817,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ close(): void; /** @@ -826,7 +826,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - Callback used to return the file in the format of a FileAsset instance. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getFirstObject(callback: AsyncCallback): void; /** @@ -835,7 +835,7 @@ declare namespace userFileManager { * @returns { Promise } A Promise instance used to return the file in the format of a T instance. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getFirstObject(): Promise; /** @@ -847,7 +847,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - Callback used to return the file in the format of a T instance. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getNextObject(callback: AsyncCallback): void; /** @@ -859,7 +859,7 @@ declare namespace userFileManager { * @returns { Promise } A Promise instance used to return the file in the format of a T instance. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getNextObject(): Promise; /** @@ -868,7 +868,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - Callback used to return the file in the format of a T instance. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getLastObject(callback: AsyncCallback): void; /** @@ -877,7 +877,7 @@ declare namespace userFileManager { * @returns { Promise } A Promise instance used to return the file in the format of a T instance. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getLastObject(): Promise; /** @@ -889,7 +889,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type index is not number * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getPositionObject(index: number, callback: AsyncCallback): void; /** @@ -901,7 +901,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type index is not number * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getPositionObject(index: number): Promise; /** @@ -911,7 +911,7 @@ declare namespace userFileManager { * @param { AsyncCallback> } callback - Callback used to return a T array. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getAllObject(callback: AsyncCallback>): void; /** @@ -921,7 +921,7 @@ declare namespace userFileManager { * @returns { Promise> } A Promise instance used to return a T array. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getAllObject(): Promise>; } @@ -932,7 +932,7 @@ declare namespace userFileManager { * @enum { number } AlbumType * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ enum AlbumType { /** @@ -940,7 +940,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ USER = 0, /** @@ -948,7 +948,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ SYSTEM = 1024 } @@ -959,7 +959,7 @@ declare namespace userFileManager { * @enum { number } AlbumSubType * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ enum AlbumSubType { /** @@ -967,7 +967,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ USER_GENERIC = 1, /** @@ -975,7 +975,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ FAVORITE = 1025, /** @@ -983,7 +983,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ VIDEO, /** @@ -991,7 +991,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ HIDDEN, /** @@ -999,7 +999,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ TRASH, /** @@ -1007,7 +1007,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ SCREENSHOT, /** @@ -1015,7 +1015,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ CAMERA, /** @@ -1023,7 +1023,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ ANY = 2147483647 } @@ -1034,7 +1034,7 @@ declare namespace userFileManager { * @interface AbsAlbum * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ interface AbsAlbum { /** @@ -1043,7 +1043,7 @@ declare namespace userFileManager { * @type { AlbumType } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ readonly albumType: AlbumType; /** @@ -1052,7 +1052,7 @@ declare namespace userFileManager { * @type { AlbumSubType } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ readonly albumSubType: AlbumSubType; /** @@ -1061,7 +1061,7 @@ declare namespace userFileManager { * @type { string } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ albumName: string; /** @@ -1070,7 +1070,7 @@ declare namespace userFileManager { * @type { string } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ readonly albumUri: string; /** @@ -1079,7 +1079,7 @@ declare namespace userFileManager { * @type { number } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ readonly dateModified: number; /** @@ -1088,7 +1088,7 @@ declare namespace userFileManager { * @type { number } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ readonly count: number; /** @@ -1097,7 +1097,7 @@ declare namespace userFileManager { * @type { string } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ coverUri: string; /** @@ -1109,7 +1109,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type options is not FetchOptions * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getPhotoAssets(options: FetchOptions, callback: AsyncCallback>): void; /** @@ -1121,7 +1121,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type options is not FetchOptions * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getPhotoAssets(options: FetchOptions): Promise>; } @@ -1132,7 +1132,7 @@ declare namespace userFileManager { * @interface Album * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ interface Album extends AbsAlbum { /** @@ -1142,7 +1142,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - No value will be returned. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ commitModify(callback: AsyncCallback): void; /** @@ -1152,7 +1152,7 @@ declare namespace userFileManager { * @returns { Promise } Return promise * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ commitModify(): Promise; /** @@ -1164,7 +1164,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if PhotoAssets is invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ addPhotoAssets(assets: Array, callback: AsyncCallback): void; /** @@ -1176,7 +1176,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if PhotoAssets is invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ addPhotoAssets(assets: Array): Promise; /** @@ -1188,7 +1188,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if PhotoAssets is invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ removePhotoAssets(assets: Array, callback: AsyncCallback): void; /** @@ -1200,7 +1200,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if PhotoAssets is invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ removePhotoAssets(assets: Array): Promise; /** @@ -1212,7 +1212,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if PhotoAssets is invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ recoverPhotoAssets(assets: Array, callback: AsyncCallback): void; /** @@ -1224,7 +1224,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if PhotoAssets is invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ recoverPhotoAssets(assets: Array): Promise; /** @@ -1236,7 +1236,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if PhotoAssets is invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ deletePhotoAssets(assets: Array, callback: AsyncCallback): void; /** @@ -1248,7 +1248,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if PhotoAssets is invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ deletePhotoAssets(assets: Array): Promise; } @@ -1259,7 +1259,7 @@ declare namespace userFileManager { * @interface UserFileManager * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ interface UserFileManager { /** @@ -1271,7 +1271,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type options is not FetchOptions * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getPhotoAssets(options: FetchOptions, callback: AsyncCallback>): void; /** @@ -1283,7 +1283,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type options is not FetchOptions * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getPhotoAssets(options: FetchOptions): Promise>; /** @@ -1297,7 +1297,7 @@ declare namespace userFileManager { * @throws { BusinessError } 14000001 - if type displayName invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ createPhotoAsset(displayName: string, albumUri: string, callback: AsyncCallback): void; /** @@ -1310,7 +1310,7 @@ declare namespace userFileManager { * @throws { BusinessError } 14000001 - if type displayName invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ createPhotoAsset(displayName: string, callback: AsyncCallback): void; /** @@ -1323,7 +1323,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type displayName or albumUri is not string * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ createPhotoAsset(displayName: string, albumUri?: string): Promise; /** @@ -1336,7 +1336,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type displayName is not string * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ createPhotoAsset(displayName: string, createOption: PhotoCreateOptions): Promise; /** @@ -1350,7 +1350,7 @@ declare namespace userFileManager { * @throws { BusinessError } 14000001 - if type displayName invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ createPhotoAsset(displayName: string, createOption: PhotoCreateOptions, callback: AsyncCallback): void; /** @@ -1363,7 +1363,7 @@ declare namespace userFileManager { * @throws { BusinessError } 14000001 - if type displayName invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ createAudioAsset(displayName: string, callback: AsyncCallback): void; /** @@ -1375,7 +1375,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type displayName is not string * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ createAudioAsset(displayName: string): Promise; /** @@ -1387,7 +1387,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type options is not AlbumFetchOptions * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getPhotoAlbums(options: AlbumFetchOptions, callback: AsyncCallback>): void; /** @@ -1399,7 +1399,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type options is not AlbumFetchOptions * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getPhotoAlbums(options: AlbumFetchOptions): Promise>; /** @@ -1410,7 +1410,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - Returns the instance of newly created Album * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ createAlbum(name: string, callback: AsyncCallback): void; /** @@ -1421,7 +1421,7 @@ declare namespace userFileManager { * @returns { Promise } Returns the instance of newly created Album * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ createAlbum(name: string): Promise; /** @@ -1432,7 +1432,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - Returns void * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ deleteAlbums(albums: Array, callback: AsyncCallback): void; /** @@ -1443,7 +1443,7 @@ declare namespace userFileManager { * @returns { Promise } Returns the promise * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ deleteAlbums(albums: Array): Promise; /** @@ -1457,7 +1457,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type options is not FetchOption * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getAlbums( type: AlbumType, @@ -1475,7 +1475,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type options is not FetchOption * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getAlbums(type: AlbumType, subType: AlbumSubType, callback: AsyncCallback>): void; /** @@ -1489,7 +1489,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type options is not FetchOption * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getAlbums(type: AlbumType, subType: AlbumSubType, options?: FetchOptions): Promise>; /** @@ -1501,7 +1501,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type type is not PrivateAlbumType * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getPrivateAlbum(type: PrivateAlbumType, callback: AsyncCallback>): void; /** @@ -1513,7 +1513,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type type is not PrivateAlbumType * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getPrivateAlbum(type: PrivateAlbumType): Promise>; /** @@ -1525,7 +1525,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type options is not FetchOptions * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getAudioAssets(options: FetchOptions, callback: AsyncCallback>): void; /** @@ -1537,7 +1537,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type options is not FetchOptions * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ getAudioAssets(options: FetchOptions): Promise>; /** @@ -1549,7 +1549,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type uri is not string * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ delete(uri: string, callback: AsyncCallback): void; /** @@ -1561,7 +1561,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if type uri is not string * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ delete(uri: string): Promise; /** @@ -1576,7 +1576,7 @@ declare namespace userFileManager { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions, callback: AsyncCallback): void; /** @@ -1591,7 +1591,7 @@ declare namespace userFileManager { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions): Promise; /** @@ -1601,7 +1601,7 @@ declare namespace userFileManager { * @param { Callback } callback - No value returned * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ on(type: ChangeEvent, callback: Callback): void; /** @@ -1611,7 +1611,7 @@ declare namespace userFileManager { * @param { Callback } callback - No value returned * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ off(type: ChangeEvent, callback?: Callback): void; /** @@ -1623,7 +1623,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if parameter is invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ on(uri: string, forSubUri: boolean, callback: Callback): void; /** @@ -1634,7 +1634,7 @@ declare namespace userFileManager { * @throws { BusinessError } 13900020 - if parameter is invalid * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ off(uri: string, callback?: Callback): void; /** @@ -1643,7 +1643,7 @@ declare namespace userFileManager { * @param { AsyncCallback> } callback - Callback return the list of the active peer devices' information * @syscap SystemCapability.FileManagement.UserFileManager.DistributedCore * @systemapi - * @since 9 + * @since 9 dynamic */ getActivePeers(callback: AsyncCallback>): void; /** @@ -1652,7 +1652,7 @@ declare namespace userFileManager { * @returns { Promise> } Promise used to return the list of the active peer devices' information * @syscap SystemCapability.FileManagement.UserFileManager.DistributedCore * @systemapi - * @since 9 + * @since 9 dynamic */ getActivePeers(): Promise>; /** @@ -1661,7 +1661,7 @@ declare namespace userFileManager { * @param { AsyncCallback> } callback - Callback return the list of the all the peer devices' information * @syscap SystemCapability.FileManagement.UserFileManager.DistributedCore * @systemapi - * @since 9 + * @since 9 dynamic */ getAllPeers(callback: AsyncCallback>): void; /** @@ -1670,7 +1670,7 @@ declare namespace userFileManager { * @returns { Promise> } Promise used to return the list of the all the peer devices' information * @syscap SystemCapability.FileManagement.UserFileManager.DistributedCore * @systemapi - * @since 9 + * @since 9 dynamic */ getAllPeers(): Promise>; /** @@ -1679,7 +1679,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - No value returned * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ release(callback: AsyncCallback): void; /** @@ -1688,7 +1688,7 @@ declare namespace userFileManager { * @returns { Promise } Return promise * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ release(): Promise; } @@ -1699,7 +1699,7 @@ declare namespace userFileManager { * @enum { number } NotifyType subtype * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ enum NotifyType { /** @@ -1707,7 +1707,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ NOTIFY_ADD, /** @@ -1715,7 +1715,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ NOTIFY_UPDATE, /** @@ -1723,7 +1723,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ NOTIFY_REMOVE, /** @@ -1731,7 +1731,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ NOTIFY_ALBUM_ADD_ASSET, /** @@ -1739,7 +1739,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ NOTIFY_ALBUM_REMOVE_ASSET } @@ -1750,7 +1750,7 @@ declare namespace userFileManager { * @enum { string } DefaultChangeUri subtype * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ enum DefaultChangeUri { /** @@ -1758,7 +1758,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ DEFAULT_PHOTO_URI, /** @@ -1766,7 +1766,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ DEFAULT_ALBUM_URI, /** @@ -1774,7 +1774,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ DEFAULT_AUDIO_URI } @@ -1785,7 +1785,7 @@ declare namespace userFileManager { * @interface ChangeData * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ interface ChangeData { /** @@ -1794,7 +1794,7 @@ declare namespace userFileManager { * @type { NotifyType } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ type: NotifyType; /** @@ -1803,7 +1803,7 @@ declare namespace userFileManager { * @type { Array } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ uris: Array; /** @@ -1812,7 +1812,7 @@ declare namespace userFileManager { * @type { Array } * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 10 + * @since 10 dynamic */ subUris: Array; } @@ -1823,7 +1823,7 @@ declare namespace userFileManager { * @interface PeerInfo * @syscap SystemCapability.FileManagement.UserFileManager.DistributedCore * @systemapi - * @since 9 + * @since 9 dynamic */ interface PeerInfo { /** @@ -1832,7 +1832,7 @@ declare namespace userFileManager { * @type { string } * @syscap SystemCapability.FileManagement.UserFileManager.DistributedCore * @systemapi - * @since 9 + * @since 9 dynamic */ readonly deviceName: string; /** @@ -1841,7 +1841,7 @@ declare namespace userFileManager { * @type { string } * @syscap SystemCapability.FileManagement.UserFileManager.DistributedCore * @systemapi - * @since 9 + * @since 9 dynamic */ readonly networkId: string; /** @@ -1850,7 +1850,7 @@ declare namespace userFileManager { * @type { boolean } * @syscap SystemCapability.FileManagement.UserFileManager.DistributedCore * @systemapi - * @since 9 + * @since 9 dynamic */ readonly isOnline: boolean; } @@ -1861,7 +1861,7 @@ declare namespace userFileManager { * @enum { string } PrivateAlbumType * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ enum PrivateAlbumType { /** @@ -1869,7 +1869,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ TYPE_FAVORITE, /** @@ -1877,7 +1877,7 @@ declare namespace userFileManager { * * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ TYPE_TRASH } @@ -1888,7 +1888,7 @@ declare namespace userFileManager { * @interface PrivateAlbum * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ interface PrivateAlbum extends AbsAlbum { /** @@ -1899,7 +1899,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - No value returned * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ delete(uri: string, callback: AsyncCallback): void; /** @@ -1910,7 +1910,7 @@ declare namespace userFileManager { * @returns { Promise } A Promise instance, no value returned * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ delete(uri: string): Promise; /** @@ -1921,7 +1921,7 @@ declare namespace userFileManager { * @param { AsyncCallback } callback - No value returned * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ recover(uri: string, callback: AsyncCallback): void; /** @@ -1932,7 +1932,7 @@ declare namespace userFileManager { * @returns { Promise } A Promise instance, no value returned * @syscap SystemCapability.FileManagement.UserFileManager.Core * @systemapi - * @since 9 + * @since 9 dynamic */ recover(uri: string): Promise; } diff --git a/api/@ohos.fileshare.d.ts b/api/@ohos.fileshare.d.ts index f42bb98787..b204fa7089 100644 --- a/api/@ohos.fileshare.d.ts +++ b/api/@ohos.fileshare.d.ts @@ -18,11 +18,11 @@ * @kit CoreFileKit */ -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type { AsyncCallback, Callback } from './@ohos.base'; import type wantConstant from './@ohos.ability.wantConstant'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { AsyncCallback, Callback } from './@ohos.base'; import type wantConstant from './@ohos.app.ability.wantConstant'; /*** endif */ @@ -31,8 +31,8 @@ import type wantConstant from './@ohos.app.ability.wantConstant'; * * @namespace fileShare * @syscap SystemCapability.FileManagement.AppFileService - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace fileShare { /** @@ -40,16 +40,16 @@ declare namespace fileShare { * * @enum { int } OperationMode * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum OperationMode { /** * Indicates read permissions. * * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ READ_MODE = 0b1, @@ -57,8 +57,8 @@ declare namespace fileShare { * Indicates write permissions. * * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ WRITE_MODE = 0b10, @@ -66,7 +66,7 @@ declare namespace fileShare { * Indicates creating permissions. * * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 20 + * @since 20 dynamic */ CREATE_MODE = 0b100, @@ -74,7 +74,7 @@ declare namespace fileShare { * Indicates deleting permissions. * * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 20 + * @since 20 dynamic */ DELETE_MODE = 0b1000, @@ -82,7 +82,7 @@ declare namespace fileShare { * Indicates renaming permissions. * * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 20 + * @since 20 dynamic */ RENAME_MODE = 0b10000, } @@ -92,14 +92,14 @@ declare namespace fileShare { * * @enum { number } PolicyErrorCode * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 11 + * @since 11 dynamic */ export enum PolicyErrorCode { /** * Indicates that the policy is not allowed to be persisted. * * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 11 + * @since 11 dynamic */ PERSISTENCE_FORBIDDEN = 1, @@ -107,7 +107,7 @@ declare namespace fileShare { * Indicates that the mode of this policy is invalid. * * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 11 + * @since 11 dynamic */ INVALID_MODE = 2, @@ -115,7 +115,7 @@ declare namespace fileShare { * Indicates that the path of this policy is invalid. * * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 11 + * @since 11 dynamic */ INVALID_PATH = 3, @@ -123,7 +123,7 @@ declare namespace fileShare { * Indicates that the permission is not persistent. * * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 12 + * @since 12 dynamic */ PERMISSION_NOT_PERSISTED = 4, } @@ -133,7 +133,7 @@ declare namespace fileShare { * * @typedef { object } * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 11 + * @since 11 dynamic */ export type PolicyErrorResult = { /** @@ -141,7 +141,7 @@ declare namespace fileShare { * * @type { string } * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 11 + * @since 11 dynamic */ uri: string; @@ -150,7 +150,7 @@ declare namespace fileShare { * * @type { PolicyErrorCode } * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 11 + * @since 11 dynamic */ code: PolicyErrorCode; @@ -159,7 +159,7 @@ declare namespace fileShare { * * @type { string } * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 11 + * @since 11 dynamic */ message: string; }; @@ -169,8 +169,8 @@ declare namespace fileShare { * * @interface PolicyInfo * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface PolicyInfo { /** @@ -178,8 +178,8 @@ declare namespace fileShare { * * @type { string } * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ uri: string; @@ -188,8 +188,8 @@ declare namespace fileShare { * * @type { int } * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ operationMode: int; } @@ -199,8 +199,8 @@ declare namespace fileShare { * * @interface PathPolicyInfo * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ export interface PathPolicyInfo { /** @@ -208,8 +208,8 @@ declare namespace fileShare { * * @type { string } * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ path: string; @@ -218,8 +218,8 @@ declare namespace fileShare { * * @type { OperationMode } * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ operationMode: OperationMode; } @@ -229,16 +229,16 @@ declare namespace fileShare { * * @enum { number } policyType * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ export enum PolicyType { /** * Indicates that the policy is temporary. * * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ TEMPORARY_TYPE = 0, @@ -246,8 +246,8 @@ declare namespace fileShare { * Indicates that the policy is persistent. * * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ PERSISTENT_TYPE = 1, } @@ -267,8 +267,8 @@ declare namespace fileShare { * @throws { BusinessError } 14300001 - IPC error * @syscap SystemCapability.FileManagement.AppFileService * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function grantUriPermission( uri: string, @@ -292,8 +292,8 @@ declare namespace fileShare { * @throws { BusinessError } 14300001 - IPC error * @syscap SystemCapability.FileManagement.AppFileService * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise; @@ -312,7 +312,7 @@ declare namespace fileShare { * @throws { BusinessError } 13900011 - Out of memory. * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization * @systemapi - * @since 20 + * @since 20 dynamic */ function grantUriPermission(policies: Array, targetBundleName: string, appCloneIndex: number): Promise; @@ -329,7 +329,7 @@ declare namespace fileShare { * @throws { BusinessError } 13900001 - Operation not permitted. * @throws { BusinessError } 13900042 - Out of memory * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 11 + * @since 11 dynamic */ function persistPermission(policies: Array): Promise; @@ -346,7 +346,7 @@ declare namespace fileShare { * @throws { BusinessError } 13900001 - Operation not permitted. * @throws { BusinessError } 13900042 - Out of memory * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 11 + * @since 11 dynamic */ function revokePermission(policies: Array): Promise; @@ -363,8 +363,8 @@ declare namespace fileShare { * @throws { BusinessError } 13900001 - Operation not permitted. * @throws { BusinessError } 13900042 - Out of memory * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function activatePermission(policies: Array): Promise; @@ -381,8 +381,8 @@ declare namespace fileShare { * @throws { BusinessError } 13900001 - Operation not permitted. * @throws { BusinessError } 13900042 - Out of memory * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function deactivatePermission(policies: Array): Promise; @@ -410,7 +410,7 @@ declare namespace fileShare { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 13900042 - Out of memory * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization - * @since 17 + * @since 17 dynamic */ function checkPersistentPermission(policies: Array): Promise>; @@ -429,8 +429,8 @@ declare namespace fileShare { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.FileManagement.AppFileService.FolderAuthorization * @systemapi - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function checkPathPermission(tokenID: int, policies: Array, policyType: PolicyType): Promise>; } diff --git a/api/@ohos.font.d.ts b/api/@ohos.font.d.ts index 4a8422fd69..171e8e1402 100644 --- a/api/@ohos.font.d.ts +++ b/api/@ohos.font.d.ts @@ -34,7 +34,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare namespace font { /** @@ -53,7 +53,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface FontOptions { @@ -86,7 +86,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ familyName: string | Resource; @@ -119,7 +119,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ familySrc: string | Resource; } @@ -140,7 +140,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface FontInfo { @@ -166,7 +166,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ path: string; @@ -192,7 +192,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ postScriptName: string; @@ -218,7 +218,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fullName: string; @@ -244,7 +244,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ family: string; @@ -270,7 +270,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ subfamily: string; @@ -296,7 +296,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ weight: number; @@ -322,7 +322,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ width: number; @@ -348,7 +348,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ italic: boolean; @@ -374,7 +374,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ monoSpace: boolean; @@ -400,7 +400,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ symbolic: boolean; } @@ -414,7 +414,7 @@ declare namespace font { * @typedef UIFontConfig * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ interface UIFontConfig { /** @@ -428,7 +428,7 @@ declare namespace font { * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ fontDir: Array; @@ -443,7 +443,7 @@ declare namespace font { * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ generic: Array; @@ -458,7 +458,7 @@ declare namespace font { * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ fallbackGroups: Array; } @@ -472,7 +472,7 @@ declare namespace font { * @typedef UIFontGenericInfo * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ interface UIFontGenericInfo { /** @@ -486,7 +486,7 @@ declare namespace font { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ family: string; @@ -501,7 +501,7 @@ declare namespace font { * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ alias: Array; @@ -516,7 +516,7 @@ declare namespace font { * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ adjust: Array; } @@ -530,7 +530,7 @@ declare namespace font { * @typedef UIFontAliasInfo * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ interface UIFontAliasInfo { /** @@ -544,7 +544,7 @@ declare namespace font { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ name: string; @@ -561,7 +561,7 @@ declare namespace font { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ weight: number; } @@ -575,7 +575,7 @@ declare namespace font { * @typedef UIFontAdjustInfo * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ interface UIFontAdjustInfo { /** @@ -589,7 +589,7 @@ declare namespace font { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ weight: number; /** @@ -603,7 +603,7 @@ declare namespace font { * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ to: number; } @@ -617,7 +617,7 @@ declare namespace font { * @typedef UIFontFallbackGroupInfo * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ interface UIFontFallbackGroupInfo { /** @@ -633,7 +633,7 @@ declare namespace font { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ fontSetName: string; @@ -648,7 +648,7 @@ declare namespace font { * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ fallback: Array; } @@ -662,7 +662,7 @@ declare namespace font { * @typedef UIFontFallbackInfo * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ interface UIFontFallbackInfo { /** @@ -676,7 +676,7 @@ declare namespace font { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ language: string; @@ -691,7 +691,7 @@ declare namespace font { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ family: string; } @@ -718,7 +718,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.Font#registerFont */ @@ -746,7 +746,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.Font#getSystemFontList */ @@ -777,7 +777,7 @@ declare namespace font { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.Font#getFontByName */ @@ -796,7 +796,7 @@ declare namespace font { * @returns { UIFontConfig } Returns the ui font config * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ function getUIFontConfig(): UIFontConfig; } diff --git a/api/@ohos.font.static.d.ets b/api/@ohos.font.static.d.ets index d8b9c96ab6..de20425d3c 100644 --- a/api/@ohos.font.static.d.ets +++ b/api/@ohos.font.static.d.ets @@ -15,20 +15,19 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { Resource } from './global/resource'; /** * @namespace font * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ declare namespace font { /** * @typedef FontOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interface FontOptions { /** @@ -36,7 +35,7 @@ declare namespace font { * * @type { string | Resource } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ familyName: string | Resource; @@ -45,14 +44,14 @@ declare namespace font { * * @type { string | Resource } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ familySrc: string | Resource; } /** * @typedef FontInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interface FontInfo { /** @@ -60,7 +59,7 @@ declare namespace font { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ path: string; /** @@ -68,7 +67,7 @@ declare namespace font { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ postScriptName: string; /** @@ -76,7 +75,7 @@ declare namespace font { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fullName: string; /** @@ -84,7 +83,7 @@ declare namespace font { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ family: string; /** @@ -92,7 +91,7 @@ declare namespace font { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ subfamily: string; /** @@ -100,7 +99,7 @@ declare namespace font { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ weight: number; /** @@ -108,7 +107,7 @@ declare namespace font { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ width: number; /** @@ -116,7 +115,7 @@ declare namespace font { * * @type { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ italic: boolean; /** @@ -124,7 +123,7 @@ declare namespace font { * * @type { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ monoSpace: boolean; /** @@ -132,77 +131,77 @@ declare namespace font { * * @type { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ symbolic: boolean; } /** * @typedef UIFontConfig * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interface UIFontConfig { /** * The paths of system font files. * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontDir: Array; /** * The generic font info. * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ generic: Array; /** * The fallback font info. * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fallbackGroups: Array; } /** * @typedef UIFontGenericInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interface UIFontGenericInfo { /** * Name of the font set. * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ family: string; /** * Alias info of the font set. * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ alias: Array; /** * Adjust info of the font set. * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ adjust: Array; } /** * @typedef UIFontAliasInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interface UIFontAliasInfo { /** * Font set name. * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ name: string; /** @@ -210,35 +209,35 @@ declare namespace font { * this font set can contain fonts with any weight. * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ weight: number; } /** * @typedef UIFontAdjustInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interface UIFontAdjustInfo { /** * Original weight of the font * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ weight: number; /** * Font weight displayed in the app * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ to: number; } /** * @typedef UIFontFallbackGroupInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interface UIFontFallbackGroupInfo { /** @@ -246,35 +245,35 @@ declare namespace font { * if the font set name is "", it means that the following list can be fallback font for all font sets. * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontSetName: string; /** * Fallback font list related. * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fallback: Array; } /** * @typedef UIFontFallbackInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ interface UIFontFallbackInfo { /** * Language that font set support. * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ language: string; /** * Font name related. * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ family: string; } @@ -283,7 +282,7 @@ declare namespace font { * * @returns { UIFontConfig } Returns the ui font config * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ function getUIFontConfig(): UIFontConfig; } diff --git a/api/@ohos.fontManager.d.ts b/api/@ohos.fontManager.d.ts index 8f010e87ff..605f339f5f 100644 --- a/api/@ohos.fontManager.d.ts +++ b/api/@ohos.fontManager.d.ts @@ -24,8 +24,8 @@ * @namespace fontManager * @syscap SystemCapability.Global.FontManager * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ declare namespace fontManager { /** @@ -45,8 +45,8 @@ declare namespace fontManager { * @throws { BusinessError } 31100106 - Other error. * @syscap SystemCapability.Global.FontManager * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function installFont(path: string): Promise; @@ -64,8 +64,8 @@ declare namespace fontManager { * @throws { BusinessError } 31100109 - Other error. * @syscap SystemCapability.Global.FontManager * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function uninstallFont(fullName: string): Promise; } diff --git a/api/@ohos.geoLocationManager.d.ts b/api/@ohos.geoLocationManager.d.ts index 6e00ad602d..20d2f12263 100644 --- a/api/@ohos.geoLocationManager.d.ts +++ b/api/@ohos.geoLocationManager.d.ts @@ -19,10 +19,10 @@ */ import { AsyncCallback, Callback } from './@ohos.base'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import { WantAgent } from './@ohos.wantAgent'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { WantAgent } from '@ohos.app.ability.wantAgent'; /*** endif */ import { NotificationRequest } from './notification/notificationRequest'; @@ -41,8 +41,8 @@ import { NotificationRequest } from './notification/notificationRequest'; * @namespace geoLocationManager * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace geoLocationManager { /** @@ -109,8 +109,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301100 - The location switch is off. * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function on(type: 'locationChange', request: LocationRequest | ContinuousLocationRequest, callback: Callback): void; @@ -158,8 +158,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function off(type: 'locationChange', callback?: Callback): void; @@ -175,8 +175,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function on(type: 'locationError', callback: Callback): void; @@ -192,8 +192,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function off(type: 'locationError', callback?: Callback): void; @@ -206,8 +206,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 801 - Capability not supported. Failed to call ${geoLocationManager.on('locationEnabledChange')} due to limited device capabilities. * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function on(type: 'locationEnabledChange', callback: Callback): void; @@ -220,8 +220,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 801 - Capability not supported. Failed to call ${geoLocationManager.off('locationEnabledChange')} due to limited device capabilities. * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off(type: 'locationEnabledChange', callback?: Callback): void; @@ -254,8 +254,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301100 - The location switch is off. * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function on(type: 'cachedGnssLocationsChange', request: CachedGnssLocationsRequest, callback: Callback>): void; @@ -286,8 +286,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301100 - The location switch is off. * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function off(type: 'cachedGnssLocationsChange', callback?: Callback>): void; @@ -303,8 +303,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301100 - The location switch is off. * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function on(type: 'satelliteStatusChange', callback: Callback): void; @@ -320,8 +320,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301100 - The location switch is off. * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off(type: 'satelliteStatusChange', callback?: Callback): void; @@ -337,8 +337,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301100 - The location switch is off. * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function on(type: 'nmeaMessage', callback: Callback): void; @@ -354,8 +354,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301100 - The location switch is off. * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off(type: 'nmeaMessage', callback?: Callback): void; @@ -373,7 +373,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301100 - The location switch is off. * @throws { BusinessError } 3301600 - Failed to operate the geofence. * @syscap SystemCapability.Location.Location.Geofence - * @since 9 + * @since 9 dynamic */ function on(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void; @@ -391,7 +391,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301100 - The location switch is off. * @throws { BusinessError } 3301600 - Failed to operate the geofence. * @syscap SystemCapability.Location.Location.Geofence - * @since 9 + * @since 9 dynamic */ function off(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void; @@ -405,8 +405,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301500 - Failed to query the area information. * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function on(type: 'countryCodeChange', callback: Callback): void; @@ -420,8 +420,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301500 - Failed to query the area information. * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off(type: 'countryCodeChange', callback?: Callback): void; @@ -440,8 +440,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301800 - Failed to start WiFi or Bluetooth scanning. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function on(type: 'locatingRequiredDataChange', config: LocatingRequiredDataConfig, callback: Callback>): void; @@ -457,8 +457,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 801 - Capability not supported. Failed to call ${geoLocationManager.off('locatingRequiredDataChange')} due to limited device capabilities. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function off(type: 'locatingRequiredDataChange', callback?: Callback>): void; @@ -473,8 +473,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function on(type: 'locationIconStatusChange', callback: Callback): void; @@ -489,8 +489,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function off(type: 'locationIconStatusChange', callback?: Callback): void; @@ -506,8 +506,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301100 - The location switch is off. * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function on(type: 'bluetoothScanResultChange', callback: Callback): void; @@ -522,8 +522,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 801 - Capability not supported. Failed to call ${geoLocationManager.off('bluetoothScanResultChange')} due to limited device capabilities. * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function off(type: 'bluetoothScanResultChange', callback?: Callback): void; @@ -572,8 +572,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301200 - Failed to obtain the geographical location. * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getCurrentLocation(request: CurrentLocationRequest | SingleLocationRequest, callback: AsyncCallback): void; @@ -605,8 +605,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301200 - Failed to obtain the geographical location. * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getCurrentLocation(callback: AsyncCallback): void; @@ -655,8 +655,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301200 - Failed to obtain the geographical location. * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getCurrentLocation(request?: CurrentLocationRequest | SingleLocationRequest): Promise; @@ -686,8 +686,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301200 - Failed to obtain the geographical location. * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getLastLocation(): Location; @@ -708,8 +708,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function isLocationEnabled(): boolean; @@ -723,7 +723,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 18 + * @since 18 dynamic */ function isLocationEnabledByUserId(userId: number): boolean; @@ -753,8 +753,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function enableLocation(callback: AsyncCallback): void; @@ -782,8 +781,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function enableLocation(): Promise; @@ -799,7 +797,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 18 + * @since 18 dynamic */ function enableLocationByUserId(userId: number): Promise; @@ -825,8 +823,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function disableLocation(): void; @@ -841,7 +838,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 18 + * @since 18 dynamic */ function disableLocationByUserId(userId: number): void; @@ -857,7 +854,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 18 + * @since 18 dynamic */ function setLocationSwitchIgnored(isIgnored: boolean): void; @@ -871,8 +868,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301300 - Reverse geocoding query failed. * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback>): void; @@ -886,8 +883,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301300 - Reverse geocoding query failed. * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise>; @@ -901,7 +898,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301400 - Geocoding query failed. * @syscap SystemCapability.Location.Location.Geocoder - * @since 9 + * @since 9 dynamic */ function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback>): void; @@ -915,7 +912,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301400 - Geocoding query failed. * @syscap SystemCapability.Location.Location.Geocoder - * @since 9 + * @since 9 dynamic */ function getAddressesFromLocationName(request: GeoCodeRequest): Promise>; @@ -926,7 +923,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 801 - Capability not supported. Failed to call ${geoLocationManager.isGeocoderAvailable} due to limited device capabilities. * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Geocoder - * @since 9 + * @since 9 dynamic */ function isGeocoderAvailable(): boolean; @@ -941,7 +938,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301100 - The location switch is off. * @syscap SystemCapability.Location.Location.Gnss - * @since 9 + * @since 9 dynamic */ function getCachedGnssLocationsSize(callback: AsyncCallback): void; @@ -955,7 +952,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301100 - The location switch is off. * @syscap SystemCapability.Location.Location.Gnss - * @since 9 + * @since 9 dynamic */ function getCachedGnssLocationsSize(): Promise; @@ -974,7 +971,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301100 - The location switch is off. * @throws { BusinessError } 3301200 - Failed to obtain the geographical location. * @syscap SystemCapability.Location.Location.Gnss - * @since 9 + * @since 9 dynamic */ function flushCachedGnssLocations(callback: AsyncCallback): void; @@ -990,7 +987,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301100 - The location switch is off. * @throws { BusinessError } 3301200 - Failed to obtain the geographical location. * @syscap SystemCapability.Location.Location.Gnss - * @since 9 + * @since 9 dynamic */ function flushCachedGnssLocations(): Promise; @@ -1005,7 +1002,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 801 - Capability not supported. Failed to call ${geoLocationManager.sendCommand} due to limited device capabilities. * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core - * @since 9 + * @since 9 dynamic */ function sendCommand(command: LocationCommand, callback: AsyncCallback): void; @@ -1018,7 +1015,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 801 - Capability not supported. Failed to call ${geoLocationManager.sendCommand} due to limited device capabilities. * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core - * @since 9 + * @since 9 dynamic */ function sendCommand(command: LocationCommand): Promise; @@ -1031,7 +1028,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301500 - Failed to query the area information. * @syscap SystemCapability.Location.Location.Core - * @since 9 + * @since 9 dynamic */ function getCountryCode(callback: AsyncCallback): void; @@ -1043,7 +1040,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301500 - Failed to query the area information. * @syscap SystemCapability.Location.Location.Core - * @since 9 + * @since 9 dynamic */ function getCountryCode(): Promise; @@ -1069,7 +1066,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301100 - The location switch is off. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 20 + * @since 20 dynamic */ function enableLocationMock(): void; @@ -1095,7 +1092,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301100 - The location switch is off. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 20 + * @since 20 dynamic */ function disableLocationMock(): void; @@ -1127,7 +1124,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301100 - The location switch is off. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 20 + * @since 20 dynamic */ function setMockedLocations(config: LocationMockConfig): void; @@ -1151,7 +1148,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 20 + * @since 20 dynamic */ function enableReverseGeocodingMock(): void; @@ -1175,7 +1172,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 20 + * @since 20 dynamic */ function disableReverseGeocodingMock(): void; @@ -1203,7 +1200,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 20 + * @since 20 dynamic */ function setReverseGeocodingMockInfo(mockInfos: Array): void; @@ -1218,8 +1215,8 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isLocationPrivacyConfirmed(type: LocationPrivacyType): boolean; @@ -1236,7 +1233,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 9 + * @since 9 dynamic */ function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean): void; @@ -1253,7 +1250,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301800 - Failed to start WiFi or Bluetooth scanning. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 10 + * @since 10 dynamic */ function getLocatingRequiredData(config: LocatingRequiredDataConfig): Promise>; @@ -1270,7 +1267,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301100 - The location switch is off. * @throws { BusinessError } 3301601 - The number of geofences exceeds the maximum. * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ function addGnssGeofence(fenceRequest: GnssGeofenceRequest): Promise; @@ -1286,7 +1283,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @throws { BusinessError } 3301602 - Failed to delete a geofence due to an incorrect ID. * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ function removeGnssGeofence(geofenceId: number): Promise; @@ -1297,7 +1294,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 801 - Capability not supported. Failed to call ${geoLocationManager.getGeofenceSupportedCoordTypes} due to limited device capabilities. * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ function getGeofenceSupportedCoordTypes(): Array; @@ -1310,7 +1307,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301000 - The location service is unavailable. * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 12 + * @since 12 dynamic */ function getLocationIconStatus(): LocationIconStatus; @@ -1325,7 +1322,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301900 - Failed to obtain the BSSID of the Wi-Fi hotspot. The Wi-Fi network is not connected. * @syscap SystemCapability.Location.Location.Core * @crossplatform - * @since 14 + * @since 14 dynamic */ function getCurrentWifiBssidForLocating(): string; @@ -1337,7 +1334,7 @@ declare namespace geoLocationManager { * @returns { number } Returns the distance between two locations. * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ function getDistanceBetweenLocations(location1: Location, location2: Location): number; @@ -1347,7 +1344,7 @@ declare namespace geoLocationManager { * @returns { boolean } Returns {@code true} if POI service is available, returns {@code false} otherwise. * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ function isPoiServiceSupported(): boolean; @@ -1363,7 +1360,7 @@ declare namespace geoLocationManager { * @throws { BusinessError } 3301100 - The location switch is off. * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ function getPoiInfo(): Promise; @@ -1373,7 +1370,7 @@ declare namespace geoLocationManager { * @typedef ReverseGeocodingMockInfo * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 9 + * @since 9 dynamic */ export interface ReverseGeocodingMockInfo { /** @@ -1382,7 +1379,7 @@ declare namespace geoLocationManager { * @type { ReverseGeoCodeRequest } * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 9 + * @since 9 dynamic */ location: ReverseGeoCodeRequest; @@ -1392,7 +1389,7 @@ declare namespace geoLocationManager { * @type { GeoAddress } * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 9 + * @since 9 dynamic */ geoAddress: GeoAddress; } @@ -1403,7 +1400,7 @@ declare namespace geoLocationManager { * @typedef LocationMockConfig * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 9 + * @since 9 dynamic */ export interface LocationMockConfig { /** @@ -1412,7 +1409,7 @@ declare namespace geoLocationManager { * @type { number } * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 9 + * @since 9 dynamic */ timeInterval: number; @@ -1422,7 +1419,7 @@ declare namespace geoLocationManager { * @type { Array } * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since 9 + * @since 9 dynamic */ locations: Array; } @@ -1432,8 +1429,8 @@ declare namespace geoLocationManager { * * @typedef SatelliteStatusInfo * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface SatelliteStatusInfo { /** @@ -1441,8 +1438,8 @@ declare namespace geoLocationManager { * * @type { int } * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ satellitesNumber: int; @@ -1451,8 +1448,8 @@ declare namespace geoLocationManager { * * @type { Array } * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ satelliteIds: Array; @@ -1461,8 +1458,8 @@ declare namespace geoLocationManager { * * @type { Array } * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ carrierToNoiseDensitys: Array; @@ -1471,8 +1468,8 @@ declare namespace geoLocationManager { * * @type { Array } * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ altitudes: Array; @@ -1481,8 +1478,8 @@ declare namespace geoLocationManager { * * @type { Array } * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ azimuths: Array; @@ -1491,8 +1488,8 @@ declare namespace geoLocationManager { * * @type { Array } * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ carrierFrequencies: Array; @@ -1501,8 +1498,8 @@ declare namespace geoLocationManager { * * @type { ?Array } * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ satelliteConstellation?: Array; @@ -1511,8 +1508,8 @@ declare namespace geoLocationManager { * * @type { ?Array } * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ satelliteAdditionalInfo?: Array; } @@ -1522,8 +1519,8 @@ declare namespace geoLocationManager { * * @typedef CachedGnssLocationsRequest * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface CachedGnssLocationsRequest { /** @@ -1531,8 +1528,8 @@ declare namespace geoLocationManager { * * @type { int } * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ reportingPeriodSec: int; @@ -1541,8 +1538,8 @@ declare namespace geoLocationManager { * * @type { boolean } * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ wakeUpCacheQueueFull: boolean; } @@ -1552,7 +1549,7 @@ declare namespace geoLocationManager { * * @typedef GnssGeofenceRequest * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ export interface GnssGeofenceRequest { /** @@ -1560,7 +1557,7 @@ declare namespace geoLocationManager { * * @type { Geofence } * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ geofence: Geofence; @@ -1569,7 +1566,7 @@ declare namespace geoLocationManager { * * @type { Array } * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ monitorTransitionEvents: Array; @@ -1578,7 +1575,7 @@ declare namespace geoLocationManager { * * @type { ?Array } * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ notifications?: Array; @@ -1587,7 +1584,7 @@ declare namespace geoLocationManager { * * @type { AsyncCallback } * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ geofenceTransitionCallback: AsyncCallback; } @@ -1597,7 +1594,7 @@ declare namespace geoLocationManager { * * @typedef GeofenceRequest * @syscap SystemCapability.Location.Location.Geofence - * @since 9 + * @since 9 dynamic */ export interface GeofenceRequest { /** @@ -1605,7 +1602,7 @@ declare namespace geoLocationManager { * * @type { LocationRequestScenario } * @syscap SystemCapability.Location.Location.Geofence - * @since 9 + * @since 9 dynamic */ scenario: LocationRequestScenario; @@ -1614,7 +1611,7 @@ declare namespace geoLocationManager { * * @type { Geofence } * @syscap SystemCapability.Location.Location.Geofence - * @since 9 + * @since 9 dynamic */ geofence: Geofence; } @@ -1624,7 +1621,7 @@ declare namespace geoLocationManager { * * @typedef Geofence * @syscap SystemCapability.Location.Location.Geofence - * @since 9 + * @since 9 dynamic */ export interface Geofence { /** @@ -1632,7 +1629,7 @@ declare namespace geoLocationManager { * * @type { number } * @syscap SystemCapability.Location.Location.Geofence - * @since 9 + * @since 9 dynamic */ latitude: number; @@ -1641,7 +1638,7 @@ declare namespace geoLocationManager { * * @type { number } * @syscap SystemCapability.Location.Location.Geofence - * @since 9 + * @since 9 dynamic */ longitude: number; @@ -1650,7 +1647,7 @@ declare namespace geoLocationManager { * * @type { ?CoordinateSystemType } * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ coordinateSystemType?: CoordinateSystemType; @@ -1659,7 +1656,7 @@ declare namespace geoLocationManager { * * @type { number } * @syscap SystemCapability.Location.Location.Geofence - * @since 9 + * @since 9 dynamic */ radius: number; @@ -1668,7 +1665,7 @@ declare namespace geoLocationManager { * * @type { number } * @syscap SystemCapability.Location.Location.Geofence - * @since 9 + * @since 9 dynamic */ expiration: number; } @@ -1678,8 +1675,8 @@ declare namespace geoLocationManager { * * @typedef ReverseGeoCodeRequest * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface ReverseGeoCodeRequest { /** @@ -1687,8 +1684,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ locale?: string; @@ -1697,8 +1694,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ country?: string; @@ -1707,8 +1704,8 @@ declare namespace geoLocationManager { * * @type { double } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ latitude: double; @@ -1717,8 +1714,8 @@ declare namespace geoLocationManager { * * @type { double } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ longitude: double; @@ -1727,8 +1724,8 @@ declare namespace geoLocationManager { * * @type { ?int } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ maxItems?: int; } @@ -1738,8 +1735,8 @@ declare namespace geoLocationManager { * * @typedef GeoCodeRequest * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface GeoCodeRequest { /** @@ -1747,8 +1744,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ locale?: string; @@ -1757,8 +1754,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ country?: string; @@ -1767,8 +1764,8 @@ declare namespace geoLocationManager { * * @type { string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ description: string; @@ -1777,8 +1774,8 @@ declare namespace geoLocationManager { * * @type { ?int } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ maxItems?: int; @@ -1787,8 +1784,8 @@ declare namespace geoLocationManager { * * @type { ?double } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ minLatitude?: double; @@ -1797,8 +1794,8 @@ declare namespace geoLocationManager { * * @type { ?double } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ minLongitude?: double; @@ -1807,8 +1804,8 @@ declare namespace geoLocationManager { * * @type { ?double } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ maxLatitude?: double; @@ -1817,8 +1814,8 @@ declare namespace geoLocationManager { * * @type { ?double } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ maxLongitude?: double; } @@ -1828,8 +1825,8 @@ declare namespace geoLocationManager { * * @typedef GeoAddress * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface GeoAddress { /** @@ -1839,8 +1836,8 @@ declare namespace geoLocationManager { * * @type { ?double } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ latitude?: double; @@ -1851,8 +1848,8 @@ declare namespace geoLocationManager { * * @type { ?double } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ longitude?: double; @@ -1862,8 +1859,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ locale?: string; @@ -1872,8 +1869,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ placeName?: string; @@ -1882,8 +1879,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ countryCode?: string; @@ -1892,8 +1889,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ countryName?: string; @@ -1902,8 +1899,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ administrativeArea?: string; @@ -1912,8 +1909,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ subAdministrativeArea?: string; @@ -1922,8 +1919,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ locality?: string; @@ -1932,8 +1929,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ subLocality?: string; @@ -1942,8 +1939,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ roadName?: string; @@ -1952,8 +1949,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ subRoadName?: string; @@ -1962,8 +1959,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ premises?: string; @@ -1972,8 +1969,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ postalCode?: string; @@ -1982,8 +1979,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ phoneNumber?: string; @@ -1992,8 +1989,8 @@ declare namespace geoLocationManager { * * @type { ?string } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ addressUrl?: string; @@ -2002,8 +1999,8 @@ declare namespace geoLocationManager { * * @type { ?Array } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ descriptions?: Array; @@ -2012,8 +2009,8 @@ declare namespace geoLocationManager { * * @type { ?int } * @syscap SystemCapability.Location.Location.Geocoder - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ descriptionsSize?: int; @@ -2023,8 +2020,8 @@ declare namespace geoLocationManager { * @type { ?Boolean } * @syscap SystemCapability.Location.Location.Geocoder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ isFromMock?: Boolean; } @@ -2042,8 +2039,8 @@ declare namespace geoLocationManager { * @typedef LocationRequest * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface LocationRequest { /** @@ -2059,8 +2056,8 @@ declare namespace geoLocationManager { * @type { ?LocationRequestPriority } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ priority?: LocationRequestPriority; @@ -2077,8 +2074,8 @@ declare namespace geoLocationManager { * @type { ?LocationRequestScenario } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ scenario?: LocationRequestScenario; @@ -2095,8 +2092,8 @@ declare namespace geoLocationManager { * @type { ?int } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ timeInterval?: int; @@ -2113,8 +2110,8 @@ declare namespace geoLocationManager { * @type { ?double } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ distanceInterval?: double; @@ -2131,8 +2128,8 @@ declare namespace geoLocationManager { * @type { ?double } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ maxAccuracy?: double; } @@ -2150,8 +2147,8 @@ declare namespace geoLocationManager { * @typedef CurrentLocationRequest * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface CurrentLocationRequest { /** @@ -2167,8 +2164,8 @@ declare namespace geoLocationManager { * @type { ?LocationRequestPriority } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ priority?: LocationRequestPriority; @@ -2185,8 +2182,8 @@ declare namespace geoLocationManager { * @type { ?LocationRequestScenario } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ scenario?: LocationRequestScenario; @@ -2203,8 +2200,8 @@ declare namespace geoLocationManager { * @type { ?double } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ maxAccuracy?: double; @@ -2221,8 +2218,8 @@ declare namespace geoLocationManager { * @type { ?int } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ timeoutMs?: int; } @@ -2232,7 +2229,7 @@ declare namespace geoLocationManager { * * @typedef GeofenceTransition * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ export interface GeofenceTransition { /** @@ -2240,7 +2237,7 @@ declare namespace geoLocationManager { * * @type { number } * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ geofenceId: number; @@ -2249,7 +2246,7 @@ declare namespace geoLocationManager { * * @type { GeofenceTransitionEvent } * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ transitionEvent: GeofenceTransitionEvent; } @@ -2260,8 +2257,8 @@ declare namespace geoLocationManager { * @typedef ContinuousLocationRequest * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface ContinuousLocationRequest { /** @@ -2270,8 +2267,8 @@ declare namespace geoLocationManager { * @type { int } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interval: int; @@ -2281,8 +2278,8 @@ declare namespace geoLocationManager { * @type { UserActivityScenario | PowerConsumptionScenario } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ locationScenario: UserActivityScenario | PowerConsumptionScenario; @@ -2294,8 +2291,8 @@ declare namespace geoLocationManager { * @syscap SystemCapability.Location.Location.Core * @systemapi * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ sportsType?: SportsType; @@ -2305,7 +2302,7 @@ declare namespace geoLocationManager { * @type { ?boolean } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ needPoi?: boolean; } @@ -2316,8 +2313,8 @@ declare namespace geoLocationManager { * @typedef SingleLocationRequest * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface SingleLocationRequest { /** @@ -2326,8 +2323,8 @@ declare namespace geoLocationManager { * @type { LocatingPriority } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ locatingPriority: LocatingPriority; @@ -2337,8 +2334,8 @@ declare namespace geoLocationManager { * @type { int } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ locatingTimeoutMs: int; @@ -2348,7 +2345,7 @@ declare namespace geoLocationManager { * @type { ?boolean } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ needPoi?: boolean; } @@ -2366,8 +2363,8 @@ declare namespace geoLocationManager { * @typedef Location * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface Location { /** @@ -2387,8 +2384,8 @@ declare namespace geoLocationManager { * @type { double } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ latitude: double; @@ -2409,8 +2406,8 @@ declare namespace geoLocationManager { * @type { double } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ longitude: double; @@ -2427,8 +2424,8 @@ declare namespace geoLocationManager { * @type { double } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ altitude: double; @@ -2445,8 +2442,8 @@ declare namespace geoLocationManager { * @type { double } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ accuracy: double; @@ -2463,8 +2460,8 @@ declare namespace geoLocationManager { * @type { double } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ speed: double; @@ -2481,8 +2478,8 @@ declare namespace geoLocationManager { * @type { long } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ timeStamp: long; @@ -2499,8 +2496,8 @@ declare namespace geoLocationManager { * @type { double } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ direction: double; @@ -2517,8 +2514,8 @@ declare namespace geoLocationManager { * @type { long } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ timeSinceBoot: long; @@ -2535,8 +2532,8 @@ declare namespace geoLocationManager { * @type { ?Array } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ additions?: Array; @@ -2546,8 +2543,8 @@ declare namespace geoLocationManager { * @type { ?Map } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ additionsMap?: Map; @@ -2564,8 +2561,8 @@ declare namespace geoLocationManager { * @type { ?int } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ additionSize?: int; @@ -2575,8 +2572,8 @@ declare namespace geoLocationManager { * @type { ?Boolean } * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ isFromMock?: Boolean; @@ -2586,8 +2583,8 @@ declare namespace geoLocationManager { * @type { ?double } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ altitudeAccuracy?: double; @@ -2597,8 +2594,8 @@ declare namespace geoLocationManager { * @type { ?double } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ speedAccuracy?: double; @@ -2608,8 +2605,8 @@ declare namespace geoLocationManager { * @type { ?double } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ directionAccuracy?: double; @@ -2619,8 +2616,8 @@ declare namespace geoLocationManager { * @type { ?long } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ uncertaintyOfTimeSinceBoot?: long; @@ -2630,8 +2627,8 @@ declare namespace geoLocationManager { * @type { ?LocationSourceType } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sourceType?: LocationSourceType; @@ -2641,7 +2638,7 @@ declare namespace geoLocationManager { * @type { ?PoiInfo } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ poi?: PoiInfo; } @@ -2651,8 +2648,8 @@ declare namespace geoLocationManager { * @typedef LocatingRequiredDataConfig * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface LocatingRequiredDataConfig { /** @@ -2661,8 +2658,8 @@ declare namespace geoLocationManager { * @type {LocatingRequiredDataType} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ type: LocatingRequiredDataType; @@ -2672,8 +2669,8 @@ declare namespace geoLocationManager { * @type {boolean} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ needStartScan: boolean; @@ -2684,8 +2681,8 @@ declare namespace geoLocationManager { * @type {?int} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ scanInterval?: int; @@ -2696,8 +2693,8 @@ declare namespace geoLocationManager { * @type {?int} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ scanTimeout?: int; } @@ -2707,8 +2704,8 @@ declare namespace geoLocationManager { * @typedef LocatingRequiredData * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface LocatingRequiredData { /** @@ -2717,8 +2714,8 @@ declare namespace geoLocationManager { * @type {?WifiScanInfo} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ wifiData?: WifiScanInfo; @@ -2728,8 +2725,8 @@ declare namespace geoLocationManager { * @type {?BluetoothScanInfo} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ bluetoothData?: BluetoothScanInfo; } @@ -2739,8 +2736,8 @@ declare namespace geoLocationManager { * @typedef WifiScanInfo * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface WifiScanInfo { /** @@ -2749,8 +2746,8 @@ declare namespace geoLocationManager { * @type {string} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ssid: string; @@ -2760,8 +2757,8 @@ declare namespace geoLocationManager { * @type {string} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ bssid: string; @@ -2771,8 +2768,8 @@ declare namespace geoLocationManager { * @type {int} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ rssi: int; @@ -2782,8 +2779,8 @@ declare namespace geoLocationManager { * @type {int} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ frequency: int; @@ -2793,8 +2790,8 @@ declare namespace geoLocationManager { * @type {long} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ timestamp: long; } @@ -2805,8 +2802,8 @@ declare namespace geoLocationManager { * @typedef BluetoothScanInfo * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface BluetoothScanInfo { /** @@ -2815,8 +2812,8 @@ declare namespace geoLocationManager { * @type {string} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ deviceName: string; @@ -2826,8 +2823,8 @@ declare namespace geoLocationManager { * @type {string} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ macAddress: string; @@ -2837,8 +2834,8 @@ declare namespace geoLocationManager { * @type {int} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ rssi: int; @@ -2848,8 +2845,8 @@ declare namespace geoLocationManager { * @type {long} * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ timestamp: long; } @@ -2859,8 +2856,8 @@ declare namespace geoLocationManager { * * @typedef BluetoothScanResult * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ export interface BluetoothScanResult { /** @@ -2868,8 +2865,8 @@ declare namespace geoLocationManager { * * @type { string } * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ deviceId: string; @@ -2878,8 +2875,8 @@ declare namespace geoLocationManager { * * @type { int } * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ rssi: int; @@ -2888,8 +2885,8 @@ declare namespace geoLocationManager { * * @type { ?ArrayBuffer } * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ data?: ArrayBuffer; @@ -2898,8 +2895,8 @@ declare namespace geoLocationManager { * * @type { string } * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ deviceName: string; @@ -2908,8 +2905,8 @@ declare namespace geoLocationManager { * * @type { boolean } * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'16','1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ connectable: boolean; } @@ -2920,7 +2917,7 @@ declare namespace geoLocationManager { * @typedef Poi * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ export interface Poi { /** @@ -2929,7 +2926,7 @@ declare namespace geoLocationManager { * @type { string } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ id: string; @@ -2939,7 +2936,7 @@ declare namespace geoLocationManager { * @type { number } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ confidence: number; @@ -2949,7 +2946,7 @@ declare namespace geoLocationManager { * @type { string } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ name: string; @@ -2959,7 +2956,7 @@ declare namespace geoLocationManager { * @type { number } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ latitude: number; @@ -2969,7 +2966,7 @@ declare namespace geoLocationManager { * @type { number } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ longitude: number; @@ -2979,7 +2976,7 @@ declare namespace geoLocationManager { * @type { string } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ administrativeArea: string; @@ -2989,7 +2986,7 @@ declare namespace geoLocationManager { * @type { string } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ subAdministrativeArea: string; @@ -2999,7 +2996,7 @@ declare namespace geoLocationManager { * @type { string } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ locality: string; @@ -3009,7 +3006,7 @@ declare namespace geoLocationManager { * @type { string } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ subLocality: string; @@ -3019,7 +3016,7 @@ declare namespace geoLocationManager { * @type { string } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ address: string; } @@ -3031,7 +3028,7 @@ declare namespace geoLocationManager { * @typedef PoiInfo * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ export interface PoiInfo { /** @@ -3040,7 +3037,7 @@ declare namespace geoLocationManager { * @type { Array } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ poiArray: Array; @@ -3050,7 +3047,7 @@ declare namespace geoLocationManager { * @type { number } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ timestamp: number; } @@ -3061,8 +3058,8 @@ declare namespace geoLocationManager { * @enum { int } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum LocationSourceType { /** @@ -3070,8 +3067,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GNSS = 1, @@ -3080,8 +3077,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NETWORK = 2, @@ -3090,8 +3087,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INDOOR = 3, @@ -3100,8 +3097,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RTK = 4 } @@ -3111,16 +3108,16 @@ declare namespace geoLocationManager { * * @enum { int } * @syscap SystemCapability.Location.Location.Geofence - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum CoordinateSystemType { /** * WGS84 coordinates system. * * @syscap SystemCapability.Location.Location.Geofence - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WGS84 = 1, @@ -3128,8 +3125,8 @@ declare namespace geoLocationManager { * GCJ-02 coordinates system. * * @syscap SystemCapability.Location.Location.Geofence - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GCJ02 = 2 } @@ -3140,8 +3137,8 @@ declare namespace geoLocationManager { * @enum { int } * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum LocationIconStatus { /** @@ -3149,8 +3146,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOCATING_NOT_STARTED = 0, @@ -3159,8 +3156,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOCATING_STARTED = 1, @@ -3169,8 +3166,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HD_LOCATING_STARTED = 2 } @@ -3181,8 +3178,8 @@ declare namespace geoLocationManager { * @enum { int } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum LocationError { /** @@ -3190,8 +3187,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOCATING_FAILED_DEFAULT = -1, @@ -3200,8 +3197,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOCATING_FAILED_LOCATION_PERMISSION_DENIED = -2, @@ -3210,8 +3207,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOCATING_FAILED_BACKGROUND_PERMISSION_DENIED = -3, @@ -3220,8 +3217,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOCATING_FAILED_LOCATION_SWITCH_OFF = -4, @@ -3230,8 +3227,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOCATING_FAILED_INTERNET_ACCESS_FAILURE = -5 } @@ -3241,14 +3238,14 @@ declare namespace geoLocationManager { * * @enum { int } * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ export enum GeofenceTransitionEvent { /** * The device is within the geofence. * * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ GEOFENCE_TRANSITION_EVENT_ENTER = 1, @@ -3256,7 +3253,7 @@ declare namespace geoLocationManager { * The device is out of the geofence. * * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ GEOFENCE_TRANSITION_EVENT_EXIT = 2, @@ -3264,7 +3261,7 @@ declare namespace geoLocationManager { * The device is in the geographical fence for a period of time. * * @syscap SystemCapability.Location.Location.Geofence - * @since 12 + * @since 12 dynamic */ GEOFENCE_TRANSITION_EVENT_DWELL = 4 } @@ -3274,16 +3271,16 @@ declare namespace geoLocationManager { * * @enum { int } * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum SatelliteConstellationCategory { /** * Invalid value. * * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONSTELLATION_CATEGORY_UNKNOWN = 0, @@ -3291,8 +3288,8 @@ declare namespace geoLocationManager { * GPS. * * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONSTELLATION_CATEGORY_GPS = 1, @@ -3300,8 +3297,8 @@ declare namespace geoLocationManager { * SBAS. * * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONSTELLATION_CATEGORY_SBAS = 2, @@ -3309,8 +3306,8 @@ declare namespace geoLocationManager { * GLONASS. * * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONSTELLATION_CATEGORY_GLONASS = 3, @@ -3318,8 +3315,8 @@ declare namespace geoLocationManager { * QZSS. * * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONSTELLATION_CATEGORY_QZSS = 4, @@ -3327,8 +3324,8 @@ declare namespace geoLocationManager { * BEIDOU. * * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONSTELLATION_CATEGORY_BEIDOU = 5, @@ -3336,8 +3333,8 @@ declare namespace geoLocationManager { * GALILEO. * * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONSTELLATION_CATEGORY_GALILEO = 6, @@ -3345,8 +3342,8 @@ declare namespace geoLocationManager { * IRNSS. * * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONSTELLATION_CATEGORY_IRNSS = 7 } @@ -3356,16 +3353,16 @@ declare namespace geoLocationManager { * * @enum { int } * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum SatelliteAdditionalInfo { /** * Default value. * * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SATELLITES_ADDITIONAL_INFO_NULL = 0, @@ -3373,8 +3370,8 @@ declare namespace geoLocationManager { * Ephemeris data exist. * * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SATELLITES_ADDITIONAL_INFO_EPHEMERIS_DATA_EXIST = 1, @@ -3382,8 +3379,8 @@ declare namespace geoLocationManager { * Almanac data exist. * * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SATELLITES_ADDITIONAL_INFO_ALMANAC_DATA_EXIST = 2, @@ -3391,8 +3388,8 @@ declare namespace geoLocationManager { * This satellite is being used in location fix. * * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SATELLITES_ADDITIONAL_INFO_USED_IN_FIX = 4, @@ -3400,8 +3397,8 @@ declare namespace geoLocationManager { * Carrier frequency exist. * * @syscap SystemCapability.Location.Location.Gnss - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SATELLITES_ADDITIONAL_INFO_CARRIER_FREQUENCY_EXIST = 8 } @@ -3412,8 +3409,8 @@ declare namespace geoLocationManager { * @enum { int } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum UserActivityScenario { /** @@ -3421,8 +3418,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NAVIGATION = 0x401, @@ -3431,8 +3428,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPORT = 0x402, @@ -3441,8 +3438,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TRANSPORT = 0x403, @@ -3451,8 +3448,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DAILY_LIFE_SERVICE = 0x404 } @@ -3463,8 +3460,8 @@ declare namespace geoLocationManager { * @enum { int } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum LocatingPriority { /** @@ -3472,8 +3469,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PRIORITY_ACCURACY = 0x501, @@ -3482,8 +3479,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PRIORITY_LOCATING_SPEED = 0x502 } @@ -3501,8 +3498,8 @@ declare namespace geoLocationManager { * @enum { int } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum LocationRequestPriority { /** @@ -3516,8 +3513,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNSET = 0x200, @@ -3532,8 +3529,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ACCURACY, @@ -3548,8 +3545,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ LOW_POWER, @@ -3564,8 +3561,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FIRST_FIX } @@ -3583,8 +3580,8 @@ declare namespace geoLocationManager { * @enum { int } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum LocationRequestScenario { /** @@ -3598,8 +3595,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNSET = 0x300, @@ -3614,8 +3611,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NAVIGATION, @@ -3630,8 +3627,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ TRAJECTORY_TRACKING, @@ -3646,8 +3643,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CAR_HAILING, @@ -3662,8 +3659,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DAILY_LIFE_SERVICE, @@ -3678,8 +3675,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NO_POWER } @@ -3690,8 +3687,8 @@ declare namespace geoLocationManager { * @enum { int } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum PowerConsumptionScenario { /** @@ -3699,8 +3696,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HIGH_POWER_CONSUMPTION = 0x601, @@ -3709,8 +3706,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOW_POWER_CONSUMPTION = 0x602, @@ -3719,8 +3716,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NO_POWER_CONSUMPTION = 0x603 } @@ -3731,8 +3728,8 @@ declare namespace geoLocationManager { * @enum { int } * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum LocationPrivacyType { /** @@ -3740,8 +3737,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ OTHERS = 0, @@ -3750,8 +3747,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ STARTUP, @@ -3760,8 +3757,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ CORE_LOCATION } @@ -3772,8 +3769,8 @@ declare namespace geoLocationManager { * @enum { int } * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export enum SportsType { /** @@ -3781,8 +3778,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ RUNNING = 1, @@ -3791,8 +3788,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ WALKING, @@ -3801,8 +3798,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ CYCLING } @@ -3812,7 +3809,7 @@ declare namespace geoLocationManager { * * @typedef LocationCommand * @syscap SystemCapability.Location.Location.Core - * @since 9 + * @since 9 dynamic */ export interface LocationCommand { /** @@ -3820,7 +3817,7 @@ declare namespace geoLocationManager { * * @type { LocationRequestScenario } * @syscap SystemCapability.Location.Location.Core - * @since 9 + * @since 9 dynamic */ scenario: LocationRequestScenario; @@ -3829,7 +3826,7 @@ declare namespace geoLocationManager { * * @type { string } * @syscap SystemCapability.Location.Location.Core - * @since 9 + * @since 9 dynamic */ command: string; } @@ -3839,8 +3836,8 @@ declare namespace geoLocationManager { * * @typedef CountryCode * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface CountryCode { /** @@ -3848,8 +3845,8 @@ declare namespace geoLocationManager { * * @type { string } * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ country: string; @@ -3858,8 +3855,8 @@ declare namespace geoLocationManager { * * @type { CountryCodeType } * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ type: CountryCodeType; } @@ -3869,16 +3866,16 @@ declare namespace geoLocationManager { * * @enum { int } * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum CountryCodeType { /** * Country code obtained from the locale setting. * * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COUNTRY_CODE_FROM_LOCALE = 1, @@ -3886,8 +3883,8 @@ declare namespace geoLocationManager { * Country code obtained from the SIM information. * * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COUNTRY_CODE_FROM_SIM, @@ -3895,8 +3892,8 @@ declare namespace geoLocationManager { * Query the country code information from the reverse geocoding result. * * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COUNTRY_CODE_FROM_LOCATION, @@ -3904,8 +3901,8 @@ declare namespace geoLocationManager { * Obtain the country code from the cell registration information. * * @syscap SystemCapability.Location.Location.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COUNTRY_CODE_FROM_NETWORK } @@ -3916,8 +3913,8 @@ declare namespace geoLocationManager { * @enum { int } * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export enum LocatingRequiredDataType { /** @@ -3925,8 +3922,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ WIFI = 1, @@ -3935,8 +3932,8 @@ declare namespace geoLocationManager { * * @syscap SystemCapability.Location.Location.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ BLUETOOTH } diff --git a/api/@ohos.geolocation.d.ts b/api/@ohos.geolocation.d.ts index e7b5ae0625..33f40d42e3 100644 --- a/api/@ohos.geolocation.d.ts +++ b/api/@ohos.geolocation.d.ts @@ -28,7 +28,7 @@ import { WantAgent } from './@ohos.wantAgent'; * @namespace geolocation * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ declare namespace geolocation { @@ -40,7 +40,7 @@ declare namespace geolocation { * @param { LocationRequest } request - Indicates the location request parameters. * @param { Callback } callback - Indicates the callback for reporting the location result. * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.on#event:locationChange */ @@ -53,7 +53,7 @@ declare namespace geolocation { * @param { 'locationChange' } type - Indicates the location service event to be subscribed to. * @param { Callback } [callback] - Indicates the callback for reporting the location result. * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.off#event:locationChange */ @@ -66,7 +66,7 @@ declare namespace geolocation { * @param { 'locationServiceState' } type - Indicates the location service event to be subscribed to. * @param { Callback } callback - Indicates the callback for reporting the location result. * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.on#event:locationEnabledChange */ @@ -79,7 +79,7 @@ declare namespace geolocation { * @param { 'locationServiceState' } type - Indicates the location service event to be subscribed to. * @param { Callback } [callback] - Indicates the callback for reporting the location result. * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.off#event:locationEnabledChange */ @@ -93,7 +93,7 @@ declare namespace geolocation { * @param { CachedGnssLocationsRequest } request - Indicates the cached GNSS locations request parameters. * @param { Callback> } callback - Indicates the callback for reporting the cached GNSS locations. * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.on#event:cachedGnssLocationsChange */ @@ -106,7 +106,7 @@ declare namespace geolocation { * @param { 'cachedGnssLocationsReporting' } type - Indicates the location service event to be subscribed to. * @param { Callback> } [callback] - Indicates the callback for reporting the cached gnss locations. * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.off#event:cachedGnssLocationsChange */ @@ -119,7 +119,7 @@ declare namespace geolocation { * @param { 'gnssStatusChange' } type - Indicates the location service event to be subscribed to. * @param { Callback } callback - Indicates the callback for reporting the gnss status change. * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.on#event:satelliteStatusChange */ @@ -132,7 +132,7 @@ declare namespace geolocation { * @param { 'gnssStatusChange' } type - Indicates the location service event to be subscribed to. * @param { Callback } [callback] - Indicates the callback for reporting the gnss status change. * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.off#event:satelliteStatusChange */ @@ -145,7 +145,7 @@ declare namespace geolocation { * @param { 'nmeaMessageChange' } type - Indicates the location service event to be subscribed to. * @param { Callback } callback - Indicates the callback for reporting the nmea message. * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.on#event:nmeaMessage */ @@ -158,7 +158,7 @@ declare namespace geolocation { * @param { 'nmeaMessageChange' } type - Indicates the location service event to be subscribed to. * @param { Callback } [callback] - Indicates the callback for reporting the nmea message. * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.off#event:nmeaMessage */ @@ -172,7 +172,7 @@ declare namespace geolocation { * @param { GeofenceRequest } request - Indicates the Geo-fence configuration parameters. * @param { WantAgent } want - Indicates which ability to start when the geofence event is triggered. * @syscap SystemCapability.Location.Location.Geofence - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.on#event:gnssFenceStatusChange */ @@ -186,7 +186,7 @@ declare namespace geolocation { * @param { GeofenceRequest } request - Indicates the Geo-fence configuration parameters. * @param { WantAgent } want - Indicates which ability to start when the geofence event is triggered. * @syscap SystemCapability.Location.Location.Geofence - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.off#event:gnssFenceStatusChange */ @@ -199,7 +199,7 @@ declare namespace geolocation { * @param { CurrentLocationRequest } request - Indicates the location request parameters. * @param { AsyncCallback } callback - Indicates the callback for reporting the location result. * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.getCurrentLocation */ @@ -211,7 +211,7 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @param { AsyncCallback } callback - Indicates the callback for reporting the location result. * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.getCurrentLocation */ @@ -224,7 +224,7 @@ declare namespace geolocation { * @param { CurrentLocationRequest } [request] - Indicates the location request parameters. * @returns { Promise } The promise returned by the function. * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.getCurrentLocation */ @@ -236,7 +236,7 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @param { AsyncCallback } callback - Indicates the callback for reporting the location result. * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.getLastLocation */ @@ -248,7 +248,7 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @returns { Promise } The promise returned by the function. * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.getLastLocation */ @@ -260,7 +260,7 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @param { AsyncCallback } callback - Indicates the callback for reporting the location switch result. * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.isLocationEnabled */ @@ -272,7 +272,7 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @returns { Promise } The promise returned by the function. * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.isLocationEnabled */ @@ -284,7 +284,7 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @param { AsyncCallback } callback - Indicates the callback for reporting the location switch status. * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function requestEnableLocation(callback: AsyncCallback): void; @@ -295,7 +295,7 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @returns { Promise } The promise returned by the function. * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function requestEnableLocation(): Promise; @@ -307,7 +307,7 @@ declare namespace geolocation { * @param { ReverseGeoCodeRequest } request - Indicates the reverse geocode query parameters. * @param { AsyncCallback> } callback - Indicates the callback for reporting the address info. * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.getAddressesFromLocation */ @@ -320,7 +320,7 @@ declare namespace geolocation { * @param { ReverseGeoCodeRequest } request - Indicates the reverse geocode query parameters. * @returns { Promise> } The promise returned by the function. * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.getAddressesFromLocation */ @@ -333,7 +333,7 @@ declare namespace geolocation { * @param { GeoCodeRequest } request - Indicates the geocode query parameters. * @param { AsyncCallback> } callback - Indicates the callback for reporting the latitude and longitude result. * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.getAddressesFromLocationName */ @@ -346,7 +346,7 @@ declare namespace geolocation { * @param { GeoCodeRequest } request - Indicates the geocode query parameters. * @returns { Promise> } The promise returned by the function. * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.getAddressesFromLocationName */ @@ -358,7 +358,7 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @param { AsyncCallback } callback - Indicates the callback for reporting the geocode service status. * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.isGeocoderAvailable */ @@ -370,7 +370,7 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @returns { Promise } The promise returned by the function. * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.isGeocoderAvailable */ @@ -382,7 +382,7 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @param { AsyncCallback } callback - Indicates the callback for reporting the cached GNSS locations size. * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.getCachedGnssLocationsSize */ @@ -394,7 +394,7 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @returns { Promise } The promise returned by the function. * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.getCachedGnssLocationsSize */ @@ -407,7 +407,7 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @param { AsyncCallback } callback - Indicates the callback for reporting the result. * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.flushCachedGnssLocations */ @@ -420,7 +420,7 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @returns { Promise } The promise returned by the function. * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.flushCachedGnssLocations */ @@ -433,7 +433,7 @@ declare namespace geolocation { * @param { LocationCommand } command - Indicates the extended Command Message Body. * @param { AsyncCallback } callback - Indicates the callback for reporting the send command result. * @syscap SystemCapability.Location.Location.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.sendCommand */ @@ -446,7 +446,7 @@ declare namespace geolocation { * @param { LocationCommand } command - Indicates the extended Command Message Body. * @returns { Promise } The promise returned by the function. * @syscap SystemCapability.Location.Location.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.sendCommand */ @@ -458,49 +458,49 @@ declare namespace geolocation { * @interface SatelliteStatusInfo * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo */ export interface SatelliteStatusInfo { /** * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ satellitesNumber: number; /** * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ satelliteIds: Array; /** * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ carrierToNoiseDensitys: Array; /** * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ altitudes: Array; /** * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ azimuths: Array; /** * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ carrierFrequencies: Array; @@ -512,21 +512,21 @@ declare namespace geolocation { * @interface CachedGnssLocationsRequest * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.CachedGnssLocationsRequest */ export interface CachedGnssLocationsRequest { /** * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ reportingPeriodSec: number; /** * @syscap SystemCapability.Location.Location.Gnss - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ wakeUpCacheQueueFull: boolean; @@ -538,28 +538,28 @@ declare namespace geolocation { * @interface GeofenceRequest * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geofence - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.GeofenceRequest */ export interface GeofenceRequest { /** * @syscap SystemCapability.Location.Location.Geofence - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ priority: LocationRequestPriority; /** * @syscap SystemCapability.Location.Location.Geofence - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ scenario: LocationRequestScenario; /** * @syscap SystemCapability.Location.Location.Geofence - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ geofence: Geofence; @@ -571,35 +571,35 @@ declare namespace geolocation { * @interface Geofence * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geofence - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.Geofence */ export interface Geofence { /** * @syscap SystemCapability.Location.Location.Geofence - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ latitude: number; /** * @syscap SystemCapability.Location.Location.Geofence - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ longitude: number; /** * @syscap SystemCapability.Location.Location.Geofence - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ radius: number; /** * @syscap SystemCapability.Location.Location.Geofence - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ expiration: number; @@ -611,35 +611,35 @@ declare namespace geolocation { * @interface ReverseGeoCodeRequest * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest */ export interface ReverseGeoCodeRequest { /** * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ locale?: string; /** * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ latitude: number; /** * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ longitude: number; /** * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ maxItems?: number; @@ -651,56 +651,56 @@ declare namespace geolocation { * @interface GeoCodeRequest * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.GeoCodeRequest */ export interface GeoCodeRequest { /** * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ locale?: string; /** * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ description: string; /** * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ maxItems?: number; /** * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ minLatitude?: number; /** * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ minLongitude?: number; /** * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ maxLatitude?: number; /** * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ maxLongitude?: number; @@ -712,7 +712,7 @@ declare namespace geolocation { * @interface GeoAddress * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.GeoAddress */ @@ -724,7 +724,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ latitude?: number; @@ -736,7 +736,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ longitude?: number; @@ -747,7 +747,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ locale?: string; @@ -757,7 +757,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ placeName?: string; @@ -767,7 +767,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ countryCode?: string; @@ -777,7 +777,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ countryName?: string; @@ -787,7 +787,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ administrativeArea?: string; @@ -797,7 +797,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ subAdministrativeArea?: string; @@ -807,7 +807,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ locality?: string; @@ -817,7 +817,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ subLocality?: string; @@ -827,7 +827,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ roadName?: string; @@ -837,7 +837,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ subRoadName?: string; @@ -847,7 +847,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ premises?: string; @@ -857,7 +857,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ postalCode?: string; @@ -867,7 +867,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ phoneNumber?: string; @@ -877,7 +877,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ addressUrl?: string; @@ -887,7 +887,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ descriptions?: Array; @@ -897,7 +897,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Geocoder - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ descriptionsSize?: number; @@ -909,42 +909,42 @@ declare namespace geolocation { * @interface LocationRequest * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.LocationRequest */ export interface LocationRequest { /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ priority?: LocationRequestPriority; /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ scenario?: LocationRequestScenario; /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ timeInterval?: number; /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ distanceInterval?: number; /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ maxAccuracy?: number; @@ -956,35 +956,35 @@ declare namespace geolocation { * @interface CurrentLocationRequest * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest */ export interface CurrentLocationRequest { /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ priority?: LocationRequestPriority; /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ scenario?: LocationRequestScenario; /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ maxAccuracy?: number; /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ timeoutMs?: number; @@ -996,7 +996,7 @@ declare namespace geolocation { * @interface Location * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.Location */ @@ -1008,7 +1008,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ latitude: number; @@ -1020,7 +1020,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ longitude: number; @@ -1030,7 +1030,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ altitude: number; @@ -1040,7 +1040,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ accuracy: number; @@ -1050,7 +1050,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ speed: number; @@ -1060,7 +1060,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ timeStamp: number; @@ -1070,7 +1070,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ direction: number; @@ -1080,7 +1080,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ timeSinceBoot: number; @@ -1090,7 +1090,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ additions?: Array; @@ -1100,7 +1100,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ additionSize?: number; @@ -1112,35 +1112,35 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @enum { number } * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.LocationRequestPriority */ export enum LocationRequestPriority { /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ UNSET = 0x200, /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ ACCURACY, /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ LOW_POWER, /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ FIRST_FIX @@ -1152,49 +1152,49 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @enum { number } * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.LocationRequestScenario */ export enum LocationRequestScenario { /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ UNSET = 0x300, /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ NAVIGATION, /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ TRAJECTORY_TRACKING, /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ CAR_HAILING, /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ DAILY_LIFE_SERVICE, /** * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ NO_POWER @@ -1206,7 +1206,7 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @enum { number } * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ export enum GeoLocationErrorCode { @@ -1215,7 +1215,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ INPUT_PARAMS_ERROR, @@ -1225,7 +1225,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ REVERSE_GEOCODE_ERROR, @@ -1235,7 +1235,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ GEOCODE_ERROR, @@ -1245,7 +1245,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ LOCATOR_ERROR, @@ -1255,7 +1255,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ LOCATION_SWITCH_ERROR, @@ -1265,7 +1265,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ LAST_KNOWN_LOCATION_ERROR, @@ -1275,7 +1275,7 @@ declare namespace geolocation { * * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ LOCATION_REQUEST_TIMEOUT_ERROR @@ -1287,28 +1287,28 @@ declare namespace geolocation { * @permission ohos.permission.LOCATION * @enum { number } * @syscap SystemCapability.Location.Location.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.LocationPrivacyType */ export enum LocationPrivacyType { /** * @syscap SystemCapability.Location.Location.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ OTHERS = 0, /** * @syscap SystemCapability.Location.Location.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ STARTUP, /** * @syscap SystemCapability.Location.Location.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ CORE_LOCATION @@ -1320,21 +1320,21 @@ declare namespace geolocation { * @interface LocationCommand * @permission ohos.permission.LOCATION * @syscap SystemCapability.Location.Location.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.geoLocationManager/geoLocationManager.LocationCommand */ export interface LocationCommand { /** * @syscap SystemCapability.Location.Location.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ scenario: LocationRequestScenario; /** * @syscap SystemCapability.Location.Location.Core - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ command: string; diff --git a/api/@ohos.graphics.colorSpaceManager.d.ts b/api/@ohos.graphics.colorSpaceManager.d.ts index 3011619329..92bbfee635 100644 --- a/api/@ohos.graphics.colorSpaceManager.d.ts +++ b/api/@ohos.graphics.colorSpaceManager.d.ts @@ -16,7 +16,6 @@ /** * @file * @kit ArkGraphics2D - * @arkts 1.1&1.2 */ /** @@ -41,7 +40,8 @@ * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ declare namespace colorSpaceManager { /** @@ -63,7 +63,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ enum ColorSpace { /** @@ -82,7 +83,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ UNKNOWN = 0, @@ -102,7 +104,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ ADOBE_RGB_1998 = 1, @@ -122,7 +125,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ DCI_P3 = 2, @@ -142,7 +146,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ DISPLAY_P3 = 3, @@ -162,7 +167,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ SRGB = 4, @@ -179,7 +185,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ BT709 = 6, @@ -196,7 +203,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ BT601_EBU = 7, @@ -213,7 +221,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ BT601_SMPTE_C = 8, @@ -230,7 +239,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ BT2020_HLG = 9, @@ -247,7 +257,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ BT2020_PQ = 10, @@ -262,7 +273,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ P3_HLG = 11, @@ -277,7 +289,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ P3_PQ = 12, @@ -292,7 +305,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ ADOBE_RGB_1998_LIMIT = 13, @@ -307,7 +321,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ DISPLAY_P3_LIMIT = 14, @@ -322,7 +337,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ SRGB_LIMIT = 15, @@ -337,7 +353,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ BT709_LIMIT = 16, @@ -352,7 +369,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ BT601_EBU_LIMIT = 17, @@ -367,7 +385,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ BT601_SMPTE_C_LIMIT = 18, @@ -382,7 +401,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ BT2020_HLG_LIMIT = 19, @@ -397,7 +417,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ BT2020_PQ_LIMIT = 20, @@ -412,7 +433,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ P3_HLG_LIMIT = 21, @@ -427,7 +449,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ P3_PQ_LIMIT = 22, @@ -442,7 +465,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ LINEAR_P3 = 23, @@ -457,7 +481,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ LINEAR_SRGB = 24, @@ -472,7 +497,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ LINEAR_BT709 = LINEAR_SRGB, @@ -487,7 +513,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ LINEAR_BT2020 = 25, @@ -502,7 +529,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ DISPLAY_SRGB = SRGB, @@ -517,7 +545,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ DISPLAY_P3_SRGB = DISPLAY_P3, @@ -532,7 +561,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ DISPLAY_P3_HLG = P3_HLG, @@ -547,14 +577,16 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ DISPLAY_P3_PQ = P3_PQ, /** * PRIMARIES_BT2020 | TRANSFUNC_LOG * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core - * @since 18 + * @since 18 dynamic + * @since 22 static */ H_LOG = 26, @@ -574,7 +606,8 @@ declare namespace colorSpaceManager { * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ CUSTOM = 5, } @@ -592,7 +625,8 @@ declare namespace colorSpaceManager { * @typedef ColorSpacePrimaries * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ interface ColorSpacePrimaries { /** @@ -606,7 +640,8 @@ declare namespace colorSpaceManager { * @type { double } * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ redX: double; @@ -621,7 +656,8 @@ declare namespace colorSpaceManager { * @type { double } * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ redY: double; @@ -636,7 +672,8 @@ declare namespace colorSpaceManager { * @type { double } * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ greenX: double; @@ -651,7 +688,8 @@ declare namespace colorSpaceManager { * @type { double } * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ greenY: double; @@ -666,7 +704,8 @@ declare namespace colorSpaceManager { * @type { double } * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ blueX: double; @@ -681,7 +720,8 @@ declare namespace colorSpaceManager { * @type { double } * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ blueY: double; @@ -696,7 +736,8 @@ declare namespace colorSpaceManager { * @type { double } * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ whitePointX: double; @@ -711,7 +752,8 @@ declare namespace colorSpaceManager { * @type { double } * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ whitePointY: double; } @@ -727,7 +769,8 @@ declare namespace colorSpaceManager { * @interface ColorSpaceManager * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ interface ColorSpaceManager { /** @@ -743,7 +786,8 @@ declare namespace colorSpaceManager { * @throws { BusinessError } 18600001 - The parameter value is abnormal. * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ getColorSpaceName(): ColorSpace; @@ -760,7 +804,8 @@ declare namespace colorSpaceManager { * @throws { BusinessError } 18600001 - The parameter value is abnormal. * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ getWhitePoint(): Array; @@ -777,7 +822,8 @@ declare namespace colorSpaceManager { * @throws { BusinessError } 18600001 - The parameter value is abnormal. * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ getGamma(): double; } @@ -801,7 +847,8 @@ declare namespace colorSpaceManager { * @throws { BusinessError } 18600001 - The parameter value is abnormal. * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ function create(colorSpaceName: ColorSpace): ColorSpaceManager; @@ -826,7 +873,8 @@ declare namespace colorSpaceManager { * @throws { BusinessError } 18600001 - The parameter value is abnormal. * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 11 dynamic + * @since 20 static */ function create(primaries: ColorSpacePrimaries, gamma: double): ColorSpaceManager; } diff --git a/api/@ohos.graphics.common2D.d.ts b/api/@ohos.graphics.common2D.d.ts index 9e9838befe..03b657014d 100644 --- a/api/@ohos.graphics.common2D.d.ts +++ b/api/@ohos.graphics.common2D.d.ts @@ -22,16 +22,16 @@ * * @namespace common2D * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace common2D { /** * Describes a color in ARGB format. * @typedef Color * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface Color { /** @@ -45,8 +45,7 @@ declare namespace common2D { * @type { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ alpha: int; /** @@ -60,8 +59,7 @@ declare namespace common2D { * @type { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ red: int; /** @@ -75,8 +73,7 @@ declare namespace common2D { * @type { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ green: int; /** @@ -90,8 +87,7 @@ declare namespace common2D { * @type { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ blue: int; } @@ -100,8 +96,8 @@ declare namespace common2D { * Describes a rectangle, which can be defined by two coordinate points: upper left corner point and lower right corner point. * @typedef Rect * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface Rect { /** @@ -115,8 +111,7 @@ declare namespace common2D { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ left: double; /** @@ -130,8 +125,7 @@ declare namespace common2D { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ top: double; /** @@ -145,8 +139,7 @@ declare namespace common2D { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ right: double; /** @@ -160,8 +153,7 @@ declare namespace common2D { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ bottom: double; } @@ -170,8 +162,8 @@ declare namespace common2D { * Describes a coordinate point. * @typedef Point * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface Point { /** @@ -185,8 +177,7 @@ declare namespace common2D { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ x: double; @@ -201,8 +192,7 @@ declare namespace common2D { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ y: double; } @@ -213,7 +203,7 @@ declare namespace common2D { * @typedef Point3d * @extends Point * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ interface Point3d extends Point { /** @@ -227,7 +217,7 @@ declare namespace common2D { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ z: double; } @@ -237,7 +227,7 @@ declare namespace common2D { * @typedef Color4f * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ interface Color4f { /** @@ -245,7 +235,7 @@ declare namespace common2D { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ alpha: double; /** @@ -253,7 +243,7 @@ declare namespace common2D { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ red: double; /** @@ -261,7 +251,7 @@ declare namespace common2D { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ green: double; /** @@ -269,7 +259,7 @@ declare namespace common2D { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ blue: double; } diff --git a/api/@ohos.graphics.displaySync.d.ts b/api/@ohos.graphics.displaySync.d.ts index 18e8192b67..35c3792a51 100644 --- a/api/@ohos.graphics.displaySync.d.ts +++ b/api/@ohos.graphics.displaySync.d.ts @@ -16,11 +16,10 @@ /** * @file * @kit ArkGraphics2D - * @arkts 1.1&1.2 */ import type { Callback } from './@ohos.base'; -/*** if arkts 1.2 */ +/*** if arkts static */ import { ExpectedFrameRateRange } from './arkui/component/common'; /*** endif */ @@ -29,21 +28,24 @@ import { ExpectedFrameRateRange } from './arkui/component/common'; * * @namespace displaySync * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since arkts {'1.1': '11', '1.2': '20'} + * @since 11 dynamic + * @since 20 static */ declare namespace displaySync { /** * Provides the IntervalInfo interface, which includes timestamp and targetTimestamp. * @interface IntervalInfo * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since arkts {'1.1': '11', '1.2': '20'} + * @since 11 dynamic + * @since 20 static */ interface IntervalInfo { /** * The timestamp means the current drawing frame time. * @type { long } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since arkts {'1.1': '11', '1.2': '20'} + * @since 11 dynamic + * @since 20 static */ timestamp: long; @@ -51,7 +53,8 @@ declare namespace displaySync { * The timestamp means the next drawing frame time. * @type { long } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since arkts {'1.1': '11', '1.2': '20'} + * @since 11 dynamic + * @since 20 static */ targetTimestamp: long; } @@ -61,7 +64,8 @@ declare namespace displaySync { * the frequency of triggering callback function. * @interface DisplaySync * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since arkts {'1.1': '11', '1.2': '20'} + * @since 11 dynamic + * @since 20 static */ interface DisplaySync { /** @@ -75,7 +79,8 @@ declare namespace displaySync { *
3. Parameter verification failed. * or check ExpectedFrameRateRange if valid. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since arkts {'1.1': '11', '1.2': '20'} + * @since 11 dynamic + * @since 20 static */ setExpectedFrameRateRange(rateRange: ExpectedFrameRateRange) : void; @@ -85,7 +90,8 @@ declare namespace displaySync { * @param { 'frame' } type - The type of event to remove the listener for. Must be 'frame'. * @param { Callback } callback - The callback function to be called when DisplaySync dispatching. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since arkts {'1.1': '11', '1.2': '20'} + * @since 11 dynamic + * @since 20 static */ on(type: 'frame', callback: Callback): void; @@ -96,7 +102,8 @@ declare namespace displaySync { * @param { Callback } [callback] - The callback function to remove. If not provided, all callbacks for the given event type * will be removed. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since arkts {'1.1': '11', '1.2': '20'} + * @since 11 dynamic + * @since 20 static */ off(type: 'frame', callback?: Callback): void; @@ -104,7 +111,8 @@ declare namespace displaySync { * Add DisplaySync to Pipeline. It means that * the callback function be enabled. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since arkts {'1.1': '11', '1.2': '20'} + * @since 11 dynamic + * @since 20 static */ start(): void; @@ -112,7 +120,8 @@ declare namespace displaySync { * Delete DisplaySync from Pipeline. It means that * the callback function be disabled. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since arkts {'1.1': '11', '1.2': '20'} + * @since 11 dynamic + * @since 20 static */ stop(): void; } @@ -121,7 +130,8 @@ declare namespace displaySync { * Create a new DisplaySync object. * @returns { DisplaySync } DisplaySync * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since arkts {'1.1': '11', '1.2': '20'} + * @since 11 dynamic + * @since 20 static */ function create(): DisplaySync; } diff --git a/api/@ohos.graphics.drawing.d.ts b/api/@ohos.graphics.drawing.d.ts index 0136a462ac..ca561dbfbe 100644 --- a/api/@ohos.graphics.drawing.d.ts +++ b/api/@ohos.graphics.drawing.d.ts @@ -28,8 +28,8 @@ import { Resource } from './global/resource'; * * @namespace drawing * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace drawing { /** @@ -53,212 +53,212 @@ declare namespace drawing { * * @enum { int } * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum BlendMode { /** * r = 0, sets the the destination pixels to fully transparent. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CLEAR = 0, /** * r = s (all channels of the result equal those of the source), replaces the destination pixels with the source pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SRC = 1, /** * r = d (all channels of the result equal those of the destination), keeps the destination pixels unchanged. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DST = 2, /** * r = s + (1 - sa) * d, draws the source pixels over the destination pixels, considering the source's transparency. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SRC_OVER = 3, /** * r = d + (1 - da) * s, draws the destination pixels over the source pixels, considering the destination's transparency. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DST_OVER = 4, /** * r = s * da, retains only the intersection of the source pixels with the opaque parts of the destination. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SRC_IN = 5, /** * r = d * sa, retains only the intersection of the destination pixels with the opaque parts of the source. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DST_IN = 6, /** * r = s * (1 - da), retains the parts of the source pixels that do not overlap with the destination. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SRC_OUT = 7, /** * r = d * (1 - sa), retains the parts of the destination pixels that do not overlap with the source. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DST_OUT = 8, /** * r = s * da + d * (1 - sa), covers the destination pixels with the source pixels, showing the source only in the opaque parts of the destination. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SRC_ATOP = 9, /** * r = d * sa + s * (1 - da), covers the source pixels with the destination pixels, showing the destination only in the opaque parts of the source. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DST_ATOP = 10, /** * r = s * (1 - da) + d * (1 - sa), shows only the non-overlapping parts of the source and destination pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ XOR = 11, /** * r = min(s + d, 1), adds the color values of the source and destination pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PLUS = 12, /** * r = s * d, multiplies the color values of the source and destination pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MODULATE = 13, /** * r = s + d - s * d, inverts the color values of the source and destination pixels, multiplies them, * and then inverts the result, typically producing a brighter outcome. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SCREEN = 14, /** * Selectively applies MULTIPLY or SCREEN based on the brightness of the destination pixels, enhancing contrast. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ OVERLAY = 15, /** * rc = s + d - max(s * da, d * sa), ra = s + (1 - sa) * d, takes the darker color values between the source and destination pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DARKEN = 16, /** * rc = s + d - min(s * da, d * sa), ra = s + (1 - sa) * d, takes the lighter color values between the source and destination pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ LIGHTEN = 17, /** * Brightens the destination pixels by reducing contrast to reflect the source pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COLOR_DODGE = 18, /** * Darkens the destination pixels by increasing contrast to reflect the source pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COLOR_BURN = 19, /** * Selectively applies MULTIPLY or SCREEN based on the brightness of the source pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ HARD_LIGHT = 20, /** * Softly brightens or darkens the destination pixels based on the brightness of the source pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SOFT_LIGHT = 21, /** * rc = s + d - 2 * (min(s * da, d * sa)), ra = s + (1 - sa) * d, calculates the difference between the color values of the source and destination pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DIFFERENCE = 22, /** * rc = s + d - two(s * d), ra = s + (1 - sa) * d, similar to DIFFERENCE but with lower contrast. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ EXCLUSION = 23, /** * r = s * (1 - da) + d * (1 - sa) + s * d, multiplies the color values of the source and destination pixels, typically resulting in a darker outcome. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MULTIPLY = 24, /** * Uses the hue of the source pixels and the saturation and brightness of the destination pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ HUE = 25, /** * Uses the saturation of the source pixels and the hue and brightness of the destination pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SATURATION = 26, /** * Uses the hue and saturation of the source pixels and the brightness of the destination pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COLOR = 27, /** * Uses the brightness of the source pixels and the hue and saturation of the destination pixels. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ LUMINOSITY = 28, } @@ -274,8 +274,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum PathDirection { /** @@ -287,8 +286,7 @@ declare namespace drawing { * Adds a closed contour clockwise. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ CLOCKWISE = 0, @@ -301,8 +299,7 @@ declare namespace drawing { * Adds a closed contour counterclockwise. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ COUNTER_CLOCKWISE = 1, } @@ -318,8 +315,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum PathFillType { /** @@ -349,8 +345,7 @@ declare namespace drawing { * the point is not colored. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ WINDING = 0, @@ -371,8 +366,7 @@ declare namespace drawing { * If the number is an even number, the point is not colored. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ EVEN_ODD = 1, @@ -385,8 +379,7 @@ declare namespace drawing { * Same as WINDING, but draws outside of the path, rather than inside. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ INVERSE_WINDING = 2, @@ -399,8 +392,7 @@ declare namespace drawing { * Same as EVEN_ODD, but draws outside of the path, rather than inside. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ INVERSE_EVEN_ODD = 3, } @@ -417,8 +409,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum PathMeasureMatrixFlags { /** @@ -430,8 +421,7 @@ declare namespace drawing { * Matrix corresponding to the position information. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_POSITION_MATRIX = 0, /** @@ -443,8 +433,7 @@ declare namespace drawing { * Matrix corresponding to the tangent information. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_TANGENT_MATRIX = 1, /** @@ -456,8 +445,7 @@ declare namespace drawing { * Matrix corresponding to the position and tangent information. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ GET_POSITION_AND_TANGENT_MATRIX = 2, } @@ -466,8 +454,8 @@ declare namespace drawing { * Implements a rounded rectangle. * * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class RoundRect { @@ -476,7 +464,7 @@ declare namespace drawing { * @param { RoundRect } roundRect - The round rect object to copy. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ constructor(roundRect: RoundRect); @@ -507,8 +495,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ constructor(rect: common2D.Rect, xRadii: double, yRadii: double); @@ -535,7 +522,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setCorner(pos: CornerPos, x: double, y: double): void; @@ -547,7 +534,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ getCorner(pos: CornerPos): common2D.Point; @@ -576,7 +563,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ offset(dx: double, dy: double): void; } @@ -592,8 +579,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum PathOp { /** @@ -605,8 +591,7 @@ declare namespace drawing { * Difference operation. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DIFFERENCE = 0, @@ -619,8 +604,7 @@ declare namespace drawing { * Intersection operation. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ INTERSECT = 1, @@ -633,8 +617,7 @@ declare namespace drawing { * Union operation. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ UNION = 2, @@ -646,8 +629,8 @@ declare namespace drawing { /** * XOR operation. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ XOR = 3, @@ -660,8 +643,7 @@ declare namespace drawing { * Reverse difference operation. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ REVERSE_DIFFERENCE = 4 } @@ -677,8 +659,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum PathIteratorVerb { /** @@ -690,8 +671,7 @@ declare namespace drawing { * Sets the start point. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ MOVE = 0, @@ -704,8 +684,7 @@ declare namespace drawing { * Adds a line segment. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ LINE = 1, @@ -718,8 +697,7 @@ declare namespace drawing { * Adds a quadratic Bezier curve for smooth transitions. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ QUAD = 2, @@ -732,8 +710,7 @@ declare namespace drawing { * Adds a conic curve. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ CONIC = 3, @@ -746,8 +723,7 @@ declare namespace drawing { * Adds a cubic Bezier curve for smooth transitions. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ CUBIC = 4, @@ -760,8 +736,7 @@ declare namespace drawing { * Closes a path. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ CLOSE = 5, @@ -774,8 +749,7 @@ declare namespace drawing { * The path setting is complete. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DONE = CLOSE + 1, } @@ -791,16 +765,15 @@ declare namespace drawing { * * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ class PathIterator { /** * Creates an iterator and binds it with a path. * @param { Path } path - Path object bound to the iterator. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ constructor(path: Path); @@ -825,7 +798,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ next(points: Array, offset?: number): PathIteratorVerb; @@ -838,8 +811,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ next(points: Array, offset?: int): PathIteratorVerb | undefined; @@ -854,7 +826,7 @@ declare namespace drawing { * @returns { PathIteratorVerb } Returns the next verb in the iteration. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ peek(): PathIteratorVerb; @@ -862,8 +834,7 @@ declare namespace drawing { * Retrieves the next operation in this path, without moving the iterator. * @returns { PathIteratorVerb | undefined } Returns the next verb in the iteration. * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ peek(): PathIteratorVerb | undefined; @@ -878,8 +849,7 @@ declare namespace drawing { * @returns { boolean } Returns true if there are more elements to be iterated through, false otherwise. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ hasNext(): boolean; } @@ -888,15 +858,15 @@ declare namespace drawing { * A compound geometric path consisting of line segments, arcs, quadratic Bezier curves, and cubic Bezier curves. * * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class Path { /** * Constructs a path. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(); @@ -904,8 +874,8 @@ declare namespace drawing { * Constructs a copy of an existing path. * @param { Path } path - Path to copy. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(path: Path); @@ -914,7 +884,7 @@ declare namespace drawing { * @param { Path } src - the path to copy content from. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ set(src: Path): void; @@ -935,8 +905,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ moveTo(x: double, y: double): void; @@ -959,8 +928,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ lineTo(x: double, y: double): void; @@ -1009,8 +977,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ arcTo(x1: double, y1: double, x2: double, y2: double, startDeg: double, sweepDeg: double): void; @@ -1037,8 +1004,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ quadTo(ctrlX: double, ctrlY: double, endX: double, endY: double): void; @@ -1073,8 +1039,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ conicTo(ctrlX: double, ctrlY: double, endX: double, endY: double, weight: double): void; @@ -1105,8 +1070,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ cubicTo(ctrlX1: double, ctrlY1: double, ctrlX2: double, ctrlY2: double, endX: double, endY: double): void; @@ -1137,8 +1101,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ rMoveTo(dx: double, dy: double): void; @@ -1168,8 +1131,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ rLineTo(dx: double, dy: double): void; @@ -1212,8 +1174,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ rQuadTo(dx1: double, dy1: double, dx2: double, dy2: double): void; @@ -1266,8 +1227,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ rConicTo(ctrlX: double, ctrlY: double, endX: double, endY: double, weight: double): void; @@ -1334,8 +1294,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ rCubicTo(ctrlX1: double, ctrlY1: double, ctrlX2: double, ctrlY2: double, endX: double, endY: double): void; @@ -1360,8 +1319,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ addPolygon(points: Array, close: boolean): void; @@ -1386,8 +1344,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ op(path: Path, pathOp: PathOp): boolean; @@ -1432,8 +1389,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ addArc(rect: common2D.Rect, startAngle: double, sweepAngle: double): void; @@ -1460,8 +1416,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ addCircle(x: double, y: double, radius: double, pathDirection?: PathDirection): void; @@ -1488,8 +1443,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ addOval(rect: common2D.Rect, start: int, pathDirection?: PathDirection): void; @@ -1510,8 +1464,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ addRect(rect: common2D.Rect, pathDirection?: PathDirection): void; @@ -1538,8 +1491,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ addRoundRect(roundRect: RoundRect, pathDirection?: PathDirection): void; @@ -1560,8 +1512,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ addPath(path: Path, matrix?: Matrix | null): void; @@ -1580,8 +1531,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ transform(matrix: Matrix): void; @@ -1606,8 +1556,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ contains(x: double, y: double): boolean; @@ -1617,7 +1566,7 @@ declare namespace drawing { * @param { double } y - Indicates the new y-axis value for the last point. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setLastPoint(x: double, y: double): void; @@ -1640,8 +1589,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ setFillType(pathFillType: PathFillType): void; @@ -1650,7 +1598,7 @@ declare namespace drawing { * @returns { PathFillType } Returns the pathFillType. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getFillType(): PathFillType; @@ -1665,7 +1613,7 @@ declare namespace drawing { * @returns { common2D.Rect } Rect object. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getBounds(): common2D.Rect; @@ -1673,8 +1621,7 @@ declare namespace drawing { * Obtains the minimum bounding rectangle that encloses this path. * @returns { common2D.Rect | undefined } Rect object. * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ getBounds(): common2D.Rect | undefined; @@ -1687,8 +1634,7 @@ declare namespace drawing { * Closes this path by adding a line segment from the start point to the last point of the path. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ close(): void; @@ -1724,7 +1670,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ offset(dx: double, dy: double): Path; @@ -1743,23 +1689,22 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ offset(dx: double, dy: double): Path | undefined; /** * Resets the path data. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ reset(): void; /** * Clears any lines and curves from the path but keeps the internal storage for faster reuse. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ rewind(): void; @@ -1768,7 +1713,7 @@ declare namespace drawing { * * @returns { boolean } Returns true if the path is empty; returns false otherwise. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ isEmpty(): boolean; @@ -1778,7 +1723,7 @@ declare namespace drawing { * @param { common2D.Rect | null } rect - Indicates the Rect object. * @returns { boolean } Returns true if the path represents a rectangle; returns false otherwise. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ isRect(rect: common2D.Rect | null): boolean; @@ -1799,8 +1744,7 @@ declare namespace drawing { * @returns { double } Return path length. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getLength(forceClosed: boolean): double; @@ -1842,8 +1786,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getPositionAndTangent(forceClosed: boolean, distance: double, position: common2D.Point, tangent: common2D.Point): boolean; @@ -1892,8 +1835,7 @@ declare namespace drawing { * The value **true** means that the extraction is successful, and **false** means the opposite. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getSegment(forceClosed: boolean, start: double, stop: double, startWithMoveTo: boolean, dst: Path): boolean; @@ -1910,8 +1852,7 @@ declare namespace drawing { * @returns { boolean } - Check result. The value true means that the path is closed, and false means the opposite. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ isClosed(): boolean; @@ -1952,8 +1893,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getMatrix(forceClosed: boolean, distance: double, matrix: Matrix, flags: PathMeasureMatrixFlags): boolean; @@ -1976,8 +1916,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ buildFromSvgString(str: string): boolean; @@ -1994,7 +1933,7 @@ declare namespace drawing { * @returns { PathIterator } Indicates the pointer to an pathIterator object. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getPathIterator(): PathIterator; @@ -2003,8 +1942,7 @@ declare namespace drawing { * * @returns { PathIterator | undefined } Indicates the pointer to an pathIterator object. * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ getPathIterator(): PathIterator | undefined; @@ -2020,7 +1958,7 @@ declare namespace drawing { * @throws { BusinessError } 25900001 - Parameter error. Possible causes: Incorrect parameter range. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ approximate(acceptableError: double): Array; @@ -2037,7 +1975,7 @@ declare namespace drawing { * @throws { BusinessError } 25900001 - Parameter error. Possible causes: Incorrect parameter range. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ interpolate(other: Path, weight: double, interpolatedPath: Path): boolean; @@ -2050,7 +1988,7 @@ declare namespace drawing { * @returns { boolean } - Returns true if the current path and the other path are compatible for interpolation; returns false otherwise. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ isInterpolate(other: Path): boolean; } @@ -2059,27 +1997,27 @@ declare namespace drawing { * Enumerates the modes for drawing multiple points in an array. * @enum { int } * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ enum PointMode { /** * Draws each point separately. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ POINTS = 0, /** * Draws every two points as a line segment. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ LINES = 1, /** * Draws an array of points as an open polygon. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ POLYGON = 2, } @@ -2095,8 +2033,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum FilterMode { /** @@ -2108,8 +2045,7 @@ declare namespace drawing { * Nearest filter mode. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FILTER_MODE_NEAREST = 0, @@ -2122,8 +2058,7 @@ declare namespace drawing { * Linear filter mode. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FILTER_MODE_LINEAR = 1, } @@ -2132,34 +2067,34 @@ declare namespace drawing { * Enumerates the shadow drawing behaviors. * @enum { int } * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ enum ShadowFlag { /** * None of the flags are enabled. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ NONE = 0, /** * The occluder is transparent. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ TRANSPARENT_OCCLUDER = 1, /** * Only the geometric shadow effect is used. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ GEOMETRIC_ONLY = 2, /** * All the flags are enabled. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ ALL = 3, } @@ -2167,15 +2102,15 @@ declare namespace drawing { /** * Implements sampling options. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class SamplingOptions { /** * Creates a SamplingOptions object. The default value of FilterMode is FILTER_MODE_NEAREST. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(); /** @@ -2184,8 +2119,8 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(filterMode: FilterMode); } @@ -2193,8 +2128,8 @@ declare namespace drawing { /** * A carrier that carries the drawn content and drawing status. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class Canvas { /** @@ -2203,8 +2138,8 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ constructor(pixelmap: image.PixelMap); @@ -2223,8 +2158,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ drawRect(rect: common2D.Rect): void; @@ -2259,8 +2193,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ drawRect(left: double, top: double, right: double, bottom: double): void; @@ -2270,7 +2203,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ drawRoundRect(roundRect: RoundRect): void; @@ -2282,7 +2215,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ drawNestedRoundRect(outer: RoundRect, inner: RoundRect): void; @@ -2292,7 +2225,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ drawBackground(brush: Brush): void; @@ -2327,7 +2260,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ drawShadow(path: Path, planeParams: common2D.Point3d, devLightPos: common2D.Point3d, lightRadius: double, ambientColor: common2D.Color, spotColor: common2D.Color, flag: ShadowFlag) : void; @@ -2363,7 +2296,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ drawShadow(path: Path, planeParams: common2D.Point3d, devLightPos: common2D.Point3d, lightRadius: double, ambientColor: common2D.Color | int, spotColor: common2D.Color | int, flag: ShadowFlag) : void; @@ -2389,7 +2322,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ drawCircle(x: double, y: double, radius: double): void; @@ -2428,7 +2361,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ drawImage(pixelmap: image.PixelMap, left: double, top: double, samplingOptions?: SamplingOptions): void; @@ -2446,7 +2379,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since 18 + * @since 18 dynamic */ drawImageLattice(pixelmap: image.PixelMap, lattice: Lattice, dstRect: common2D.Rect, filterMode: FilterMode): void; @@ -2463,7 +2396,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since 18 + * @since 18 dynamic */ drawImageNine(pixelmap: image.PixelMap, center: common2D.Rect, dstRect: common2D.Rect, filterMode: FilterMode): void; @@ -2477,8 +2410,8 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ drawImageRect(pixelmap: image.PixelMap, dstRect: common2D.Rect, samplingOptions?: SamplingOptions): void; @@ -2493,7 +2426,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ drawImageRectWithSrc(pixelmap: image.PixelMap, srcRect: common2D.Rect, dstRect: common2D.Rect, samplingOptions?: SamplingOptions, constraint?: SrcRectConstraint): void; @@ -2505,7 +2438,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ drawColor(color: common2D.Color, blendMode?: BlendMode): void; @@ -2542,7 +2475,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ drawColor(alpha: int, red: int, green: int, blue: int, blendMode?: BlendMode): void; @@ -2563,7 +2496,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ drawColor(color: int, blendMode?: BlendMode): void; @@ -2573,7 +2506,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ drawOval(oval: common2D.Rect): void; @@ -2610,7 +2543,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ drawArc(arc: common2D.Rect, startAngle: double, sweepAngle: double): void; @@ -2645,7 +2578,7 @@ declare namespace drawing { * The value true means that they are connected to the center; the value false means the opposite. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ drawArcWithCenter(arc: common2D.Rect, startAngle: double, sweepAngle: double, useCenter: boolean): void; @@ -2666,7 +2599,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ drawPoint(x: double, y: double): void; @@ -2677,7 +2610,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ drawPoints(points: Array, mode?: PointMode): void; @@ -2687,7 +2620,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ drawPath(path: Path): void; @@ -2715,7 +2648,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ drawLine(x0: double, y0: double, x1: double, y1: double): void; @@ -2746,7 +2679,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ drawSingleCharacter(text: string, font: Font, x: double, y: double): void; @@ -2775,7 +2708,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ drawTextBlob(blob: TextBlob, x: double, y: double): void; @@ -2810,8 +2743,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ drawPixelMapMesh(pixelmap: image.PixelMap, meshWidth: int, meshHeight: int, vertices: Array, vertOffset: int, colors: Array, colorOffset: int): void; @@ -2822,7 +2754,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ drawRegion(region: Region): void; @@ -2832,7 +2764,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ attachPen(pen: Pen): void; @@ -2842,23 +2774,23 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ attachBrush(brush: Brush): void; /** * Detaches the pen from the canvas. When you draw on the canvas, the pen is no longer used to outline shapes. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ detachPen(): void; /** * Detaches the brush from the canvas. When you draw on the canvas, the brush is no longer used to fill the interior of shapes. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ detachBrush(): void; @@ -2875,7 +2807,7 @@ declare namespace drawing { * @returns { int } Number of canvas statuses. The value is a positive integer. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ save(): int; @@ -2901,8 +2833,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ saveLayer(rect?: common2D.Rect | null, brush?: Brush | null): long; @@ -2912,7 +2843,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ clear(color: common2D.Color): void; @@ -2927,15 +2858,15 @@ declare namespace drawing { * @param { common2D.Color | int } color - Color, represented by an unsigned integer in hexadecimal ARGB format. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ clear(color: common2D.Color | int): void; /** * Restores the canvas state (canvas matrix and clipping area) saved on the top of the stack. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ restore(): void; @@ -2958,7 +2889,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ restoreToCount(count: int): void; @@ -2973,7 +2904,7 @@ declare namespace drawing { * @returns { int } Number of canvas statuses that have been saved. The value is a positive integer. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getSaveCount(): int; @@ -2988,7 +2919,7 @@ declare namespace drawing { * @returns { int } Canvas width. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getWidth(): int; @@ -3003,7 +2934,7 @@ declare namespace drawing { * @returns { int } Canvas height. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getHeight(): int; @@ -3011,7 +2942,7 @@ declare namespace drawing { * Obtains the bounds of the cropping region of the canvas. * @returns { common2D.Rect } Rect object. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ getLocalClipBounds(): common2D.Rect; @@ -3019,7 +2950,7 @@ declare namespace drawing { * Obtains the canvas matrix. * @returns { Matrix } Canvas matrix. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ getTotalMatrix(): Matrix; @@ -3042,7 +2973,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ scale(sx: double, sy: double): void; @@ -3073,7 +3004,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ skew(sx: double, sy: double) : void; @@ -3099,8 +3030,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ rotate(degrees: double, sx: double, sy: double) : void; @@ -3125,7 +3055,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ translate(dx: double, dy: double): void; @@ -3138,7 +3068,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ clipPath(path: Path, clipOp?: ClipOp, doAntiAlias?: boolean): void; @@ -3151,7 +3081,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ clipRect(rect: common2D.Rect, clipOp?: ClipOp, doAntiAlias?: boolean): void; @@ -3162,7 +3092,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ concatMatrix(matrix: Matrix): void; @@ -3173,7 +3103,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ clipRegion(region: Region, clipOp?: ClipOp): void; @@ -3186,7 +3116,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ clipRoundRect(roundRect: RoundRect, clipOp?: ClipOp, doAntiAlias?: boolean): void; @@ -3194,7 +3124,7 @@ declare namespace drawing { * Checks whether the region that can be drawn is empty after clipping. * @returns { boolean } Returns true if drawable area is empty. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ isClipEmpty(): boolean; @@ -3215,14 +3145,14 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setMatrix(matrix: Matrix): void; /** * Resets the matrix of this canvas to an identity matrix. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ resetMatrix(): void; @@ -3231,7 +3161,7 @@ declare namespace drawing { * @param { Path } path - Path to draw. * @returns { boolean } Returns true if path is not intersect; returns false otherwise. * @syscap SystemCapability.Graphics.Drawing - * @since 18 + * @since 18 dynamic */ quickRejectPath(path: Path): boolean; @@ -3240,7 +3170,7 @@ declare namespace drawing { * @param { common2D.Rect } rect - Rectangle to determines. * @returns { boolean } Returns true if rect and region is not intersect; returns false otherwise. * @syscap SystemCapability.Graphics.Drawing - * @since 18 + * @since 18 dynamic */ quickRejectRect(rect: common2D.Rect): boolean; } @@ -3259,8 +3189,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum ClipOp { /** @@ -3272,8 +3201,7 @@ declare namespace drawing { * Clips a specified area. That is, the difference set is obtained. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DIFFERENCE = 0, /** @@ -3285,8 +3213,7 @@ declare namespace drawing { * Retains a specified area. That is, the intersection is obtained. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ INTERSECT = 1, } @@ -3295,7 +3222,7 @@ declare namespace drawing { * Describes a series of consecutive glyphs with the same attributes in a text blob. * @typedef TextBlobRunBuffer * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ interface TextBlobRunBuffer { /** @@ -3309,7 +3236,7 @@ declare namespace drawing { * @type { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ glyph: int; /** @@ -3323,7 +3250,7 @@ declare namespace drawing { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ positionX: double; /** @@ -3337,7 +3264,7 @@ declare namespace drawing { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ positionY: double; } @@ -3347,31 +3274,31 @@ declare namespace drawing { * * @enum { int } * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ enum TextEncoding { /** * One byte is used to indicate UTF-8 or ASCII characters. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ TEXT_ENCODING_UTF8 = 0, /** * Two bytes are used to indicate most Unicode characters. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ TEXT_ENCODING_UTF16 = 1, /** * Four bytes are used to indicate all Unicode characters. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ TEXT_ENCODING_UTF32 = 2, /** * Two bytes are used to indicate the glyph index. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ TEXT_ENCODING_GLYPH_ID = 3, } @@ -3381,7 +3308,7 @@ declare namespace drawing { * * class TextBlob * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ class TextBlob { /** @@ -3395,7 +3322,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ static makeFromString(text: string, font: Font, encoding?: TextEncoding): TextBlob; @@ -3430,7 +3357,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static makeFromPosText(text: string, len: int, points: common2D.Point[], font: Font): TextBlob; @@ -3444,7 +3371,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ static makeFromRunBuffer(pos: Array, font: Font, bounds?: common2D.Rect): TextBlob; @@ -3452,7 +3379,7 @@ declare namespace drawing { * Obtains the rectangular bounding box of the text blob. * @returns { common2D.Rect } Rect object. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ bounds(): common2D.Rect; @@ -3467,7 +3394,7 @@ declare namespace drawing { * @returns { long } Unique, non-zero identifier of this TextBlob object. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ uniqueID(): long; } @@ -3476,16 +3403,14 @@ declare namespace drawing { * Provides an interface to the drawing, and describe the arguments for a font. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ class TypefaceArguments { /** * Constructor for the TypefaceArguments. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ constructor(); /** @@ -3495,7 +3420,7 @@ declare namespace drawing { * @throws { BusinessError } 25900001 - Parameter error. Possible causes: Incorrect parameter range. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ addVariation(axis: string, value: double); @@ -3506,8 +3431,7 @@ declare namespace drawing { * @throws { BusinessError } 25900001 - Parameter error. Possible causes: Incorrect parameter range. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ addVariation(axis: string, value: double): void; } @@ -3516,15 +3440,15 @@ declare namespace drawing { * Describes the style of a typeface, such as SimSun or KaiTi. * * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class Typeface { /** * Obtains the name of the typeface family, which is the name given to a collection of related typeface designs. * @returns { string } Family name. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ getFamilyName(): string; @@ -3534,7 +3458,7 @@ declare namespace drawing { * @returns { Typeface } Typeface. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ makeFromCurrent(typefaceArguments: TypefaceArguments): Typeface; @@ -3545,8 +3469,8 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static makeFromFile(filePath: string): Typeface; @@ -3559,7 +3483,7 @@ declare namespace drawing { * If the file is stored in a subdirectory, for example, in resources/rawfile/ttf, the reference format is rawfile('ttf/HarmonyOS_Sans_Bold.ttf'). * @returns { Typeface } Typeface. * @syscap SystemCapability.Graphics.Drawing - * @since 18 + * @since 18 dynamic */ static makeFromRawFile(rawfile: Resource): Typeface; @@ -3571,7 +3495,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static makeFromFileWithArguments(filePath: string, typefaceArguments: TypefaceArguments): Typeface; @@ -3583,7 +3507,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static makeFromRawFileWithArguments(rawfile: Resource, typefaceArguments: TypefaceArguments): Typeface; } @@ -3601,8 +3525,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum FontEdging { /** @@ -3614,8 +3537,7 @@ declare namespace drawing { * No anti-aliasing processing is used. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ ALIAS = 0, @@ -3628,8 +3550,7 @@ declare namespace drawing { * Uses anti-aliasing to smooth the jagged edges. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ ANTI_ALIAS = 1, @@ -3642,8 +3563,7 @@ declare namespace drawing { * Uses sub-pixel anti-aliasing to provide a smoother effect for jagged edges. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ SUBPIXEL_ANTI_ALIAS = 2, } @@ -3661,8 +3581,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum FontHinting { /** @@ -3674,8 +3593,7 @@ declare namespace drawing { * No font hinting is used. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ NONE = 0, @@ -3688,8 +3606,7 @@ declare namespace drawing { * Slight font hinting is used to improve contrast. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ SLIGHT = 1, @@ -3702,8 +3619,7 @@ declare namespace drawing { * Normal font hinting is used to improve contrast. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ NORMAL = 2, @@ -3716,8 +3632,7 @@ declare namespace drawing { * Full font hinting is used to improve contrast. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FULL = 3, } @@ -3726,8 +3641,8 @@ declare namespace drawing { * Describes the attributes used for text rendering, such as size and typeface. * * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class Font { /** @@ -3737,7 +3652,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ enableSubpixel(isSubpixel: boolean): void; @@ -3748,7 +3663,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ enableEmbolden(isEmbolden: boolean): void; @@ -3759,7 +3674,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ enableLinearMetrics(isLinearMetrics: boolean): void; @@ -3780,8 +3695,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ setSize(textSize: double): void; @@ -3796,7 +3710,7 @@ declare namespace drawing { * @returns { double } Font size. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getSize(): double; @@ -3806,8 +3720,8 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setTypeface(typeface: Typeface): void; @@ -3815,7 +3729,7 @@ declare namespace drawing { * Obtains the typeface. * @returns { Typeface } Typeface object. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ getTypeface(): Typeface; @@ -3823,8 +3737,8 @@ declare namespace drawing { * Obtains the font metrics of the typeface. * @returns { FontMetrics } The fontMetrics value returned to the caller. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getMetrics(): FontMetrics; @@ -3849,7 +3763,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ measureSingleCharacter(text: string): double; @@ -3872,7 +3786,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ measureText(text: string, encoding: TextEncoding): double; @@ -3891,7 +3805,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setScaleX(scaleX: double): void; @@ -3914,7 +3828,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setSkewX(skewX: double): void; @@ -3924,7 +3838,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setEdging(edging: FontEdging): void; @@ -3934,7 +3848,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setHinting(hinting: FontHinting): void; @@ -3955,7 +3869,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ countText(text: string): int; @@ -3966,7 +3880,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setBaselineSnap(isBaselineSnap: boolean): void; @@ -3975,7 +3889,7 @@ declare namespace drawing { * @returns { boolean } Check result. The value true means that the baselines are requested to be snapped to pixels, * and false means the opposite. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ isBaselineSnap(): boolean; @@ -3986,7 +3900,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setEmbeddedBitmaps(isEmbeddedBitmaps: boolean): void; @@ -3994,7 +3908,7 @@ declare namespace drawing { * Checks whether bitmaps are used in this font. * @returns { boolean } Check result. The value true means that the bitmaps are used, and false means the opposite. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ isEmbeddedBitmaps(): boolean; @@ -4005,7 +3919,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setForceAutoHinting(isForceAutoHinting: boolean): void; @@ -4013,7 +3927,7 @@ declare namespace drawing { * Checks whether auto hinting is forcibly used. * @returns { boolean } Check result. The value true means that auto hinting is forcibly used, and false means the opposite. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ isForceAutoHinting(): boolean; @@ -4034,7 +3948,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getWidths(glyphs: Array): Array; @@ -4061,7 +3975,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ textToGlyphs(text: string, glyphCount?: int): Array; @@ -4069,7 +3983,7 @@ declare namespace drawing { * Checks whether sub-pixel rendering is used for this font. * @returns { boolean } Check result. The value true means that sub-pixel rendering is used, and false means the opposite. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ isSubpixel(): boolean; @@ -4077,7 +3991,7 @@ declare namespace drawing { * Checks whether linear scaling is used for this font. * @returns { boolean } Checks whether linear scaling is used for this font. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ isLinearMetrics(): boolean; @@ -4092,7 +4006,7 @@ declare namespace drawing { * @returns { double } Horizontal skew factor. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getSkewX(): double; @@ -4101,7 +4015,7 @@ declare namespace drawing { * @returns { boolean } Check result. The value true means that the bold effect is set, and false means the opposite. * returns false otherwise. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ isEmbolden(): boolean; @@ -4116,7 +4030,7 @@ declare namespace drawing { * @returns { double } Horizontal scale ratio. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getScaleX(): double; @@ -4124,7 +4038,7 @@ declare namespace drawing { * Obtains the font hinting effect. * @returns { FontHinting } Font hinting effect. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ getHinting(): FontHinting; @@ -4132,7 +4046,7 @@ declare namespace drawing { * Obtains the font edging effect. * @returns { FontEdging } Font edging effect. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ getEdging(): FontEdging; @@ -4151,7 +4065,7 @@ declare namespace drawing { * Note: Path use y-axis-goes-down system, y axis is inverted to the y-axis-goes-up system. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ createPathForGlyph(index: int): Path; @@ -4174,7 +4088,7 @@ declare namespace drawing { *
3. The bound rect will be snap to integral boundaries. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getBounds(glyphs: Array): Array; @@ -4205,7 +4119,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getTextPath(text: string, byteLength: int, x: double, y: double): Path; @@ -4217,7 +4131,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 15 + * @since 15 dynamic */ setThemeFontFollowed(followed: boolean): void; @@ -4225,7 +4139,7 @@ declare namespace drawing { * Checks whether the font follows the theme font. By default, the font follows the theme font. * @returns { boolean } Check result. The value true means that the theme font is followed, and false means the opposite. * @syscap SystemCapability.Graphics.Drawing - * @since 15 + * @since 15 dynamic */ isThemeFontFollowed(): boolean; } @@ -4243,8 +4157,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum FontMetricsFlags { /** @@ -4256,8 +4169,7 @@ declare namespace drawing { * The underlineThickness field in the FontMetrics struct is valid. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ UNDERLINE_THICKNESS_VALID = 1 << 0, @@ -4270,8 +4182,7 @@ declare namespace drawing { * The underlinePosition field in the FontMetrics struct is valid. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ UNDERLINE_POSITION_VALID = 1 << 1, @@ -4284,8 +4195,7 @@ declare namespace drawing { * The strikethroughThickness field in the FontMetrics struct is valid. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ STRIKETHROUGH_THICKNESS_VALID = 1 << 2, @@ -4298,8 +4208,7 @@ declare namespace drawing { * The strikethroughPosition field in the FontMetrics struct is valid. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ STRIKETHROUGH_POSITION_VALID = 1 << 3, @@ -4312,8 +4221,7 @@ declare namespace drawing { * The boundary metrics (such as top, bottom, xMin, and xMax) in the FontMetrics struct are invalid. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ BOUNDS_INVALID = 1 << 4, } @@ -4329,8 +4237,7 @@ declare namespace drawing { * @typedef FontMetrics * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface FontMetrics { /** @@ -4344,8 +4251,7 @@ declare namespace drawing { * @type { ?FontMetricsFlags } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ flags?: FontMetricsFlags; @@ -4360,8 +4266,7 @@ declare namespace drawing { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ top: double; /** @@ -4375,8 +4280,7 @@ declare namespace drawing { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ ascent: double; /** @@ -4390,8 +4294,7 @@ declare namespace drawing { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ descent: double; /** @@ -4405,8 +4308,7 @@ declare namespace drawing { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ bottom: double; /** @@ -4422,8 +4324,7 @@ declare namespace drawing { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ leading: double; /** @@ -4437,8 +4338,7 @@ declare namespace drawing { * @type { ?double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ avgCharWidth?: double; @@ -4453,8 +4353,7 @@ declare namespace drawing { * @type { ?double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ maxCharWidth?: double; @@ -4471,8 +4370,7 @@ declare namespace drawing { * @type { ?double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ xMin?: double; @@ -4489,8 +4387,7 @@ declare namespace drawing { * @type { ?double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ xMax?: double; @@ -4505,8 +4402,7 @@ declare namespace drawing { * @type { ?double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ xHeight?: double; @@ -4521,8 +4417,7 @@ declare namespace drawing { * @type { ?double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ capHeight?: double; @@ -4537,8 +4432,7 @@ declare namespace drawing { * @type { ?double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ underlineThickness?: double; @@ -4553,8 +4447,7 @@ declare namespace drawing { * @type { ?double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ underlinePosition?: double; @@ -4569,8 +4462,7 @@ declare namespace drawing { * @type { ?double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ strikethroughThickness?: double; @@ -4585,8 +4477,7 @@ declare namespace drawing { * @type { ?double } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ strikethroughPosition?: double; } @@ -4594,8 +4485,8 @@ declare namespace drawing { /** * Implements a lattice object, which is used to divide an image by lattice. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class Lattice { /** @@ -4645,8 +4536,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ static createImageLattice(xDivs: Array, yDivs: Array, fXCount: int, fYCount: int, fBounds?: common2D.Rect | null, fRectTypes?: Array | null, fColors?: Array | null): Lattice; @@ -4700,7 +4590,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createImageLattice(xDivs: Array, yDivs: Array, fXCount: int, fYCount: int, fBounds?: common2D.Rect | null, fRectTypes?: Array | null, fColors?: Array | null): Lattice; @@ -4718,8 +4608,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum RectType { /** @@ -4731,8 +4620,7 @@ declare namespace drawing { * Draws an image into the lattice. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DEFAULT = 0, @@ -4745,8 +4633,7 @@ declare namespace drawing { * Sets the lattice to transparent. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ TRANSPARENT = 1, @@ -4759,8 +4646,7 @@ declare namespace drawing { * Draws the colors in the fColors array in Lattice into the lattice. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FIXEDCOLOR = 2 } @@ -4774,8 +4660,7 @@ declare namespace drawing { * Implements a mask filter. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ class MaskFilter { /** @@ -4801,7 +4686,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createBlurMaskFilter(blurType: BlurType, sigma: number): MaskFilter; @@ -4815,8 +4700,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ static createBlurMaskFilter(blurType: BlurType, sigma: double): MaskFilter | undefined; } @@ -4832,8 +4716,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum PathDashStyle { /** @@ -4845,8 +4728,7 @@ declare namespace drawing { * Translates only, not rotating with the path. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ TRANSLATE = 0, /** @@ -4858,8 +4740,7 @@ declare namespace drawing { * Rotates with the path. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ ROTATE = 1, /** @@ -4871,8 +4752,7 @@ declare namespace drawing { * Rotates with the path and stretches or compresses at turns to enhance smoothness. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ MORPH = 2, } @@ -4886,8 +4766,7 @@ declare namespace drawing { * Implements a path effect. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ class PathEffect { /** @@ -4913,7 +4792,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createDashPathEffect(intervals: Array, phase: number): PathEffect; @@ -4927,8 +4806,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ static createDashPathEffect(intervals: Array, phase: double): PathEffect | undefined; @@ -4955,7 +4833,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createCornerPathEffect(radius: number): PathEffect; @@ -4969,8 +4847,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ static createCornerPathEffect(radius: double): PathEffect | undefined; @@ -5001,7 +4878,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createDiscretePathEffect(segLength: number, dev: number, seedAssist?: number): PathEffect; @@ -5017,8 +4894,7 @@ declare namespace drawing { * @returns { PathEffect | undefined } PathEffect object. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ static createDiscretePathEffect(segLength: double, dev: double, seedAssist?: int): PathEffect | undefined; @@ -5039,7 +4915,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createComposePathEffect(outer: PathEffect, inner: PathEffect): PathEffect; @@ -5050,8 +4926,7 @@ declare namespace drawing { * @returns { PathEffect | undefined } PathEffect object. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ static createComposePathEffect(outer: PathEffect, inner: PathEffect): PathEffect | undefined; @@ -5086,7 +4961,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createPathDashEffect(path: Path, advance: number, phase: number, style: PathDashStyle): PathEffect; /** @@ -5103,8 +4978,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ static createPathDashEffect(path: Path, advance: double, phase: double, style: PathDashStyle): PathEffect | undefined; @@ -5129,7 +5003,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createSumPathEffect(firstPathEffect: PathEffect, secondPathEffect: PathEffect): PathEffect; @@ -5142,7 +5016,7 @@ declare namespace drawing { * @returns { PathEffect | undefined } PathEffect object. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ static createSumPathEffect(firstPathEffect: PathEffect, secondPathEffect: PathEffect): PathEffect | undefined; } @@ -5152,7 +5026,7 @@ declare namespace drawing { * the shader effect instead of the color attribute is used for drawing. In this case, * the alpha value set for the pen or brush still takes effect. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ class ShaderEffect { /** @@ -5174,7 +5048,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createColorShader(color: int): ShaderEffect; @@ -5217,7 +5091,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createLinearGradient(startPt: common2D.Point, endPt: common2D.Point, colors: Array, mode: TileMode, pos?: Array | null, matrix?: Matrix | null): ShaderEffect; @@ -5271,7 +5145,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createRadialGradient(centerPt: common2D.Point, radius: double, colors: Array, mode: TileMode, pos?: Array | null, matrix?: Matrix | null): ShaderEffect; @@ -5341,7 +5215,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createSweepGradient(centerPt: common2D.Point, colors: Array, mode: TileMode, startAngle: double, endAngle: double, pos?: Array | null, @@ -5396,7 +5270,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createConicalGradient(startPt: common2D.Point, startRadius: double, endPt: common2D.Point, endRadius: double, colors: Array, mode: TileMode, @@ -5414,7 +5288,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createImageShader(pixelmap: image.PixelMap, tileX: TileMode, tileY: TileMode, samplingOptions: SamplingOptions, matrix?: Matrix | null): ShaderEffect; @@ -5429,7 +5303,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createComposeShader(dstShaderEffect: ShaderEffect, srcShaderEffect: ShaderEffect, blendMode: BlendMode): ShaderEffect; @@ -5446,8 +5320,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum TileMode { /** @@ -5459,8 +5332,7 @@ declare namespace drawing { * Replicates the edge color if the shader effect draws outside of its original boundary. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ CLAMP = 0, @@ -5473,8 +5345,7 @@ declare namespace drawing { * Repeats the shader effect in both horizontal and vertical directions. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ REPEAT = 1, @@ -5487,8 +5358,7 @@ declare namespace drawing { * Repeats the shader effect in both horizontal and vertical directions, alternating mirror images. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ MIRROR = 2, @@ -5501,8 +5371,7 @@ declare namespace drawing { * Renders the shader effect only within the original boundary. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DECAL = 3, } @@ -5510,7 +5379,7 @@ declare namespace drawing { /** * Implements a shadow layer. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ class ShadowLayer { /** @@ -5544,7 +5413,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static create(blurRadius: double, x: double, y: double, color: common2D.Color): ShadowLayer; @@ -5577,7 +5446,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static create(blurRadius: double, x: double, y: double, color: common2D.Color | int): ShadowLayer; } @@ -5586,8 +5455,8 @@ declare namespace drawing { * Defines a color filter. * * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class ColorFilter { /** @@ -5611,8 +5480,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ static createBlendModeColorFilter(color: common2D.Color, mode: BlendMode): ColorFilter; @@ -5637,8 +5505,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ static createBlendModeColorFilter(color: common2D.Color | int, mode: BlendMode): ColorFilter; @@ -5663,7 +5530,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createComposeColorFilter(outer: ColorFilter, inner: ColorFilter): ColorFilter; @@ -5676,8 +5543,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ static createComposeColorFilter(outer: ColorFilter, inner: ColorFilter): ColorFilter | undefined; @@ -5694,7 +5560,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createLinearToSRGBGamma(): ColorFilter; @@ -5703,8 +5569,7 @@ declare namespace drawing { * @returns { ColorFilter | undefined} Colorfilter object. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ static createLinearToSRGBGamma(): ColorFilter | undefined; @@ -5721,7 +5586,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createSRGBGammaToLinear(): ColorFilter; @@ -5730,8 +5595,7 @@ declare namespace drawing { * @returns { ColorFilter | undefined } Colorfilter object. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ static createSRGBGammaToLinear(): ColorFilter | undefined; @@ -5748,7 +5612,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createLumaColorFilter(): ColorFilter; @@ -5757,8 +5621,7 @@ declare namespace drawing { * @returns { ColorFilter | undefined } Colorfilter. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ static createLumaColorFilter(): ColorFilter | undefined; @@ -5781,7 +5644,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createMatrixColorFilter(matrix: Array): ColorFilter; @@ -5793,8 +5656,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ static createMatrixColorFilter(matrix: Array): ColorFilter | undefined; @@ -5806,7 +5668,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createLightingColorFilter(mutColor: common2D.Color | int, addColor: common2D.Color | int): ColorFilter; @@ -5823,8 +5685,7 @@ declare namespace drawing { * * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ class ImageFilter { /** @@ -5858,7 +5719,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createBlurImageFilter(sigmaX: double, sigmaY: double, tileMode: TileMode, imageFilter?: ImageFilter | null): ImageFilter; @@ -5877,8 +5738,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ static createBlurImageFilter(sigmaX: double, sigmaY: double, tileMode: TileMode, imageFilter?: ImageFilter | null): ImageFilter | undefined; @@ -5906,7 +5766,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createFromColorFilter(colorFilter: ColorFilter, imageFilter?: ImageFilter | null): ImageFilter; @@ -5920,8 +5780,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @static * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ static createFromColorFilter(colorFilter: ColorFilter, imageFilter?: ImageFilter | null): ImageFilter | undefined; @@ -5935,7 +5794,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createOffsetImageFilter(dx: double, dy: double, input?: ImageFilter | null): ImageFilter; @@ -5948,7 +5807,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createFromImage(pixelmap: image.PixelMap, srcRect?: common2D.Rect | null, dstRect?: common2D.Rect | null): ImageFilter; @@ -5962,7 +5821,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createBlendImageFilter(mode: BlendMode, background: ImageFilter, foreground: ImageFilter): ImageFilter; @@ -5976,7 +5835,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createComposeImageFilter(cOuter: ImageFilter, cInner: ImageFilter): ImageFilter; @@ -5988,7 +5847,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static createFromShaderEffect(shader: ShaderEffect): ImageFilter; } @@ -6003,8 +5862,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum JoinStyle { /** @@ -6018,8 +5876,7 @@ declare namespace drawing { * In this case, you need to use the miter limit to limit the miter length. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ MITER_JOIN = 0, @@ -6032,8 +5889,7 @@ declare namespace drawing { * Round corner. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ ROUND_JOIN = 1, @@ -6047,8 +5903,7 @@ declare namespace drawing { * In this case, you need to use the miter limit to limit the miter length. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ BEVEL_JOIN = 2 } @@ -6064,8 +5919,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum CapStyle { /** @@ -6077,8 +5931,7 @@ declare namespace drawing { * There is no cap style. Both ends of the line segment are cut off square. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FLAT_CAP = 0, @@ -6091,8 +5944,7 @@ declare namespace drawing { * Square cap style. Both ends have a square, the height of which is half of the width of the line segment, with the same width. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ SQUARE_CAP = 1, @@ -6105,8 +5957,7 @@ declare namespace drawing { * Round cap style. Both ends have a semicircle centered, the diameter of which is the same as the width of the line segment. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ ROUND_CAP = 2 } @@ -6122,8 +5973,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum BlurType { /** @@ -6135,8 +5985,7 @@ declare namespace drawing { * Both the outer edges and the inner solid parts are blurred. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ NORMAL = 0, @@ -6149,8 +5998,7 @@ declare namespace drawing { * The inner solid part remains unchanged, while only the outer edges are blurred. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ SOLID = 1, @@ -6163,8 +6011,7 @@ declare namespace drawing { * Only the outer edges are blurred, with the inner solid part being fully transparent. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ OUTER = 2, @@ -6177,8 +6024,7 @@ declare namespace drawing { * Only the inner solid part is blurred, while the outer edges remain sharp. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ INNER = 3 } @@ -6186,15 +6032,15 @@ declare namespace drawing { /** * Defines a pen, which is used to describe the style and color to outline a shape. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class Pen { /** * A constructor used to create a Pen object. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(); @@ -6204,8 +6050,8 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(pen: Pen); @@ -6232,7 +6078,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setMiterLimit(miter: double): void; @@ -6247,7 +6093,7 @@ declare namespace drawing { * @returns { double } Returns the miter limit. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getMiterLimit(): double; @@ -6257,7 +6103,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setShaderEffect(shaderEffect: ShaderEffect): void; @@ -6278,7 +6124,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setColor(color: common2D.Color): void; @@ -6319,7 +6165,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setColor(alpha: int, red: int, green: int, blue: int): void; @@ -6334,7 +6180,7 @@ declare namespace drawing { * @param { int } color - Color in hexadecimal ARGB format. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setColor(color: int): void; @@ -6346,7 +6192,7 @@ declare namespace drawing { * @param { colorSpaceManager.ColorSpaceManager | null } colorSpace - Indicates colorSpaceManager. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setColor4f(color4f: common2D.Color4f, colorSpace: colorSpaceManager.ColorSpaceManager | null): void; @@ -6354,7 +6200,7 @@ declare namespace drawing { * Obtains the color of this pen. * @returns { common2D.Color } Returns a 32-bit (ARGB) variable that describes the color. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ getColor(): common2D.Color; @@ -6363,7 +6209,7 @@ declare namespace drawing { * @returns { common2D.Color4f } Returns four floating point values that describes the color. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getColor4f(): common2D.Color4f; @@ -6378,7 +6224,7 @@ declare namespace drawing { * @returns { int } Returns a 32-bit (ARGB) variable that describes the color of hexadecimal format. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getHexColor(): int; @@ -6403,7 +6249,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setStrokeWidth(width: double): void; @@ -6418,7 +6264,7 @@ declare namespace drawing { * @returns { double } Stroke width for the pen, in px. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getWidth(): double; @@ -6430,7 +6276,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ setAntiAlias(aa: boolean): void; @@ -6438,7 +6284,7 @@ declare namespace drawing { * Checks whether anti-aliasing is enabled for this pen. * @returns { boolean } Returns true if the anti-aliasing is enabled; returns false otherwise. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ isAntiAlias(): boolean; @@ -6461,7 +6307,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setAlpha(alpha: int): void; @@ -6476,7 +6322,7 @@ declare namespace drawing { * @returns { int } Returns a 8-bit variable that describes the alpha. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getAlpha(): int; @@ -6487,14 +6333,14 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ setColorFilter(filter: ColorFilter): void; /** * Obtains the color filter of this pen. * @returns { ColorFilter } ColorFilter. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ getColorFilter(): ColorFilter; /** @@ -6503,7 +6349,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setImageFilter(filter: ImageFilter | null): void; /** @@ -6513,7 +6359,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setMaskFilter(filter: MaskFilter): void; @@ -6524,7 +6370,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setPathEffect(effect: PathEffect): void; @@ -6535,7 +6381,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setShadowLayer(shadowLayer: ShadowLayer): void; @@ -6546,8 +6392,8 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setBlendMode(mode: BlendMode): void; @@ -6558,7 +6404,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ setDither(dither: boolean): void; @@ -6569,7 +6415,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setJoinStyle(style: JoinStyle): void; @@ -6578,7 +6424,7 @@ declare namespace drawing { * * @returns { JoinStyle } The JoinStyle. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ getJoinStyle(): JoinStyle; @@ -6589,7 +6435,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setCapStyle(style: CapStyle): void; @@ -6598,15 +6444,15 @@ declare namespace drawing { * * @returns { CapStyle } The CapStyle. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ getCapStyle(): CapStyle; /** * Resets this pen to the initial state. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ reset(): void; /** @@ -6618,7 +6464,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ getFillPath(src: Path, dst: Path): boolean; } @@ -6626,15 +6472,15 @@ declare namespace drawing { /** * Defines a brush, which is used to describe the style and color to fill in a shape. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ class Brush { /** * A constructor used to create a Brush object. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(); @@ -6644,8 +6490,8 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(brush: Brush); @@ -6666,7 +6512,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setColor(color: common2D.Color): void; @@ -6699,7 +6545,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setColor(alpha: int, red: int, green: int, blue: int): void; @@ -6718,7 +6564,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setColor(color: int): void; @@ -6730,7 +6576,7 @@ declare namespace drawing { * @param { colorSpaceManager.ColorSpaceManager | null } colorSpace - Indicates colorSpaceManager. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setColor4f(color4f: common2D.Color4f, colorSpace: colorSpaceManager.ColorSpaceManager | null): void; @@ -6738,7 +6584,7 @@ declare namespace drawing { * Obtains the color of this brush. * @returns { common2D.Color } Returns a 32-bit (ARGB) variable that describes the color. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ getColor(): common2D.Color; @@ -6747,7 +6593,7 @@ declare namespace drawing { * @returns { common2D.Color4f } Returns four floating point values that describes the color. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getColor4f(): common2D.Color4f; @@ -6762,7 +6608,7 @@ declare namespace drawing { * @returns { int } Returns a 32-bit (ARGB) variable that describes the color of hexadecimal format. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getHexColor(): int; @@ -6773,7 +6619,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ setAntiAlias(aa: boolean): void; @@ -6781,7 +6627,7 @@ declare namespace drawing { * Checks whether anti-aliasing is enabled for this brush. * @returns { boolean } Returns true if anti-aliasing is enabled; returns false otherwise. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ isAntiAlias(): boolean; @@ -6802,7 +6648,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setAlpha(alpha: int): void; @@ -6817,7 +6663,7 @@ declare namespace drawing { * @returns { int } Returns a 8-bit variable that describes the alpha. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getAlpha(): int; @@ -6827,7 +6673,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 11 + * @since 11 dynamic */ setColorFilter(filter: ColorFilter): void; @@ -6835,7 +6681,7 @@ declare namespace drawing { * Obtains the color filter of this brush. * @returns { ColorFilter } ColorFilter. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ getColorFilter(): ColorFilter; /** @@ -6844,7 +6690,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setImageFilter(filter: ImageFilter | null): void; /** @@ -6853,7 +6699,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setMaskFilter(filter: MaskFilter): void; @@ -6864,7 +6710,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setShadowLayer(shadowLayer: ShadowLayer): void; @@ -6874,7 +6720,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setShaderEffect(shaderEffect: ShaderEffect): void; @@ -6884,16 +6730,16 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setBlendMode(mode: BlendMode): void; /** * Resets this brush to the initial state. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ reset(): void; } @@ -6909,8 +6755,7 @@ declare namespace drawing { * * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ class Matrix { /** @@ -6922,8 +6767,7 @@ declare namespace drawing { * Creates a Matrix object. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ constructor(); @@ -6932,8 +6776,7 @@ declare namespace drawing { * @param { Matrix } matrix - The matrix object to copy. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ constructor(matrix: Matrix); @@ -6942,7 +6785,7 @@ declare namespace drawing { * @returns { boolean } Returns true if the matrix is affine; returns false otherwise. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ isAffine(): boolean; @@ -6951,7 +6794,7 @@ declare namespace drawing { * @returns { boolean } Returns true if the transformation keeps rectangles as rectangles; returns false otherwise. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ rectStaysRect(): boolean; @@ -6976,8 +6819,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ setRotation(degree: double, px: double, py: double): void; @@ -7006,8 +6848,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ setScale(sx: double, sy: double, px: double, py: double): void; @@ -7040,7 +6881,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setTranslation(dx: double, dy: double): void; @@ -7052,7 +6893,7 @@ declare namespace drawing { * @param { double } py - The y-coordinate of the point around which to apply the skew. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setSkew(kx: double, ky: double, px: double, py: double): void; @@ -7064,7 +6905,7 @@ declare namespace drawing { * @param { double } py - The y-coordinate of the point around which to rotate. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setSinCos(sinValue: double, cosValue: double, px: double, py: double): void; @@ -7101,8 +6942,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ setMatrix(values: Array): void; @@ -7111,7 +6951,7 @@ declare namespace drawing { * @param { Array | Matrix } matrix - Indicates the Matrix object to copy. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setMatrix(matrix: Array | Matrix): void; @@ -7121,7 +6961,7 @@ declare namespace drawing { * @param { Matrix } matrixB - Indicates the MatrixB object. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setConcat(matrixA: Matrix, matrixB: Matrix): void; @@ -7130,7 +6970,7 @@ declare namespace drawing { * @param { Matrix } matrix - Indicates the other Matrix object. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ postConcat(matrix: Matrix): void; @@ -7149,8 +6989,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ preConcat(matrix: Matrix): void; @@ -7171,7 +7010,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ isEqual(matrix: Matrix): Boolean; @@ -7182,8 +7021,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ isEqual(matrix: Matrix): boolean; @@ -7208,7 +7046,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ invert(matrix: Matrix): Boolean; @@ -7221,8 +7059,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ invert(matrix: Matrix): boolean; @@ -7237,8 +7074,7 @@ declare namespace drawing { * @returns { Boolean } Returns true if matrix is identity; returns false otherwise. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ isIdentity(): Boolean; @@ -7259,8 +7095,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getValue(index: int): double; /** @@ -7286,8 +7121,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ postRotate(degree: double, px: double, py: double): void; /** @@ -7317,8 +7151,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ postScale(sx: double, sy: double, px: double, py: double): void; /** @@ -7352,8 +7185,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ postTranslate(dx: double, dy: double): void; @@ -7380,8 +7212,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ preRotate(degree: double, px: double, py: double): void; @@ -7394,7 +7225,7 @@ declare namespace drawing { * @param { double } py - Indicates the pivot on y-axis. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ postSkew(kx: double, ky: double, px: double, py: double): void; @@ -7425,8 +7256,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ preScale(sx: double, sy: double, px: double, py: double): void; /** @@ -7460,8 +7290,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ preTranslate(dx: double, dy: double): void; @@ -7474,14 +7303,14 @@ declare namespace drawing { * @param { double } py - Indicates the pivot on y-axis. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ preSkew(kx: double, ky: double, px: double, py: double): void; /** * Resets this matrix to an identity matrix. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ reset(): void; /** @@ -7501,7 +7330,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ mapPoints(src: Array): Array; @@ -7512,8 +7341,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ mapPoints(src: Array): Array | undefined; @@ -7524,7 +7352,7 @@ declare namespace drawing { * @returns { double } Return average mapped radius. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ mapRadius(radius: double): double; @@ -7539,7 +7367,7 @@ declare namespace drawing { * @returns { Array } nine scalar values contained by Matrix. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getAll(): Array; @@ -7547,8 +7375,7 @@ declare namespace drawing { * Obtains all element values of this matrix. * @returns { Array | undefined } nine scalar values contained by Matrix. * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ getAll(): Array | undefined; @@ -7578,8 +7405,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ mapRect(dst: common2D.Rect, src: common2D.Rect): boolean; /** @@ -7615,8 +7441,7 @@ declare namespace drawing { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ setRectToRect(src: common2D.Rect, dst: common2D.Rect, scaleToFit: ScaleToFit): boolean; /** @@ -7646,8 +7471,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ setPolyToPoly(src: Array, dst: Array, count: int): boolean; } @@ -7663,8 +7487,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum ScaleToFit { /** @@ -7676,8 +7499,7 @@ declare namespace drawing { * Scales the source rectangle to completely fill the destination rectangle, potentially changing the aspect ratio of the source rectangle. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FILL_SCALE_TO_FIT = 0, @@ -7690,8 +7512,7 @@ declare namespace drawing { * Scales the source rectangle, preserving its aspect ratio, to align it to the upper left corner of the destination rectangle. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ START_SCALE_TO_FIT = 1, @@ -7704,8 +7525,7 @@ declare namespace drawing { * Scales the source rectangle, preserving its aspect ratio, to align it to the center of the destination rectangle. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ CENTER_SCALE_TO_FIT = 2, @@ -7718,8 +7538,7 @@ declare namespace drawing { * Scales the source rectangle, preserving its aspect ratio, to align it to the lower right corner of the destination rectangle. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ END_SCALE_TO_FIT = 3 } @@ -7727,15 +7546,15 @@ declare namespace drawing { /** * Describes a region, which is used to describe the region where the shape can be drawn. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class Region { /** * Creates an empty region. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ constructor(); @@ -7744,7 +7563,7 @@ declare namespace drawing { * @param { Region } region - The region object to copy. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ constructor(region: Region); @@ -7756,7 +7575,7 @@ declare namespace drawing { * @param { int } bottom - Indicates the bottom edge of the rectangle. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ constructor(left: int, top: int, right: int, bottom: int); @@ -7766,7 +7585,7 @@ declare namespace drawing { * @returns { boolean } Returns compare result. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ isEqual(other: Region): boolean; @@ -7776,7 +7595,7 @@ declare namespace drawing { *
returns false otherwise. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ isComplex(): boolean; @@ -7785,7 +7604,7 @@ declare namespace drawing { * @returns { boolean } Returns true if the region is empty; returns false otherwise. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ isEmpty(): boolean; @@ -7794,7 +7613,7 @@ declare namespace drawing { * @returns { common2D.Rect } Returns Rect object. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getBounds(): common2D.Rect; @@ -7803,7 +7622,7 @@ declare namespace drawing { * @returns { Path } Returns Path object. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ getBoundaryPath(): Path; @@ -7830,7 +7649,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ isPointContained(x: int, y:int): boolean; @@ -7842,7 +7661,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ isRegionContained(other: Region): boolean; @@ -7865,8 +7684,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ op(region: Region, regionOp: RegionOp): boolean; @@ -7876,7 +7694,7 @@ declare namespace drawing { * @param { int } dy - Indicates the y coordinate of the point. The parameter must be an integer. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ offset(dx: int, dy: int): void; @@ -7915,7 +7733,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ quickReject(left: int, top: int, right: int, bottom: int): boolean; @@ -7926,7 +7744,7 @@ declare namespace drawing { *
returns false otherwise. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ quickRejectRegion(region: Region): boolean; @@ -7938,7 +7756,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 12 + * @since 12 dynamic */ setPath(path: Path, clip: Region): boolean; @@ -7973,7 +7791,7 @@ declare namespace drawing { *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setRect(left: int, top: int, right: int, bottom: int): boolean; @@ -7982,7 +7800,7 @@ declare namespace drawing { * @param { Region } region - Region object. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setRegion(region: Region): void; @@ -7990,7 +7808,7 @@ declare namespace drawing { * Sets the region to empty. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ setEmpty(): void; } @@ -8006,8 +7824,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum RegionOp { /** @@ -8019,8 +7836,7 @@ declare namespace drawing { * Difference operation. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DIFFERENCE = 0, @@ -8033,8 +7849,7 @@ declare namespace drawing { * Intersect operation. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ INTERSECT = 1, @@ -8047,8 +7862,7 @@ declare namespace drawing { * Union operation. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ UNION = 2, @@ -8061,8 +7875,7 @@ declare namespace drawing { * Xor operation. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ XOR = 3, @@ -8075,8 +7888,7 @@ declare namespace drawing { * Reverse difference operation. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ REVERSE_DIFFERENCE = 4, @@ -8089,8 +7901,7 @@ declare namespace drawing { * Replace operation. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ REPLACE = 5 } @@ -8108,8 +7919,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum CornerPos { /** @@ -8121,8 +7931,7 @@ declare namespace drawing { * Top left corner of the rounded rectangle. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ TOP_LEFT_POS = 0, @@ -8135,8 +7944,7 @@ declare namespace drawing { * Top right corner of the rounded rectangle. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ TOP_RIGHT_POS = 1, @@ -8149,8 +7957,7 @@ declare namespace drawing { * Bottom right corner of the rounded rectangle. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ BOTTOM_RIGHT_POS = 2, @@ -8163,8 +7970,7 @@ declare namespace drawing { * Bottom left corner of the rounded rectangle. * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ BOTTOM_LEFT_POS = 3 } @@ -8186,8 +7992,7 @@ declare namespace drawing { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum SrcRectConstraint { @@ -8202,8 +8007,7 @@ declare namespace drawing { * * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ STRICT = 0, @@ -8220,8 +8024,7 @@ declare namespace drawing { * * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FAST = 1 } @@ -8230,7 +8033,7 @@ declare namespace drawing { * A utility class that provides only static methods to convert data structs defined in other modules and common2D. * * @syscap SystemCapability.Graphics.Drawing - * @since 15 + * @since 15 dynamic */ class Tool { /** @@ -8243,7 +8046,7 @@ declare namespace drawing { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since 15 + * @since 15 dynamic */ static makeColorFromResourceColor(resourceColor: ResourceColor): common2D.Color; } @@ -8253,7 +8056,7 @@ declare namespace drawing { * * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ class RectUtils { /** @@ -8263,7 +8066,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static makeEmpty() : common2D.Rect; @@ -8277,7 +8080,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static makeLtrb(left: double, top: double, right: double, bottom: double) : common2D.Rect; @@ -8288,7 +8091,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static makeCopy(src: common2D.Rect) : common2D.Rect; @@ -8300,7 +8103,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static getWidth(rect: common2D.Rect): double; @@ -8312,7 +8115,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static getHeight(rect: common2D.Rect): double; @@ -8324,7 +8127,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static centerX(rect: common2D.Rect): double; @@ -8336,7 +8139,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static centerY(rect: common2D.Rect): double; @@ -8349,7 +8152,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static contains(rect: common2D.Rect, other: common2D.Rect): boolean; @@ -8365,7 +8168,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static contains(rect: common2D.Rect, left: double, top: double, right: double, bottom: double): boolean; @@ -8379,7 +8182,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static contains(rect: common2D.Rect, x: double, y: double): boolean; @@ -8394,7 +8197,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static inset(rect: common2D.Rect, left: double, top: double, right: double, bottom: double): void; @@ -8409,7 +8212,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static intersect(rect: common2D.Rect, other: common2D.Rect): boolean; @@ -8422,7 +8225,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static isIntersect(rect: common2D.Rect, other: common2D.Rect): boolean; @@ -8434,7 +8237,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static union(rect: common2D.Rect, other: common2D.Rect): void; @@ -8446,7 +8249,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static isEmpty(rect: common2D.Rect): boolean; @@ -8460,7 +8263,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static offset(rect: common2D.Rect, dx: double, dy: double): void; @@ -8473,7 +8276,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static offsetTo(rect: common2D.Rect, newLeft: double, newTop: double): void; @@ -8484,7 +8287,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static setRect(rect: common2D.Rect, other: common2D.Rect): void; @@ -8498,7 +8301,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static setLtrb(rect: common2D.Rect, left: double, top: double, right: double, bottom: double): void; @@ -8508,7 +8311,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static setEmpty(rect: common2D.Rect): void; @@ -8522,7 +8325,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static sort(rect: common2D.Rect): void; @@ -8535,7 +8338,7 @@ declare namespace drawing { * @static * @syscap SystemCapability.Graphics.Drawing * @crossplatform - * @since 20 + * @since 20 dynamic */ static isEqual(rect: common2D.Rect, other: common2D.Rect): boolean; } diff --git a/api/@ohos.graphics.hdrCapability.d.ts b/api/@ohos.graphics.hdrCapability.d.ts index 6b261e4f2b..69434d70ef 100644 --- a/api/@ohos.graphics.hdrCapability.d.ts +++ b/api/@ohos.graphics.hdrCapability.d.ts @@ -16,7 +16,6 @@ /** * @file * @kit ArkGraphics2D - * @arkts 1.1&1.2 */ import { AsyncCallback } from './@ohos.base'; @@ -34,7 +33,8 @@ import { AsyncCallback } from './@ohos.base'; * @namespace hdrCapability * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ declare namespace hdrCapability { /** @@ -50,7 +50,8 @@ declare namespace hdrCapability { * @enum { number } * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ enum HDRFormat { /** @@ -64,7 +65,8 @@ declare namespace hdrCapability { * * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ NONE = 0, /** @@ -78,7 +80,8 @@ declare namespace hdrCapability { * * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ VIDEO_HLG = 1, /** @@ -92,7 +95,8 @@ declare namespace hdrCapability { * * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ VIDEO_HDR10 = 2, /** @@ -106,7 +110,8 @@ declare namespace hdrCapability { * * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ VIDEO_HDR_VIVID = 3, /** @@ -120,7 +125,8 @@ declare namespace hdrCapability { * * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ IMAGE_HDR_VIVID_DUAL = 4, /** @@ -134,7 +140,8 @@ declare namespace hdrCapability { * * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ IMAGE_HDR_VIVID_SINGLE = 5, /** @@ -148,7 +155,8 @@ declare namespace hdrCapability { * * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ IMAGE_HDR_ISO_DUAL = 6, /** @@ -162,7 +170,8 @@ declare namespace hdrCapability { * * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static */ IMAGE_HDR_ISO_SINGLE = 7, } diff --git a/api/@ohos.graphics.scene.d.ts b/api/@ohos.graphics.scene.d.ts index 7f164ea157..6bb9912c44 100644 --- a/api/@ohos.graphics.scene.d.ts +++ b/api/@ohos.graphics.scene.d.ts @@ -21,36 +21,34 @@ /** * Export post processing settings * @syscap SystemCapability.ArkUi.Graphics3D - * @since 12 + * @since 12 dynamic */ export { ToneMappingType, ToneMappingSettings, PostProcessSettings, BloomSettings } from './graphics3d/ScenePostProcessSettings'; /** * Export post processing settings * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 + * @since 20 static */ export { ToneMappingType, ToneMappingSettings, PostProcessSettings } from './graphics3d/ScenePostProcessSettings'; /** * Export scene types * @syscap SystemCapability.ArkUi.Graphics3D - * @since 12 + * @since 12 dynamic */ export { Vec2, Vec3, Vec4, Color, Rect, Quaternion, Aabb, Position3, Rotation3, Scale3, GeometryType, GeometryDefinition, PrimitiveTopology, CustomGeometry, CubeGeometry, PlaneGeometry, SphereGeometry } from './graphics3d/SceneTypes'; /** * Export scene types * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 + * @since 20 static */ export { Vec2, Vec3, Vec4, Color, Rect, Quaternion, Position3, Scale3 } from './graphics3d/SceneTypes'; /** * Export scene resources * @syscap SystemCapability.ArkUi.Graphics3D - * @since 12 + * @since 12 dynamic */ export { SceneResourceType, SceneResource, Shader, MaterialType, Material, ShaderMaterial, SubMesh, Mesh, Animation, EnvironmentBackgroundType, Environment, Image, CullMode, Blend, @@ -59,38 +57,35 @@ export { SceneResourceType, SceneResource, Shader, MaterialType, Material, Shade /** * Export scene resources * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 + * @since 20 static */ export { SceneResource, Animation, EnvironmentBackgroundType, Environment } from './graphics3d/SceneResources'; /** * Export scene nodes * @syscap SystemCapability.ArkUi.Graphics3D - * @since 12 + * @since 12 dynamic */ export { LayerMask, NodeType, Container, Node, Geometry, LightType, Light, SpotLight, DirectionalLight, Camera } from './graphics3d/SceneNodes'; /** * Export scene nodes * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 + * @since 20 static */ export { NodeType, Node, LightType, Light, DirectionalLight, Camera } from './graphics3d/SceneNodes'; /** * Export scene * @syscap SystemCapability.ArkUi.Graphics3D - * @since 12 + * @since 12 dynamic */ export { SceneResourceParameters, SceneNodeParameters, SceneResourceFactory, Scene, RaycastResult, RaycastParameters, RenderParameters, RenderResourceFactory, SceneComponent, RenderContext } from './graphics3d/Scene'; /** * Export scene * @syscap SystemCapability.ArkUi.Graphics3D - * @since 20 - * @arkts 1.2 + * @since 20 static */ export { SceneResourceParameters, SceneNodeParameters, SceneResourceFactory, Scene, RenderParameters, RenderResourceFactory } from './graphics3d/Scene'; diff --git a/api/@ohos.graphics.sendableColorSpaceManager.d.ets b/api/@ohos.graphics.sendableColorSpaceManager.d.ets index e0db70e0ae..b02e6c4f44 100644 --- a/api/@ohos.graphics.sendableColorSpaceManager.d.ets +++ b/api/@ohos.graphics.sendableColorSpaceManager.d.ets @@ -28,7 +28,7 @@ import colorSpaceManager from '@ohos.graphics.colorSpaceManager'; * @namespace sendableColorSpaceManager * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since 12 + * @since 12 dynamiconly */ declare namespace sendableColorSpaceManager { /** @@ -37,7 +37,7 @@ declare namespace sendableColorSpaceManager { * @typedef { lang.ISendable } ISendable * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since 12 + * @since 12 dynamiconly */ type ISendable = lang.ISendable; /** @@ -45,7 +45,7 @@ declare namespace sendableColorSpaceManager { * @interface ColorSpaceManager * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since 12 + * @since 12 dynamiconly */ interface ColorSpaceManager extends ISendable { /** @@ -54,7 +54,7 @@ declare namespace sendableColorSpaceManager { * @throws { BusinessError } 18600001 - The parameter value is abnormal. * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since 12 + * @since 12 dynamiconly */ getColorSpaceName(): colorSpaceManager.ColorSpace; @@ -64,7 +64,7 @@ declare namespace sendableColorSpaceManager { * @throws { BusinessError } 18600001 - The parameter value is abnormal. * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since 12 + * @since 12 dynamiconly */ getWhitePoint(): collections.Array; @@ -74,7 +74,7 @@ declare namespace sendableColorSpaceManager { * @throws { BusinessError } 18600001 - The parameter value is abnormal. * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since 12 + * @since 12 dynamiconly */ getGamma(): number; } @@ -88,7 +88,7 @@ declare namespace sendableColorSpaceManager { * @throws { BusinessError } 18600001 - The parameter value is abnormal. * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since 12 + * @since 12 dynamiconly */ function create(colorSpaceName: colorSpaceManager.ColorSpace): ColorSpaceManager; @@ -102,7 +102,7 @@ declare namespace sendableColorSpaceManager { * @throws { BusinessError } 18600001 - The parameter value is abnormal. * @syscap SystemCapability.Graphic.Graphic2D.ColorManager.Core * @crossplatform - * @since 12 + * @since 12 dynamiconly */ function create(primaries: colorSpaceManager.ColorSpacePrimaries, gamma: number): ColorSpaceManager; } diff --git a/api/@ohos.graphics.text.d.ts b/api/@ohos.graphics.text.d.ts index 4ac15fc93a..56de0b4d54 100755 --- a/api/@ohos.graphics.text.d.ts +++ b/api/@ohos.graphics.text.d.ts @@ -19,7 +19,7 @@ */ import type drawing from './@ohos.graphics.drawing'; import type common2D from './@ohos.graphics.common2D'; -/*** if arkts 1.2 */ +/*** if arkts static */ import { Resource } from './global/resource'; /*** endif */ @@ -44,8 +44,8 @@ import { Resource } from './global/resource'; * * @namespace text * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace text { @@ -53,31 +53,31 @@ declare namespace text { * Refers to how to align the horizontal position of text when displaying text. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum TextAlign { /** * Use the left side of the text as a reference line for alignment. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LEFT = 0, /** * Use the right side of the text as a reference line for alignment. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RIGHT = 1, /** * Use the midpoint line the text as a reference line for alignment. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CENTER = 2, @@ -85,24 +85,24 @@ declare namespace text { * Justified, which means that each line (except the last line) is stretched so that every line has equal width, * and the left and right margins are straight. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ JUSTIFY = 3, /** * Align text from start, based on the TextDirection, such as left-to-right or right-to-left. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ START = 4, /** * Align text from end, based on the TextDirection, such as left-to-right or right-to-left, opposite to START. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ END = 5, } @@ -111,31 +111,31 @@ declare namespace text { * Enumerates the vertical alignment modes. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ enum TextVerticalAlign { /** * Baseline alignment in the vertical direction. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ BASELINE = 0, /** * Bottom alignment in the vertical direction. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ BOTTOM = 1, /** * Center alignment in the vertical direction. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ CENTER = 2, /** * Top alignment in the vertical direction. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ TOP = 3 } @@ -144,23 +144,23 @@ declare namespace text { * Enumerate text runs direction. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum TextDirection { /** * The text is oriented from right to left. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RTL, /** * The text is oriented from left to right. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LTR, } @@ -169,31 +169,31 @@ declare namespace text { * Enumerate text segmentation strategy. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum BreakStrategy { /** * Fills the current line as much as possible without adding hyphens. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GREEDY, /** * Optimizes layout and may add hyphens when necessary. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HIGH_QUALITY, /** * Ensures consistent line width in a paragraph, adding hyphens if needed. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BALANCED, } @@ -202,15 +202,15 @@ declare namespace text { * Enumerate word break strategy. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum WordBreak { /** * Default mode that break words based on language-specific conventions. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NORMAL, @@ -219,8 +219,8 @@ declare namespace text { * This value is suitable for Asian text that contains some non-Asian text. For example, * it can be used to break consecutive English characters. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BREAK_ALL, @@ -229,8 +229,8 @@ declare namespace text { * or other natural breakpoints to keep words intact. If no breakpoints are found, it breaks between * any two characters. For CJK text, this behaves like NORMAL. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BREAK_WORD, @@ -238,8 +238,8 @@ declare namespace text { * Attempts to break words at the end of a line using a hyphen. If a hyphen cannot be added, * it behaves like BREAK_WORD. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ BREAK_HYPHEN, } @@ -248,16 +248,16 @@ declare namespace text { * Describes a text decoration. * @typedef Decoration * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface Decoration { /** * Type of the decoration. The default value is NONE. * @type { ?TextDecorationType } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ textDecoration?: TextDecorationType; @@ -265,8 +265,8 @@ declare namespace text { * Color of the decoration. The default value is transparent. * @type { ?common2D.Color } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ color?: common2D.Color; @@ -274,8 +274,8 @@ declare namespace text { * Style of the decoration. The default value is SOLID. * @type { ?TextDecorationStyle } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ decorationStyle?: TextDecorationStyle; @@ -284,8 +284,8 @@ declare namespace text { * The default value is 1.0. * @type { ?double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ decorationThicknessScale?: double; } @@ -294,39 +294,39 @@ declare namespace text { * Enumerates the text decoration types. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum TextDecorationType { /** * There are no text decoration. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NONE, /** * There is a decoration line below the text. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UNDERLINE, /** * There is a decoration line above the text. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OVERLINE, /** * There is a decoration line through the middle of the text. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LINE_THROUGH, } @@ -335,47 +335,47 @@ declare namespace text { * Enumerates the text decoration styles. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum TextDecorationStyle { /** * Decoration line is solid line. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SOLID, /** * Decoration line is double line. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DOUBLE, /** * Decoration line is dotted line. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DOTTED, /** * Decoration line is dashed line. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DASHED, /** * Decoration line is wavy line. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WAVY, } @@ -384,79 +384,79 @@ declare namespace text { * Enumeration of font weight of text. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum FontWeight { /** * Thin * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ W100, /** * Extra-light * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ W200, /** * Light * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ W300, /** * Normal/Regular * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ W400, /** * Medium * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ W500, /** * Semi-bold * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ W600, /** * Bold * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ W700, /** * Extra-bold * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ W800, /** * Black * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ W900, } @@ -465,31 +465,31 @@ declare namespace text { * Enumeration of font style of text. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum FontStyle { /** * Upright font type. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NORMAL, /** * Slant font. If no italic version is available for the current font, the oblique version will be used instead. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ITALIC, /** * Oblique font. If no oblique version is available for the current font, the italic version will be used instead. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OBLIQUE, } @@ -498,79 +498,79 @@ declare namespace text { * Enumeration of font width of text. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum FontWidth { /** * Ultra condensed font width. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ULTRA_CONDENSED = 1, /** * Extra condensed font width. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EXTRA_CONDENSED = 2, /** * Condensed font width. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONDENSED = 3, /** * Semi condensed font width. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SEMI_CONDENSED = 4, /** * Normal font width. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NORMAL = 5, /** * Semi expanded font width. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SEMI_EXPANDED = 6, /** * Expanded font width. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EXPANDED = 7, /** * Extra expanded font width. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EXTRA_EXPANDED = 8, /** * Ultra expanded font width. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ULTRA_EXPANDED = 9, } @@ -579,39 +579,39 @@ declare namespace text { * Enumerates the text height modifier patterns. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum TextHeightBehavior { /** * Allows the first line of the paragraph to rise and the last line to drop. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ALL = 0x0, /** * Prevents the first line of a paragraph from rising. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DISABLE_FIRST_ASCENT = 0x1, /** * Prevents the last line of a paragraph from dropping. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DISABLE_LAST_ASCENT = 0x2, /** * Combines the effects of disabling the first line from rising and the last line from dropping. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DISABLE_ALL = 0x1 | 0x2, } @@ -620,16 +620,16 @@ declare namespace text { * Enumeration the type of text baseline. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum TextBaseline { /** * The alphabetic baseline, typically used for Latin-based scripts where the baseline aligns * with the base of lowercase letters. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ALPHABETIC, @@ -637,8 +637,8 @@ declare namespace text { * The ideographic baseline, commonly used for ideographic scripts such as Chinese, Japanese, and Korean, * where the baseline aligns with the center of characters. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ IDEOGRAPHIC, } @@ -648,31 +648,31 @@ declare namespace text { * EllipsisMode.START and EllipsisMode.MIDDLE take effect only when text overflows in a single line. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum EllipsisMode { /** * Places the ellipsis in the text header. It is valid only when maxLines is set to 1 in ParagraphStyle. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ START, /** * Places the ellipsis in the middle of the text. It is valid only when maxLines is set to 1 in ParagraphStyle. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MIDDLE, /** * Places the ellipsis at the end of the text. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ END, } @@ -681,16 +681,16 @@ declare namespace text { * Describes shadow of text. * @typedef TextShadow * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface TextShadow { /** * Color of the text shadow. The default value is black (255, 0, 0, 0). * @type { ?common2D.Color } The color of text shadow * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ color?: common2D.Color; /** @@ -698,8 +698,8 @@ declare namespace text { * The horizontal and vertical coordinates must be greater than or equal to 0. * @type { ?common2D.Point } The point of shadow * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ point?: common2D.Point; /** @@ -707,8 +707,8 @@ declare namespace text { * The value is a floating point number. The default value is 0.0px. * @type { ?double } The value about radius of blur, it type is "double" * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ blurRadius?: double; } @@ -717,16 +717,16 @@ declare namespace text { * Describes the style of a rectangle. * @typedef RectStyle * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface RectStyle { /** * Color of the rectangle. * @type { common2D.Color } The color of rect style * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ color: common2D.Color; @@ -734,8 +734,8 @@ declare namespace text { * Left top radius of the rectangle. * @type { double } it is double type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ leftTopRadius: double; @@ -743,8 +743,8 @@ declare namespace text { * Right top radius of the rectangle. * @type { double } it is double type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ rightTopRadius: double; @@ -752,8 +752,8 @@ declare namespace text { * Right bottom radius of the rectangle. * @type { double } it is double type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ rightBottomRadius: double; @@ -761,8 +761,8 @@ declare namespace text { * Left bottom radius of the rectangle. * @type { double } it is double type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ leftBottomRadius: double; } @@ -771,24 +771,24 @@ declare namespace text { * Describes font feature of text. * @typedef FontFeature * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface FontFeature { /** * String identified by the keyword in the font feature key-value pair. * @type { string } feature name * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ name: string; /** * Value in the font feature key-value pair. * @type { int } feature value * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ value: int; } @@ -797,24 +797,24 @@ declare namespace text { * Describes font variation of text. * @typedef FontVariation * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface FontVariation { /** * String identified by the keyword in the font variation key-value pair. * @type { string } variation axis * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ axis: string; /** * Value in the font variation key-value pair. * @type { double } variation value * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ value: double; } @@ -823,25 +823,25 @@ declare namespace text { * Describes badge type of text. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ enum TextBadgeType { /** * No badge. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ TEXT_BADGE_NONE, /** * Superscript. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ TEXT_SUPERSCRIPT, /** * Subscript. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ TEXT_SUBSCRIPT, } @@ -850,8 +850,8 @@ declare namespace text { * Describes text style. * @typedef TextStyle * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface TextStyle { @@ -859,8 +859,8 @@ declare namespace text { * Text decoration. By default, no decoration is used. * @type { ?Decoration } decoration for text * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ decoration?: Decoration; @@ -868,8 +868,8 @@ declare namespace text { * Text color. The default color is white. * @type { ?common2D.Color } it is uint32_t type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ color?: common2D.Color; @@ -879,8 +879,8 @@ declare namespace text { * If the weight is greater than or equal to semi-bold, it might result in a fake bold effect. * @type { ?FontWeight } it is uint32_t type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fontWeight?: FontWeight; @@ -888,8 +888,8 @@ declare namespace text { * Font style. The default value is NORMAL. * @type { ?FontStyle } it is uint32_t type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fontStyle?: FontStyle; @@ -897,8 +897,8 @@ declare namespace text { * Text baseline type. The default value is ALPHABETIC. * @type { ?TextBaseline } it is uint32_t type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ baseline?: TextBaseline; @@ -906,8 +906,8 @@ declare namespace text { * Array of font families. By default, the array is empty, indicating that all system fonts are matched. * @type { ?Array } fontfamily gather * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fontFamilies?: Array; @@ -915,8 +915,8 @@ declare namespace text { * Font size, in units of px. The value is a floating point number. The default value is 14.0. * @type { ?double } it is double type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fontSize?: double; @@ -926,8 +926,8 @@ declare namespace text { * and a negative value bring characters closer together. * @type { ?double } it is double type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ letterSpacing?: double; @@ -935,8 +935,8 @@ declare namespace text { * Word spacing, in units of px. The value is a floating point number. The default value is 0.0. * @type { ?double } it is double type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ wordSpacing?: double; @@ -945,8 +945,8 @@ declare namespace text { * The default value is 1.0. This parameter is valid only when heightOnly is set to true. * @type { ?double } it is double type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ heightScale?: double; @@ -956,8 +956,8 @@ declare namespace text { * The value true means that half leading is enabled, and false means the opposite. The default value is false. * @type { ?boolean } it is boolean type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ halfLeading?: boolean; @@ -967,8 +967,8 @@ declare namespace text { * and false means that the height is set based on the line height and line spacing. The default value is false. * @type { ?boolean } it is boolean type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ heightOnly?: boolean; @@ -976,8 +976,8 @@ declare namespace text { * Ellipsis content, which will be used to replace the extra content. * @type { ?string } it is u16string type data. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ellipsis?: string; @@ -985,8 +985,8 @@ declare namespace text { * Ellipsis type. The default value is END, indicating that the ellipsis is at the end of a line. * @type { ?EllipsisMode } Ellipsis mode. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ellipsisMode?: EllipsisMode; @@ -995,8 +995,8 @@ declare namespace text { * and 'zh-Hant' indicates Traditional Chinese. For details, see ISO 639-1. The default value is an empty string. * @type { ?string } it is string type data. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ locale?: string; @@ -1004,8 +1004,8 @@ declare namespace text { * Shift of the baseline. The value is a floating point number. The default value is 0.0px. * @type { ?double } it is double type data. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ baselineShift?: double; @@ -1013,8 +1013,8 @@ declare namespace text { * Text Style available font features. * @type { ?Array } A collection of font features. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fontFeatures?: Array; @@ -1022,8 +1022,8 @@ declare namespace text { * Text shadows of text. * @type { ?Array } textShadow gather. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ textShadows?: Array; @@ -1031,8 +1031,8 @@ declare namespace text { * Rectangle style of text. * @type { ?RectStyle } rect style for text. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ backgroundRect?: RectStyle; @@ -1040,8 +1040,8 @@ declare namespace text { * Text Style available font variations. * @type { ?Array } A collection of font variations. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fontVariations?: Array; @@ -1049,7 +1049,7 @@ declare namespace text { * Text style available badge type. * @type { ?TextBadgeType } The type of text badge type. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ badgeType?: TextBadgeType; } @@ -1057,16 +1057,16 @@ declare namespace text { /** * Implements a collection of fonts. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class FontCollection { /** * Get global FontCollection instance of the application. * @returns { FontCollection } The FontCollection object. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getGlobalInstance(): FontCollection; @@ -1078,8 +1078,8 @@ declare namespace text { * @param { string | Resource } path - Path of the font file to import. The value must be * **file://**absolute path of the font file or **rawfile/**directory or file name. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ loadFontSync(name: string, path: string | Resource): void; @@ -1094,8 +1094,8 @@ declare namespace text { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ loadFont(name: string, path: string | Resource): Promise; @@ -1110,7 +1110,7 @@ declare namespace text { * @param { string } name - The alias of the font to unload. * This must exactly match the name used when loading the font through. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ unloadFontSync(name: string): void; @@ -1126,7 +1126,7 @@ declare namespace text { * This must exactly match the name used when loading the font through. * @returns { Promise } Promise that returns no value. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ unloadFont(name: string): Promise; @@ -1135,8 +1135,8 @@ declare namespace text { * The font cache has a memory limit and a clearing mechanism. It occupies limited memory. * You are not advised to clear it unless otherwise required. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ clearCaches(): void; } @@ -1146,16 +1146,16 @@ declare namespace text { * and other properties related to the line height when drawing texts. The strut style is disabled by default. * @typedef StrutStyle * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface StrutStyle { /** * List of font families. By default, the list corresponds to the system's default fonts. * @type { ?Array } fontfamily gather * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fontFamilies?: Array; @@ -1163,8 +1163,8 @@ declare namespace text { * Font style. The default value is NORMAL. * @type { ?FontStyle } it is uint32_t type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fontStyle?: FontStyle; @@ -1172,8 +1172,8 @@ declare namespace text { * Font width. The default value is NORMAL. * @type { ?FontWidth } it is uint32_t type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fontWidth?: FontWidth; @@ -1183,8 +1183,8 @@ declare namespace text { * If the weight is greater than or equal to W600, it might result in a fake bold effect. * @type { ?FontWeight } it is uint32_t type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fontWeight?: FontWeight; @@ -1192,8 +1192,8 @@ declare namespace text { * Font size, in units of px. The value is a floating point number. The default value is 14.0. * @type { ?double } it is double type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fontSize?: double; @@ -1201,8 +1201,8 @@ declare namespace text { * Scale factor of the line height. The value is a floating point number. The default value is 1.0. * @type { ?double } it is double type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ height?: double; @@ -1210,8 +1210,8 @@ declare namespace text { * Custom leading to be applied to the strut. The value is a floating point number. The default value is -1.0. * @type { ?double } it is double type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ leading?: double; @@ -1220,8 +1220,8 @@ declare namespace text { * for all lines, and false means the opposite. The default value is false. * @type { ?boolean } it is boolean type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ forceHeight?: boolean; @@ -1230,8 +1230,8 @@ declare namespace text { * The value true means to enable the strut style, and false means the opposite. The default value is false. * @type { ?boolean } it is boolean type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enabled?: boolean; @@ -1240,8 +1240,8 @@ declare namespace text { * The default value is false. * @type { ?boolean } it is boolean type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ heightOverride?: boolean; @@ -1251,8 +1251,8 @@ declare namespace text { * The value true means that half leading is enabled, and false means the opposite. The default value is false. * @type { ?boolean } it is boolean type data * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ halfLeading?: boolean; } @@ -1261,16 +1261,16 @@ declare namespace text { * Determines the configuration used by ParagraphBuilder to position lines within a Paragraph of text. * @typedef ParagraphStyle * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ParagraphStyle { /** * Text style applied to the paragraph. The default value is the initial text style. * @type { ?TextStyle } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ textStyle?: TextStyle; @@ -1278,8 +1278,8 @@ declare namespace text { * Text direction. The default value is LTR. * @type { ?TextDirection } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ textDirection?: TextDirection; @@ -1287,8 +1287,8 @@ declare namespace text { * Text alignment mode. The default value is START. This parameter is invalid when the tab parameter is configured. * @type { ?TextAlign } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ align?: TextAlign; @@ -1296,8 +1296,8 @@ declare namespace text { * Word break type. The default value is BREAK_WORD. * @type { ?WordBreak } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ wordBreak?: WordBreak; @@ -1305,8 +1305,8 @@ declare namespace text { * Maximum number of lines. The value is an integer. The default value is 1e9. * @type { ?int } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ maxLines?: int; @@ -1314,8 +1314,8 @@ declare namespace text { * Text break strategy. The default value is GREEDY. * @type { ?BreakStrategy } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ breakStrategy?: BreakStrategy; @@ -1323,8 +1323,8 @@ declare namespace text { * Strut style. The default value is the initial StrutStyle object. * @type { ?StrutStyle } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ strutStyle?: StrutStyle; @@ -1332,8 +1332,8 @@ declare namespace text { * Text height modifier pattern. The default value is ALL. * @type { ?TextHeightBehavior } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ textHeightBehavior?: TextHeightBehavior; @@ -1343,8 +1343,8 @@ declare namespace text { * the ellipsis parameter in TextStyle. * @type { ?TextTab } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ tab?: TextTab; @@ -1352,7 +1352,7 @@ declare namespace text { * Whether to optimize white spaces at the end of each line. * @type { ?boolean } Boolean type data. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ trailingSpaceOptimized?: boolean; @@ -1360,7 +1360,7 @@ declare namespace text { * Whether to enable automatic spacing between Chinese and English for paragraph. * @type { ?boolean } * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ autoSpace?: boolean; @@ -1368,7 +1368,7 @@ declare namespace text { * Vertical alignment mode of the paragraph. * @type { ?TextVerticalAlign } * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ verticalAlign?: TextVerticalAlign; } @@ -1377,15 +1377,15 @@ declare namespace text { * Enumerates the vertical alignment modes of a placeholder relative to the surrounding text. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum PlaceholderAlignment { /** * Aligns the baseline of the placeholder to the baseline of the text. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OFFSET_AT_BASELINE, @@ -1393,8 +1393,8 @@ declare namespace text { * Aligns the bottom edge of the placeholder to the baseline of the text. * sits on top of the baseline. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ABOVE_BASELINE, @@ -1402,8 +1402,8 @@ declare namespace text { * Aligns the top edge of the placeholder to the baseline of the text. * hangs below the baseline. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BELOW_BASELINE, @@ -1411,8 +1411,8 @@ declare namespace text { * Align the top edge of the placeholder with the top edge of the font. When the placeholder is very tall, * the extra space will hang from the top and extend through the bottom of the line. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TOP_OF_ROW_BOX, @@ -1420,8 +1420,8 @@ declare namespace text { * Align the bottom edge of the placeholder with the bottom edge of the text. When the placeholder is very tall, * the extra space will rise from the bottom and extend through the top of the line. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BOTTOM_OF_ROW_BOX, @@ -1429,15 +1429,15 @@ declare namespace text { * Align the middle of the placeholder with the middle of the text. When the placeholder is very tall, * the extra space will grow equally from the top and bottom of the line. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CENTER_OF_ROW_BOX, /** * Follow Paragraph setting, * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ FOLLOW_PARAGRAPH, } @@ -1446,16 +1446,16 @@ declare namespace text { * Describes the placeholder style. * @typedef PlaceholderSpan * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface PlaceholderSpan { /** * Width of the placeholder, in units of px. The value is a floating point number. * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ width: double; @@ -1463,8 +1463,8 @@ declare namespace text { * Height of the placeholder, in units of px. The value is a floating point number. * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ height: double; @@ -1472,8 +1472,8 @@ declare namespace text { * Vertical alignment of the placeholder relative to the surrounding text. * @type { PlaceholderAlignment } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ align: PlaceholderAlignment; @@ -1481,8 +1481,8 @@ declare namespace text { * Type of the text baseline. * @type { TextBaseline } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ baseline: TextBaseline; @@ -1490,8 +1490,8 @@ declare namespace text { * Offset to the text baseline, in units of px. The value is a floating point number. * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ baselineOffset: double; } @@ -1500,16 +1500,16 @@ declare namespace text { * Describes a left-closed and right-open interval. * @typedef Range * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface Range { /** * Index of the leftmost point of the interval. The value is an integer. * @type { int } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ start: int; @@ -1517,8 +1517,8 @@ declare namespace text { * Index of the rightmost point of the interval. The value is an integer. * @type { int } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ end: int; } @@ -1527,47 +1527,47 @@ declare namespace text { * Enumerates the font types, which can be combined through bitwise OR operations. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum SystemFontType { /** * All font types, including the system font type, style font type, and user-installed font type. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ ALL = 1 << 0, /** * System generic font type. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ GENERIC = 1 << 1, /** * Style font type. The style font type is designed for 2-in-1 devices. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ STYLISH = 1 << 2, /** * Font type that has been installed. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ INSTALLED = 1 << 3, /** * Customized font types. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ CUSTOMIZED = 1 << 4, } @@ -1576,8 +1576,8 @@ declare namespace text { * Describes the font descriptor information. * @typedef FontDescriptor * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface FontDescriptor { /** @@ -1585,8 +1585,8 @@ declare namespace text { * The default value is an empty string. * @type { ?string } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ path?: string; @@ -1594,8 +1594,8 @@ declare namespace text { * Unique name of the font. Any string is acceptable. The default value is an empty string. * @type { ?string } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ postScriptName?: string; @@ -1603,8 +1603,8 @@ declare namespace text { * Font name. Any string is acceptable. The default value is an empty string. * @type { ?string } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ fullName?: string; @@ -1612,8 +1612,8 @@ declare namespace text { * Family name of the font. Any string is acceptable. The default value is an empty string. * @type { ?string } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ fontFamily?: string; @@ -1621,8 +1621,8 @@ declare namespace text { * Subfamily name of the font. Any string is acceptable. The default value is an empty string. * @type { ?string } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ fontSubfamily?: string; @@ -1630,8 +1630,8 @@ declare namespace text { * Font weight. The default value is 0. * @type { ?FontWeight } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ weight?: FontWeight; @@ -1639,8 +1639,8 @@ declare namespace text { * Font width. The value is an integer ranging from 1 to 9. The default value is 0. * @type { ?int } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ width?: int; @@ -1649,8 +1649,8 @@ declare namespace text { * The default value is 0. * @type { ?int } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ italic?: int; @@ -1659,8 +1659,8 @@ declare namespace text { * The default value is false. * @type { ?boolean } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ monoSpace?: boolean; @@ -1668,8 +1668,8 @@ declare namespace text { * Whether the font is symbolic. The value true means that the font is symbolic, and false means the opposite. * @type { ?boolean } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ symbolic?: boolean; } @@ -1679,16 +1679,16 @@ declare namespace text { * Before calling any of the following APIs, you must use build() of the ParagraphBuilder class to * create a Paragraph object. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class Paragraph { /** * Performs layout and calculates the positions of all glyphs. * @param { double } width - Maximum width of a single line, in units of px. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ layoutSync(width: double): void; @@ -1699,8 +1699,8 @@ declare namespace text { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ layout(width: double): Promise; @@ -1710,8 +1710,8 @@ declare namespace text { * @param { double } x - X coordinate of the upper left corner. The value is a floating point number. * @param { double } y - Y coordinate of the upper left corner. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ paint(canvas: drawing.Canvas, x: double, y: double): void; @@ -1725,8 +1725,8 @@ declare namespace text { * @param { double } vOffset - Vertical offset along the path direction. A positive number indicates a position * on the left side of the path, and a negative number indicates a position on the right side of the path. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ paintOnPath(canvas: drawing.Canvas, path: drawing.Path, hOffset: double, vOffset: double): void; @@ -1734,8 +1734,8 @@ declare namespace text { * Obtains the maximum width of the line in the text. * @returns { double } Maximum line width, in units of px. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getMaxWidth(): double; @@ -1743,8 +1743,8 @@ declare namespace text { * Obtains the total height of the text. * @returns { double } Total height, in units of px. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getHeight(): double; @@ -1752,8 +1752,8 @@ declare namespace text { * Obtains the longest line in the text. * @returns { double } Longest line, in units of px. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getLongestLine(): double; @@ -1763,8 +1763,8 @@ declare namespace text { * @returns { double } Width of the longest line, including its indentation. * The value is a floating point number, in px. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getLongestLineWithIndent(): double; @@ -1772,8 +1772,8 @@ declare namespace text { * Obtains the minimum intrinsic width of the paragraph. * @returns { double } Minimum intrinsic width, in units of px. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getMinIntrinsicWidth(): double; @@ -1781,8 +1781,8 @@ declare namespace text { * Obtains the maximum intrinsic width of the paragraph. * @returns { double } Maximum intrinsic width, in units of px. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getMaxIntrinsicWidth(): double; @@ -1790,8 +1790,8 @@ declare namespace text { * Obtains the alphabetic baseline. * @returns { double } Alphabetic baseline, in units of px. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAlphabeticBaseline(): double; @@ -1799,8 +1799,8 @@ declare namespace text { * Obtains the ideographic baseline. * @returns { double } Ideographic baseline, in units of px. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getIdeographicBaseline(): double; @@ -1812,8 +1812,8 @@ declare namespace text { * @param { RectHeightStyle } heightStyle - Height of the rectangle. * @returns { Array } Array holding the rectangles obtained. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getRectsForRange(range: Range, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array; @@ -1821,8 +1821,8 @@ declare namespace text { * Obtains the rectangles occupied by all placeholders in the text. * @returns { Array } Array holding the rectangles obtained. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getRectsForPlaceholders(): Array; @@ -1832,8 +1832,8 @@ declare namespace text { * @param { double } y - Y coordinate. The value is a floating point number. * @returns { PositionWithAffinity } Position of the glyph. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getGlyphPositionAtCoordinate(x: double, y: double): PositionWithAffinity; @@ -1842,8 +1842,8 @@ declare namespace text { * @param { int } offset - Offset of the glyph. The value is an integer. * @returns { Range } Range of the word. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getWordBoundary(offset: int): Range; @@ -1851,8 +1851,8 @@ declare namespace text { * Obtains the number of text lines. * @returns { int } Number of text lines. The value is an integer. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getLineCount(): int; @@ -1861,8 +1861,8 @@ declare namespace text { * @param { int } line - Index of the line. The value is an integer ranging from 0 to getLineCount() – 1. * @returns { double } The line height value returned to the caller. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getLineHeight(line: int): double; @@ -1871,8 +1871,8 @@ declare namespace text { * @param { int } line - Index of the line. The value is an integer ranging from 0 to getLineCount() – 1. * @returns { double } The line width value returned to the caller. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getLineWidth(line: int): double; @@ -1881,8 +1881,8 @@ declare namespace text { * @returns { boolean } Check result. The value true means that the number of lines exceeds the maximum, * and false means the opposite. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ didExceedMaxLines(): boolean; @@ -1890,8 +1890,8 @@ declare namespace text { * Obtains all the text lines. * @returns { Array } Array of text lines. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getTextLines(): Array; @@ -1904,8 +1904,8 @@ declare namespace text { * and false means the opposite. * @returns { Range } Text range obtained. If the line index is invalid, start and end are both 0. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getActualTextRange(lineNumber: int, includeSpaces: boolean): Range; @@ -1913,8 +1913,8 @@ declare namespace text { * Obtains an array of line measurement information. * @returns { Array } Array of line measurement information. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getLineMetrics(): Array; @@ -1925,8 +1925,8 @@ declare namespace text { * line number is valid and the measurement information exists. If the line number is invalid or * the measurement information cannot be obtained, undefined is returned. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getLineMetrics(lineNumber: int): LineMetrics | undefined; @@ -1934,7 +1934,7 @@ declare namespace text { * Synchronously updates the text color of the typography. * @param { common2D.Color } color - Color of text. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ updateColor(color: common2D.Color): void; @@ -1942,7 +1942,7 @@ declare namespace text { * Synchronously updates text decoration. * @param { Decoration } decoration - Decoration of text. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ updateDecoration(decoration: Decoration): void; } @@ -1952,8 +1952,8 @@ declare namespace text { * individual lines of text. Before calling any of the following APIs, you must use buildLineTypeset() * in the ParagraphBuilder class to create a LineTypeset object. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ class LineTypeset { /** @@ -1965,8 +1965,8 @@ declare namespace text { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getLineBreak(startIndex: int, width: double): int; @@ -1982,8 +1982,8 @@ declare namespace text { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ createLine(startIndex: int, count: int): TextLine; } @@ -1992,16 +1992,16 @@ declare namespace text { * Describes the rectangle that holds the text. * @typedef TextBox * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface TextBox{ /** * Information about the rectangle. * @type { common2D.Rect } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ rect: common2D.Rect; @@ -2009,8 +2009,8 @@ declare namespace text { * Text direction. * @type { TextDirection } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ direction: TextDirection; } @@ -2019,16 +2019,16 @@ declare namespace text { * Describes the position and affinity of a glyph. * @typedef PositionWithAffinity * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface PositionWithAffinity { /** * Index of the glyph relative to the paragraph. The value is an integer. * @type { int } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ position: int; @@ -2036,8 +2036,8 @@ declare namespace text { * Affinity of the position. * @type { Affinity } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ affinity: Affinity; } @@ -2046,24 +2046,24 @@ declare namespace text { * Enumerates the rectangle width styles. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum RectWidthStyle { /** * If letterSpacing is not set, the rectangle conforms tightly to the text it contains. * However, if letterSpacing is set, a gap is introduced between the rectangle and text. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TIGHT, /** * The rectangle's width is extended to align with the widest rectangle across all lines. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MAX, } @@ -2072,55 +2072,55 @@ declare namespace text { * Enumerates the rectangle height styles. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum RectHeightStyle { /** * Tight style. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TIGHT, /** * Extends the height to match the highest rectangle in all lines. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MAX, /** * The top and bottom of each rect will cover half of the space above and half of the space below the line. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INCLUDE_LINE_SPACE_MIDDLE, /** * The line spacing will be added to the top of the rect. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INCLUDE_LINE_SPACE_TOP, /** * The line spacing will be added to the bottom of the rect. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INCLUDE_LINE_SPACE_BOTTOM, /** * The height of the boxes will be calculated by text strut. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STRUT, } @@ -2131,23 +2131,23 @@ declare namespace text { * closer to. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum Affinity { /** * The position has affinity for the upstream side of the text position. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UPSTREAM, /** * The position has affinity for the downstream side of the text position. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DOWNSTREAM, } @@ -2155,8 +2155,8 @@ declare namespace text { /** * Builds a Paragraph containing text with the given styling information. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class ParagraphBuilder { /** @@ -2164,8 +2164,8 @@ declare namespace text { * @param { ParagraphStyle } paragraphStyle - Paragraph style {@link ParagraphStyle} * @param { FontCollection } fontCollection - Font collection {@link FontCollection} * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(paragraphStyle: ParagraphStyle, fontCollection: FontCollection); @@ -2177,16 +2177,16 @@ declare namespace text { * font size, color, font weight, word spacing, line spacing, decoration (such as underline and strikethrough), * and text shadow. {@link TextStyle} * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pushStyle(textStyle: TextStyle): void; /** * Restores the previous text style. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ popStyle(): void; @@ -2195,8 +2195,8 @@ declare namespace text { * @param { string } text - Exact text string inserted into the paragraph. If an invalid Unicode character is * provided, it is displayed as �. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ addText(text: string): void; @@ -2205,8 +2205,8 @@ declare namespace text { * @param { PlaceholderSpan } placeholderSpan - Placeholder span, which describes the size, alignment, * baseline type, and baseline offset of the placeholder. {@link PlaceholderSpan} * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ addPlaceholder(placeholderSpan: PlaceholderSpan): void; @@ -2214,8 +2214,8 @@ declare namespace text { * Creates a paragraph object that can be used for subsequent layout and rendering. * @returns { Paragraph } Paragraph object that can be used for subsequent rendering. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ build(): Paragraph; @@ -2223,8 +2223,8 @@ declare namespace text { * Builds a line typesetter. * @returns { LineTypeset } LineTypeset object that can be used for subsequent rendering. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ buildLineTypeset(): LineTypeset; @@ -2234,8 +2234,8 @@ declare namespace text { * range 0xF0000-0xF0C97. For details about the configurable symbol codes (unicode values in the list view), * see HarmonyOS Symbol. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ addSymbol(symbolId: int): void; } @@ -2247,16 +2247,16 @@ declare namespace text { * the strings "j" and "E" have identical typographic boundaries, which are independent of the characters themselves. * @typedef TypographicBounds * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface TypographicBounds { /** * Ascent of a text line. The value is a floating point number. * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ ascent: double; @@ -2264,8 +2264,8 @@ declare namespace text { * Descent of a text line. The value is a floating point number. * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ descent: double; @@ -2273,8 +2273,8 @@ declare namespace text { * Leading of a text line. The value is a floating point number. * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ leading: double; @@ -2282,8 +2282,8 @@ declare namespace text { * Width of the typographic boundaries. The value is a floating point number. * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ width: double; } @@ -2303,8 +2303,8 @@ declare namespace text { * @returns { boolean } Whether to stop calling the callback. The value true means to stop calling the callback, * and false means to continue calling the callback. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ type CaretOffsetsCallback = (offset: int, index: int, leadingEdge: boolean) => boolean; @@ -2313,16 +2313,16 @@ declare namespace text { * Before calling any of the following APIs, you must use getTextLines() of the Paragraph class or createLine() of * the LineTypeset class to create a TextLine object. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class TextLine { /** * Obtains the number of glyphs in this text line. * @returns { int } Number of glyphs. The value is an integer. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getGlyphCount(): int; @@ -2330,8 +2330,8 @@ declare namespace text { * Obtains the range of the text in this text line in the entire paragraph. * @returns { Range } Range of the text in this text line in the entire paragraph. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getTextRange(): Range; @@ -2339,8 +2339,8 @@ declare namespace text { * Obtains the array of glyph runs in the text line. * @returns { Array } Array of the runs obtained. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getGlyphRuns(): Array; @@ -2350,8 +2350,8 @@ declare namespace text { * @param { double } x - X coordinate of the upper left corner. The value is a floating point number. * @param { double } y - Y coordinate of the upper left corner. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ paint(canvas: drawing.Canvas, x: double, y: double): void; @@ -2362,8 +2362,7 @@ declare namespace text { * @param { string } ellipsis - String used to mark a truncation. * @returns { TextLine } Truncated text line object. * @syscap SystemCapability.Graphics.Drawing - * @since 18 - * @arkts 1.1 + * @since 18 dynamic */ createTruncatedLine(width: double, ellipsisMode: EllipsisMode, ellipsis: string): TextLine; @@ -2374,8 +2373,7 @@ declare namespace text { * @param { string } ellipsis - String used to mark a truncation. * @returns { TextLine | undefined } Truncated text line object. * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ createTruncatedLine(width: double, ellipsisMode: EllipsisMode, ellipsis: string): TextLine | undefined; @@ -2387,8 +2385,8 @@ declare namespace text { * the characters themselves. * @returns { TypographicBounds } Typographic boundaries of the text line. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getTypographicBounds(): TypographicBounds; @@ -2401,8 +2399,8 @@ declare namespace text { * the boundary for "j" is taller than that for "E". * @returns { common2D.Rect } Image boundary of the text line. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getImageBounds(): common2D.Rect; @@ -2410,8 +2408,8 @@ declare namespace text { * Obtains the width of the spaces at the end of this text line. * @returns { double } Number of spaces at the end of the text line. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getTrailingSpaceWidth(): double; @@ -2420,8 +2418,8 @@ declare namespace text { * @param { common2D.Point } point - Position of the character. * @returns { int } Index of the character in the text line. The value is an integer. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getStringIndexForPosition(point: common2D.Point): int; @@ -2430,8 +2428,8 @@ declare namespace text { * @param { int } index - Index of the character. The value is an integer. * @returns { double } Offset of the character with the specified index. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getOffsetForStringIndex(index: int): double; @@ -2440,8 +2438,8 @@ declare namespace text { * @param { CaretOffsetsCallback } callback - Custom function, which contains the offset and index of each * character in the text line. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enumerateCaretOffsets(callback: CaretOffsetsCallback): void; @@ -2456,8 +2454,8 @@ declare namespace text { * point number. If the width is less than the actual width of the text line, 0 is returned. * @returns { double } Offset required for alignment. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getAlignmentOffset(alignmentFactor: double, alignmentWidth: double): double; } @@ -2466,16 +2464,16 @@ declare namespace text { * Implements a unit for text layout. * Before calling any of the following APIs, you must use getGlyphRuns() of the TextLine class to create a Run object. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class Run { /** * Obtains the number of glyphs in this run. * @returns { int } Number of glyphs. The value is an integer. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getGlyphCount(): int; @@ -2483,8 +2481,8 @@ declare namespace text { * Obtains the index of each glyph in this run. * @returns { Array } Array holding the index of each glyph in the run. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getGlyphs(): Array; @@ -2496,8 +2494,7 @@ declare namespace text { * returned. * @returns { Array } Array holding the index of each glyph in the run. * @syscap SystemCapability.Graphics.Drawing - * @since 18 - * @arkts 1.1 + * @since 18 dynamic */ getGlyphs(range: Range): Array; @@ -2509,8 +2506,7 @@ declare namespace text { * returned. * @returns { Array | undefined } Array holding the index of each glyph in the run. * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ getGlyphs(range: Range): Array | undefined; @@ -2519,8 +2515,8 @@ declare namespace text { * @returns { Array } Array holding the position of each glyph relative to the respective line in * the run. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getPositions(): Array; @@ -2532,8 +2528,7 @@ declare namespace text { * @returns { Array } Array holding the position of each glyph relative to the respective line in * the run. * @syscap SystemCapability.Graphics.Drawing - * @since 18 - * @arkts 1.1 + * @since 18 dynamic */ getPositions(range: Range): Array; @@ -2545,8 +2540,7 @@ declare namespace text { * @returns { Array | undefined } Array holding the position of each glyph relative to the respective line in * the run. * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ getPositions(range: Range): Array | undefined; @@ -2554,8 +2548,8 @@ declare namespace text { * Obtains the offset of each glyph in this run relative to its index. * @returns { Array } Array holding the offset of each glyph in the run relative to its index. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getOffsets(): Array; @@ -2563,8 +2557,8 @@ declare namespace text { * Obtains the Font object of this run. * @returns { drawing.Font } Font object of this run. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getFont(): drawing.Font; @@ -2574,8 +2568,8 @@ declare namespace text { * @param { double } x - X coordinate of the upper left corner. The value is a floating point number. * @param { double } y - Y coordinate of the upper left corner. The value is a floating point number. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ paint(canvas: drawing.Canvas, x: double, y: double): void; @@ -2588,8 +2582,7 @@ declare namespace text { * If this parameter is not passed, the entire run is obtained. * @returns { Array } Array of character indices. * @syscap SystemCapability.Graphics.Drawing - * @since 18 - * @arkts 1.1 + * @since 18 dynamic */ getStringIndices(range?: Range): Array; @@ -2602,8 +2595,7 @@ declare namespace text { * If this parameter is not passed, the entire run is obtained. * @returns { Array | undefined } Array of character indices. * @syscap SystemCapability.Graphics.Drawing - * @since 20 - * @arkts 1.2 + * @since 20 static */ getStringIndices(range?: Range): Array | undefined; @@ -2612,8 +2604,8 @@ declare namespace text { * @returns { Range } Range of the glyphs, where start indicates the start position of the range, which is the * index relative to the entire paragraph, and end indicates the length of the range. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getStringRange(): Range; @@ -2623,8 +2615,8 @@ declare namespace text { * a space after "b"), the typographic boundaries include the spaces at the beginning and end of the line. * @returns { TypographicBounds } Typographic boundaries of the run. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getTypographicBounds(): TypographicBounds; @@ -2635,8 +2627,8 @@ declare namespace text { * spaces at the beginning and end. * @returns { common2D.Rect } Image boundary of the run. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getImageBounds(): common2D.Rect; @@ -2644,7 +2636,7 @@ declare namespace text { * Obtains the text direction of the run. * @returns { TextDirection } Returns the text direction. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ getTextDirection(): TextDirection; @@ -2655,7 +2647,7 @@ declare namespace text { * the run. * @returns { Array } Array holding the advance width and height of each glyph. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ getAdvances(range: Range): Array; } @@ -2664,16 +2656,16 @@ declare namespace text { * Describes the layout information and metrics for a continuous piece of text (a run) in a line of text. * @typedef RunMetrics * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface RunMetrics { /** * The metrics of an Font. * @type { TextStyle } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ textStyle: TextStyle; @@ -2681,8 +2673,8 @@ declare namespace text { * Describes text style. * @type { drawing.FontMetrics } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fontMetrics: drawing.FontMetrics; } @@ -2691,16 +2683,16 @@ declare namespace text { * Describes the measurement information of a single line of text in the text layout. * @typedef LineMetrics * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface LineMetrics { /** * Start index of the line in the text buffer. * @type { int } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ startIndex: int; @@ -2708,8 +2700,8 @@ declare namespace text { * End index of the line in the text buffer. * @type { int } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ endIndex: int; @@ -2717,8 +2709,8 @@ declare namespace text { * Ascent, that is, the distance from the baseline to the top of the character. * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ascent: double; @@ -2726,8 +2718,8 @@ declare namespace text { * Descent, that is, the distance from the baseline to the bottom of the character. * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ descent: double; @@ -2735,8 +2727,8 @@ declare namespace text { * Height of the line, which is Math.round(ascent + descent). * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ height: double; @@ -2744,8 +2736,8 @@ declare namespace text { * Width of the line. * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ width: double; @@ -2753,8 +2745,8 @@ declare namespace text { * Left edge of the line. The right edge is the value of left plus the value of width. * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ left: double; @@ -2762,8 +2754,8 @@ declare namespace text { * Y coordinate of the baseline in the line relative to the top of the paragraph. * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ baseline: double; @@ -2771,8 +2763,8 @@ declare namespace text { * Line number, starting from 0. * @type { int } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ lineNumber: int; @@ -2780,8 +2772,8 @@ declare namespace text { * Height from the top to the current line. * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ topHeight: double; @@ -2791,8 +2783,8 @@ declare namespace text { * are before layout and are the base values we calculate from. * @type { Map } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ runMetrics: Map; } @@ -2804,8 +2796,8 @@ declare namespace text { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getSystemFontFullNamesByType(fontType: SystemFontType): Promise>; @@ -2820,8 +2812,8 @@ declare namespace text { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getFontDescriptorByFullName(fullName: string, fontType: SystemFontType): Promise; @@ -2836,8 +2828,8 @@ declare namespace text { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function matchFontDescriptors(desc: FontDescriptor): Promise>; @@ -2845,8 +2837,8 @@ declare namespace text { * Implements a paragraph-style text tab, which stores the alignment mode and position. * @typedef TextTab * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface TextTab { /** @@ -2855,8 +2847,8 @@ declare namespace text { * alignment. * @type { TextAlign } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ alignment: TextAlign; @@ -2865,8 +2857,8 @@ declare namespace text { * The minimum value is 1.0. When the value is less than 1.0, the tab character is replaced with a space. * @type { double } * @syscap SystemCapability.Graphics.Drawing - * @since arkts{ '1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ location: double; } @@ -2875,25 +2867,25 @@ declare namespace text { * Defines text rendering high contrast mode to enhance readability. * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ enum TextHighContrast { /** * Follow system's high contrast settings for text rendering. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ TEXT_FOLLOW_SYSTEM_HIGH_CONTRAST, /** * Disables high contrast rendering regardless of system settings. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ TEXT_APP_DISABLE_HIGH_CONTRAST, /** * Enable high contrast rendering regardless of system settings. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ TEXT_APP_ENABLE_HIGH_CONTRAST, } @@ -2902,7 +2894,7 @@ declare namespace text { * Sets high contrast mode of text rendering. * @param { TextHighContrast } action - High contrast mode. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ function setTextHighContrast(action: TextHighContrast): void; @@ -2911,14 +2903,14 @@ declare namespace text { * * @enum { number } * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ enum TextUndefinedGlyphDisplay { /** * Use the font's built-in .notdef glyph. This respects font's internal .notdef glyph design, * which might be an empty box, blank space, or custom symbol. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ USE_DEFAULT, /** @@ -2926,7 +2918,7 @@ declare namespace text { * overriding the font's default behavior. Useful for debugging missing characters * or enforcing consistent missing symbol display. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ USE_TOFU, } @@ -2939,7 +2931,7 @@ declare namespace text { * - Tofu blocks explicitly show missing characters as visible squares * @param { TextUndefinedGlyphDisplay } noGlyphShow - The strategy for handling undefined glyphs. * @syscap SystemCapability.Graphics.Drawing - * @since 20 + * @since 20 dynamic */ function setTextUndefinedGlyphDisplay(noGlyphShow: TextUndefinedGlyphDisplay): void; } diff --git a/api/@ohos.graphics.uiEffect.d.ts b/api/@ohos.graphics.uiEffect.d.ts index e1761d612b..2d52eb8959 100644 --- a/api/@ohos.graphics.uiEffect.d.ts +++ b/api/@ohos.graphics.uiEffect.d.ts @@ -24,16 +24,16 @@ import { AsyncCallback } from './@ohos.base'; /** * @namespace uiEffect * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace uiEffect { /** * The Filter for Component. * @typedef Filter * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface Filter { /** @@ -44,8 +44,8 @@ declare namespace uiEffect { * @returns { Filter } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pixelStretch(stretchSizes: Array, tileMode: TileMode): Filter; @@ -55,8 +55,8 @@ declare namespace uiEffect { * @param { double } blurRadius * @returns { Filter } * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ blur(blurRadius: double): Filter; @@ -73,8 +73,8 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ waterRipple(progress: double, waveCount: int, x: double, y: double, rippleMode: WaterRippleMode): Filter; @@ -88,8 +88,8 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ flyInFlyOutEffect(degree: double, flyMode: FlyMode): Filter; @@ -104,8 +104,8 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ distort(distortionK: double): Filter; @@ -119,7 +119,7 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 19 + * @since 19 dynamic */ radiusGradientBlur(radius: double, gradientParam: LinearGradientBlurOptions): Filter; @@ -131,7 +131,7 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ bezierWarp(controlPoints: Array): Filter; @@ -146,7 +146,7 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ contentLight(lightPosition: common2D.Point3d, lightColor: common2D.Color, lightIntensity: double, displacementMap?: Mask): Filter; @@ -162,7 +162,7 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ colorGradient(colors: Array, positions: Array, strengths: Array, alphaMask?: Mask): Filter; @@ -178,7 +178,7 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ edgeLight(alpha: double, color?: Color, mask?: Mask, bloom?: boolean): Filter; @@ -191,7 +191,7 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ displacementDistort(displacementMap: Mask, factor?: [double, double]): Filter; @@ -207,7 +207,7 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ maskDispersion(dispersionMap: Mask, alpha: double, rFactor?: [double, double], gFactor?: [double, double], bFactor?: [double, double]): Filter; @@ -219,7 +219,7 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ hdrBrightnessRatio(ratio: double): Filter; @@ -234,7 +234,7 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ variableRadiusBlur(radius: double, radiusMap: Mask): Filter; @@ -250,7 +250,7 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ directionLight(direction: common2D.Point3d, color: Color, intensity: double, mask?: Mask, factor?: double): Filter; @@ -264,7 +264,7 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ maskTransition(alphaMask: Mask, factor?: double, inverse?: boolean): Filter; } @@ -275,8 +275,8 @@ declare namespace uiEffect { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum TileMode { /** @@ -284,8 +284,8 @@ declare namespace uiEffect { * * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CLAMP = 0, @@ -294,8 +294,8 @@ declare namespace uiEffect { * * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REPEAT = 1, @@ -304,8 +304,8 @@ declare namespace uiEffect { * * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MIRROR = 2, @@ -314,8 +314,8 @@ declare namespace uiEffect { * * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DECAL = 3, } @@ -326,8 +326,8 @@ declare namespace uiEffect { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum WaterRippleMode { /** @@ -335,8 +335,8 @@ declare namespace uiEffect { * * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SMALL2MEDIUM_RECV = 0, @@ -345,8 +345,8 @@ declare namespace uiEffect { * * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SMALL2MEDIUM_SEND = 1, @@ -355,8 +355,8 @@ declare namespace uiEffect { * * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SMALL2SMALL = 2, @@ -365,8 +365,8 @@ declare namespace uiEffect { * * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'17', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ MINI_RECV = 3, } @@ -377,8 +377,8 @@ declare namespace uiEffect { * @enum { int } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum FlyMode { /** @@ -386,8 +386,8 @@ declare namespace uiEffect { * * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BOTTOM = 0, @@ -396,8 +396,8 @@ declare namespace uiEffect { * * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TOP = 1, } @@ -406,8 +406,8 @@ declare namespace uiEffect { * The VisualEffect of Component. * @typedef VisualEffect * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface VisualEffect { /** @@ -416,8 +416,8 @@ declare namespace uiEffect { * @returns { VisualEffect } VisualEffects for the current effect have been added. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ backgroundColorBlender(blender: BrightnessBlender): VisualEffect; @@ -432,7 +432,7 @@ declare namespace uiEffect { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ borderLight(lightPosition: common2D.Point3d, lightColor: common2D.Color, lightIntensity: double, borderWidth: double): VisualEffect; @@ -443,8 +443,8 @@ declare namespace uiEffect { * @typedef { BrightnessBlender } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ type Blender = BrightnessBlender; @@ -453,8 +453,8 @@ declare namespace uiEffect { * @typedef BrightnessBlender * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface BrightnessBlender { /** @@ -463,8 +463,8 @@ declare namespace uiEffect { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ cubicRate: double; @@ -474,8 +474,8 @@ declare namespace uiEffect { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ quadraticRate: double; @@ -485,8 +485,8 @@ declare namespace uiEffect { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ linearRate: double; @@ -496,8 +496,8 @@ declare namespace uiEffect { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ degree: double; @@ -507,8 +507,8 @@ declare namespace uiEffect { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ saturation: double; @@ -518,8 +518,8 @@ declare namespace uiEffect { * @type { [double, double, double] } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ positiveCoefficient: [double, double, double]; @@ -529,8 +529,8 @@ declare namespace uiEffect { * @type { [double, double, double] } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ negativeCoefficient: [double, double, double]; @@ -540,8 +540,8 @@ declare namespace uiEffect { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fraction: double; } @@ -551,7 +551,7 @@ declare namespace uiEffect { * @typedef Color * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ interface Color { /** @@ -559,7 +559,7 @@ declare namespace uiEffect { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ red: double; /** @@ -567,7 +567,7 @@ declare namespace uiEffect { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ green: double; /** @@ -575,7 +575,7 @@ declare namespace uiEffect { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ blue: double; /** @@ -583,7 +583,7 @@ declare namespace uiEffect { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ alpha: double; } @@ -593,7 +593,7 @@ declare namespace uiEffect { * @typedef { Mask } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ class Mask { /** @@ -607,7 +607,7 @@ declare namespace uiEffect { * @static * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ static createRippleMask(center: common2D.Point, radius: double, width: double, offset?: double): Mask; @@ -622,7 +622,7 @@ declare namespace uiEffect { * @static * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ static createPixelMapMask(pixelMap: image.PixelMap, srcRect: common2D.Rect, dstRect: common2D.Rect, fillColor?: Color): Mask; @@ -638,7 +638,7 @@ declare namespace uiEffect { * @static * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ static createRadialGradientMask(center: common2D.Point, radiusX: double, radiusY: double, gradients: Array<[double, double]>): Mask; @@ -655,7 +655,7 @@ declare namespace uiEffect { * @static * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since 20 + * @since 20 dynamic */ static createWaveGradientMask(center: common2D.Point, width: double, propagationRadius: double, blurRadius: double, turbulenceStrength?: double): Mask; @@ -665,8 +665,8 @@ declare namespace uiEffect { * Create a Filter to add multiple effects to the component. * @returns { Filter } Returns the head node of Filter. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createFilter(): Filter; @@ -674,8 +674,8 @@ declare namespace uiEffect { * Create a VisualEffect to add multiple effects to the component. * @returns { VisualEffect } Returns the head node of visualEffect. * @syscap SystemCapability.Graphics.Drawing - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createEffect(): VisualEffect; @@ -685,8 +685,8 @@ declare namespace uiEffect { * @returns { BrightnessBlender } Returns the blender. * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createBrightnessBlender(param: BrightnessBlenderParam): BrightnessBlender; } @@ -696,8 +696,8 @@ declare namespace uiEffect { * @typedef BrightnessBlenderParam * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface BrightnessBlenderParam { /** @@ -706,8 +706,8 @@ declare interface BrightnessBlenderParam { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ cubicRate: double; @@ -717,8 +717,8 @@ declare interface BrightnessBlenderParam { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ quadraticRate: double; @@ -728,8 +728,8 @@ declare interface BrightnessBlenderParam { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ linearRate: double; @@ -739,8 +739,8 @@ declare interface BrightnessBlenderParam { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ degree: double; @@ -750,8 +750,8 @@ declare interface BrightnessBlenderParam { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ saturation: double; @@ -761,8 +761,8 @@ declare interface BrightnessBlenderParam { * @type { [double, double, double] } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ positiveCoefficient: [double, double, double]; @@ -772,8 +772,8 @@ declare interface BrightnessBlenderParam { * @type { [double, double, double] } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ negativeCoefficient: [double, double, double]; @@ -783,8 +783,8 @@ declare interface BrightnessBlenderParam { * @type { double } * @syscap SystemCapability.Graphics.Drawing * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fraction: double; } diff --git a/api/@ohos.hiAppEvent.d.ts b/api/@ohos.hiAppEvent.d.ts index f89e4ea896..fc350c3ae6 100644 --- a/api/@ohos.hiAppEvent.d.ts +++ b/api/@ohos.hiAppEvent.d.ts @@ -27,7 +27,7 @@ import type { AsyncCallback } from './@ohos.base'; * * @namespace hiAppEvent * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.hiviewdfx.hiAppEvent */ @@ -37,7 +37,7 @@ declare namespace hiAppEvent { * * @enum { number } * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ enum EventType { @@ -45,7 +45,7 @@ declare namespace hiAppEvent { * Fault event. * * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ FAULT = 1, @@ -54,7 +54,7 @@ declare namespace hiAppEvent { * Statistic event. * * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ STATISTIC = 2, @@ -63,7 +63,7 @@ declare namespace hiAppEvent { * Security event. * * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ SECURITY = 3, @@ -72,7 +72,7 @@ declare namespace hiAppEvent { * User behavior event. * * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ BEHAVIOR = 4 @@ -83,7 +83,7 @@ declare namespace hiAppEvent { * * @namespace Event * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ namespace Event { @@ -92,7 +92,7 @@ declare namespace hiAppEvent { * * @constant * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ const USER_LOGIN: string; @@ -102,7 +102,7 @@ declare namespace hiAppEvent { * * @constant * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ const USER_LOGOUT: string; @@ -112,7 +112,7 @@ declare namespace hiAppEvent { * * @constant * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ const DISTRIBUTED_SERVICE_START: string; @@ -123,7 +123,7 @@ declare namespace hiAppEvent { * * @namespace Param * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ namespace Param { @@ -132,7 +132,7 @@ declare namespace hiAppEvent { * * @constant * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ const USER_ID: string; @@ -142,7 +142,7 @@ declare namespace hiAppEvent { * * @constant * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ const DISTRIBUTED_SERVICE_NAME: string; @@ -152,7 +152,7 @@ declare namespace hiAppEvent { * * @constant * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ const DISTRIBUTED_SERVICE_INSTANCE_ID: string; @@ -167,7 +167,7 @@ declare namespace hiAppEvent { * @returns { Promise } Return Promise. * @static * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function write(eventName: string, eventType: EventType, keyValues: object): Promise; @@ -181,7 +181,7 @@ declare namespace hiAppEvent { * @param { AsyncCallback } [callback] Callback function. * @static * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function write(eventName: string, eventType: EventType, keyValues: object, callback: AsyncCallback): void; @@ -193,7 +193,7 @@ declare namespace hiAppEvent { * @returns { boolean } Configuration result. * @static * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ function configure(config: ConfigOption): boolean; @@ -203,7 +203,7 @@ declare namespace hiAppEvent { * * @interface ConfigOption * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ interface ConfigOption { @@ -212,7 +212,7 @@ declare namespace hiAppEvent { * * @type { ?boolean } * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ disable?: boolean; @@ -222,7 +222,7 @@ declare namespace hiAppEvent { * * @type { ?string } * @syscap SystemCapability.HiviewDFX.HiAppEvent - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ maxStorage?: string; diff --git a/api/@ohos.hiSysEvent.d.ts b/api/@ohos.hiSysEvent.d.ts index f99484595d..452950ce3b 100644 --- a/api/@ohos.hiSysEvent.d.ts +++ b/api/@ohos.hiSysEvent.d.ts @@ -28,8 +28,8 @@ import { AsyncCallback } from './@ohos.base'; * @namespace hiSysEvent * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace hiSysEvent { /** @@ -38,8 +38,8 @@ declare namespace hiSysEvent { * @enum {int} * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum EventType { /** @@ -47,8 +47,8 @@ declare namespace hiSysEvent { * * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ FAULT = 1, @@ -57,8 +57,8 @@ declare namespace hiSysEvent { * * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ STATISTIC = 2, @@ -67,8 +67,8 @@ declare namespace hiSysEvent { * * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SECURITY = 3, @@ -77,8 +77,8 @@ declare namespace hiSysEvent { * * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ BEHAVIOR = 4 } @@ -89,8 +89,8 @@ declare namespace hiSysEvent { * @interface SysEventInfo * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface SysEventInfo { /** @@ -99,8 +99,8 @@ declare namespace hiSysEvent { * @type { string } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ domain: string; @@ -110,8 +110,8 @@ declare namespace hiSysEvent { * @type { string } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ name: string; @@ -121,8 +121,8 @@ declare namespace hiSysEvent { * @type { EventType } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ eventType: EventType; @@ -140,7 +140,7 @@ declare namespace hiSysEvent { * @type { ?object } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ params?: object; @@ -150,8 +150,7 @@ declare namespace hiSysEvent { * @type { ?(Record | null | undefined) } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since 20 - * @arkts 1.2 + * @since 20 static */ params?: Record | null | undefined; } @@ -175,8 +174,8 @@ declare namespace hiSysEvent { * @throws {BusinessError} 11200054 - The number of event parameters of the array type exceeds the limit. * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function write(info: SysEventInfo): Promise; @@ -199,8 +198,8 @@ declare namespace hiSysEvent { * @throws {BusinessError} 11200054 - The number of event parameters of the array type exceeds the limit. * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function write(info: SysEventInfo, callback: AsyncCallback): void; @@ -210,8 +209,8 @@ declare namespace hiSysEvent { * @enum {int} * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum RuleType { /** @@ -219,8 +218,8 @@ declare namespace hiSysEvent { * * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ WHOLE_WORD = 1, @@ -229,8 +228,8 @@ declare namespace hiSysEvent { * * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ PREFIX = 2, @@ -239,8 +238,8 @@ declare namespace hiSysEvent { * * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ REGULAR = 3 } @@ -251,8 +250,8 @@ declare namespace hiSysEvent { * @interface WatchRule * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface WatchRule { /** @@ -261,8 +260,8 @@ declare namespace hiSysEvent { * @type { string } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ domain: string; @@ -272,8 +271,8 @@ declare namespace hiSysEvent { * @type { string } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ name: string; @@ -291,7 +290,7 @@ declare namespace hiSysEvent { * @type { ?string } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ tag?: string; @@ -301,8 +300,7 @@ declare namespace hiSysEvent { * @type { ?(string | null | undefined) } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since 20 - * @arkts 1.2 + * @since 20 static */ tag?: string | null | undefined; @@ -312,8 +310,8 @@ declare namespace hiSysEvent { * @type { RuleType } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ ruleType: RuleType; } @@ -324,8 +322,8 @@ declare namespace hiSysEvent { * @interface Watcher * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface Watcher { /** @@ -334,8 +332,8 @@ declare namespace hiSysEvent { * @type { WatchRule[] } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ rules: WatchRule[]; @@ -345,8 +343,8 @@ declare namespace hiSysEvent { * @type { function } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onEvent: (info: SysEventInfo) => void; @@ -356,8 +354,8 @@ declare namespace hiSysEvent { * @type { function } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onServiceDied: () => void; } @@ -368,8 +366,8 @@ declare namespace hiSysEvent { * @interface QueryArg * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface QueryArg { /** @@ -378,8 +376,8 @@ declare namespace hiSysEvent { * @type { long } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ beginTime: long; @@ -389,8 +387,8 @@ declare namespace hiSysEvent { * @type { long } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ endTime: long; @@ -400,8 +398,8 @@ declare namespace hiSysEvent { * @type { long } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ maxEvents: long; @@ -411,7 +409,7 @@ declare namespace hiSysEvent { * @type { ?long } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since 10 + * @since 10 dynamic */ fromSeq?: long; @@ -421,8 +419,7 @@ declare namespace hiSysEvent { * @type { ?(long | null | undefined) } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since 20 - * @arkts 1.2 + * @since 20 static */ fromSeq?: long | null | undefined; @@ -432,7 +429,7 @@ declare namespace hiSysEvent { * @type { ?long } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since 10 + * @since 10 dynamic */ toSeq?: long; @@ -442,8 +439,7 @@ declare namespace hiSysEvent { * @type { ?(long | null | undefined) } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since 20 - * @arkts 1.2 + * @since 20 static */ toSeq?: long | null | undefined; } @@ -454,8 +450,8 @@ declare namespace hiSysEvent { * @interface QueryRule * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface QueryRule { /** @@ -464,8 +460,8 @@ declare namespace hiSysEvent { * @type { string } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ domain: string; @@ -475,8 +471,8 @@ declare namespace hiSysEvent { * @type { string[] } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ names: string[]; @@ -486,7 +482,7 @@ declare namespace hiSysEvent { * @type { ?string } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since 10 + * @since 10 dynamic */ condition?: string; @@ -496,8 +492,7 @@ declare namespace hiSysEvent { * @type { ?(string | null | undefined) } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since 20 - * @arkts 1.2 + * @since 20 static */ condition?: string | null | undefined; } @@ -508,8 +503,8 @@ declare namespace hiSysEvent { * @interface Querier * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface Querier { /** @@ -518,8 +513,8 @@ declare namespace hiSysEvent { * @type { function } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onQuery: (infos: SysEventInfo[]) => void; @@ -529,8 +524,8 @@ declare namespace hiSysEvent { * @type { function } * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ onComplete: (reason: int, total: int) => void; } @@ -550,8 +545,8 @@ declare namespace hiSysEvent { * @throws {BusinessError} 11200102 - The number of watch rules exceeds the limit. * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function addWatcher(watcher: Watcher): void; @@ -569,8 +564,8 @@ declare namespace hiSysEvent { * @throws {BusinessError} 11200201 - The watcher does not exist. * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function removeWatcher(watcher: Watcher): void; @@ -593,8 +588,8 @@ declare namespace hiSysEvent { * @throws {BusinessError} 11200304 - The query frequency exceeds the limit. * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function query(queryArg: QueryArg, rules: QueryRule[], querier: Querier): void; @@ -616,8 +611,8 @@ declare namespace hiSysEvent { * @throws {BusinessError} 11200304 – The query frequency exceeds the limit. * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function exportSysEvents(queryArg: QueryArg, rules: QueryRule[]): long; @@ -637,8 +632,8 @@ declare namespace hiSysEvent { * @throws {BusinessError} 11200302 - Invalid query rule. * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function subscribe(rules: QueryRule[]): long; @@ -655,8 +650,8 @@ declare namespace hiSysEvent { * @throws {BusinessError} 11200305 – Unsubscription failed. * @syscap SystemCapability.HiviewDFX.HiSysEvent * @systemapi hide for inner use - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function unsubscribe(): void; } diff --git a/api/@ohos.hiTraceChain.d.ts b/api/@ohos.hiTraceChain.d.ts index 2171646d3b..a91d396d05 100644 --- a/api/@ohos.hiTraceChain.d.ts +++ b/api/@ohos.hiTraceChain.d.ts @@ -26,8 +26,8 @@ * * @namespace hiTraceChain * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ declare namespace hiTraceChain { /** @@ -35,16 +35,16 @@ declare namespace hiTraceChain { * * @enum { int } * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ enum HiTraceFlag { /** * Default value * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ DEFAULT = 0, @@ -52,8 +52,8 @@ declare namespace hiTraceChain { * Trace sync and async call. default: trace sync call only. * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ INCLUDE_ASYNC = 1, @@ -61,8 +61,8 @@ declare namespace hiTraceChain { * Do not create child span. default: create child span. * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ DONOT_CREATE_SPAN = 1 << 1, @@ -70,8 +70,8 @@ declare namespace hiTraceChain { * Output tracepoint info in span. default: do not output tracepoint info. * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ TP_INFO = 1 << 2, @@ -79,8 +79,8 @@ declare namespace hiTraceChain { * Do not output begin and end info. default: output begin and end info. * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ NO_BE_INFO = 1 << 3, @@ -88,8 +88,8 @@ declare namespace hiTraceChain { * Do not add id to log. default: add id to log. * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ DISABLE_LOG = 1 << 4, @@ -97,8 +97,8 @@ declare namespace hiTraceChain { * The trace is triggered by fault. * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ FAILURE_TRIGGER = 1 << 5, @@ -106,8 +106,8 @@ declare namespace hiTraceChain { * Output device-to-device tracepoint info in span only. default: do not output device-to-device tracepoint info. * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ D2D_TP_INFO = 1 << 6 } @@ -117,16 +117,16 @@ declare namespace hiTraceChain { * * @enum { int } * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ enum HiTraceTracepointType { /** * Client send * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ CS = 0, @@ -134,8 +134,8 @@ declare namespace hiTraceChain { * Client receive * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ CR = 1, @@ -143,8 +143,8 @@ declare namespace hiTraceChain { * Server send * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ SS = 2, @@ -152,8 +152,8 @@ declare namespace hiTraceChain { * Server receive * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ SR = 3, @@ -161,8 +161,8 @@ declare namespace hiTraceChain { * General info * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ GENERAL = 4 } @@ -172,16 +172,16 @@ declare namespace hiTraceChain { * * @enum { int } * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ enum HiTraceCommunicationMode { /** * Unspecified * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ DEFAULT = 0, @@ -189,8 +189,8 @@ declare namespace hiTraceChain { * Thread-to-thread * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ THREAD = 1, @@ -198,8 +198,8 @@ declare namespace hiTraceChain { * Process-to-process * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ PROCESS = 2, @@ -207,8 +207,8 @@ declare namespace hiTraceChain { * Device-to-device * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ DEVICE = 3 } @@ -218,8 +218,8 @@ declare namespace hiTraceChain { * * @interface HiTraceId * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ interface HiTraceId { /** @@ -227,8 +227,8 @@ declare namespace hiTraceChain { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ chainId: bigint; @@ -237,8 +237,8 @@ declare namespace hiTraceChain { * * @type { ?int } * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ spanId?: int; @@ -247,8 +247,8 @@ declare namespace hiTraceChain { * * @type { ?int } * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ parentSpanId?: int; @@ -257,8 +257,8 @@ declare namespace hiTraceChain { * * @type { ?int } * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ flags?: int; } @@ -270,8 +270,8 @@ declare namespace hiTraceChain { * @param { int } flags Trace function flag. * @returns { HiTraceId } Valid if first call, otherwise invalid. * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function begin(name: string, flags?: int): HiTraceId; @@ -281,8 +281,8 @@ declare namespace hiTraceChain { * * @param { HiTraceId } id The trace id that need to stop. * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function end(id: HiTraceId): void; @@ -292,8 +292,8 @@ declare namespace hiTraceChain { * * @returns { HiTraceId } Valid if current thread have a trace id, otherwise invalid. * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getId(): HiTraceId; @@ -302,8 +302,8 @@ declare namespace hiTraceChain { * * @param { HiTraceId } id Set id as trace id of current thread. * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function setId(id: HiTraceId): void; @@ -311,8 +311,8 @@ declare namespace hiTraceChain { * Clear trace id of current thread and set it invalid. * * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function clearId(): void; @@ -321,8 +321,8 @@ declare namespace hiTraceChain { * * @returns { HiTraceId } A valid span trace id. Otherwise trace id of current thread if do not allow create span. * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function createSpan(): HiTraceId; @@ -334,8 +334,8 @@ declare namespace hiTraceChain { * @param { HiTraceId } id Trace id that need to print. * @param { string } msg Customized info that need to print. * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function tracepoint(mode: HiTraceCommunicationMode, type: HiTraceTracepointType, id: HiTraceId, msg?: string): void; @@ -345,8 +345,8 @@ declare namespace hiTraceChain { * @param { HiTraceId } id Trace id that need to judge. * @returns { boolean } True for a valid trace id, otherwise false. * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function isValid(id: HiTraceId): boolean; @@ -357,8 +357,8 @@ declare namespace hiTraceChain { * @param { HiTraceFlag } flag Trace flag that need to judge. * @returns { boolean } true if the trace id has enabled the flag. * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function isFlagEnabled(id: HiTraceId, flag: HiTraceFlag): boolean; @@ -368,8 +368,8 @@ declare namespace hiTraceChain { * @param { HiTraceId } id Trace id that need to enable a flag. * @param { HiTraceFlag } flag the designative trace flag that need to be enabled in the trace id. * @syscap SystemCapability.HiviewDFX.HiTrace - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function enableFlag(id: HiTraceId, flag: HiTraceFlag): void; } diff --git a/api/@ohos.hiTraceMeter.d.ts b/api/@ohos.hiTraceMeter.d.ts index 39d75c76e2..fb92a005d6 100644 --- a/api/@ohos.hiTraceMeter.d.ts +++ b/api/@ohos.hiTraceMeter.d.ts @@ -112,8 +112,7 @@ * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ declare namespace hiTraceMeter { @@ -134,8 +133,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum HiTraceOutputLevel { /** @@ -151,8 +149,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DEBUG = 0, @@ -169,8 +166,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ INFO = 1, @@ -187,8 +183,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ CRITICAL = 2, @@ -205,8 +200,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ COMMERCIAL = 3, @@ -223,8 +217,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ MAX = COMMERCIAL } @@ -269,8 +262,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function startTrace(name: string, taskId: int): void; @@ -311,8 +303,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function finishTrace(name: string, taskId: int): void; @@ -341,8 +332,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function traceByValue(name: string, count: long): void; @@ -375,8 +365,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function startSyncTrace(level: HiTraceOutputLevel, name: string, customArgs?: string): void; @@ -403,8 +392,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function finishSyncTrace(level: HiTraceOutputLevel): void; @@ -443,8 +431,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function startAsyncTrace(level: HiTraceOutputLevel, name: string, taskId: int, customCategory: string, customArgs?: string): void; @@ -478,8 +465,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function finishAsyncTrace(level: HiTraceOutputLevel, name: string, taskId: int): void; @@ -502,8 +488,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function traceByValue(level: HiTraceOutputLevel, name: string, count: long): void; @@ -522,8 +507,7 @@ declare namespace hiTraceMeter { * @syscap SystemCapability.HiviewDFX.HiTrace * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function isTraceEnabled(): boolean; } diff --git a/api/@ohos.hichecker.d.ts b/api/@ohos.hichecker.d.ts index ca1a68ee5e..235f6d60c2 100644 --- a/api/@ohos.hichecker.d.ts +++ b/api/@ohos.hichecker.d.ts @@ -23,8 +23,8 @@ * * @namespace hichecker * @syscap SystemCapability.HiviewDFX.HiChecker - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ declare namespace hichecker { /** @@ -32,8 +32,8 @@ declare namespace hichecker { * * @constant * @syscap SystemCapability.HiviewDFX.HiChecker - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ const RULE_CAUTION_PRINT_LOG = 9223372036854775808n; // 1 << 63 @@ -42,8 +42,8 @@ declare namespace hichecker { * * @constant * @syscap SystemCapability.HiviewDFX.HiChecker - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ const RULE_CAUTION_TRIGGER_CRASH = 4611686018427387904n; // 1 << 62 @@ -52,8 +52,8 @@ declare namespace hichecker { * * @constant * @syscap SystemCapability.HiviewDFX.HiChecker - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ const RULE_THREAD_CHECK_SLOW_PROCESS = 1n; @@ -62,8 +62,8 @@ declare namespace hichecker { * * @constant * @syscap SystemCapability.HiviewDFX.HiChecker - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ const RULE_CHECK_ABILITY_CONNECTION_LEAK = 8589934592n; // 1 << 33 @@ -72,8 +72,8 @@ declare namespace hichecker { * * @constant * @syscap SystemCapability.HiviewDFX.HiChecker - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ const RULE_CHECK_ARKUI_PERFORMANCE = 17179869184n; // 1 << 34 @@ -82,7 +82,7 @@ declare namespace hichecker { * * @param { bigint } rule * @syscap SystemCapability.HiviewDFX.HiChecker - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.hichecker/hichecker#addCheckRule */ @@ -93,7 +93,7 @@ declare namespace hichecker { * * @param { bigint } rule * @syscap SystemCapability.HiviewDFX.HiChecker - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.hichecker/hichecker#removeCheckRule */ @@ -104,8 +104,8 @@ declare namespace hichecker { * * @returns { bigint } all added thread rule and process rule. * @syscap SystemCapability.HiviewDFX.HiChecker - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getRule(): bigint; @@ -115,7 +115,7 @@ declare namespace hichecker { * @param { bigint } rule * @returns { boolean } the result of whether the query rule is added. * @syscap SystemCapability.HiviewDFX.HiChecker - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.hichecker/hichecker#containsCheckRule */ @@ -127,8 +127,8 @@ declare namespace hichecker { * @param { bigint } rule * @throws { BusinessError } 401 - the parameter check failed, only one bigint type parameter is needed * @syscap SystemCapability.HiviewDFX.HiChecker - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function addCheckRule(rule: bigint): void; @@ -138,8 +138,8 @@ declare namespace hichecker { * @param { bigint } rule * @throws { BusinessError } 401 - the parameter check failed, only one bigint type parameter is needed * @syscap SystemCapability.HiviewDFX.HiChecker - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function removeCheckRule(rule: bigint): void; @@ -150,8 +150,8 @@ declare namespace hichecker { * @returns { boolean } the result of whether the query rule is added. * @throws { BusinessError } 401 - the parameter check failed, only one bigint type parameter is needed * @syscap SystemCapability.HiviewDFX.HiChecker - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function containsCheckRule(rule: bigint): boolean; } diff --git a/api/@ohos.hidebug.d.ts b/api/@ohos.hidebug.d.ts index 78003f5f77..ffa8727702 100644 --- a/api/@ohos.hidebug.d.ts +++ b/api/@ohos.hidebug.d.ts @@ -37,8 +37,8 @@ * @namespace hidebug * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace hidebug { /** @@ -47,8 +47,8 @@ declare namespace hidebug { * * @returns { bigint } Returns the total number of bytes occupied by the total space. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getNativeHeapSize(): bigint; @@ -57,8 +57,8 @@ declare namespace hidebug { * a process, which is measured by the memory allocator. * @returns { bigint } Returns the total number of bytes occupied by the total allocated space. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getNativeHeapAllocatedSize(): bigint; @@ -68,8 +68,8 @@ declare namespace hidebug { * * @returns { bigint } Returns the size of the memory occupied by the free normal blocks held by the process, in bytes. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getNativeHeapFreeSize(): bigint; @@ -79,8 +79,8 @@ declare namespace hidebug { * * @returns { bigint } Returns the virtual set size used by the application process, in KB. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getVss(): bigint; @@ -90,8 +90,8 @@ declare namespace hidebug { * * @returns { bigint } Returns the size of the physical memory actually used by the application process, in KB. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getPss(): bigint; @@ -101,8 +101,8 @@ declare namespace hidebug { * * @returns { bigint } Returns the size of the shared dirty memory of the process, in KB. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getSharedDirty(): bigint; @@ -112,8 +112,8 @@ declare namespace hidebug { * * @returns { bigint } Returns the size of the private dirty memory of the process, in KB. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getPrivateDirty(): bigint; @@ -122,8 +122,8 @@ declare namespace hidebug { * * @returns { double } Returns the CPU usage of the process. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getCpuUsage(): double; @@ -137,7 +137,7 @@ declare namespace hidebug { * @param { string } filename - User-defined file name of the sampling data. The .json file is generated * in the files directory of the application based on the specified file name. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.hidebug/hidebug.startJsCpuProfiling */ @@ -149,7 +149,7 @@ declare namespace hidebug { * methods repeatedly. Otherwise, an exception may occur. It takes effect only when the CPU profiler is turned on. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.hidebug/hidebug.stopJsCpuProfiling */ @@ -163,7 +163,7 @@ declare namespace hidebug { * * @param { string } filename - Indicates the user-defined file name, excluding the file suffix. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.hidebug/hidebug.dumpJsHeapData */ @@ -178,7 +178,7 @@ declare namespace hidebug { * directory of the application based on the specified file name. * @throws {BusinessError} 401 - the parameter check failed, Parameter type error * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 9 + * @since 9 dynamic */ function startJsCpuProfiling(filename: string): void; @@ -188,7 +188,7 @@ declare namespace hidebug { * methods repeatedly. Otherwise, an exception may occur. It takes effect only when the CPU profiler is turned on * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 9 + * @since 9 dynamic */ function stopJsCpuProfiling(): void; @@ -201,7 +201,7 @@ declare namespace hidebug { * in the files directory of the application based on the specified file name. * @throws {BusinessError} 401 - the parameter check failed, Parameter type error. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 9 + * @since 9 dynamic */ function dumpJsHeapData(filename: string): void; @@ -219,8 +219,8 @@ declare namespace hidebug { * 2.the args parameter is not string array. * @throws {BusinessError} 11400101 - ServiceId invalid. The system ability does not exist. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getServiceDump(serviceid: int, fd: int, args: Array): void; @@ -230,8 +230,8 @@ declare namespace hidebug { * @returns { double } Returns the CPU usage of the system. * @throws { BusinessError } 11400104 - The status of the system CPU usage is abnormal. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getSystemCpuUsage(): double; @@ -240,8 +240,8 @@ declare namespace hidebug { * * @interface ThreadCpuUsage * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ThreadCpuUsage { /** @@ -249,8 +249,8 @@ declare namespace hidebug { * * @type { long } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ threadId: long; /** @@ -258,8 +258,8 @@ declare namespace hidebug { * * @type { double } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ cpuUsage: double; } @@ -269,8 +269,8 @@ declare namespace hidebug { * * @returns { ThreadCpuUsage[] } Returns the CPU usage of all threads of the current application process. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getAppThreadCpuUsage(): ThreadCpuUsage[]; @@ -279,8 +279,8 @@ declare namespace hidebug { * * @interface SystemMemInfo * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface SystemMemInfo { /** @@ -289,8 +289,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ totalMem: bigint; /** @@ -299,8 +299,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ freeMem: bigint; /** @@ -309,8 +309,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ availableMem: bigint; } @@ -320,8 +320,8 @@ declare namespace hidebug { * * @returns { SystemMemInfo } Returns the system memory information. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getSystemMemInfo(): SystemMemInfo; @@ -330,8 +330,8 @@ declare namespace hidebug { * * @interface NativeMemInfo * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface NativeMemInfo { /** @@ -341,8 +341,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pss: bigint; /** @@ -352,8 +352,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ vss: bigint; /** @@ -362,8 +362,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ rss: bigint; /** @@ -372,8 +372,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sharedDirty: bigint; /** @@ -382,8 +382,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ privateDirty: bigint; /** @@ -392,8 +392,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sharedClean: bigint; /** @@ -402,8 +402,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ privateClean: bigint; } @@ -414,8 +414,8 @@ declare namespace hidebug { * * @returns { NativeMemInfo } Returns the memory information of the application process. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getAppNativeMemInfo(): NativeMemInfo; @@ -424,8 +424,8 @@ declare namespace hidebug { * * @interface MemoryLimit * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface MemoryLimit { /** @@ -433,8 +433,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ rssLimit: bigint; /** @@ -442,8 +442,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ vssLimit: bigint; /** @@ -451,8 +451,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ vmHeapLimit: bigint; /** @@ -460,8 +460,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ vmTotalHeapSize: bigint; } @@ -471,8 +471,8 @@ declare namespace hidebug { * * @returns { MemoryLimit } Returns the memory limit of the application process. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getAppMemoryLimit(): MemoryLimit; @@ -481,8 +481,8 @@ declare namespace hidebug { * * @interface VMMemoryInfo * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface VMMemoryInfo { /** @@ -490,8 +490,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ totalHeap: bigint; /** @@ -499,8 +499,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ heapUsed: bigint; /** @@ -508,8 +508,8 @@ declare namespace hidebug { * * @type { bigint } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ allArraySize: bigint; } @@ -519,8 +519,8 @@ declare namespace hidebug { * * @returns { VMMemoryInfo } Returns the VM memory information. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getAppVMMemoryInfo(): VMMemoryInfo; @@ -529,24 +529,24 @@ declare namespace hidebug { * * @enum { int } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum TraceFlag { /** * The main thread of the application. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MAIN_THREAD = 1, /** * All threads of the application. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ALL_THREADS = 2 } @@ -556,264 +556,264 @@ declare namespace hidebug { * * @namespace tags * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ namespace tags { /** * Ability Manager tag. The corresponding HiTrace command is tagName:ability. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const ABILITY_MANAGER: long; /** * ArkUI development framework. The corresponding HiTrace command is tagName:ace. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const ARKUI: long; /** * JSVM VM. The corresponding HiTrace command is tagName:ark. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const ARK: long; /** * Bluetooth. The corresponding HiTrace command is tagName:bluetooth. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const BLUETOOTH: long; /** * Common library subsystem. The corresponding HiTrace command is tagName:commonlibrary. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const COMMON_LIBRARY: long; /** * Distributed hardware device management. The corresponding HiTrace command is tagName:devicemanager. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const DISTRIBUTED_HARDWARE_DEVICE_MANAGER: long; /** * Distributed audio. The corresponding HiTrace command is tagName:daudio. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const DISTRIBUTED_AUDIO: long; /** * Distributed camera. The corresponding HiTrace command is tagName:dcamera. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const DISTRIBUTED_CAMERA: long; /** * Distributed data management. The corresponding HiTrace command is tagName:distributeddatamgr. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const DISTRIBUTED_DATA: long; /** * Distributed hardware framework. The corresponding HiTrace command is tagName:dhfwk. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const DISTRIBUTED_HARDWARE_FRAMEWORK: long; /** * Distributed input. The corresponding HiTrace command is tagName:dinput. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const DISTRIBUTED_INPUT: long; /** * Distributed screen. The corresponding HiTrace command is tagName:dscreen. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const DISTRIBUTED_SCREEN: long; /** * Distributed scheduler. The corresponding HiTrace command is tagName:dsched. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const DISTRIBUTED_SCHEDULER: long; /** * FFRT task. The corresponding HiTrace command is tagName:ffrt. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const FFRT: long; /** * File management system. The corresponding HiTrace command is tagName:filemanagement. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const FILE_MANAGEMENT: long; /** * Global resource management. The corresponding HiTrace command is tagName:gresource. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const GLOBAL_RESOURCE_MANAGER: long; /** * Graphics module. The corresponding HiTrace command is tagName:graphic. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const GRAPHICS: long; /** * HDF subsystem. The corresponding HiTrace command is tagName:hdf. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const HDF: long; /** * MISC module. The corresponding HiTrace command is tagName:misc. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const MISC: long; /** * Multi-modal input module. The corresponding HiTrace command is tagName:multimodalinput. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const MULTIMODAL_INPUT: long; /** * Network. The corresponding HiTrace command is tagName:net. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const NET: long; /** * Notification module. The corresponding HiTrace command is tagName:notification. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const NOTIFICATION: long; /** * Nweb. The corresponding HiTrace command is tagName:nweb. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const NWEB: long; /** * OHOS. The corresponding HiTrace command is tagName:ohos. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const OHOS: long; /** * Power management. The corresponding HiTrace command is tagName:power. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const POWER_MANAGER: long; /** * RPC. The corresponding HiTrace command is tagName:rpc. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const RPC: long; /** * System capability management. The corresponding HiTrace command is tagName:samgr. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const SAMGR: long; /** * Window management. The corresponding HiTrace command is tagName:window. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const WINDOW_MANAGER: long; /** * Audio module. The corresponding HiTrace command is tagName:zaudio. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const AUDIO: long; /** * Camera module. The corresponding HiTrace command is tagName:zcamera. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const CAMERA: long; /** * Image module. The corresponding HiTrace command is tagName:zimage. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const IMAGE: long; /** * Media module. The corresponding HiTrace command is tagName:zmedia. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const MEDIA: long; } @@ -836,8 +836,8 @@ declare namespace hidebug { * @throws { BusinessError } 11400103 - No write permission on the file. * @throws { BusinessError } 11400104 - Abnormal trace status. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function startAppTraceCapture(tags: long[], flag: TraceFlag, limitSize: int): string; @@ -848,8 +848,8 @@ declare namespace hidebug { * @throws { BusinessError } 11400104 - The status of the trace is abnormal. * @throws { BusinessError } 11400105 - No capture trace running. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function stopAppTraceCapture(): void; @@ -859,8 +859,8 @@ declare namespace hidebug { * * @typedef { Record } GcStats * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type GcStats = Record; @@ -869,8 +869,8 @@ declare namespace hidebug { * * @returns { GcStats } Returns the system GC statistics. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getVMRuntimeStats(): GcStats; @@ -883,8 +883,8 @@ declare namespace hidebug { * 1. Invalid parameter, a string parameter required. * 2. Invalid parameter, unknown property. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getVMRuntimeStat(item: string): long; @@ -908,7 +908,7 @@ declare namespace hidebug { * @throws { BusinessError } 11400104 - Set limit failed due to remote exception * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug * @atomicservice - * @since 12 + * @since 12 dynamic */ function setAppResourceLimit(type: string, value: int, enableDebugLog: boolean): void; @@ -918,8 +918,8 @@ declare namespace hidebug { * * @returns { boolean } true if the application is in the debugging state. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function isDebugState(): boolean; @@ -930,8 +930,8 @@ declare namespace hidebug { * @throws { BusinessError } 11400104 - Failed to get the application memory due to a remote exception. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getGraphicsMemory(): Promise; @@ -942,8 +942,8 @@ declare namespace hidebug { * @throws { BusinessError } 11400104 - Failed to get the application memory due to a remote exception. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getGraphicsMemorySync(): int; @@ -969,7 +969,7 @@ declare namespace hidebug { * @throws { BusinessError } 11400113 - Failed to create dump file. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug * @atomicservice - * @since 18 + * @since 18 dynamic */ function dumpJsRawHeapData(needGC?: boolean): Promise; @@ -978,7 +978,7 @@ declare namespace hidebug { * * @interface GwpAsanOptions * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 20 + * @since 20 dynamic */ interface GwpAsanOptions { /** @@ -986,7 +986,7 @@ declare namespace hidebug { * * @type { ?boolean } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 20 + * @since 20 dynamic */ alwaysEnabled?: boolean; /** @@ -994,7 +994,7 @@ declare namespace hidebug { * * @type { ?int } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 20 + * @since 20 dynamic */ sampleRate?: int; /** @@ -1002,7 +1002,7 @@ declare namespace hidebug { * * @type { ?int } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 20 + * @since 20 dynamic */ maxSimutaneousAllocations?: int; } @@ -1013,7 +1013,7 @@ declare namespace hidebug { * @param { int } [duration] - The duration days of GWP-ASAN grayscale. * @throws { BusinessError } 11400114 - The number of GWP-ASAN applications of this device overflowed after last boot. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 20 + * @since 20 dynamic */ function enableGwpAsanGrayscale(options?: GwpAsanOptions, duration?: int): void; @@ -1021,7 +1021,7 @@ declare namespace hidebug { * Disable the GWP-ASAN grayscale of your application. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 20 + * @since 20 dynamic */ function disableGwpAsanGrayscale(): void; @@ -1030,7 +1030,7 @@ declare namespace hidebug { * * @returns { int } The remaining days of GWP-ASan grayscale. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 20 + * @since 20 dynamic */ function getGwpAsanGrayscaleState(): int; @@ -1039,14 +1039,14 @@ declare namespace hidebug { * * @enum { number } * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 20 + * @since 20 dynamic */ enum JsRawHeapTrimLevel { /** * Basic heap snapshot trimming(e.g. reducing content of string object). * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 20 + * @since 20 dynamic */ TRIM_LEVEL_1 = 0, /** @@ -1058,7 +1058,7 @@ declare namespace hidebug { * Ensure that this duration falls below the app freeze threshold. * * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 20 + * @since 20 dynamic */ TRIM_LEVEL_2 = 1, } @@ -1067,7 +1067,7 @@ declare namespace hidebug { * Sets the raw heap snapshot trimming level for the current process. * @param { JsRawHeapTrimLevel } level - The trimming level of raw heap snapshot. * @syscap SystemCapability.HiviewDFX.HiProfiler.HiDebug - * @since 20 + * @since 20 dynamic */ function setJsRawHeapTrimLevel(level: JsRawHeapTrimLevel): void; } diff --git a/api/@ohos.hilog.d.ts b/api/@ohos.hilog.d.ts index e41fa2654e..83cf23d19f 100644 --- a/api/@ohos.hilog.d.ts +++ b/api/@ohos.hilog.d.ts @@ -16,7 +16,6 @@ /** * @file * @kit PerformanceAnalysisKit - * @arkts 1.1&1.2 */ /** @@ -41,8 +40,8 @@ * @syscap SystemCapability.HiviewDFX.HiLog * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace hilog { @@ -93,8 +92,7 @@ declare namespace hilog { * @syscap SystemCapability.HiviewDFX.HiLog * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function debug(domain: int, tag: string, format: string, ...args: (Object | undefined | null)[]): void; @@ -145,8 +143,7 @@ declare namespace hilog { * @syscap SystemCapability.HiviewDFX.HiLog * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function info(domain: int, tag: string, format: string, ...args: (Object | undefined | null)[]): void; @@ -197,8 +194,7 @@ declare namespace hilog { * @syscap SystemCapability.HiviewDFX.HiLog * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function warn(domain: int, tag: string, format: string, ...args: (Object | undefined | null)[]): void; @@ -249,8 +245,7 @@ declare namespace hilog { * @syscap SystemCapability.HiviewDFX.HiLog * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function error(domain: int, tag: string, format: string, ...args: (Object | undefined | null)[]): void; @@ -301,8 +296,7 @@ declare namespace hilog { * @syscap SystemCapability.HiviewDFX.HiLog * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function fatal(domain: int, tag: string, format: string, ...args: (Object | undefined | null)[]): void; @@ -327,8 +321,8 @@ declare namespace hilog { * @returns { boolean } * @syscap SystemCapability.HiviewDFX.HiLog * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function isLoggable(domain: int, tag: string, level: LogLevel): boolean; @@ -338,8 +332,8 @@ declare namespace hilog { * @param { LogLevel } level log level * @syscap SystemCapability.HiviewDFX.HiLog * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function setMinLogLevel(level: LogLevel): void; @@ -364,8 +358,8 @@ declare namespace hilog { * @syscap SystemCapability.HiviewDFX.HiLog * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum LogLevel { /** @@ -387,8 +381,8 @@ declare namespace hilog { * @syscap SystemCapability.HiviewDFX.HiLog * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DEBUG = 3, /** @@ -410,8 +404,8 @@ declare namespace hilog { * @syscap SystemCapability.HiviewDFX.HiLog * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ INFO = 4, /** @@ -433,8 +427,8 @@ declare namespace hilog { * @syscap SystemCapability.HiviewDFX.HiLog * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ WARN = 5, /** @@ -456,8 +450,8 @@ declare namespace hilog { * @syscap SystemCapability.HiviewDFX.HiLog * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ERROR = 6, /** @@ -479,8 +473,8 @@ declare namespace hilog { * @syscap SystemCapability.HiviewDFX.HiLog * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FATAL = 7 } diff --git a/api/@ohos.hiviewdfx.hiAppEvent.d.ts b/api/@ohos.hiviewdfx.hiAppEvent.d.ts index 1978cb3f4b..0fdff04f58 100644 --- a/api/@ohos.hiviewdfx.hiAppEvent.d.ts +++ b/api/@ohos.hiviewdfx.hiAppEvent.d.ts @@ -19,7 +19,7 @@ */ import type { AsyncCallback } from './@ohos.base'; -/*** if arkts 1.2 */ +/*** if arkts static */ import type { RecordData } from './@ohos.base' /*** endif */ @@ -51,8 +51,8 @@ import type { RecordData } from './@ohos.base' * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ declare namespace hiAppEvent { /** @@ -77,8 +77,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum EventType { /** @@ -100,8 +100,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ FAULT = 1, @@ -124,8 +124,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ STATISTIC = 2, @@ -148,8 +148,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ SECURITY = 3, @@ -172,8 +172,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ BEHAVIOR = 4 } @@ -193,8 +193,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ namespace domain { /** @@ -210,8 +210,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ const OS: string; } @@ -244,8 +244,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ namespace event { /** @@ -259,8 +259,8 @@ declare namespace hiAppEvent { * * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ const USER_LOGIN: string; @@ -275,8 +275,8 @@ declare namespace hiAppEvent { * * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ const USER_LOGOUT: string; @@ -291,8 +291,8 @@ declare namespace hiAppEvent { * * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ const DISTRIBUTED_SERVICE_START: string; @@ -309,8 +309,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ const APP_CRASH: string; @@ -319,8 +319,8 @@ declare namespace hiAppEvent { * * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ const APP_FREEZE: string; @@ -329,8 +329,8 @@ declare namespace hiAppEvent { * * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const APP_LAUNCH: string; @@ -339,8 +339,8 @@ declare namespace hiAppEvent { * * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const SCROLL_JANK: string; @@ -349,8 +349,8 @@ declare namespace hiAppEvent { * * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const CPU_USAGE_HIGH: string; @@ -359,8 +359,8 @@ declare namespace hiAppEvent { * * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const BATTERY_USAGE: string; @@ -369,8 +369,8 @@ declare namespace hiAppEvent { * * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const RESOURCE_OVERLIMIT: string; @@ -379,8 +379,8 @@ declare namespace hiAppEvent { * * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const ADDRESS_SANITIZER: string; @@ -389,8 +389,8 @@ declare namespace hiAppEvent { * * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const MAIN_THREAD_JANK: string; @@ -400,7 +400,7 @@ declare namespace hiAppEvent { * @type { string } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since 20 + * @since 20 dynamic */ const APP_KILLED: string; } @@ -427,8 +427,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ namespace param { /** @@ -450,8 +450,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ const USER_ID: string; @@ -474,8 +474,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ const DISTRIBUTED_SERVICE_NAME: string; @@ -498,8 +498,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ const DISTRIBUTED_SERVICE_INSTANCE_ID: string; } @@ -537,8 +537,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function configure(config: ConfigOption): void; @@ -564,8 +564,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface ConfigOption { /** @@ -596,8 +596,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ disable?: boolean; @@ -632,8 +632,8 @@ declare namespace hiAppEvent { * @type { ?string } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ maxStorage?: string; } @@ -660,8 +660,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface AppEventInfo { /** @@ -689,8 +689,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ domain: string; @@ -722,8 +722,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ name: string; @@ -749,8 +749,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ eventType: EventType; @@ -815,7 +815,7 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ params: object; @@ -839,8 +839,7 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ params: RecordData; } @@ -911,8 +910,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function write(info: AppEventInfo): Promise; @@ -982,8 +981,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function write(info: AppEventInfo, callback: AsyncCallback): void; @@ -1002,8 +1001,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ type ParamType = int | long | double | string | boolean | Array; @@ -1060,8 +1059,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function setEventParam(params: Record, domain: string, name?: string): Promise; @@ -1082,8 +1081,8 @@ declare namespace hiAppEvent { * @static * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function setEventConfig(name: string, config: Record): Promise; @@ -1112,8 +1111,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface AppEventPackage { /** @@ -1138,8 +1137,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ packageId: int; @@ -1165,8 +1164,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ row: int; @@ -1192,8 +1191,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ size: int; @@ -1219,8 +1218,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ data: string[]; @@ -1239,8 +1238,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ appEventInfos: Array; } @@ -1264,8 +1263,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ class AppEventPackageHolder { /** @@ -1296,8 +1295,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ constructor(watcherName: string); @@ -1334,8 +1333,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setSize(size: int): void; @@ -1364,8 +1363,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setRow(size: int): void; @@ -1406,7 +1405,7 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since 19 + * @since 19 dynamic */ takeNext(): AppEventPackage; /** @@ -1421,8 +1420,7 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ takeNext(): AppEventPackage | null; } @@ -1449,8 +1447,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface TriggerCondition { /** @@ -1481,8 +1479,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ row?: int; @@ -1514,8 +1512,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ size?: int; @@ -1547,8 +1545,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ timeOut?: int; } @@ -1581,8 +1579,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface AppEventFilter { /** @@ -1610,8 +1608,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ domain: string; @@ -1637,8 +1635,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ eventTypes?: EventType[]; @@ -1657,8 +1655,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ names?: string[]; } @@ -1680,8 +1678,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface AppEventGroup { /** @@ -1699,8 +1697,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ name: string; @@ -1719,8 +1717,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ appEventInfos: Array; } @@ -1750,8 +1748,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface Watcher { /** @@ -1782,8 +1780,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ name: string; @@ -1812,8 +1810,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ triggerCondition?: TriggerCondition; @@ -1842,8 +1840,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ appEventFilters?: AppEventFilter[]; @@ -1881,8 +1879,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ onTrigger?: (curRow: int, curSize: int, holder: AppEventPackageHolder) => void; @@ -1907,8 +1905,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ onReceive?: (domain: string, appEventGroups: Array) => void; } @@ -1961,8 +1959,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function addWatcher(watcher: Watcher): AppEventPackageHolder; @@ -1999,8 +1997,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function removeWatcher(watcher: Watcher): void; @@ -2026,8 +2024,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function clearData(): void; @@ -2058,8 +2056,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function setUserId(name: string, value: string): void; @@ -2088,8 +2086,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function getUserId(name: string): string; @@ -2120,8 +2118,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function setUserProperty(name: string, value: string): void; @@ -2150,8 +2148,8 @@ declare namespace hiAppEvent { * @syscap SystemCapability.HiviewDFX.HiAppEvent * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function getUserProperty(name: string): string; @@ -2161,8 +2159,8 @@ declare namespace hiAppEvent { * @interface AppEventReportConfig * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface AppEventReportConfig { /** @@ -2173,8 +2171,8 @@ declare namespace hiAppEvent { * @type { ?string } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ domain?: string; @@ -2186,8 +2184,8 @@ declare namespace hiAppEvent { * @type { ?string } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ name?: string; @@ -2198,8 +2196,8 @@ declare namespace hiAppEvent { * @type { ?boolean } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isRealTime?: boolean; } @@ -2210,8 +2208,8 @@ declare namespace hiAppEvent { * @interface Processor * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface Processor { /** @@ -2221,8 +2219,8 @@ declare namespace hiAppEvent { * @type { string } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ name: string; @@ -2233,8 +2231,8 @@ declare namespace hiAppEvent { * @type { ?boolean } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ debugMode?: boolean; @@ -2245,8 +2243,8 @@ declare namespace hiAppEvent { * @type { ?string } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ routeInfo?: string; @@ -2257,8 +2255,8 @@ declare namespace hiAppEvent { * @type { ?string } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ appId?: string; @@ -2269,8 +2267,8 @@ declare namespace hiAppEvent { * @type { ?boolean } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onStartReport?: boolean; @@ -2281,8 +2279,8 @@ declare namespace hiAppEvent { * @type { ?boolean } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onBackgroundReport?: boolean; @@ -2293,8 +2291,8 @@ declare namespace hiAppEvent { * @type { ?int } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ periodReport?: int; @@ -2306,8 +2304,8 @@ declare namespace hiAppEvent { * @type { ?int } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ batchReport?: int; @@ -2318,8 +2316,8 @@ declare namespace hiAppEvent { * @type { ?string[] } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ userIds?: string[]; @@ -2330,8 +2328,8 @@ declare namespace hiAppEvent { * @type { ?string[] } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ userProperties?: string[]; @@ -2342,8 +2340,8 @@ declare namespace hiAppEvent { * @type { ?AppEventReportConfig[] } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ eventConfigs?: AppEventReportConfig[]; @@ -2355,8 +2353,8 @@ declare namespace hiAppEvent { * @type { ?int } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ configId?: int; @@ -2372,8 +2370,8 @@ declare namespace hiAppEvent { * @type { ?Record } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ customConfigs?: Record; @@ -2383,7 +2381,7 @@ declare namespace hiAppEvent { * @type { ?string } * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since 20 + * @since 20 dynamic */ configName?: string; } @@ -2403,8 +2401,8 @@ declare namespace hiAppEvent { * @static * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function addProcessor(processor: Processor): long; @@ -2419,7 +2417,7 @@ declare namespace hiAppEvent { * @static * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since 20 + * @since 20 dynamic */ function addProcessorFromConfig(processorName: string, configName?: string): Promise; @@ -2433,8 +2431,8 @@ declare namespace hiAppEvent { * @static * @syscap SystemCapability.HiviewDFX.HiAppEvent * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function removeProcessor(id: long): void; } diff --git a/api/@ohos.hiviewdfx.jsLeakWatcher.d.ts b/api/@ohos.hiviewdfx.jsLeakWatcher.d.ts index 745057c40a..833774b4d9 100644 --- a/api/@ohos.hiviewdfx.jsLeakWatcher.d.ts +++ b/api/@ohos.hiviewdfx.jsLeakWatcher.d.ts @@ -23,7 +23,7 @@ * * @namespace jsLeakWatcher * @syscap SystemCapability.HiviewDFX.HiChecker - * @since 12 + * @since 12 dynamic */ declare namespace jsLeakWatcher { /** @@ -31,7 +31,7 @@ declare namespace jsLeakWatcher { * * @param { boolean } isEnable - True is enable jsLeakWatcher, false is disable jsLeakWatcher. * @syscap SystemCapability.HiviewDFX.HiChecker - * @since 12 + * @since 12 dynamic */ function enable(isEnable: boolean): void; @@ -41,7 +41,7 @@ declare namespace jsLeakWatcher { * @param { object } obj - Object being monitored. * @param { string } msg - Customized object information. * @syscap SystemCapability.HiviewDFX.HiChecker - * @since 12 + * @since 12 dynamic */ function watch(obj: object, msg: string): void; @@ -50,7 +50,7 @@ declare namespace jsLeakWatcher { * * @returns { string } List of suspected leaked objects in JSON format. * @syscap SystemCapability.HiviewDFX.HiChecker - * @since 12 + * @since 12 dynamic */ function check(): string; @@ -61,7 +61,7 @@ declare namespace jsLeakWatcher { * @returns { Array } The array of exported results, index 0 is leakListFileName, index 1 is heapSnapShotFileName. * @throws { BusinessError } 401 - Parameter error. The filepath is invalid. * @syscap SystemCapability.HiviewDFX.HiChecker - * @since 12 + * @since 12 dynamic */ function dump(filePath: string): Array; } diff --git a/api/@ohos.i18n.d.ts b/api/@ohos.i18n.d.ts index 0dcb20174c..760f1d2271 100644 --- a/api/@ohos.i18n.d.ts +++ b/api/@ohos.i18n.d.ts @@ -18,11 +18,11 @@ * @kit LocalizationKit */ -/*** if arkts 1.1&1.2 */ +/*** if arkts dynamic&static */ import { BusinessError } from './@ohos.base'; import intl from './@ohos.intl'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { StyledString, TextStyle } from './arkui/component/styledString'; /*** endif */ @@ -41,8 +41,8 @@ import { StyledString, TextStyle } from './arkui/component/styledString'; * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace i18n { /** @@ -55,7 +55,7 @@ declare namespace i18n { * the text in the default case format of the locale. The default value is true. * @returns { string } Localized script for the specified country. * @syscap SystemCapability.Global.I18n - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.System.getDisplayCountry */ @@ -71,7 +71,7 @@ declare namespace i18n { * the text in the default case format of the locale. The default value is true. * @returns { string } Localized script for the specified language. * @syscap SystemCapability.Global.I18n - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.System.getDisplayLanguage */ @@ -82,7 +82,7 @@ declare namespace i18n { * * @returns { string } System language ID. * @syscap SystemCapability.Global.I18n - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.System.getSystemLanguage */ @@ -93,7 +93,7 @@ declare namespace i18n { * * @returns { string } System region ID. * @syscap SystemCapability.Global.I18n - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.System.getSystemRegion */ @@ -104,7 +104,7 @@ declare namespace i18n { * * @returns { string } System locale ID. * @syscap SystemCapability.Global.I18n - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.System.getSystemLocale */ @@ -130,8 +130,8 @@ declare namespace i18n { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export class System { /** @@ -175,8 +175,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getDisplayCountry(country: string, locale: string, sentenceCase?: boolean): string; @@ -221,8 +221,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ static getDisplayLanguage(language: string, locale: string, sentenceCase?: boolean): string; @@ -239,8 +239,8 @@ declare namespace i18n { * @returns { Array } List of system languages. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getSystemLanguages(): Array; @@ -264,8 +264,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getSystemCountries(language: string): Array; @@ -294,8 +294,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static isSuggested(language: string, region?: string): boolean; @@ -322,8 +322,8 @@ declare namespace i18n { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ static getSystemLanguage(): string; @@ -339,8 +339,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ static setSystemLanguage(language: string): void; @@ -366,8 +366,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getSystemRegion(): string; @@ -383,8 +383,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ static setSystemRegion(region: string): void; @@ -410,7 +410,7 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @deprecated since 20 * @useinstead ohos.System.getSystemLocaleInstance */ @@ -424,8 +424,7 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ static getSystemLocaleInstance(): Intl.Locale; @@ -441,7 +440,7 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic * @deprecated since 20 */ static setSystemLocale(locale: string): void; @@ -479,8 +478,8 @@ declare namespace i18n { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static is24HourClock(): boolean; @@ -497,8 +496,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ static set24HourClock(option: boolean): void; @@ -517,8 +516,8 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ static addPreferredLanguage(language: string, index?: int): void; @@ -535,8 +534,8 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ static removePreferredLanguage(index: int): void; @@ -553,8 +552,8 @@ declare namespace i18n { * @returns { Array } List of preferred languages. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getPreferredLanguageList(): Array; @@ -571,8 +570,8 @@ declare namespace i18n { * @returns { string } First language in the preferred language list. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getFirstPreferredLanguage(): string; @@ -610,8 +609,7 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ static setAppPreferredLanguage(language: string): void; @@ -637,8 +635,7 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ static getAppPreferredLanguage(): string; @@ -655,8 +652,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ static setUsingLocalDigit(flag: boolean): void; @@ -674,8 +671,8 @@ declare namespace i18n { * is enabled, and the value "false" indicates the opposite. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getUsingLocalDigit(): boolean; @@ -694,8 +691,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ static getSimplifiedLanguage(language?: string): string; @@ -710,8 +707,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ static setTemperatureType(type: TemperatureType): void; @@ -721,8 +718,8 @@ declare namespace i18n { * @returns { TemperatureType } Temperature unit. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ static getTemperatureType(): TemperatureType; @@ -734,8 +731,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ static getTemperatureName(type: TemperatureType): string; @@ -750,8 +747,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ static setFirstDayOfWeek(type: WeekDay): void; @@ -761,8 +758,8 @@ declare namespace i18n { * @returns { WeekDay } Start day of a week. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ static getFirstDayOfWeek(): WeekDay; @@ -775,7 +772,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static getSystemCollations(): Map; @@ -787,7 +784,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static getUsingCollation(): string; @@ -802,7 +799,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static setSystemCollation(identifier: string): void; @@ -814,7 +811,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static getSystemMeasurements(): Map; @@ -826,7 +823,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static getUsingMeasurement(): string; @@ -842,7 +839,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static setSystemMeasurement(identifier: string): void; @@ -854,7 +851,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static getUsingNumberingSystem(): string; @@ -870,7 +867,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static setSystemNumberingSystem(identifier: string): void; @@ -883,7 +880,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static getSystemNumberingSystems(): Map; @@ -895,7 +892,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static getSystemNumberPatterns(): Map; @@ -911,7 +908,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static setSystemNumberPattern(pattern: string): void; @@ -924,7 +921,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static getUsingNumberPattern(): string; @@ -936,7 +933,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static getSystemNumericalDatePatterns(): Map; @@ -952,7 +949,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static setSystemNumericalDatePattern(identifier : string): void; @@ -964,7 +961,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static getUsingNumericalDatePattern(): string; @@ -976,7 +973,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @systemapi - * @since 20 + * @since 20 dynamic */ static getSystemTemperatures(): Map; } @@ -987,8 +984,8 @@ declare namespace i18n { * @enum { int } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export enum WeekDay { /** @@ -996,8 +993,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ MON = 1, @@ -1006,8 +1003,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ TUE = 2, @@ -1016,8 +1013,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ WED = 3, @@ -1026,8 +1023,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ THU = 4, @@ -1036,8 +1033,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ FRI = 5, @@ -1046,8 +1043,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SAT = 6, @@ -1056,8 +1053,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SUN = 7 } @@ -1068,8 +1065,8 @@ declare namespace i18n { * @enum { int } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export enum TemperatureType { /** @@ -1077,8 +1074,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ CELSIUS = 1, @@ -1087,8 +1084,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ FAHRENHEIT = 2, @@ -1097,8 +1094,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ KELVIN = 3 } @@ -1108,7 +1105,7 @@ declare namespace i18n { * * @interface Util * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.i18n/i18n.I18NUtil */ @@ -1124,7 +1121,7 @@ declare namespace i18n { * default value is short. * @returns { string } String obtained after formatting based on the measurement unit specified by toUnit. * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.i18n/i18n.I18NUtil#unitConvert */ @@ -1150,8 +1147,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export class I18NUtil { /** @@ -1181,8 +1178,8 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static unitConvert(fromUnit: UnitInfo, toUnit: UnitInfo, value: double, locale: string, style?: string): string; @@ -1215,8 +1212,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getDateOrder(locale: string): string; @@ -1244,8 +1241,8 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getTimePeriodName(hour:int, locale?: string): string; @@ -1263,8 +1260,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getBestMatchLocale(locale: string, localeList: string[]): string; @@ -1281,8 +1278,8 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getThreeLetterLanguage(locale: string): string; @@ -1299,8 +1296,8 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getThreeLetterRegion(locale: string): string; @@ -1318,7 +1315,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 18 + * @since 18 dynamiconly * @deprecated since 20 * @useinstead getUnicodeWrappedFilePath */ @@ -1338,8 +1335,7 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ static getUnicodeWrappedFilePath(path: string, delimiter?: string, locale?: Intl.Locale): string; } @@ -1357,8 +1353,8 @@ declare namespace i18n { * @interface UnitInfo * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface UnitInfo { /** @@ -1373,8 +1369,8 @@ declare namespace i18n { * @type { string } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ unit: string; @@ -1390,8 +1386,8 @@ declare namespace i18n { * @type { string } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ measureSystem: string; } @@ -1418,8 +1414,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface PhoneNumberFormatOptions { /** @@ -1454,8 +1450,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type?: string; } @@ -1479,8 +1475,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export class PhoneNumberFormat { /** @@ -1509,8 +1505,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(country: string, options?: PhoneNumberFormatOptions); @@ -1540,8 +1536,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isValidNumber(phoneNumber: string): boolean; @@ -1570,8 +1566,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ format(phoneNumber: string): string; @@ -1593,8 +1589,8 @@ declare namespace i18n { * @returns { string } Home location of the phone number. If the number is invalid, an empty string is returned. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getLocationName(phoneNumber: string, locale: string): string; } @@ -1636,8 +1632,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export function getCalendar(locale: string, type?: string): Calendar; @@ -1660,8 +1656,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export class Calendar { /** @@ -1686,8 +1682,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setTime(date: Date): void; @@ -1714,8 +1710,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setTime(time: double): void; @@ -1756,8 +1752,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ set(year: int, month: int, date:int, hour?: int, minute?: int, second?: int): void; @@ -1783,8 +1779,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setTimeZone(timezone: string): void; @@ -1810,8 +1806,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getTimeZone(): string; @@ -1837,8 +1833,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getFirstDayOfWeek(): int; @@ -1864,8 +1860,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setFirstDayOfWeek(value: int): void; @@ -1891,8 +1887,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getMinimalDaysInFirstWeek(): int; @@ -1918,8 +1914,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setMinimalDaysInFirstWeek(value: int): void; @@ -1953,8 +1949,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ get(field: string): int; @@ -1974,8 +1970,8 @@ declare namespace i18n { * Buddhist Calendar if the locale is en-US. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getDisplayName(locale: string): string; @@ -2008,8 +2004,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isWeekend(date?: Date): boolean; @@ -2038,8 +2034,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ add(field: string, amount: int): void; @@ -2059,8 +2055,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getTimeInMillis(): long; @@ -2088,8 +2084,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ compareDays(date: Date): int; } @@ -2119,8 +2115,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export function isRTL(locale: string): boolean; @@ -2142,8 +2138,8 @@ declare namespace i18n { * @returns { BreakIterator } BreakIterator object. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export function getLineInstance(locale: string): BreakIterator; @@ -2158,8 +2154,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export class BreakIterator { /** @@ -2175,8 +2171,8 @@ declare namespace i18n { * @returns { int } Position of the break iterator in the text. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ current(): int; @@ -2194,8 +2190,8 @@ declare namespace i18n { * @returns { int } Offset of the first line break point in the processed text. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ first(): int; @@ -2214,8 +2210,8 @@ declare namespace i18n { * @returns { int } Offset of the last line break point in the processed text. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ last(): int; @@ -2237,8 +2233,8 @@ declare namespace i18n { * position of the break iterator is outside of the processed text after movement. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ next(index?: int): int; @@ -2256,8 +2252,8 @@ declare namespace i18n { * position of the break iterator is outside of the processed text after movement. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ previous(): int; @@ -2274,8 +2270,8 @@ declare namespace i18n { * @param { string } text - Input text. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setLineBreakText(text: string): void; @@ -2295,8 +2291,8 @@ declare namespace i18n { * position of the break iterator is outside of the processed text after movement. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ following(offset: int): int; @@ -2313,8 +2309,8 @@ declare namespace i18n { * @returns { string } Text being processed by the BreakIterator object. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getLineBreakText(): string; @@ -2339,8 +2335,8 @@ declare namespace i18n { * specified by offset, which is equivalent to calling following. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isBoundary(offset: int): boolean; } @@ -2362,8 +2358,8 @@ declare namespace i18n { * @returns { IndexUtil } IndexUtil object created based on the specified locale ID. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export function getInstance(locale?:string): IndexUtil; @@ -2380,8 +2376,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export class IndexUtil { /** @@ -2397,8 +2393,8 @@ declare namespace i18n { * @returns { Array } Index list of the current locale. The first and last elements are "...". * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getIndexList(): Array; @@ -2415,8 +2411,8 @@ declare namespace i18n { * @param { string } locale - System locale, which consists of the language, script, and country/region. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ addLocale(locale: string): void; @@ -2435,8 +2431,8 @@ declare namespace i18n { * @returns { string } Index of the text object. If no proper index is found, an empty string is returned. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getIndex(text: string): string; } @@ -2445,7 +2441,7 @@ declare namespace i18n { * Provides the API for accessing unicode character properties. For example, determine whether a character is a number. * * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead Unicode */ @@ -2457,7 +2453,7 @@ declare namespace i18n { * checked. * @returns { boolean } true if the input character is a digit, and false otherwise. * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead Unicode.isDigit */ @@ -2470,7 +2466,7 @@ declare namespace i18n { * checked. * @returns { boolean } true if the input character is a space, and false otherwise. * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead Unicode.isSpaceChar */ @@ -2483,7 +2479,7 @@ declare namespace i18n { * checked. * @returns { boolean } true if the input character is a white space, and false otherwise. * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead Unicode.isWhitespace */ @@ -2496,7 +2492,7 @@ declare namespace i18n { * checked. * @returns { boolean } true if the input character is of the RTL language, and false otherwise. * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead Unicode.isRTL */ @@ -2509,7 +2505,7 @@ declare namespace i18n { * checked. * @returns { boolean } true if the input character an ideographic character, and false otherwise. * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead Unicode.isIdeograph */ @@ -2522,7 +2518,7 @@ declare namespace i18n { * checked. * @returns { boolean } true if the input character a letter, and false otherwise. * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead Unicode.isLetter */ @@ -2535,7 +2531,7 @@ declare namespace i18n { * checked. * @returns { boolean } true if the input character a lowercase letter, and false otherwise. * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead Unicode.isLowerCase */ @@ -2548,7 +2544,7 @@ declare namespace i18n { * checked. * @returns { boolean } true if the input character an uppercase letter, and false otherwise. * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead Unicode.isUpperCase */ @@ -2561,7 +2557,7 @@ declare namespace i18n { * checked. * @returns { string } Type of the input character. * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead Unicode.getType */ @@ -2587,8 +2583,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export class Unicode { /** @@ -2618,8 +2614,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static isDigit(ch: string): boolean; @@ -2650,8 +2646,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static isSpaceChar(ch: string): boolean; @@ -2682,8 +2678,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static isWhitespace(ch: string): boolean; @@ -2714,8 +2710,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static isRTL(ch: string): boolean; @@ -2746,8 +2742,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static isIdeograph(ch: string): boolean; @@ -2778,8 +2774,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static isLetter(ch: string): boolean; @@ -2810,8 +2806,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static isLowerCase(ch: string): boolean; @@ -2842,8 +2838,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static isUpperCase(ch: string): boolean; @@ -2874,8 +2870,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getType(ch: string): string; } @@ -2885,7 +2881,7 @@ declare namespace i18n { * * @returns { boolean } true if the 24-hour clock is used, and false otherwise. * @syscap SystemCapability.Global.I18n - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.i18n/i18n.System#is24HourClock */ @@ -2899,7 +2895,7 @@ declare namespace i18n { * clock, and the value "false" means the opposite. * @returns { boolean } true if the setting is successful, and false otherwise. * @syscap SystemCapability.Global.I18n - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.i18n/i18n.System#set24HourClock */ @@ -2914,7 +2910,7 @@ declare namespace i18n { * the preferred language list. * @returns { boolean } true if the operation is successful, and false otherwise. * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.i18n/i18n.System#addPreferredLanguage */ @@ -2928,7 +2924,7 @@ declare namespace i18n { * @returns { boolean } Whether the operation is successful. The value "true" indicates that the operation is * successful, and the value "false" indicates the opposite. * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.i18n/i18n.System#removePreferredLanguage */ @@ -2939,7 +2935,7 @@ declare namespace i18n { * * @returns { Array } List of preferred languages. * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.i18n/i18n.System#getPreferredLanguageList */ @@ -2950,7 +2946,7 @@ declare namespace i18n { * * @returns { string } First language in the preferred language list. * @syscap SystemCapability.Global.I18n - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.i18n/i18n.System#getFirstPreferredLanguage */ @@ -2981,8 +2977,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export function getTimeZone(zoneID?: string): TimeZone; @@ -3005,8 +3001,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export class TimeZone { /** @@ -3031,8 +3027,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getID(): string; @@ -3056,8 +3052,8 @@ declare namespace i18n { * @returns { string } Time zone display name in the specified language. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getDisplayName(locale?: string, isDST?: boolean): string; @@ -3083,8 +3079,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getRawOffset(): int; @@ -3114,8 +3110,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getOffset(date?: double): int; @@ -3141,8 +3137,8 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getAvailableIDs(): Array; @@ -3159,8 +3155,8 @@ declare namespace i18n { * @returns { Array } List of time zone city IDs supported by the system. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getAvailableZoneCityIDs(): Array; @@ -3181,8 +3177,8 @@ declare namespace i18n { * @returns { string } Time zone city display name in the specified language. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getCityDisplayName(cityID: string, locale: string): string; @@ -3201,8 +3197,8 @@ declare namespace i18n { * @returns { TimeZone } TimeZone object corresponding to the specified time zone city ID. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getTimezoneFromCity(cityID: string): TimeZone; @@ -3231,8 +3227,8 @@ declare namespace i18n { * @static * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getTimezonesByLocation(longitude: double, latitude: double): Array; @@ -3242,7 +3238,7 @@ declare namespace i18n { * @returns { ZoneRules } Returns a ZoneRuels object which defines timezone offset changing rule. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 20 + * @since 20 dynamic */ public getZoneRules(): ZoneRules; } @@ -3252,7 +3248,7 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 20 + * @since 20 dynamic */ export class ZoneRules { /** @@ -3262,7 +3258,7 @@ declare namespace i18n { * @returns { ZoneOffsetTransition } Returns a timezone offset transition after date. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 20 + * @since 20 dynamic */ public nextTransition(date?: double): ZoneOffsetTransition; } @@ -3272,7 +3268,7 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 20 + * @since 20 dynamic */ export class ZoneOffsetTransition { /** @@ -3281,7 +3277,7 @@ declare namespace i18n { * @returns { double } Timestamp of the change in the time zone offset. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 20 + * @since 20 dynamic */ public getMilliseconds(): double; @@ -3291,7 +3287,7 @@ declare namespace i18n { * @returns { int } Returns the offset after time zone offset trasition. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 20 + * @since 20 dynamic */ public getOffsetAfter(): int; @@ -3301,7 +3297,7 @@ declare namespace i18n { * @returns { int } Returns the offset before time zone offset trasition. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 20 + * @since 20 dynamic */ public getOffsetBefore(): int; } @@ -3317,8 +3313,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export class Transliterator { /** @@ -3334,8 +3330,8 @@ declare namespace i18n { * @returns { string[] } List of IDs supported by the Transliterator object. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getAvailableIDs(): string[]; @@ -3356,8 +3352,8 @@ declare namespace i18n { * @returns { Transliterator } Transliterator object. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getInstance(id: string): Transliterator; @@ -3376,8 +3372,8 @@ declare namespace i18n { * @returns { string } Text after conversion. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ transform(text: string): string; } @@ -3395,8 +3391,8 @@ declare namespace i18n { * @enum { int } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum NormalizerMode { /** @@ -3410,8 +3406,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NFC = 1, /** @@ -3425,8 +3421,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NFD = 2, /** @@ -3440,8 +3436,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NFKC = 3, /** @@ -3455,8 +3451,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NFKD = 4 } @@ -3472,8 +3468,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export class Normalizer { /** @@ -3494,8 +3490,8 @@ declare namespace i18n { * 2.Incorrect parameter types. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getInstance(mode: NormalizerMode): Normalizer; @@ -3517,8 +3513,8 @@ declare namespace i18n { * 2.Incorrect parameter types. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ normalize(text: string): string; } @@ -3529,8 +3525,8 @@ declare namespace i18n { * @enum { int } * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export enum SuggestionType { /** @@ -3538,8 +3534,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SUGGESTION_TYPE_NONE = 0, /** @@ -3547,8 +3543,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SUGGESTION_TYPE_RELATED = 1, /** @@ -3556,8 +3552,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SUGGESTION_TYPE_SIM = 2, } @@ -3568,8 +3564,8 @@ declare namespace i18n { * @interface SortOptions * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface SortOptions { /** @@ -3579,8 +3575,8 @@ declare namespace i18n { * @type { ?string } * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ locale?: string; @@ -3592,8 +3588,8 @@ declare namespace i18n { * @type { ?boolean } * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ isUseLocalName?: boolean; @@ -3605,8 +3601,8 @@ declare namespace i18n { * @type { ?boolean } * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ isSuggestedFirst?: boolean; } @@ -3617,8 +3613,8 @@ declare namespace i18n { * @interface LocaleItem * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface LocaleItem { /** @@ -3627,8 +3623,8 @@ declare namespace i18n { * @type { string } * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ id: string; @@ -3638,8 +3634,8 @@ declare namespace i18n { * @type { SuggestionType } * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ suggestionType: SuggestionType; @@ -3649,8 +3645,8 @@ declare namespace i18n { * @type { string } * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ displayName: string; @@ -3660,8 +3656,8 @@ declare namespace i18n { * @type { ?string } * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ localName?: string; } @@ -3672,8 +3668,8 @@ declare namespace i18n { * @interface TimeZoneCityItem * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface TimeZoneCityItem { /** @@ -3682,8 +3678,8 @@ declare namespace i18n { * @type { string } * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ zoneId: string; @@ -3693,8 +3689,8 @@ declare namespace i18n { * @type { string } * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ cityId: string; @@ -3704,8 +3700,8 @@ declare namespace i18n { * @type { string } * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ cityDisplayName: string; @@ -3715,8 +3711,8 @@ declare namespace i18n { * @type { int } * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ offset: int; @@ -3726,8 +3722,8 @@ declare namespace i18n { * @type { string } * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ zoneDisplayName: string; @@ -3737,8 +3733,8 @@ declare namespace i18n { * @type { ?int } * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ rawOffset?: int; } @@ -3748,8 +3744,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export class SystemLocaleManager { /** @@ -3757,8 +3753,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ constructor(); @@ -3786,8 +3782,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getLanguageInfoArray(languages: Array, options?: SortOptions): Array; @@ -3816,8 +3812,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getRegionInfoArray(regions: Array, options?: SortOptions): Array; @@ -3836,8 +3832,8 @@ declare namespace i18n { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Global.I18n * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ static getTimeZoneCityItemArray(): Array; } @@ -3855,8 +3851,8 @@ declare namespace i18n { * @interface HolidayInfoItem * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface HolidayInfoItem { /** @@ -3872,8 +3868,8 @@ declare namespace i18n { * @type { string } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ baseName: string; @@ -3890,8 +3886,8 @@ declare namespace i18n { * @type { int } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ year: int; @@ -3908,8 +3904,8 @@ declare namespace i18n { * @type { int } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ month: int; @@ -3926,8 +3922,8 @@ declare namespace i18n { * @type { int } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ day: int; @@ -3944,8 +3940,8 @@ declare namespace i18n { * @type { ?Array } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ localNames?: Array; } @@ -3963,8 +3959,8 @@ declare namespace i18n { * @interface HolidayLocalName * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface HolidayLocalName { /** @@ -3980,8 +3976,8 @@ declare namespace i18n { * @type { string } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ language: string; @@ -3998,8 +3994,8 @@ declare namespace i18n { * @type { string } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ name: string; } @@ -4015,8 +4011,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export class HolidayManager { /** @@ -4037,8 +4033,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(icsPath: String); @@ -4062,8 +4058,8 @@ declare namespace i18n { * 2.Incorrect parameter types. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isHoliday(date?: Date): boolean; @@ -4088,8 +4084,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getHolidayInfoItemArray(year?: int): Array; } @@ -4107,8 +4103,8 @@ declare namespace i18n { * @interface EntityInfoItem * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface EntityInfoItem { /** @@ -4124,8 +4120,8 @@ declare namespace i18n { * @type { int } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ begin: int; @@ -4142,8 +4138,8 @@ declare namespace i18n { * @type { int } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ end: int; @@ -4161,8 +4157,8 @@ declare namespace i18n { * @type { string } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type: string; } @@ -4178,8 +4174,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export class EntityRecognizer { /** @@ -4202,8 +4198,8 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(locale?: string); @@ -4225,8 +4221,8 @@ declare namespace i18n { * 2.Incorrect parameter types. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ findEntityInfo(text: string): Array; } @@ -4244,7 +4240,7 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 18 + * @since 18 dynamiconly * @deprecated since 20 * @useinstead getSimpleDateTimeFormatByPattern */ @@ -4263,8 +4259,7 @@ declare namespace i18n { * @throws { BusinessError } 8900001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export function getSimpleDateTimeFormatByPattern(pattern: string, locale?: Intl.Locale): SimpleDateTimeFormat; @@ -4280,7 +4275,7 @@ declare namespace i18n { * @throws { BusinessError } 890001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 18 + * @since 18 dynamiconly * @deprecated since 20 * @useinstead getSimpleDateTimeFormatBySkeleton */ @@ -4298,8 +4293,7 @@ declare namespace i18n { * @throws { BusinessError } 8900001 - Invalid parameter. Possible causes: Parameter verification failed. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export function getSimpleDateTimeFormatBySkeleton(skeleton: string, locale?: Intl.Locale): SimpleDateTimeFormat; @@ -4308,8 +4302,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export class SimpleDateTimeFormat { /** @@ -4319,8 +4313,8 @@ declare namespace i18n { * @returns { string } A string containing the formatted date and time. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ format(date: Date): string; } @@ -4336,7 +4330,7 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamiconly * @deprecated since 20 * @useinstead getSimpleNumberFormatBySkeleton */ @@ -4353,8 +4347,7 @@ declare namespace i18n { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export function getSimpleNumberFormatBySkeleton(skeleton: string, locale?: Intl.Locale): SimpleNumberFormat; @@ -4363,8 +4356,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export class SimpleNumberFormat { /** @@ -4374,8 +4367,8 @@ declare namespace i18n { * @returns { string } Formatted number. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ format(value: double): string; } @@ -4385,8 +4378,8 @@ declare namespace i18n { * * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export class StyledNumberFormat { /** @@ -4397,7 +4390,7 @@ declare namespace i18n { * The default value is the default text style. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 18 + * @since 18 dynamiconly * @deprecated since 20 * @useinstead constructor */ @@ -4410,8 +4403,7 @@ declare namespace i18n { * @param { StyledNumberFormatOptions } [ options ] - Indicates the options used to format the number. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ constructor(numberFormat: Intl.NumberFormat | SimpleNumberFormat, options?: StyledNumberFormatOptions); @@ -4423,8 +4415,8 @@ declare namespace i18n { * @returns { StyledString } Rich text object after formatting. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ format(value: double): StyledString; } @@ -4435,8 +4427,8 @@ declare namespace i18n { * @interface StyledNumberFormatOptions * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export interface StyledNumberFormatOptions { /** @@ -4445,8 +4437,8 @@ declare namespace i18n { * @type { ?TextStyle } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ integer?: TextStyle; @@ -4456,8 +4448,8 @@ declare namespace i18n { * @type { ?TextStyle } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ decimal?: TextStyle; @@ -4467,8 +4459,8 @@ declare namespace i18n { * @type { ?TextStyle } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ fraction?: TextStyle; @@ -4478,8 +4470,8 @@ declare namespace i18n { * @type { ?TextStyle } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ unit?: TextStyle; } diff --git a/api/@ohos.inputMethod.Panel.d.ts b/api/@ohos.inputMethod.Panel.d.ts index b216b49058..e2c634dedf 100644 --- a/api/@ohos.inputMethod.Panel.d.ts +++ b/api/@ohos.inputMethod.Panel.d.ts @@ -23,8 +23,8 @@ * * @typedef PanelInfo * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface PanelInfo { /** @@ -32,8 +32,8 @@ export interface PanelInfo { * * @type { PanelType } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type: PanelType; @@ -44,8 +44,8 @@ export interface PanelInfo { * @type { ?PanelFlag } * @default FLG_FIXED * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ flag?: PanelFlag; } @@ -55,8 +55,8 @@ export interface PanelInfo { * * @enum { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum PanelFlag { /** @@ -65,8 +65,8 @@ export enum PanelFlag { * When the flag is set, the soft keyboard is fixed at the bottom of the screen.

* * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FLAG_FIXED = 0, @@ -76,8 +76,8 @@ export enum PanelFlag { * When the flag is set, the soft keyboard is floating.

* * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FLAG_FLOATING, @@ -89,8 +89,8 @@ export enum PanelFlag { * Input method application developers are supposed to control the panel status on their own.

* * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FLAG_CANDIDATE } @@ -100,16 +100,16 @@ export enum PanelFlag { * * @enum { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum PanelType { /** * Panel for displaying a virtual soft keyboard. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SOFT_KEYBOARD = 0, @@ -117,8 +117,8 @@ export enum PanelType { * Panel for displaying status bar. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ STATUS_BAR } diff --git a/api/@ohos.inputMethod.d.ts b/api/@ohos.inputMethod.d.ts index a8a5e10de1..d56d7c96e4 100644 --- a/api/@ohos.inputMethod.d.ts +++ b/api/@ohos.inputMethod.d.ts @@ -19,11 +19,11 @@ */ import type { Callback, AsyncCallback } from './@ohos.base'; import InputMethodSubtype from './@ohos.InputMethodSubtype'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type { ElementName } from './bundleManager/ElementName'; import type { PanelInfo } from './@ohos.inputMethod.Panel'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { ElementName } from './bundleManager/ElementName'; import { PanelInfo } from './@ohos.inputMethod.Panel'; /*** endif */ @@ -33,15 +33,15 @@ import { PanelInfo } from './@ohos.inputMethod.Panel'; * * @namespace inputMethod * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'6', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 6 dynamic + * @since 20 static */ declare namespace inputMethod { /** * Keyboard max number * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const MAX_TYPE_NUM: number; @@ -50,7 +50,7 @@ declare namespace inputMethod { * * @returns { InputMethodSetting } the object of InputMethodSetting * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethod#getSetting */ @@ -61,7 +61,7 @@ declare namespace inputMethod { * * @returns { InputMethodController } the object of InputMethodController. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead inputMethod#getController */ @@ -74,8 +74,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800007 - input method setter error. Possible cause: * create InputmethodSetting object failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSetting(): InputMethodSetting; @@ -86,8 +86,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800006 - input method controller error. Possible cause: * create InputmethodController object failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getController(): InputMethodController; @@ -98,8 +98,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getDefaultInputMethod(): InputMethodProperty; @@ -110,8 +110,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getSystemInputMethodConfigAbility(): ElementName; @@ -141,8 +141,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function switchInputMethod(target: InputMethodProperty, callback: AsyncCallback): void; @@ -172,8 +172,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function switchInputMethod(target: InputMethodProperty): Promise; @@ -182,8 +182,8 @@ declare namespace inputMethod { * * @returns { InputMethodProperty } the property of current inputmethod. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getCurrentInputMethod(): InputMethodProperty; @@ -228,8 +228,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function switchCurrentInputMethodSubtype(target: InputMethodSubtype, callback: AsyncCallback): void; @@ -274,8 +274,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function switchCurrentInputMethodSubtype(target: InputMethodSubtype): Promise; @@ -284,8 +284,8 @@ declare namespace inputMethod { * * @returns { InputMethodSubtype } the subtype of the current input method. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getCurrentInputMethodSubtype(): InputMethodSubtype; @@ -317,7 +317,7 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ function switchCurrentInputMethodAndSubtype( inputMethodProperty: InputMethodProperty, @@ -353,7 +353,7 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ function switchCurrentInputMethodAndSubtype( inputMethodProperty: InputMethodProperty, @@ -377,8 +377,8 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function switchInputMethod(bundleName: string, subtypeId?: string): Promise; @@ -387,15 +387,15 @@ declare namespace inputMethod { * * @param { boolean } enable - indicates enable simple keyboard or not. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ function setSimpleKeyboardEnabled(enable: boolean): void; /** * @interface InputMethodSetting * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ interface InputMethodSetting { /** @@ -404,8 +404,8 @@ declare namespace inputMethod { * @param { 'imeChange' } type - Indicates the event type. * @param { function } callback - the callback of 'imeChange' * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ on( type: 'imeChange', @@ -419,8 +419,8 @@ declare namespace inputMethod { * @param { function } [callback] - the callback of 'imeChange', * when subscriber unsubscribes all callback functions of event 'imeChange', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ off( type: 'imeChange', @@ -435,8 +435,8 @@ declare namespace inputMethod { * @throws { BusinessError } 202 - not system application. * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'imeShow', callback: (info: Array) => void): void; @@ -448,8 +448,8 @@ declare namespace inputMethod { * when subscriber unsubscribes all callback functions of event 'imeShow', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'imeShow', callback?: (info: Array) => void): void; @@ -461,8 +461,8 @@ declare namespace inputMethod { * @throws { BusinessError } 202 - not system application. * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'imeHide', callback: (info: Array) => void): void; @@ -474,8 +474,8 @@ declare namespace inputMethod { * when subscriber unsubscribes all callback functions of event 'imeHide', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'imeHide', callback?: (info: Array) => void): void; @@ -493,8 +493,8 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isPanelShown(panelInfo: PanelInfo): boolean; @@ -509,8 +509,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ listInputMethodSubtype( inputMethodProperty: InputMethodProperty, @@ -528,8 +528,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ listInputMethodSubtype(inputMethodProperty: InputMethodProperty): Promise>; @@ -541,8 +541,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ listCurrentInputMethodSubtype(callback: AsyncCallback>): void; @@ -554,8 +554,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ listCurrentInputMethodSubtype(): Promise>; @@ -572,8 +572,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ getInputMethods(enable: boolean, callback: AsyncCallback>): void; @@ -590,8 +590,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ getInputMethods(enable: boolean): Promise>; @@ -608,8 +608,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getInputMethodsSync(enable: boolean): Array; @@ -621,8 +621,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getAllInputMethods(callback: AsyncCallback>): void; @@ -634,8 +634,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getAllInputMethods(): Promise>; @@ -647,15 +647,15 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getAllInputMethodsSync(): Array; /** * @param { AsyncCallback> } callback - the callback of listInputMethod. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethod.InputMethodSetting#getInputMethods */ @@ -664,7 +664,7 @@ declare namespace inputMethod { /** * @returns { Promise> } the promise returned by the function. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethod.InputMethodSetting#getInputMethods */ @@ -677,7 +677,7 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic * @deprecated since 18 */ showOptionalInputMethods(callback: AsyncCallback): void; @@ -689,7 +689,7 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic * @deprecated since 18 */ showOptionalInputMethods(): Promise; @@ -697,7 +697,7 @@ declare namespace inputMethod { /** * @param { AsyncCallback } callback - the callback of displayOptionalInputMethod. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethod.InputMethodSetting#showOptionalInputMethods */ @@ -706,7 +706,7 @@ declare namespace inputMethod { /** * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethod.InputMethodSetting#showOptionalInputMethods */ @@ -720,7 +720,7 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ getInputMethodState(): Promise; @@ -740,7 +740,7 @@ declare namespace inputMethod { * @throws { BusinessError } 12800019 - current operation cannot be applied to the preconfigured default input method. * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since 20 + * @since 20 dynamic */ enableInputMethod(bundleName: string, extensionName: string, enabledState: EnabledState): Promise; } @@ -748,8 +748,8 @@ declare namespace inputMethod { /** * @interface InputMethodController * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'6', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 6 dynamic + * @since 20 static */ interface InputMethodController { /** @@ -765,8 +765,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ attach(showKeyboard: boolean, textConfig: TextConfig, callback: AsyncCallback): void; /** @@ -782,8 +782,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ attach(showKeyboard: boolean, textConfig: TextConfig): Promise; /** @@ -800,8 +800,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ attach(showKeyboard: boolean, textConfig: TextConfig, requestKeyboardReason: RequestKeyboardReason): Promise; @@ -813,7 +813,7 @@ declare namespace inputMethod { * @throws { BusinessError } 12800009 - input method client detached. * @throws { BusinessError } 12800015 - the other side does not accept the request. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ discardTypingText(): Promise; @@ -827,8 +827,8 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ showTextInput(callback: AsyncCallback): void; /** @@ -841,8 +841,8 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ showTextInput(): Promise; /** @@ -856,8 +856,8 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ showTextInput(requestKeyboardReason: RequestKeyboardReason): Promise; /** @@ -870,8 +870,8 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ hideTextInput(callback: AsyncCallback): void; @@ -885,8 +885,8 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ hideTextInput(): Promise; @@ -899,8 +899,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ detach(callback: AsyncCallback): void; @@ -913,8 +913,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ detach(): Promise; @@ -932,7 +932,7 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ setCallingWindow(windowId: number, callback: AsyncCallback): void; @@ -950,7 +950,7 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ setCallingWindow(windowId: number): Promise; @@ -967,7 +967,7 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ updateCursor(cursorInfo: CursorInfo, callback: AsyncCallback): void; @@ -984,7 +984,7 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ updateCursor(cursorInfo: CursorInfo): Promise; @@ -1003,7 +1003,7 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ changeSelection(text: string, start: number, end: number, callback: AsyncCallback): void; @@ -1022,7 +1022,7 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ changeSelection(text: string, start: number, end: number): Promise; @@ -1039,7 +1039,7 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ updateAttribute(attribute: InputAttribute, callback: AsyncCallback): void; @@ -1056,7 +1056,7 @@ declare namespace inputMethod { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ updateAttribute(attribute: InputAttribute): Promise; /** @@ -1068,7 +1068,7 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ stopInputSession(callback: AsyncCallback): void; @@ -1081,7 +1081,7 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ stopInputSession(): Promise; @@ -1090,7 +1090,7 @@ declare namespace inputMethod { * * @param { AsyncCallback } callback - the callback of stopInput. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead inputMethod.InputMethodController#stopInputSession */ @@ -1101,7 +1101,7 @@ declare namespace inputMethod { * * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead inputMethod.InputMethodController#stopInputSession */ @@ -1119,7 +1119,7 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ showSoftKeyboard(callback: AsyncCallback): void; @@ -1135,7 +1135,7 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ showSoftKeyboard(): Promise; @@ -1151,8 +1151,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ hideSoftKeyboard(callback: AsyncCallback): void; @@ -1168,8 +1168,8 @@ declare namespace inputMethod { * @throws { BusinessError } 12800008 - input method manager service error. Possible cause: * a system error, such as null pointer, IPC exception. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ hideSoftKeyboard(): Promise; @@ -1188,7 +1188,7 @@ declare namespace inputMethod { * @throws { BusinessError } 12800015 - the other side does not accept the request. * @throws { BusinessError } 12800016 - input method client is not editable. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ sendMessage(msgId: string, msgParam?: ArrayBuffer): Promise; @@ -1198,7 +1198,7 @@ declare namespace inputMethod { * @param { ?MessageHandler } [msgHandler] - optional, the handler of the custom message. * @throws { BusinessError } 401 - parameter error. Possible causes: 1. Incorrect parameter types. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ recvMessage(msgHandler?: MessageHandler): void; @@ -1213,8 +1213,8 @@ declare namespace inputMethod { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'selectByRange', callback: Callback): void; @@ -1225,8 +1225,8 @@ declare namespace inputMethod { * @param { Callback } [callback] - the callback of 'selectByRange', * when subscriber unsubscribes all callback functions of event 'selectByRange', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'selectByRange', callback?: Callback): void; @@ -1241,8 +1241,8 @@ declare namespace inputMethod { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'selectByMovement', callback: Callback): void; @@ -1253,8 +1253,8 @@ declare namespace inputMethod { * @param { Callback } [callback] - the callback of 'selectByMovement', * when subscriber unsubscribes all callback functions of event 'selectByMovement', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'selectByMovement', callback?: Callback): void; @@ -1268,8 +1268,8 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'insertText', callback: (text: string) => void): void; @@ -1280,8 +1280,8 @@ declare namespace inputMethod { * @param { function } [callback] - the callback of 'insertText', * when subscriber unsubscribes all callback functions of event 'insertText', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'insertText', callback?: (text: string) => void): void; @@ -1297,8 +1297,8 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'deleteLeft', callback: (length: int) => void): void; @@ -1309,8 +1309,8 @@ declare namespace inputMethod { * @param { function } [callback] - the callback of 'deleteLeft', * when subscriber unsubscribes all callback functions of event 'deleteLeft', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'deleteLeft', callback?: (length: int) => void): void; @@ -1326,8 +1326,8 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'deleteRight', callback: (length: int) => void): void; @@ -1338,8 +1338,8 @@ declare namespace inputMethod { * @param { function } [callback] - the callback of 'deleteRight', * when subscriber unsubscribes all callback functions of event 'deleteRight', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'deleteRight', callback?: (length: int) => void): void; @@ -1353,8 +1353,8 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'sendKeyboardStatus', callback: (keyboardStatus: KeyboardStatus) => void): void; @@ -1365,8 +1365,8 @@ declare namespace inputMethod { * @param { function } [callback] - the callback of 'sendKeyboardStatus', * when subscriber unsubscribes all callback functions of event 'sendKeyboardStatus', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'sendKeyboardStatus', callback?: (keyboardStatus: KeyboardStatus) => void): void; @@ -1381,8 +1381,8 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'sendFunctionKey', callback: (functionKey: FunctionKey) => void): void; @@ -1393,8 +1393,8 @@ declare namespace inputMethod { * @param { function } [callback] - the callback of 'sendFunctionKey', * when subscriber unsubscribes all callback functions of event 'sendFunctionKey', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'sendFunctionKey', callback?: (functionKey: FunctionKey) => void): void; @@ -1409,8 +1409,8 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'moveCursor', callback: (direction: Direction) => void): void; @@ -1421,8 +1421,8 @@ declare namespace inputMethod { * @param { function } [callback] - the callback of 'moveCursor', * when subscriber unsubscribes all callback functions of event 'moveCursor', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'moveCursor', callback?: (direction: Direction) => void): void; @@ -1436,8 +1436,8 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'handleExtendAction', callback: (action: ExtendAction) => void): void; @@ -1448,8 +1448,8 @@ declare namespace inputMethod { * @param { function } [callback] - the callback of 'handleExtendAction', * when subscriber unsubscribes all callback functions of event 'handleExtendAction', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'handleExtendAction', callback?: (action: ExtendAction) => void): void; @@ -1463,8 +1463,8 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'getLeftTextOfCursor', callback: (length: int) => string): void; @@ -1475,8 +1475,8 @@ declare namespace inputMethod { * @param { function } [callback] - the callback of 'getLeftTextOfCursor', * when subscriber unsubscribes all callback functions of event 'getLeftTextOfCursor', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'getLeftTextOfCursor', callback?: (length: int) => string): void; @@ -1490,8 +1490,8 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'getRightTextOfCursor', callback: (length: int) => string): void; @@ -1502,8 +1502,8 @@ declare namespace inputMethod { * @param { function } [callback] - the callback of 'getRightTextOfCursor', * when subscriber unsubscribes all callback functions of event 'getRightTextOfCursor', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'getRightTextOfCursor', callback?: (length: int) => string): void; @@ -1517,8 +1517,8 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'getTextIndexAtCursor', callback: () => int): void; @@ -1529,8 +1529,8 @@ declare namespace inputMethod { * @param { function } [callback] - the callback of 'getTextIndexAtCursor', * when subscriber unsubscribes all callback functions of event 'getTextIndexAtCursor', this parameter can be left blank. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'getTextIndexAtCursor', callback?: () => int): void; @@ -1543,7 +1543,7 @@ declare namespace inputMethod { * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 17 + * @since 17 dynamic */ on(type: 'setPreviewText', callback: SetPreviewTextCallback): void; @@ -1553,7 +1553,7 @@ declare namespace inputMethod { * @param { 'setPreviewText' } type - the type of unsubscribe event. * @param { SetPreviewTextCallback } [callback] - optional, the callback of off('setPreviewText'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 17 + * @since 17 dynamic */ off(type: 'setPreviewText', callback?: SetPreviewTextCallback): void; @@ -1566,7 +1566,7 @@ declare namespace inputMethod { * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified. 2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 17 + * @since 17 dynamic */ on(type: 'finishTextPreview', callback: Callback): void; @@ -1576,7 +1576,7 @@ declare namespace inputMethod { * @param { 'finishTextPreview' } type - the type of unsubscribe event. * @param { Callback } [callback] - optional, the callback of off('finishTextPreview'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 17 + * @since 17 dynamic */ off(type: 'finishTextPreview', callback?: Callback): void; } @@ -1586,8 +1586,8 @@ declare namespace inputMethod { * * @interface InputMethodProperty * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ interface InputMethodProperty { /** @@ -1595,7 +1595,7 @@ declare namespace inputMethod { * * @type { string } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethod.InputMethodProperty#name */ @@ -1606,7 +1606,7 @@ declare namespace inputMethod { * * @type { string } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethod.InputMethodProperty#id */ @@ -1618,8 +1618,8 @@ declare namespace inputMethod { * @type { string } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly name: string; @@ -1629,8 +1629,8 @@ declare namespace inputMethod { * @type { string } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly id: string; @@ -1640,8 +1640,8 @@ declare namespace inputMethod { * @type { ?string } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly label?: string; @@ -1651,8 +1651,8 @@ declare namespace inputMethod { * @type { ?double } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ readonly labelId?: double; @@ -1662,8 +1662,8 @@ declare namespace inputMethod { * @type { ?string } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly icon?: string; @@ -1673,8 +1673,8 @@ declare namespace inputMethod { * @type { ?double } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly iconId?: double; @@ -1684,7 +1684,7 @@ declare namespace inputMethod { * @type { ?EnabledState } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ readonly enabledState?: EnabledState; @@ -1700,7 +1700,7 @@ declare namespace inputMethod { * * @type { ?object } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ extra?: object; } @@ -1710,16 +1710,16 @@ declare namespace inputMethod { * * @enum { int } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export enum Direction { /** * Cursor moves up * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CURSOR_UP = 1, @@ -1727,8 +1727,8 @@ declare namespace inputMethod { * Cursor moves down * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CURSOR_DOWN, @@ -1736,8 +1736,8 @@ declare namespace inputMethod { * Cursor moves left * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CURSOR_LEFT, @@ -1745,8 +1745,8 @@ declare namespace inputMethod { * Cursor moves right * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CURSOR_RIGHT } @@ -1756,8 +1756,8 @@ declare namespace inputMethod { * * @typedef Range * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface Range { /** @@ -1765,8 +1765,8 @@ declare namespace inputMethod { * * @type { int } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ start: int; @@ -1775,8 +1775,8 @@ declare namespace inputMethod { * * @type { int } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ end: int; } @@ -1786,8 +1786,8 @@ declare namespace inputMethod { * * @typedef Movement * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface Movement { /** @@ -1795,8 +1795,8 @@ declare namespace inputMethod { * * @type { Direction } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ direction: Direction; } @@ -1806,16 +1806,16 @@ declare namespace inputMethod { * * @enum { int } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export enum TextInputType { /** * The text input type is NONE. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NONE = -1, @@ -1823,8 +1823,8 @@ declare namespace inputMethod { * The text input type is TEXT. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ TEXT = 0, @@ -1832,8 +1832,8 @@ declare namespace inputMethod { * The text input type is MULTILINE. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MULTILINE, @@ -1841,8 +1841,8 @@ declare namespace inputMethod { * The text input type is NUMBER. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NUMBER, @@ -1850,8 +1850,8 @@ declare namespace inputMethod { * The text input type is PHONE. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PHONE, @@ -1859,8 +1859,8 @@ declare namespace inputMethod { * The text input type is DATETIME. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ DATETIME, @@ -1868,8 +1868,8 @@ declare namespace inputMethod { * The text input type is EMAIL_ADDRESS. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ EMAIL_ADDRESS, @@ -1877,8 +1877,8 @@ declare namespace inputMethod { * The text input type is URL. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ URL, @@ -1886,8 +1886,8 @@ declare namespace inputMethod { * The text input type is VISIBLE_PASSWORD. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ VISIBLE_PASSWORD, @@ -1895,8 +1895,8 @@ declare namespace inputMethod { * The text input type is NUMBER_PASSWORD. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NUMBER_PASSWORD, @@ -1904,7 +1904,7 @@ declare namespace inputMethod { * The text input type is SCREEN_LOCK_PASSWORD. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ SCREEN_LOCK_PASSWORD, @@ -1912,7 +1912,7 @@ declare namespace inputMethod { * The text input type is USER_NAME. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ USER_NAME, @@ -1920,7 +1920,7 @@ declare namespace inputMethod { * The text input type is NEW_PASSWORD. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ NEW_PASSWORD, @@ -1928,7 +1928,7 @@ declare namespace inputMethod { * The text input type is NUMBER_DECIMAL. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ NUMBER_DECIMAL, @@ -1936,7 +1936,7 @@ declare namespace inputMethod { * The text input type is ONE_TIME_CODE. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ ONE_TIME_CODE } @@ -1946,16 +1946,16 @@ declare namespace inputMethod { * * @enum { int } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export enum EnterKeyType { /** * The enter key type is UNSPECIFIED. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ UNSPECIFIED = 0, @@ -1963,8 +1963,8 @@ declare namespace inputMethod { * The enter key type is NONE. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NONE, @@ -1972,8 +1972,8 @@ declare namespace inputMethod { * The enter key type is GO. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ GO, @@ -1981,8 +1981,8 @@ declare namespace inputMethod { * The enter key type is SEARCH. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SEARCH, @@ -1990,8 +1990,8 @@ declare namespace inputMethod { * The enter key type is SEND. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SEND, @@ -1999,8 +1999,8 @@ declare namespace inputMethod { * The enter key type is NEXT. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NEXT, @@ -2008,8 +2008,8 @@ declare namespace inputMethod { * The enter key type is DONE. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ DONE, @@ -2017,8 +2017,8 @@ declare namespace inputMethod { * The enter key type is PREVIOUS. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PREVIOUS, @@ -2026,8 +2026,8 @@ declare namespace inputMethod { * The enter key type is NEWLINE. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NEWLINE } @@ -2037,16 +2037,16 @@ declare namespace inputMethod { * * @enum { int } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export enum KeyboardStatus { /** * The keyboard status is none. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ NONE = 0, @@ -2054,8 +2054,8 @@ declare namespace inputMethod { * The keyboard status is hide. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ HIDE = 1, @@ -2063,8 +2063,8 @@ declare namespace inputMethod { * The keyboard status is show. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SHOW = 2 } @@ -2074,8 +2074,8 @@ declare namespace inputMethod { * * @typedef InputAttribute * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface InputAttribute { /** @@ -2083,8 +2083,8 @@ declare namespace inputMethod { * * @type { TextInputType } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ textInputType: TextInputType; @@ -2093,8 +2093,8 @@ declare namespace inputMethod { * * @type { EnterKeyType } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enterKeyType: EnterKeyType; @@ -2103,7 +2103,7 @@ declare namespace inputMethod { * * @type { ?string } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ placeholder?: string; @@ -2112,7 +2112,7 @@ declare namespace inputMethod { * * @type { ?string } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ abilityName?: string; } @@ -2122,8 +2122,8 @@ declare namespace inputMethod { * * @typedef FunctionKey * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface FunctionKey { /** @@ -2131,8 +2131,8 @@ declare namespace inputMethod { * * @type { EnterKeyType } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enterKeyType: EnterKeyType; } @@ -2142,8 +2142,8 @@ declare namespace inputMethod { * * @typedef CursorInfo * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface CursorInfo { /** @@ -2151,8 +2151,8 @@ declare namespace inputMethod { * * @type { double } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ left: double; @@ -2161,8 +2161,8 @@ declare namespace inputMethod { * * @type { double } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ top: double; @@ -2171,8 +2171,8 @@ declare namespace inputMethod { * * @type { double } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ width: double; @@ -2181,8 +2181,8 @@ declare namespace inputMethod { * * @type { double } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ height: double; } @@ -2192,8 +2192,8 @@ declare namespace inputMethod { * * @typedef TextConfig * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface TextConfig { /** @@ -2201,8 +2201,8 @@ declare namespace inputMethod { * * @type { InputAttribute } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ inputAttribute: InputAttribute; @@ -2211,8 +2211,8 @@ declare namespace inputMethod { * * @type { ?CursorInfo } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ cursorInfo?: CursorInfo; @@ -2221,8 +2221,8 @@ declare namespace inputMethod { * * @type { ?Range } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ selection?: Range; @@ -2231,8 +2231,8 @@ declare namespace inputMethod { * * @type { ?int } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ windowId?: int; @@ -2241,7 +2241,7 @@ declare namespace inputMethod { * * @type { ?boolean } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ newEditBox?: boolean; @@ -2251,7 +2251,7 @@ declare namespace inputMethod { * @type { ?CapitalizeMode } * @default CapitalizeMode.NONE * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ capitalizeMode?: CapitalizeMode; } @@ -2261,16 +2261,16 @@ declare namespace inputMethod { * * @enum { int } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export enum ExtendAction { /** * Select all text. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SELECT_ALL = 0, @@ -2278,8 +2278,8 @@ declare namespace inputMethod { * Cut selecting text. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CUT = 3, @@ -2287,8 +2287,8 @@ declare namespace inputMethod { * Copy selecting text. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ COPY = 4, @@ -2296,8 +2296,8 @@ declare namespace inputMethod { * Paste from paste board. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PASTE = 5 } @@ -2307,8 +2307,8 @@ declare namespace inputMethod { * * @typedef InputWindowInfo * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface InputWindowInfo { /** @@ -2316,8 +2316,8 @@ declare namespace inputMethod { * * @type { string } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ name: string; @@ -2326,8 +2326,8 @@ declare namespace inputMethod { * * @type { int } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ left: int; @@ -2336,8 +2336,8 @@ declare namespace inputMethod { * * @type { int } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ top: int; @@ -2346,8 +2346,8 @@ declare namespace inputMethod { * * @type { double } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ width: double; @@ -2356,8 +2356,8 @@ declare namespace inputMethod { * * @type { double } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ height: double; } @@ -2368,7 +2368,7 @@ declare namespace inputMethod { * * @interface MessageHandler * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ interface MessageHandler { /** @@ -2377,7 +2377,7 @@ declare namespace inputMethod { * @param { string } msgId - the identifier of the message. * @param { ?ArrayBuffer } [msgParam] - the parameter of the custom message. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ onMessage(msgId: string, msgParam?: ArrayBuffer): void; @@ -2385,7 +2385,7 @@ declare namespace inputMethod { * This method is called when a new message handler is set. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ onTerminated(): void; } @@ -2395,14 +2395,14 @@ declare namespace inputMethod { * * @enum { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ export enum EnabledState { /** * Disabled state. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ DISABLED = 0, @@ -2410,7 +2410,7 @@ declare namespace inputMethod { * Enabled state with basic mode. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ BASIC_MODE, @@ -2418,7 +2418,7 @@ declare namespace inputMethod { * Enabled state with full experience mode. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ FULL_EXPERIENCE_MODE } @@ -2428,36 +2428,36 @@ declare namespace inputMethod { * * @enum { int } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ export enum RequestKeyboardReason { /** * The request keyboard reason is NONE. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ NONE = 0, /** * The request keyboard reason is MOUSE. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ MOUSE = 1, /** * The request keyboard reason is TOUCH. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ TOUCH = 2, /** * The request keyboard reason is OTHER. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ OTHER = 20 } @@ -2469,7 +2469,7 @@ declare namespace inputMethod { * @param { text } string - text to be previewed. * @param { range } Range - the range of the text to be replaced by the preview text. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 17 + * @since 17 dynamic */ export type SetPreviewTextCallback = (text: string, range: Range) => void; @@ -2478,14 +2478,14 @@ declare namespace inputMethod { * * @enum { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ export enum CapitalizeMode { /** * Capitalize nothing. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ NONE = 0, @@ -2493,7 +2493,7 @@ declare namespace inputMethod { * Capitalize the first letter of each sentence. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ SENTENCES, @@ -2501,7 +2501,7 @@ declare namespace inputMethod { * Capitalize the first letter of each word. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ WORDS, @@ -2509,7 +2509,7 @@ declare namespace inputMethod { * Capitalize each letter. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ CHARACTERS } diff --git a/api/@ohos.inputMethodEngine.d.ts b/api/@ohos.inputMethodEngine.d.ts index 5fc66ea191..96a9eb9f5a 100644 --- a/api/@ohos.inputMethodEngine.d.ts +++ b/api/@ohos.inputMethodEngine.d.ts @@ -28,14 +28,14 @@ import window from './@ohos.window'; * * @namespace inputMethodEngine * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ declare namespace inputMethodEngine { /** * When "enter" key is pressed, there is no action * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const ENTER_KEY_TYPE_UNSPECIFIED: number; @@ -43,7 +43,7 @@ declare namespace inputMethodEngine { * When "enter" key is pressed, it means GO * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const ENTER_KEY_TYPE_GO: number; @@ -51,7 +51,7 @@ declare namespace inputMethodEngine { * When "enter" key is pressed, it means SEARCH * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const ENTER_KEY_TYPE_SEARCH: number; @@ -59,7 +59,7 @@ declare namespace inputMethodEngine { * When "enter" key is pressed, it means SEND * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const ENTER_KEY_TYPE_SEND: number; @@ -67,7 +67,7 @@ declare namespace inputMethodEngine { * When "enter" key is pressed, it means NEXT * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const ENTER_KEY_TYPE_NEXT: number; @@ -75,7 +75,7 @@ declare namespace inputMethodEngine { * When "enter" key is pressed, it means DONE * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const ENTER_KEY_TYPE_DONE: number; @@ -83,7 +83,7 @@ declare namespace inputMethodEngine { * When "enter" key is pressed, it means PREVIOUS * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const ENTER_KEY_TYPE_PREVIOUS: number; @@ -92,7 +92,7 @@ declare namespace inputMethodEngine { * * @constant * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ const ENTER_KEY_TYPE_NEWLINE: 8; @@ -100,7 +100,7 @@ declare namespace inputMethodEngine { * Editor with no special function * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const PATTERN_NULL: number; @@ -108,7 +108,7 @@ declare namespace inputMethodEngine { * Editor of type TEXT * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const PATTERN_TEXT: number; @@ -116,7 +116,7 @@ declare namespace inputMethodEngine { * Editor of type NUMBER * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const PATTERN_NUMBER: number; @@ -124,7 +124,7 @@ declare namespace inputMethodEngine { * Editor of type PHONE NUMBER * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const PATTERN_PHONE: number; @@ -132,7 +132,7 @@ declare namespace inputMethodEngine { * Editor of type DATETIME * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const PATTERN_DATETIME: number; @@ -140,7 +140,7 @@ declare namespace inputMethodEngine { * Editor of type EMAIL * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const PATTERN_EMAIL: number; @@ -148,7 +148,7 @@ declare namespace inputMethodEngine { * Editor of type URI * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const PATTERN_URI: number; @@ -156,7 +156,7 @@ declare namespace inputMethodEngine { * Editor of type PASSWORD * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const PATTERN_PASSWORD: number; @@ -164,7 +164,7 @@ declare namespace inputMethodEngine { * Editor of type SCREEN LOCK PASSWORD * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ const PATTERN_PASSWORD_SCREEN_LOCK: number; @@ -172,7 +172,7 @@ declare namespace inputMethodEngine { * Editor of type NUMBER PASSWORD * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ const PATTERN_PASSWORD_NUMBER: number; @@ -180,7 +180,7 @@ declare namespace inputMethodEngine { * Editor of type PATTERN_USER_NAME * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ const PATTERN_USER_NAME: number = 10; @@ -188,7 +188,7 @@ declare namespace inputMethodEngine { * Editor of type PATTERN_NEW_PASSWORD * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ const PATTERN_NEW_PASSWORD: number = 11; @@ -196,7 +196,7 @@ declare namespace inputMethodEngine { * Editor of type PATTERN_NUMBER_DECIMAL * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ const PATTERN_NUMBER_DECIMAL: number = 12; @@ -204,7 +204,7 @@ declare namespace inputMethodEngine { * Editor of type PATTERN_ONE_TIME_CODE * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ const PATTERN_ONE_TIME_CODE: number = 13; @@ -212,7 +212,7 @@ declare namespace inputMethodEngine { * Editor in SELECTING state * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const FLAG_SELECTING: number; @@ -220,7 +220,7 @@ declare namespace inputMethodEngine { * Editor in SINGLE_LINE state * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const FLAG_SINGLE_LINE: number; @@ -228,7 +228,7 @@ declare namespace inputMethodEngine { * The Editor displays in PART mode * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const DISPLAY_MODE_PART: number; @@ -236,7 +236,7 @@ declare namespace inputMethodEngine { * The Editor displays in FULL mode * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const DISPLAY_MODE_FULL: number; @@ -244,7 +244,7 @@ declare namespace inputMethodEngine { * Allows ASCII to be inputted * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const OPTION_ASCII: number; @@ -252,7 +252,7 @@ declare namespace inputMethodEngine { * Do not specify Editor's input type * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const OPTION_NONE: number; @@ -260,7 +260,7 @@ declare namespace inputMethodEngine { * Allows CHARACTERS to be inputted * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const OPTION_AUTO_CAP_CHARACTERS: number; @@ -268,7 +268,7 @@ declare namespace inputMethodEngine { * Allows SENTENCES to be inputted * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const OPTION_AUTO_CAP_SENTENCES: number; @@ -276,7 +276,7 @@ declare namespace inputMethodEngine { * Allows WORDS to be inputted * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const OPTION_AUTO_WORDS: number; @@ -284,7 +284,7 @@ declare namespace inputMethodEngine { * Allows MULTI_LINE to be inputted * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const OPTION_MULTI_LINE: number; @@ -292,7 +292,7 @@ declare namespace inputMethodEngine { * Half-screen mode * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ const OPTION_NO_FULLSCREEN: number; @@ -300,7 +300,7 @@ declare namespace inputMethodEngine { * The move direction of cursor: UP * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ const CURSOR_UP: number; @@ -308,7 +308,7 @@ declare namespace inputMethodEngine { * The move direction of cursor: DOWN * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ const CURSOR_DOWN: number; @@ -316,7 +316,7 @@ declare namespace inputMethodEngine { * The move direction of cursor: LEFT * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ const CURSOR_LEFT: number; @@ -324,7 +324,7 @@ declare namespace inputMethodEngine { * The move direction of cursor: RIGHT * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ const CURSOR_RIGHT: number; @@ -332,7 +332,7 @@ declare namespace inputMethodEngine { * The window styles for input method ability. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ const WINDOW_TYPE_INPUT_METHOD_FLOAT: number; @@ -341,14 +341,14 @@ declare namespace inputMethodEngine { * * @returns { InputMethodAbility } the object of the InputMethodAbility. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ function getInputMethodAbility(): InputMethodAbility; /** * @returns { InputMethodEngine } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine#getInputMethodAbility */ @@ -359,14 +359,14 @@ declare namespace inputMethodEngine { * * @returns { KeyboardDelegate } the object of KeyboardDelegate. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ function getKeyboardDelegate(): KeyboardDelegate; /** * @returns { KeyboardDelegate } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine#getKeyboardDelegate */ @@ -376,7 +376,7 @@ declare namespace inputMethodEngine { * Indicates the possible data types of the command. * @typedef { number | string | boolean } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ type CommandDataType = number | string | boolean; @@ -388,7 +388,7 @@ declare namespace inputMethodEngine { * @param { KeyboardArea } keyboardArea - keyboard area. * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since 14 + * @since 14 dynamic */ export type SizeUpdateCallback = (size: window.Size, keyboardArea: KeyboardArea) => void; @@ -399,14 +399,14 @@ declare namespace inputMethodEngine { * @param { window.Size } size - panel size. * @param { KeyboardArea } keyboardArea - keyboard area. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ export type SizeChangeCallback = (size: window.Size, keyboardArea?: KeyboardArea) => void; /** * @interface KeyboardController * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ interface KeyboardController { /** @@ -416,7 +416,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ hide(callback: AsyncCallback): void; @@ -427,14 +427,14 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ hide(): Promise; /** * @param { AsyncCallback } callback - indicates the callback function of hideKeyboard. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.KeyboardController#hide */ @@ -443,7 +443,7 @@ declare namespace inputMethodEngine { /** * @returns { Promise } the promise returned by the function * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.KeyboardController#hide */ @@ -457,7 +457,7 @@ declare namespace inputMethodEngine { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800010 - not the preconfigured default input method. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ exitCurrentInputType(callback: AsyncCallback): void; @@ -469,7 +469,7 @@ declare namespace inputMethodEngine { * a system error, such as null pointer, IPC exception. * @throws { BusinessError } 12800010 - not the preconfigured default input method. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ exitCurrentInputType(): Promise; } @@ -477,7 +477,7 @@ declare namespace inputMethodEngine { /** * @interface InputMethodEngine * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ interface InputMethodEngine { /** @@ -486,7 +486,7 @@ declare namespace inputMethodEngine { * @param { 'inputStart' } type - indicates the type of subscribe event. * @param { function } callback - indicates the callback of on('inputStart'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ on( type: 'inputStart', @@ -499,7 +499,7 @@ declare namespace inputMethodEngine { * @param { 'inputStart' } type - indicates the type of subscribe event. * @param { function } callback - optional, indicates the callback of off('inputStart'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ off( type: 'inputStart', @@ -512,7 +512,7 @@ declare namespace inputMethodEngine { * @param { 'keyboardShow' | 'keyboardHide' } type - indicates the type of subscribe event. * @param { function } callback - indicates the callback of on('keyboardShow'|'keyboardHide'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ on(type: 'keyboardShow' | 'keyboardHide', callback: () => void): void; @@ -522,7 +522,7 @@ declare namespace inputMethodEngine { * @param { 'keyboardShow' | 'keyboardHide' } type - indicates the type of subscribe event. * @param { function } [callback] - optional, indicates the callback of off('keyboardShow'|'keyboardHide'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ off(type: 'keyboardShow' | 'keyboardHide', callback?: () => void): void; } @@ -534,7 +534,7 @@ declare namespace inputMethodEngine { * * @interface InputMethodAbility * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ interface InputMethodAbility { /** @@ -543,7 +543,7 @@ declare namespace inputMethodEngine { * @param { 'inputStart' } type - the type of subscribe event. * @param { function } callback - the callback of on('inputStart'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ on(type: 'inputStart', callback: (kbController: KeyboardController, inputClient: InputClient) => void): void; @@ -553,7 +553,7 @@ declare namespace inputMethodEngine { * @param { 'inputStart' } type - the type of unsubscribe event. * @param { function } [callback] - optional, the callback of off('inputStart'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ off(type: 'inputStart', callback?: (kbController: KeyboardController, inputClient: InputClient) => void): void; @@ -563,7 +563,7 @@ declare namespace inputMethodEngine { * @param { 'inputStop' } type - the type of subscribe event. * @param { function } callback - the callback of on('inputStop'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ on(type: 'inputStop', callback: () => void): void; @@ -573,7 +573,7 @@ declare namespace inputMethodEngine { * @param { 'inputStop' } type - the type of unsubscribe event. * @param { function } callback - the callback of off('inputStop'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ off(type: 'inputStop', callback: () => void): void; @@ -583,7 +583,7 @@ declare namespace inputMethodEngine { * @param { 'setCallingWindow' } type - the type of subscribe event. * @param { function } callback - the callback of on('setCallingWindow'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ on(type: 'setCallingWindow', callback: (wid: number) => void): void; @@ -593,7 +593,7 @@ declare namespace inputMethodEngine { * @param { 'setCallingWindow' } type - the type of unsubscribe event. * @param { function } callback - the callback of off('setCallingWindow'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ off(type: 'setCallingWindow', callback: (wid: number) => void): void; @@ -603,7 +603,7 @@ declare namespace inputMethodEngine { * @param { 'keyboardShow' | 'keyboardHide' } type - the type of subscribe event. * @param { function } callback - the callback of on('keyboardShow'|'keyboardHide'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ on(type: 'keyboardShow' | 'keyboardHide', callback: () => void): void; @@ -613,7 +613,7 @@ declare namespace inputMethodEngine { * @param { 'keyboardShow' | 'keyboardHide' } type - the type of unsubscribe event. * @param { function } [callback] - the callback of off('keyboardShow'|'keyboardHide'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ off(type: 'keyboardShow' | 'keyboardHide', callback?: () => void): void; @@ -623,7 +623,7 @@ declare namespace inputMethodEngine { * @param { 'setSubtype' } type - the type of subscribe event. * @param { function } callback - the callback of on('setSubtype'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ on(type: 'setSubtype', callback: (inputMethodSubtype: InputMethodSubtype) => void): void; @@ -633,7 +633,7 @@ declare namespace inputMethodEngine { * @param { 'setSubtype' } type - the type of subscribe event. * @param { function } [callback] - the callback of off('setSubtype'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ off(type: 'setSubtype', callback?: (inputMethodSubtype: InputMethodSubtype) => void): void; @@ -643,7 +643,7 @@ declare namespace inputMethodEngine { * @param { 'securityModeChange' } type - the type of subscribe event. * @param { Callback } callback - the callback of on('securityModeChange'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ on(type: 'securityModeChange', callback: Callback): void; @@ -653,7 +653,7 @@ declare namespace inputMethodEngine { * @param { 'securityModeChange' } type - the type of unsubscribe event. * @param { Callback } [callback] - optional, the callback of off('securityModeChange'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ off(type: 'securityModeChange', callback?: Callback): void; @@ -664,7 +664,7 @@ declare namespace inputMethodEngine { * @param { Callback> } callback - indicates the callback of on('privateCommand'). * @throws { BusinessError } 12800010 - not the preconfigured default input method. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ on(type: 'privateCommand', callback: Callback>): void; @@ -676,7 +676,7 @@ declare namespace inputMethodEngine { * indicates the callback of off('privateCommand'). * @throws { BusinessError } 12800010 - not the preconfigured default input method. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ off(type: 'privateCommand', callback?: Callback>): void; @@ -687,7 +687,7 @@ declare namespace inputMethodEngine { * @param { Callback } callback - indicates the callback of on('callingDisplayDidChange'). * @throws { BusinessError } 801 - capability not supported. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 18 + * @since 18 dynamic */ on(type: 'callingDisplayDidChange', callback: Callback): void; @@ -697,7 +697,7 @@ declare namespace inputMethodEngine { * @param { 'callingDisplayDidChange' } type - indicates the type of subscribe event. * @param { Callback } [callback] - optional, indicates the callback of off('callingDisplayDidChange'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 18 + * @since 18 dynamic */ off(type: 'callingDisplayDidChange', callback?: Callback): void; @@ -707,7 +707,7 @@ declare namespace inputMethodEngine { * @param { 'discardTypingText' } type - the type of subscribe event. * @param { Callback } callback - the callback of on('discardTypingText'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ on(type: 'discardTypingText', callback: Callback): void; @@ -717,7 +717,7 @@ declare namespace inputMethodEngine { * @param { 'discardTypingText' } type - the type of unsubscribe event. * @param { Callback } callback - the callback of off('discardTypingText'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ off(type: 'discardTypingText', callback?: Callback): void; @@ -727,7 +727,7 @@ declare namespace inputMethodEngine { * @returns { SecurityMode } return security mode. * @throws { BusinessError } 12800004 - not an input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ getSecurityMode(): SecurityMode; @@ -742,7 +742,7 @@ declare namespace inputMethodEngine { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; * @throws { BusinessError } 12800004 - not an input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ createPanel(ctx: BaseContext, info: PanelInfo, callback: AsyncCallback): void; @@ -757,7 +757,7 @@ declare namespace inputMethodEngine { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; * @throws { BusinessError } 12800004 - not an input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ createPanel(ctx: BaseContext, info: PanelInfo): Promise; @@ -769,7 +769,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ destroyPanel(panel: Panel, callback: AsyncCallback): void; @@ -781,7 +781,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ destroyPanel(panel: Panel): Promise; } @@ -789,7 +789,7 @@ declare namespace inputMethodEngine { /** * @interface TextInputClient * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine#InputClient */ @@ -798,7 +798,7 @@ declare namespace inputMethodEngine { * @param { number } action - action indicates the function of "enter" key. * @param { AsyncCallback } callback - the callback of sendKeyFunction. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.InputClient#sendKeyFunction */ @@ -808,7 +808,7 @@ declare namespace inputMethodEngine { * @param { number } action - action indicates the function of "enter" key. * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.InputClient#sendKeyFunction */ @@ -818,7 +818,7 @@ declare namespace inputMethodEngine { * @param { number } length - length of text which will be deleted forward. * @param { AsyncCallback } callback - the callback of deleteForward. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.InputClient#deleteForward */ @@ -828,7 +828,7 @@ declare namespace inputMethodEngine { * @param { number } length - length of text which will be deleted forward. * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.InputClient#deleteForward */ @@ -838,7 +838,7 @@ declare namespace inputMethodEngine { * @param { number } length - length of text which will be deleted backward. * @param { AsyncCallback } callback - the callback of deleteBackward. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.InputClient#deleteBackward */ @@ -848,7 +848,7 @@ declare namespace inputMethodEngine { * @param { number } length - length of text which will be deleted backward. * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.InputClient#deleteBackward */ @@ -858,7 +858,7 @@ declare namespace inputMethodEngine { * @param { string } text - text which will be inserted. * @param { AsyncCallback } callback - the callback of insertText. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.InputClient#insertText */ @@ -868,7 +868,7 @@ declare namespace inputMethodEngine { * @param { string } text - text which will be inserted. * @returns { Promise } the promise returned by the function * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.InputClient#insertText */ @@ -878,7 +878,7 @@ declare namespace inputMethodEngine { * @param { number } length - the length of text which will be got. * @param { AsyncCallback } callback - the callback of getForward. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.InputClient#getForward */ @@ -888,7 +888,7 @@ declare namespace inputMethodEngine { * @param { number } length - the length of text which will be got. * @returns { Promise } the promise returned by the function * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.InputClient#getForward */ @@ -898,7 +898,7 @@ declare namespace inputMethodEngine { * @param { number } length - the length of text which will be got. * @param { AsyncCallback } callback - the callback of getBackward. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.InputClient#getBackward */ @@ -908,7 +908,7 @@ declare namespace inputMethodEngine { * @param { number } length - the length of text which will be got. * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.InputClient#getBackward */ @@ -917,7 +917,7 @@ declare namespace inputMethodEngine { /** * @param { AsyncCallback } callback - the callback of getEditorAttribute. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.InputClient#getEditorAttribute */ @@ -926,7 +926,7 @@ declare namespace inputMethodEngine { /** * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead inputMethodEngine.InputClient#getEditorAttribute */ @@ -938,7 +938,7 @@ declare namespace inputMethodEngine { * * @interface InputClient * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ interface InputClient { /** @@ -951,7 +951,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ sendKeyFunction(action: number, callback: AsyncCallback): void; @@ -965,7 +965,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ sendKeyFunction(action: number): Promise; @@ -981,7 +981,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ deleteForward(length: number, callback: AsyncCallback): void; @@ -997,7 +997,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ deleteForward(length: number): Promise; @@ -1012,7 +1012,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ deleteForwardSync(length: number): void; @@ -1028,7 +1028,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ deleteBackward(length: number, callback: AsyncCallback): void; @@ -1044,7 +1044,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ deleteBackward(length: number): Promise; @@ -1059,7 +1059,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ deleteBackwardSync(length: number): void; @@ -1075,7 +1075,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ insertText(text: string, callback: AsyncCallback): void; @@ -1091,7 +1091,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ insertText(text: string): Promise; @@ -1106,7 +1106,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ insertTextSync(text: string): void; @@ -1122,7 +1122,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800006 - input method controller error. Possible cause: * create InputmethodController object failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ getForward(length: number, callback: AsyncCallback): void; @@ -1138,7 +1138,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800006 - input method controller error. Possible cause: * create InputmethodController object failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ getForward(length: number): Promise; @@ -1154,7 +1154,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800006 - input method controller error. Possible cause: * create InputmethodController object failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ getForwardSync(length: number): string; @@ -1170,7 +1170,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800006 - input method controller error. Possible cause: * create InputmethodController object failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ getBackward(length: number, callback: AsyncCallback): void; @@ -1186,7 +1186,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800006 - input method controller error. Possible cause: * create InputmethodController object failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ getBackward(length: number): Promise; @@ -1202,7 +1202,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800006 - input method controller error. Possible cause: * create InputmethodController object failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ getBackwardSync(length: number): string; @@ -1213,7 +1213,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ getEditorAttribute(callback: AsyncCallback): void; @@ -1224,7 +1224,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ getEditorAttribute(): Promise; @@ -1235,7 +1235,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ getEditorAttributeSync(): EditorAttribute; @@ -1249,7 +1249,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ moveCursor(direction: number, callback: AsyncCallback): void; @@ -1263,7 +1263,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 9 + * @since 9 dynamic */ moveCursor(direction: number): Promise; @@ -1276,7 +1276,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ moveCursorSync(direction: number): void; @@ -1290,7 +1290,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ selectByRange(range: Range, callback: AsyncCallback): void; @@ -1304,7 +1304,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ selectByRange(range: Range): Promise; @@ -1317,7 +1317,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ selectByRangeSync(range: Range): void; @@ -1331,7 +1331,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ selectByMovement(movement: Movement, callback: AsyncCallback): void; @@ -1345,7 +1345,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ selectByMovement(movement: Movement): Promise; @@ -1358,7 +1358,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800003 - input method client error. Possible causes: * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ selectByMovementSync(movement: Movement): void; @@ -1372,7 +1372,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800006 - input method controller error. Possible cause: * create InputmethodController object failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ getTextIndexAtCursor(callback: AsyncCallback): void; @@ -1386,7 +1386,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800006 - input method controller error. Possible cause: * create InputmethodController object failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ getTextIndexAtCursor(): Promise; @@ -1399,7 +1399,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800006 - input method controller error. Possible cause: * create InputmethodController object failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ getTextIndexAtCursorSync(): number; @@ -1415,7 +1415,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800006 - input method controller error. Possible cause: * create InputmethodController object failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ sendExtendAction(action: ExtendAction, callback: AsyncCallback): void; @@ -1431,7 +1431,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800006 - input method controller error. Possible cause: * create InputmethodController object failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ sendExtendAction(action: ExtendAction): Promise; @@ -1446,7 +1446,7 @@ declare namespace inputMethodEngine { * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @throws { BusinessError } 12800010 - not the preconfigured default input method. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ sendPrivateCommand(commandData: Record): Promise; @@ -1459,7 +1459,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800012 - the input method panel does not exist. * @throws { BusinessError } 12800013 - window manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ getCallingWindowInfo(): Promise; @@ -1475,7 +1475,7 @@ declare namespace inputMethodEngine { * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @throws { BusinessError } 12800011 - text preview not supported. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ setPreviewText(text: string, range: Range): Promise; @@ -1490,7 +1490,7 @@ declare namespace inputMethodEngine { * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @throws { BusinessError } 12800011 - text preview not supported. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ setPreviewTextSync(text: string, range: Range): void; @@ -1502,7 +1502,7 @@ declare namespace inputMethodEngine { * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @throws { BusinessError } 12800011 - text preview not supported. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ finishTextPreview(): Promise; @@ -1513,7 +1513,7 @@ declare namespace inputMethodEngine { * 1.the edit box is not focused. 2.no edit box is bound to current input method application. * @throws { BusinessError } 12800011 - text preview not supported. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ finishTextPreviewSync(): void; @@ -1532,7 +1532,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800015 - the other side does not accept the request. * @throws { BusinessError } 12800016 - input method client is not editable. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ sendMessage(msgId: string, msgParam?: ArrayBuffer): Promise; @@ -1542,7 +1542,7 @@ declare namespace inputMethodEngine { * @param { ?MessageHandler } [msgHandler] - optional, the handler of the custom message. * @throws { BusinessError } 401 - parameter error. Possible causes: 1. Incorrect parameter types. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ recvMessage(msgHandler?: MessageHandler): void; /** @@ -1558,7 +1558,7 @@ declare namespace inputMethodEngine { * * @returns { AttachOptions } return attach options. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ getAttachOptions(): AttachOptions; /** @@ -1576,7 +1576,7 @@ declare namespace inputMethodEngine { * @param { 'attachOptionsDidChange' } type - the type of subscribe event. * @param { Callback } callback - the callback of on('attachOptionsDidChange'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ on(type: 'attachOptionsDidChange', callback: Callback): void; /** @@ -1585,7 +1585,7 @@ declare namespace inputMethodEngine { * @param { 'attachOptionsDidChange' } type - the type of unsubscribe event. * @param { Callback } [callback] - optional, the callback of off('attachOptionsDidChange'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 19 + * @since 19 dynamic */ off(type: 'attachOptionsDidChange', callback?: Callback): void; } @@ -1593,7 +1593,7 @@ declare namespace inputMethodEngine { /** * @interface KeyboardDelegate * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ interface KeyboardDelegate { /** @@ -1602,7 +1602,7 @@ declare namespace inputMethodEngine { * @param { 'keyDown' | 'keyUp' } type - indicates the type of subscribe event. * @param { function } callback - indicates the callback function of on('keyDown'|'keyUp'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ on(type: 'keyDown' | 'keyUp', callback: (event: KeyEvent) => boolean): void; @@ -1612,7 +1612,7 @@ declare namespace inputMethodEngine { * @param { 'keyDown' | 'keyUp' } type - indicates the type of unsubscribe event. * @param { function } [callback] - optional, indicates the callback function of off('keyDown'|'keyUp'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ off(type: 'keyDown' | 'keyUp', callback?: (event: KeyEvent) => boolean): void; @@ -1623,7 +1623,7 @@ declare namespace inputMethodEngine { * @param { function } callback - indicates the callback function of on('keyEvent'). * If the key is processed by event subscriber, callback should be return true, else return false. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ on(type: 'keyEvent', callback: (event: InputKeyEvent) => boolean): void; @@ -1633,7 +1633,7 @@ declare namespace inputMethodEngine { * @param { 'keyEvent' } type - indicates the type of unsubscribe event. * @param { function } [callback] - optional, indicates the callback function of off('keyEvent'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ off(type: 'keyEvent', callback?: (event: InputKeyEvent) => boolean): void; @@ -1643,7 +1643,7 @@ declare namespace inputMethodEngine { * @param { 'cursorContextChange' } type - indicates the type of subscribe event. * @param { function } callback - indicates the callback function of on('cursorContextChange'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ on(type: 'cursorContextChange', callback: (x: number, y: number, height: number) => void): void; @@ -1653,7 +1653,7 @@ declare namespace inputMethodEngine { * @param { 'cursorContextChange' } type - indicates the type of unsubscribe event. * @param { function } [callback] - optional, indicates the callback function of off('cursorContextChange'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ off(type: 'cursorContextChange', callback?: (x: number, y: number, height: number) => void): void; @@ -1664,7 +1664,7 @@ declare namespace inputMethodEngine { * @param { function } callback - indicates the callback function * of on('selectionChange'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ on( type: 'selectionChange', @@ -1678,7 +1678,7 @@ declare namespace inputMethodEngine { * @param { function } [callback] - optional, * indicates the callback function of off('selectionChange'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ off( type: 'selectionChange', @@ -1691,7 +1691,7 @@ declare namespace inputMethodEngine { * @param { 'textChange' } type - indicates the type of subscribe event. * @param { function } callback - indicates the callback function of on('textChange'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ on(type: 'textChange', callback: (text: string) => void): void; @@ -1701,7 +1701,7 @@ declare namespace inputMethodEngine { * @param { 'textChange' } type - indicates the type of unsubscribe event. * @param { function } [callback] - optional, indicates the callback function of off('textChange'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ off(type: 'textChange', callback?: (text: string) => void): void; @@ -1711,7 +1711,7 @@ declare namespace inputMethodEngine { * @param { 'editorAttributeChanged' } type - indicates the type of subscribe event. * @param { function } callback - indicates the callback function of on('editorAttributeChanged'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ on(type: 'editorAttributeChanged', callback: (attr: EditorAttribute) => void): void; @@ -1721,7 +1721,7 @@ declare namespace inputMethodEngine { * @param { 'editorAttributeChanged' } type - indicates the type of subscribe event. * @param { function } [callback] - indicates the callback function of off('editorAttributeChanged'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ off(type: 'editorAttributeChanged', callback?: (attr: EditorAttribute) => void): void; } @@ -1731,14 +1731,14 @@ declare namespace inputMethodEngine { * * @enum { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ export enum ImmersiveMode { /** * Default immersive mode, the panel is not in immersive mode. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ NONE_IMMERSIVE = 0, @@ -1746,7 +1746,7 @@ declare namespace inputMethodEngine { * Immersive mode. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ IMMERSIVE, @@ -1754,7 +1754,7 @@ declare namespace inputMethodEngine { * Light immersive mode. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ LIGHT_IMMERSIVE, @@ -1762,7 +1762,7 @@ declare namespace inputMethodEngine { * Dark immersive mode. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ DARK_IMMERSIVE } @@ -1772,19 +1772,19 @@ declare namespace inputMethodEngine { * * @enum { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ export enum GradientMode { /** * Disable gradient mode. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ NONE = 0, /** * Linear gradient mode. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ LINEAR_GRADIENT = 1, } @@ -1795,14 +1795,14 @@ declare namespace inputMethodEngine { * @enum { number } * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since 20 + * @since 20 dynamic */ export enum FluidLightMode { /** * Disable fluid light mode. * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since 20 + * @since 20 dynamic */ NONE = 0, @@ -1810,7 +1810,7 @@ declare namespace inputMethodEngine { * Background fluid light mode. * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since 20 + * @since 20 dynamic */ BACKGROUND_FLUID_LIGHT = 1, } @@ -1820,7 +1820,7 @@ declare namespace inputMethodEngine { * * @interface ImmersiveEffect * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ interface ImmersiveEffect { @@ -1829,7 +1829,7 @@ declare namespace inputMethodEngine { * * @type { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ gradientHeight: number; @@ -1838,7 +1838,7 @@ declare namespace inputMethodEngine { * * @type { GradientMode } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ gradientMode: GradientMode; @@ -1848,7 +1848,7 @@ declare namespace inputMethodEngine { * @type { ?FluidLightMode } * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since 20 + * @since 20 dynamic */ fluidLightMode?: FluidLightMode; } @@ -1858,31 +1858,31 @@ declare namespace inputMethodEngine { * * @enum { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 19 + * @since 19 dynamic */ export enum RequestKeyboardReason { /** * The request keyboard reason is NONE. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 19 + * @since 19 dynamic */ NONE = 0, /** * The request keyboard reason is MOUSE. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 19 + * @since 19 dynamic */ MOUSE = 1, /** * The request keyboard reason is TOUCH. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 19 + * @since 19 dynamic */ TOUCH = 2, /** * The request keyboard reason is OTHER. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 19 + * @since 19 dynamic */ OTHER = 20 } @@ -1892,7 +1892,7 @@ declare namespace inputMethodEngine { * * @interface Panel * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ interface Panel { /** @@ -1904,7 +1904,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ setUiContent(path: string, callback: AsyncCallback): void; @@ -1917,7 +1917,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ setUiContent(path: string): Promise; @@ -1931,7 +1931,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ setUiContent(path: string, storage: LocalStorage, callback: AsyncCallback): void; @@ -1945,7 +1945,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ setUiContent(path: string, storage: LocalStorage): Promise; @@ -1958,7 +1958,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ resize(width: number, height: number, callback: AsyncCallback): void; @@ -1971,7 +1971,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ resize(width: number, height: number): Promise; @@ -1985,7 +1985,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ moveTo(x: number, y: number, callback: AsyncCallback): void; @@ -1999,7 +1999,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ moveTo(x: number, y: number): Promise; @@ -2035,7 +2035,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800013 - window manager service error. * @throws { BusinessError } 12800017 - invalid panel type or panel flag. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ startMoving(): void; @@ -2047,7 +2047,7 @@ declare namespace inputMethodEngine { * 1.input method panel not created. 2.the input method application does not subscribe to related events. * @throws { BusinessError } 12800013 - window manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ getDisplayId(): Promise; @@ -2056,7 +2056,7 @@ declare namespace inputMethodEngine { * * @param { AsyncCallback } callback - the callback of show. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ show(callback: AsyncCallback): void; @@ -2065,7 +2065,7 @@ declare namespace inputMethodEngine { * * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ show(): Promise; @@ -2074,7 +2074,7 @@ declare namespace inputMethodEngine { * * @param { AsyncCallback } callback - the callback of hide. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ hide(callback: AsyncCallback): void; @@ -2083,7 +2083,7 @@ declare namespace inputMethodEngine { * * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ hide(): Promise; @@ -2094,7 +2094,7 @@ declare namespace inputMethodEngine { * @param { 'show' } type - events type. * @param { function } callback - the callback will be called when events are triggered. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ on(type: 'show', callback: () => void): void; @@ -2106,7 +2106,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ off(type: 'show', callback?: () => void): void; @@ -2117,7 +2117,7 @@ declare namespace inputMethodEngine { * @param { 'hide' } type - events type. * @param { function } callback - the callback will be called when events are triggered. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ on(type: 'hide', callback: () => void): void; @@ -2129,7 +2129,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ off(type: 'hide', callback?: () => void): void; @@ -2142,7 +2142,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ changeFlag(flag: PanelFlag): void; @@ -2156,7 +2156,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ setPrivacyMode(isPrivacyMode: boolean): void; @@ -2170,7 +2170,7 @@ declare namespace inputMethodEngine { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800013 - window manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ adjustPanelRect(flag: PanelFlag, rect: PanelRect): void; @@ -2185,7 +2185,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800013 - window manager service error. * @throws { BusinessError } 12800017 - invalid panel type or panel flag. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ adjustPanelRect(flag: PanelFlag, rect: EnhancedPanelRect): void; @@ -2199,7 +2199,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 12800013 - window manager service error. * @throws { BusinessError } 12800017 - invalid panel type or panel flag. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ updateRegion(inputRegion: Array): void; @@ -2219,7 +2219,7 @@ declare namespace inputMethodEngine { * @param { 'sizeChange' } type - the type of subscribe event. * @param { SizeChangeCallback } callback - the callback of on('sizeChange'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ on(type: 'sizeChange', callback: SizeChangeCallback): void; @@ -2239,7 +2239,7 @@ declare namespace inputMethodEngine { * @param { 'sizeChange' } type - the type of unsubscribe event. * @param { ?SizeChangeCallback } [callback] - optional, the callback of off('sizeChange'). * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ off(type: 'sizeChange', callback?: SizeChangeCallback): void; @@ -2251,7 +2251,7 @@ declare namespace inputMethodEngine { * @param { SizeUpdateCallback } callback - the callback of on('sizeUpdate'). * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since 14 + * @since 14 dynamic */ on(type: 'sizeUpdate', callback: SizeUpdateCallback): void; @@ -2263,7 +2263,7 @@ declare namespace inputMethodEngine { * @param { ?SizeUpdateCallback } [callback] - optional, the callback of off('sizeUpdate'). * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since 14 + * @since 14 dynamic */ off(type: 'sizeUpdate', callback?: SizeUpdateCallback): void; @@ -2277,7 +2277,7 @@ declare namespace inputMethodEngine { * 1.input method panel not created. 2.the input method application does not subscribe to related events. * @throws { BusinessError } 12800013 - window manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ setImmersiveMode(mode: ImmersiveMode): void; @@ -2286,7 +2286,7 @@ declare namespace inputMethodEngine { * * @returns { ImmersiveMode } Immersive mode. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ getImmersiveMode(): ImmersiveMode; @@ -2306,7 +2306,7 @@ declare namespace inputMethodEngine { * 3. When the gradient mode is not enabled, the gradient height can only be 0. * @throws { BusinessError } 12800021 - this operation is allowed only after adjustPanelRect or resize is called. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ setImmersiveEffect(effect: ImmersiveEffect): void; /** @@ -2317,7 +2317,7 @@ declare namespace inputMethodEngine { * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 12800013 - window manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ setKeepScreenOn(isKeepScreenOn: boolean): Promise; } @@ -2325,7 +2325,7 @@ declare namespace inputMethodEngine { /** * @interface EditorAttribute * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ interface EditorAttribute { /** @@ -2334,7 +2334,7 @@ declare namespace inputMethodEngine { * @type { number } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ readonly inputPattern: number; @@ -2344,7 +2344,7 @@ declare namespace inputMethodEngine { * @type { number } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ readonly enterKeyType: number; @@ -2353,7 +2353,7 @@ declare namespace inputMethodEngine { * * @type { boolean } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ isTextPreviewSupported: boolean; @@ -2363,7 +2363,7 @@ declare namespace inputMethodEngine { * @type { ?string } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 14 + * @since 14 dynamic */ readonly bundleName?: string; @@ -2373,7 +2373,7 @@ declare namespace inputMethodEngine { * @type { ?ImmersiveMode } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ readonly immersiveMode?: ImmersiveMode; @@ -2383,7 +2383,7 @@ declare namespace inputMethodEngine { * @type { ?number } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 18 + * @since 18 dynamic */ readonly windowId?: number; @@ -2393,7 +2393,7 @@ declare namespace inputMethodEngine { * @type { ?number } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 18 + * @since 18 dynamic */ readonly displayId?: number; @@ -2403,7 +2403,7 @@ declare namespace inputMethodEngine { * @type { ?string } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ readonly placeholder?: string; @@ -2413,7 +2413,7 @@ declare namespace inputMethodEngine { * @type { ?string } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ readonly abilityName?: string; @@ -2423,7 +2423,7 @@ declare namespace inputMethodEngine { * @type { ?CapitalizeMode } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ readonly capitalizeMode?: CapitalizeMode; @@ -2433,7 +2433,7 @@ declare namespace inputMethodEngine { * @type { ?GradientMode } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ readonly gradientMode?: GradientMode; @@ -2444,7 +2444,7 @@ declare namespace inputMethodEngine { * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi - * @since 20 + * @since 20 dynamic */ readonly fluidLightMode?: FluidLightMode; } @@ -2452,7 +2452,7 @@ declare namespace inputMethodEngine { /** * @interface KeyEvent * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ interface KeyEvent { /** @@ -2461,7 +2461,7 @@ declare namespace inputMethodEngine { * @type { number } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ readonly keyCode: number; @@ -2471,7 +2471,7 @@ declare namespace inputMethodEngine { * @type { number } * @readonly * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 8 + * @since 8 dynamic */ readonly keyAction: number; } @@ -2481,7 +2481,7 @@ declare namespace inputMethodEngine { * * @enum { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ export enum PanelFlag { /** @@ -2490,7 +2490,7 @@ declare namespace inputMethodEngine { * When the flag is set, the soft keyboard is fixed at the bottom of the screen.

* * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ FLG_FIXED = 0, @@ -2500,7 +2500,7 @@ declare namespace inputMethodEngine { * When the flag is set, the soft keyboard is floating.

* * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ FLG_FLOATING, @@ -2512,7 +2512,7 @@ declare namespace inputMethodEngine { * Input method application developers are supposed to control the panel status on their own.

* * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ FLAG_CANDIDATE } @@ -2523,14 +2523,14 @@ declare namespace inputMethodEngine { * * @enum { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ export enum PanelType { /** * Panel for displaying a virtual software keyboard. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ SOFT_KEYBOARD = 0, @@ -2538,7 +2538,7 @@ declare namespace inputMethodEngine { * Panel for displaying status bar. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ STATUS_BAR } @@ -2548,7 +2548,7 @@ declare namespace inputMethodEngine { * * @typedef PanelInfo * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ export interface PanelInfo { /** @@ -2556,7 +2556,7 @@ declare namespace inputMethodEngine { * * @type { PanelType } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ type: PanelType; @@ -2567,7 +2567,7 @@ declare namespace inputMethodEngine { * @type { ?PanelFlag } * @default FLG_FIXED * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ flag?: PanelFlag; } @@ -2577,14 +2577,14 @@ declare namespace inputMethodEngine { * * @enum { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ export enum Direction { /** * Cursor moves up * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ CURSOR_UP = 1, @@ -2592,7 +2592,7 @@ declare namespace inputMethodEngine { * Cursor moves down * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ CURSOR_DOWN, @@ -2600,7 +2600,7 @@ declare namespace inputMethodEngine { * Cursor moves left * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ CURSOR_LEFT, @@ -2608,7 +2608,7 @@ declare namespace inputMethodEngine { * Cursor moves right * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ CURSOR_RIGHT } @@ -2618,21 +2618,21 @@ declare namespace inputMethodEngine { * * @enum { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ export enum SecurityMode { /** * Basic security mode * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ BASIC = 0, /** * Full security mode * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ FULL } @@ -2642,7 +2642,7 @@ declare namespace inputMethodEngine { * * @interface Range * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ export interface Range { /** @@ -2650,7 +2650,7 @@ declare namespace inputMethodEngine { * * @type { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ start: number; @@ -2659,7 +2659,7 @@ declare namespace inputMethodEngine { * * @type { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ end: number; } @@ -2669,7 +2669,7 @@ declare namespace inputMethodEngine { * * @interface Movement * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ export interface Movement { /** @@ -2677,7 +2677,7 @@ declare namespace inputMethodEngine { * * @type { Direction } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ direction: Direction; } @@ -2687,14 +2687,14 @@ declare namespace inputMethodEngine { * * @enum { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ export enum ExtendAction { /** * Select all text. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ SELECT_ALL = 0, @@ -2702,7 +2702,7 @@ declare namespace inputMethodEngine { * Cut selecting text. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ CUT = 3, @@ -2710,7 +2710,7 @@ declare namespace inputMethodEngine { * Copy selecting text. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ COPY = 4, @@ -2718,7 +2718,7 @@ declare namespace inputMethodEngine { * Paste from paste board. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 10 + * @since 10 dynamic */ PASTE = 5 } @@ -2728,7 +2728,7 @@ declare namespace inputMethodEngine { * * @interface WindowInfo * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ export interface WindowInfo { /** @@ -2736,7 +2736,7 @@ declare namespace inputMethodEngine { * * @type { window.Rect } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ rect: window.Rect; @@ -2745,7 +2745,7 @@ declare namespace inputMethodEngine { * * @type { window.WindowStatusType } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ status: window.WindowStatusType; } @@ -2755,7 +2755,7 @@ declare namespace inputMethodEngine { * * @interface PanelRect * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ export interface PanelRect { /** @@ -2763,7 +2763,7 @@ declare namespace inputMethodEngine { * * @type { window.Rect } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ landscapeRect: window.Rect; @@ -2772,7 +2772,7 @@ declare namespace inputMethodEngine { * * @type { window.Rect } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 12 + * @since 12 dynamic */ portraitRect: window.Rect; } @@ -2783,7 +2783,7 @@ declare namespace inputMethodEngine { * * @interface MessageHandler * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ interface MessageHandler { /** @@ -2792,7 +2792,7 @@ declare namespace inputMethodEngine { * @param { string } msgId - the identifier of the message. * @param { ?ArrayBuffer } [msgParam] - the parameter of the custom message. * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ onMessage(msgId: string, msgParam?: ArrayBuffer): void; @@ -2800,7 +2800,7 @@ declare namespace inputMethodEngine { * This method is called when a new message handler is set. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ onTerminated(): void; } @@ -2810,7 +2810,7 @@ declare namespace inputMethodEngine { * * @interface EnhancedPanelRect * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ export interface EnhancedPanelRect { /** @@ -2819,7 +2819,7 @@ declare namespace inputMethodEngine { * * @type { ?window.Rect } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ landscapeRect?: window.Rect; /** @@ -2828,7 +2828,7 @@ declare namespace inputMethodEngine { * * @type { ?window.Rect } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ portraitRect?: window.Rect; /** @@ -2838,7 +2838,7 @@ declare namespace inputMethodEngine { * @type { ?number } * @default 0 * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ landscapeAvoidY?: number; /** @@ -2848,7 +2848,7 @@ declare namespace inputMethodEngine { * * @type { ?Array } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ landscapeInputRegion?: Array; /** @@ -2858,7 +2858,7 @@ declare namespace inputMethodEngine { * @type { ?number } * @default 0 * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ portraitAvoidY?: number; /** @@ -2868,7 +2868,7 @@ declare namespace inputMethodEngine { * * @type { ?Array } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ portraitInputRegion?: Array; /** @@ -2878,7 +2878,7 @@ declare namespace inputMethodEngine { * @type { ?boolean } * @default false * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ fullScreenMode?: boolean; } @@ -2888,7 +2888,7 @@ declare namespace inputMethodEngine { * * @interface KeyboardArea * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ export interface KeyboardArea { /** @@ -2896,7 +2896,7 @@ declare namespace inputMethodEngine { * * @type { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ top: number; /** @@ -2904,7 +2904,7 @@ declare namespace inputMethodEngine { * * @type { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ bottom: number; /** @@ -2912,7 +2912,7 @@ declare namespace inputMethodEngine { * * @type { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ left: number; /** @@ -2920,7 +2920,7 @@ declare namespace inputMethodEngine { * * @type { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 15 + * @since 15 dynamic */ right: number; } @@ -2929,7 +2929,7 @@ declare namespace inputMethodEngine { * * @interface AttachOptions * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 19 + * @since 19 dynamic */ export interface AttachOptions { /** @@ -2937,7 +2937,7 @@ declare namespace inputMethodEngine { * * @type { ?RequestKeyboardReason } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 19 + * @since 19 dynamic */ requestKeyboardReason?: RequestKeyboardReason; @@ -2946,7 +2946,7 @@ declare namespace inputMethodEngine { * * @type { ?boolean } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ isSimpleKeyboardEnabled?: boolean; } @@ -2956,14 +2956,14 @@ declare namespace inputMethodEngine { * * @enum { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ export enum CapitalizeMode { /** * Capitalize nothing. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ NONE = 0, @@ -2971,7 +2971,7 @@ declare namespace inputMethodEngine { * Capitalize the first letter of each sentence. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ SENTENCES, @@ -2979,7 +2979,7 @@ declare namespace inputMethodEngine { * Capitalize the first letter of each word. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ WORDS, @@ -2987,7 +2987,7 @@ declare namespace inputMethodEngine { * Capitalize each letter. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 20 + * @since 20 dynamic */ CHARACTERS } diff --git a/api/@ohos.inputMethodList.d.ets b/api/@ohos.inputMethodList.d.ets index 81d1fc6fdc..ac38f9a180 100644 --- a/api/@ohos.inputMethodList.d.ets +++ b/api/@ohos.inputMethodList.d.ets @@ -23,7 +23,7 @@ * * @interface PatternOptions * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ export interface PatternOptions { /** @@ -31,7 +31,7 @@ export interface PatternOptions { * * @type { number } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ defaultSelected?: number; /** @@ -39,7 +39,7 @@ export interface PatternOptions { * * @type { Array } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ patterns: Array; /** @@ -47,7 +47,7 @@ export interface PatternOptions { * * @type { function } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ action: (index: number) => void; } @@ -57,7 +57,7 @@ export interface PatternOptions { * * @interface Pattern * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ export interface Pattern { /** @@ -65,7 +65,7 @@ export interface Pattern { * * @type { Resource } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ icon: Resource; /** @@ -73,7 +73,7 @@ export interface Pattern { * * @type { Resource } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ selectedIcon: Resource; } @@ -82,7 +82,7 @@ export interface Pattern { * Declare input method list dialog. The caller must be the current inputmethod. * * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ @CustomDialog export declare struct InputMethodListDialog { @@ -91,7 +91,7 @@ export declare struct InputMethodListDialog { * * @type { CustomDialogController } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ controller: CustomDialogController; /** @@ -99,7 +99,7 @@ export declare struct InputMethodListDialog { * * @type { PatternOptions } * @syscap SystemCapability.MiscServices.InputMethodFramework - * @since 11 + * @since 11 dynamic */ patternOptions?: PatternOptions; } \ No newline at end of file diff --git a/api/@ohos.intl.d.ts b/api/@ohos.intl.d.ts index 0cbfb8e4cc..1ae0542522 100644 --- a/api/@ohos.intl.d.ts +++ b/api/@ohos.intl.d.ts @@ -50,8 +50,8 @@ * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace intl { /** @@ -86,7 +86,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.LocaleOptions */ @@ -132,7 +132,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.LocaleOptions.calendar */ @@ -178,7 +178,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.LocaleOptions.collation */ @@ -223,7 +223,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.LocaleOptions.hourCycle */ @@ -273,7 +273,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.LocaleOptions.numberingSystem */ @@ -319,7 +319,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.LocaleOptions.numeric */ @@ -364,7 +364,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.LocaleOptions.caseFirst */ @@ -399,7 +399,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale */ @@ -432,7 +432,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead i18n.System.getSystemLocaleInstance */ @@ -477,7 +477,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale.constructor */ @@ -512,7 +512,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale.language */ @@ -547,7 +547,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale.script */ @@ -582,7 +582,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale.region */ @@ -620,7 +620,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale.baseName */ @@ -656,7 +656,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale.caseFirst */ @@ -693,7 +693,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale.calendar */ @@ -729,7 +729,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale.collation */ @@ -764,7 +764,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale.hourCycle */ @@ -804,7 +804,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale.numberingSystem */ @@ -840,7 +840,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale.numeric */ @@ -878,7 +878,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale.toString */ @@ -916,7 +916,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale.maximize */ @@ -954,7 +954,7 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.Locale.minimize */ @@ -994,10 +994,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions - * @arkts 1.1&1.2 */ export interface DateTimeOptions { /** @@ -1039,9 +1039,9 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 - * @arkts 1.1&1.2 */ locale?: string; @@ -1084,10 +1084,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.dateStyle - * @arkts 1.1&1.2 */ dateStyle?: string; @@ -1130,10 +1130,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.timeStyle - * @arkts 1.1&1.2 */ timeStyle?: string; @@ -1176,10 +1176,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.hourCycle - * @arkts 1.1&1.2 */ hourCycle?: string; @@ -1222,10 +1222,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.timeZone - * @arkts 1.1&1.2 */ timeZone?: string; @@ -1273,10 +1273,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.numberingSystem - * @arkts 1.1&1.2 */ numberingSystem?: string; @@ -1321,10 +1321,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.hour12 - * @arkts 1.1&1.2 */ hour12?: boolean; @@ -1367,10 +1367,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.weekday - * @arkts 1.1&1.2 */ weekday?: string; @@ -1413,10 +1413,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.era - * @arkts 1.1&1.2 */ era?: string; @@ -1459,10 +1459,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.year - * @arkts 1.1&1.2 */ year?: string; @@ -1505,10 +1505,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.month - * @arkts 1.1&1.2 */ month?: string; @@ -1551,10 +1551,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.day - * @arkts 1.1&1.2 */ day?: string; @@ -1597,10 +1597,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.hour - * @arkts 1.1&1.2 */ hour?: string; @@ -1643,10 +1643,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.minute - * @arkts 1.1&1.2 */ minute?: string; @@ -1689,10 +1689,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.second - * @arkts 1.1&1.2 */ second?: string; @@ -1735,10 +1735,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.timeZoneName - * @arkts 1.1&1.2 */ timeZoneName?: string; @@ -1781,10 +1781,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.dayPeriod - * @arkts 1.1&1.2 */ dayPeriod?: string; @@ -1829,10 +1829,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.localeMatcher - * @arkts 1.1&1.2 */ localeMatcher?: string; @@ -1877,10 +1877,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormatOptions.formatMatcher - * @arkts 1.1&1.2 */ formatMatcher?: string; } @@ -1913,10 +1913,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormat - * @arkts 1.1&1.2 */ export class DateTimeFormat { /** @@ -1947,10 +1947,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormat.constructor - * @arkts 1.1&1.2 */ constructor(); @@ -1995,10 +1995,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormat.constructor - * @arkts 1.1&1.2 */ constructor(locale: string | Array, options?: DateTimeOptions); @@ -2038,10 +2038,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormat.format - * @arkts 1.1&1.2 */ format(date: Date): string; @@ -2086,10 +2086,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormat.formatRange - * @arkts 1.1&1.2 */ formatRange(startDate: Date, endDate: Date): string; @@ -2125,10 +2125,10 @@ declare namespace intl { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead Intl.DateTimeFormat.resolvedOptions - * @arkts 1.1&1.2 */ resolvedOptions(): DateTimeOptions; } @@ -2156,8 +2156,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface NumberOptions { /** @@ -2189,8 +2189,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ locale?: string; @@ -2225,8 +2225,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ currency?: string; @@ -2259,8 +2259,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ currencySign?: string; @@ -2294,8 +2294,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ currencyDisplay?: string; @@ -2331,8 +2331,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ unit?: string; @@ -2365,8 +2365,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ unitDisplay?: string; @@ -2404,8 +2404,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ unitUsage?: string; @@ -2443,8 +2443,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ signDisplay?: string; @@ -2477,8 +2477,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ compactDisplay?: string; @@ -2512,8 +2512,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ notation?: string; @@ -2546,8 +2546,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ localeMatcher?: string; @@ -2581,8 +2581,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ style?: string; @@ -2620,8 +2620,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ numberingSystem?: string; @@ -2655,8 +2655,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ useGrouping?: boolean; @@ -2690,8 +2690,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ minimumIntegerDigits?: int; @@ -2725,8 +2725,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ minimumFractionDigits?: int; @@ -2760,8 +2760,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ maximumFractionDigits?: int; @@ -2794,8 +2794,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ minimumSignificantDigits?: int; @@ -2828,8 +2828,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ maximumSignificantDigits?: int; @@ -2842,8 +2842,8 @@ declare namespace intl { * @type { ?string } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ roundingPriority?: string; @@ -2854,8 +2854,8 @@ declare namespace intl { * @type { ?int } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ roundingIncrement?: int; @@ -2882,8 +2882,8 @@ declare namespace intl { * @type { ?string } * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ roundingMode?: string; } @@ -2907,8 +2907,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export class NumberFormat { /** @@ -2930,8 +2930,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(); @@ -2963,8 +2963,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(locale: string | Array, options?: NumberOptions); @@ -2993,8 +2993,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ format(num: double): string; @@ -3006,8 +3006,8 @@ declare namespace intl { * @returns { string } Formatted number range. * @syscap SystemCapability.Global.I18n * @atomicservice - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ formatRange(startRange: double, endRange: double): string; @@ -3033,8 +3033,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ resolvedOptions(): NumberOptions; } @@ -3061,8 +3061,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface CollatorOptions { /** @@ -3097,8 +3097,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ localeMatcher?: string; @@ -3135,8 +3135,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ usage?: string; @@ -3191,8 +3191,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sensitivity?: string; @@ -3226,8 +3226,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ignorePunctuation?: boolean; /** @@ -3261,8 +3261,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ collation?: string; @@ -3296,8 +3296,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ numeric?: boolean; @@ -3334,8 +3334,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ caseFirst?: string; } @@ -3359,8 +3359,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export class Collator { /** @@ -3382,8 +3382,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(); /** @@ -3414,8 +3414,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ constructor(locale: string | Array, options?: CollatorOptions); @@ -3455,8 +3455,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ compare(first: string, second: string): int; @@ -3484,8 +3484,8 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ resolvedOptions(): CollatorOptions; } @@ -3512,7 +3512,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.PluralRulesOptions */ @@ -3549,7 +3549,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.PluralRulesOptions.localeMatcher */ @@ -3585,7 +3585,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.PluralRulesOptions.type */ @@ -3624,7 +3624,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.PluralRulesOptions.minimumIntegerDigits */ @@ -3663,7 +3663,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.PluralRulesOptions.minimumFractionDigits */ @@ -3705,7 +3705,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.PluralRulesOptions.maximumFractionDigits */ @@ -3743,7 +3743,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.PluralRulesOptions.minimumSignificantDigits */ @@ -3781,7 +3781,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.PluralRulesOptions.maximumSignificantDigits */ @@ -3807,7 +3807,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.PluralRules */ @@ -3831,7 +3831,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.PluralRules.constructor */ @@ -3865,7 +3865,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.PluralRules.constructor */ @@ -3900,7 +3900,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.PluralRules.select */ @@ -3929,7 +3929,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.RelativeTimeFormatOptions */ @@ -3966,7 +3966,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.RelativeTimeFormatOptions.localeMatcher */ @@ -4004,7 +4004,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.RelativeTimeFormatOptions.numeric */ @@ -4043,7 +4043,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.RelativeTimeFormatOptions.style */ @@ -4072,7 +4072,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.ResolvedRelativeTimeFormatOptions */ @@ -4097,7 +4097,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.ResolvedRelativeTimeFormatOptions.locale */ @@ -4125,7 +4125,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.ResolvedRelativeTimeFormatOptions.style */ @@ -4153,7 +4153,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.ResolvedRelativeTimeFormatOptions.numeric */ @@ -4184,7 +4184,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.ResolvedRelativeTimeFormatOptions.numberingSystem */ @@ -4213,7 +4213,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.RelativeTimeFormat */ @@ -4237,7 +4237,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.RelativeTimeFormat.constructor */ @@ -4271,7 +4271,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.RelativeTimeFormat.constructor */ @@ -4308,7 +4308,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.RelativeTimeFormat.format */ @@ -4347,7 +4347,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.RelativeTimeFormat.formatToParts */ @@ -4377,7 +4377,7 @@ declare namespace intl { * @syscap SystemCapability.Global.I18n * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead Intl.RelativeTimeFormat.resolvedOptions */ diff --git a/api/@ohos.logLibrary.d.ts b/api/@ohos.logLibrary.d.ts index a3156537e7..4365f03d21 100644 --- a/api/@ohos.logLibrary.d.ts +++ b/api/@ohos.logLibrary.d.ts @@ -24,8 +24,8 @@ import type { AsyncCallback } from './@ohos.base'; * @namespace logLibrary * @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare namespace logLibrary { /** @@ -34,8 +34,8 @@ declare namespace logLibrary { * @typedef LogEntry * @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface LogEntry { /** @@ -44,8 +44,8 @@ declare namespace logLibrary { * @type { string } * @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ name: string; @@ -55,8 +55,8 @@ declare namespace logLibrary { * @type { long } * @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ mtime: long; @@ -66,8 +66,8 @@ declare namespace logLibrary { * @type { long } * @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ size: long; } @@ -86,8 +86,8 @@ declare namespace logLibrary { *
3. Parameter verification failed. * @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function list(logType: string): LogEntry[]; @@ -108,8 +108,8 @@ declare namespace logLibrary { * @throws { BusinessError } 21300001 - Source file does not exists * @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function copy(logType: string, logName: string, dest: string): Promise; @@ -130,8 +130,8 @@ declare namespace logLibrary { * @throws { BusinessError } 21300001 - Source file does not exists * @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function copy(logType: string, logName: string, dest: string, callback: AsyncCallback): void; @@ -152,8 +152,8 @@ declare namespace logLibrary { * @throws { BusinessError } 21300001 - Source file does not exists * @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function move(logType: string, logName: string, dest: string): Promise; @@ -174,8 +174,8 @@ declare namespace logLibrary { * @throws { BusinessError } 21300001 - Source file does not exists * @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function move(logType: string, logName: string, dest: string, callback: AsyncCallback): void; @@ -194,8 +194,8 @@ declare namespace logLibrary { * @throws { BusinessError } 21300001 - Source file does not exists * @syscap SystemCapability.HiviewDFX.Hiview.LogLibrary * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function remove(logType: string, logName: string): void; } diff --git a/api/@ohos.matrix4.d.ts b/api/@ohos.matrix4.d.ts index 1aa87f826f..117128afcb 100644 --- a/api/@ohos.matrix4.d.ts +++ b/api/@ohos.matrix4.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare namespace matrix4 { /** @@ -65,7 +65,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface TranslateOption { /** @@ -93,7 +93,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ x?: number; @@ -122,7 +122,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ y?: number; @@ -151,7 +151,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ z?: number; } @@ -178,7 +178,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ScaleOption { /** @@ -207,7 +207,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ x?: number; @@ -237,7 +237,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ y?: number; @@ -267,7 +267,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ z?: number; @@ -296,7 +296,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ centerX?: number; @@ -325,7 +325,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ centerY?: number; } @@ -352,7 +352,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface RotateOption { /** @@ -379,7 +379,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ x?: number; @@ -407,7 +407,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ y?: number; @@ -436,7 +436,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ z?: number; @@ -467,7 +467,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ centerX?: number; @@ -498,7 +498,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ centerY?: number; @@ -525,7 +525,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ angle?: number; } @@ -538,7 +538,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface Point { @@ -549,7 +549,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ x: number; @@ -560,7 +560,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ y: number; } @@ -572,7 +572,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface PolyToPolyOptions { @@ -583,7 +583,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ src: Array; @@ -594,7 +594,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ srcIndex?: number; @@ -605,7 +605,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dst:Array; @@ -617,7 +617,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ dstIndex?: number; @@ -631,7 +631,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ pointCount?:number; @@ -658,7 +658,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface Matrix4Transit { /** @@ -683,7 +683,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ copy(): Matrix4Transit; @@ -709,7 +709,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ invert(): Matrix4Transit; @@ -738,7 +738,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ combine(options: Matrix4Transit): Matrix4Transit; @@ -767,7 +767,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ translate(options: TranslateOption): Matrix4Transit; @@ -796,7 +796,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ scale(options: ScaleOption): Matrix4Transit; @@ -809,7 +809,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ skew(x: number, y: number): Matrix4Transit; @@ -838,7 +838,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ rotate(options: RotateOption): Matrix4Transit; @@ -867,7 +867,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ transformPoint(options: [number, number]): [number, number]; @@ -879,7 +879,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ setPolyToPoly(options: PolyToPolyOptions): Matrix4Transit } @@ -974,7 +974,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function init( options: [ @@ -1019,7 +1019,7 @@ declare namespace matrix4 { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ function identity(): Matrix4Transit; @@ -1028,7 +1028,7 @@ declare namespace matrix4 { * * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 10 */ function copy(): Matrix4Transit; @@ -1038,7 +1038,7 @@ declare namespace matrix4 { * * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 10 */ function invert(): Matrix4Transit; @@ -1049,7 +1049,7 @@ declare namespace matrix4 { * @param { Matrix4Transit } options * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 10 */ function combine(options: Matrix4Transit): Matrix4Transit; @@ -1060,7 +1060,7 @@ declare namespace matrix4 { * @param { TranslateOption } options * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 10 */ function translate(options: TranslateOption): Matrix4Transit; @@ -1071,7 +1071,7 @@ declare namespace matrix4 { * @param { ScaleOption } options * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 10 */ function scale(options: ScaleOption): Matrix4Transit; @@ -1082,7 +1082,7 @@ declare namespace matrix4 { * @param { RotateOption } options * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 10 */ function rotate(options: RotateOption): Matrix4Transit; @@ -1093,7 +1093,7 @@ declare namespace matrix4 { * @param { [number, number] } options * @returns { [number, number] } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 7 + * @since 7 dynamic * @deprecated since 10 */ function transformPoint(options: [number, number]): [number, number]; diff --git a/api/@ohos.matrix4.static.d.ets b/api/@ohos.matrix4.static.d.ets index 555733ea86..46a6fd1554 100644 --- a/api/@ohos.matrix4.static.d.ets +++ b/api/@ohos.matrix4.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ /** @@ -25,7 +24,7 @@ * * @namespace matrix4 * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ declare namespace matrix4 { @@ -34,7 +33,7 @@ declare namespace matrix4 { * * @interface TranslateOption * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface TranslateOption { @@ -43,7 +42,7 @@ declare namespace matrix4 { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ x?: number; @@ -52,7 +51,7 @@ declare namespace matrix4 { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ y?: number; @@ -61,7 +60,7 @@ declare namespace matrix4 { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ z?: number; } @@ -71,7 +70,7 @@ declare namespace matrix4 { * * @interface ScaleOption * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface ScaleOption { @@ -80,7 +79,7 @@ declare namespace matrix4 { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ x?: number; @@ -90,7 +89,7 @@ declare namespace matrix4 { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ y?: number; @@ -99,7 +98,7 @@ declare namespace matrix4 { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ z?: number; @@ -109,7 +108,7 @@ declare namespace matrix4 { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ centerX?: number; @@ -118,7 +117,7 @@ declare namespace matrix4 { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ centerY?: number; } @@ -128,7 +127,7 @@ declare namespace matrix4 { * * @interface RotateOption * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface RotateOption { @@ -137,7 +136,7 @@ declare namespace matrix4 { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ x?: number; @@ -146,7 +145,7 @@ declare namespace matrix4 { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ y?: number; @@ -155,7 +154,7 @@ declare namespace matrix4 { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ z?: number; @@ -164,7 +163,7 @@ declare namespace matrix4 { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ centerX?: number; @@ -173,7 +172,7 @@ declare namespace matrix4 { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ centerY?: number; @@ -182,7 +181,7 @@ declare namespace matrix4 { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ angle?: number; } @@ -191,7 +190,7 @@ declare namespace matrix4 { * * @interface Point * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface Point { /** @@ -199,7 +198,7 @@ declare namespace matrix4 { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ x: number; /** @@ -207,7 +206,7 @@ declare namespace matrix4 { * * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ y: number; } @@ -216,7 +215,7 @@ declare namespace matrix4 { * * @interface PolyToPolyOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface PolyToPolyOptions { /** @@ -224,7 +223,7 @@ declare namespace matrix4 { * * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ src: Array; /** @@ -232,7 +231,7 @@ declare namespace matrix4 { * @type { ?number } * @default 0 * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ srcIndex?: number; /** @@ -240,7 +239,7 @@ declare namespace matrix4 { * * @type { Array } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ dst: Array; /** @@ -249,7 +248,7 @@ declare namespace matrix4 { * @type { ?number } * @default src.Length/2 * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ dstIndex?: number; /** @@ -260,7 +259,7 @@ declare namespace matrix4 { * @type { ?number } * @default 0 * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ pointCount?: number; } @@ -271,7 +270,7 @@ declare namespace matrix4 { * * @interface Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface Matrix4Transit { @@ -281,7 +280,7 @@ declare namespace matrix4 { * * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ copy(): Matrix4Transit; @@ -291,7 +290,7 @@ declare namespace matrix4 { * * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ invert(): Matrix4Transit; @@ -302,7 +301,7 @@ declare namespace matrix4 { * @param { Matrix4Transit } options * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ combine(options: Matrix4Transit): Matrix4Transit; @@ -313,7 +312,7 @@ declare namespace matrix4 { * @param { TranslateOption } options * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ translate(options: TranslateOption): Matrix4Transit; @@ -324,7 +323,7 @@ declare namespace matrix4 { * @param { ScaleOption } options * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ scale(options: ScaleOption): Matrix4Transit; /** @@ -336,7 +335,7 @@ declare namespace matrix4 { * @param { number } y - the shear factor of y-axis. * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ skew(x: number, y: number): Matrix4Transit; @@ -347,7 +346,7 @@ declare namespace matrix4 { * @param { RotateOption } options * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ rotate(options: RotateOption): Matrix4Transit; @@ -358,7 +357,7 @@ declare namespace matrix4 { * @param { [number, number] } options * @returns { [number, number] } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ transformPoint(options: [ number, @@ -373,7 +372,7 @@ declare namespace matrix4 { * @param { PolyToPolyOptions } options - polyToPoly options * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ setPolyToPoly(options: PolyToPolyOptions): Matrix4Transit; } @@ -409,7 +408,7 @@ declare namespace matrix4 { * m33 { number } -It takes effect in homogeneous coordinates to produce a perspective projection effect. * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ function init(options: [ number, @@ -436,7 +435,7 @@ declare namespace matrix4 { * * @returns { Matrix4Transit } Return to Matrix4Transit * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ function identity(): Matrix4Transit; } diff --git a/api/@ohos.measure.d.ts b/api/@ohos.measure.d.ts index 7639a07ca3..c4d44a31d2 100644 --- a/api/@ohos.measure.d.ts +++ b/api/@ohos.measure.d.ts @@ -40,7 +40,7 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export interface MeasureOptions { /** @@ -64,7 +64,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textContent: string | Resource; @@ -82,7 +82,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ constraintWidth?: number | string | Resource; @@ -100,7 +100,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontSize?: number | string | Resource; @@ -118,7 +118,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontStyle?: number | FontStyle; @@ -136,7 +136,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontWeight?: number | string | FontWeight; @@ -154,7 +154,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ fontFamily?: string | Resource; @@ -172,7 +172,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ letterSpacing?: number | string; @@ -190,7 +190,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textAlign?: number | TextAlign; @@ -208,7 +208,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ overflow?: number | TextOverflow; @@ -226,7 +226,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ maxLines?: number; @@ -244,7 +244,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ lineHeight?: number | string | Resource; @@ -262,7 +262,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ baselineOffset?: number | string; @@ -280,7 +280,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textCase?: number | TextCase; @@ -299,7 +299,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textIndent?: number | string; @@ -318,7 +318,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ wordBreak?: WordBreak; } @@ -335,7 +335,7 @@ export interface MeasureOptions { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export default class MeasureText { /** @@ -363,7 +363,7 @@ export default class MeasureText { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.MeasureUtils#measureText */ @@ -394,7 +394,7 @@ export default class MeasureText { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.MeasureUtils#measureTextSize */ diff --git a/api/@ohos.measure.static.d.ets b/api/@ohos.measure.static.d.ets index c9203ca533..c583a9e1c6 100644 --- a/api/@ohos.measure.static.d.ets +++ b/api/@ohos.measure.static.d.ets @@ -16,7 +16,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { FontStyle, FontWeight, TextAlign, TextOverflow, TextCase, WordBreak } from '@ohos.arkui.component' @@ -28,7 +27,7 @@ import { Resource } from './global/resource' * * @interface MeasureOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface MeasureOptions { /** @@ -36,7 +35,7 @@ export interface MeasureOptions { * * @type { string | Resource } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ textContent: string | Resource; @@ -45,7 +44,7 @@ export interface MeasureOptions { * * @type { ?(number | string | Resource) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ constraintWidth?: number | string | Resource; @@ -54,7 +53,7 @@ export interface MeasureOptions { * * @type { ?(number | string | Resource) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontSize?: number | string | Resource; @@ -63,7 +62,7 @@ export interface MeasureOptions { * * @type { ?(number | FontStyle) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontStyle?: number | FontStyle; @@ -72,7 +71,7 @@ export interface MeasureOptions { * * @type { ?(number | string | FontWeight) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontWeight?: number | string | FontWeight; @@ -81,7 +80,7 @@ export interface MeasureOptions { * * @type { ?(string | Resource) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ fontFamily?: string | Resource; @@ -90,7 +89,7 @@ export interface MeasureOptions { * * @type { ?(number | string) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ letterSpacing?: number | string; @@ -99,7 +98,7 @@ export interface MeasureOptions { * * @type { ?(number | TextAlign) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ textAlign?: number | TextAlign; @@ -108,7 +107,7 @@ export interface MeasureOptions { * * @type { ?(number | TextOverflow) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ overflow?: number | TextOverflow; @@ -117,7 +116,7 @@ export interface MeasureOptions { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ maxLines?: number; @@ -126,7 +125,7 @@ export interface MeasureOptions { * * @type { ?(number | string | Resource) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ lineHeight?: number | string | Resource; @@ -135,7 +134,7 @@ export interface MeasureOptions { * * @type { ?(number | string) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ baselineOffset?: number | string; @@ -144,7 +143,7 @@ export interface MeasureOptions { * * @type { ?(number | TextCase) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ textCase?: number | TextCase; @@ -153,7 +152,7 @@ export interface MeasureOptions { * * @type { ?(number | string) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ textIndent?: number | string; @@ -162,7 +161,7 @@ export interface MeasureOptions { * * @type { ?WordBreak } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ wordBreak?: WordBreak; } @@ -171,7 +170,7 @@ export interface MeasureOptions { * Defines the Measure interface. * * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export default declare class MeasureText { /** @@ -180,7 +179,7 @@ export default declare class MeasureText { * @param { MeasureOptions } options - Options. * @returns { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ static measureText(options: MeasureOptions): number; @@ -190,7 +189,7 @@ export default declare class MeasureText { * @param { MeasureOptions } options - Options of measure area occupied by text. * @returns { SizeOptions } width and height for text to display \ * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ static measureTextSize(options: MeasureOptions): SizeOptions; } diff --git a/api/@ohos.mediaquery.d.ts b/api/@ohos.mediaquery.d.ts index eea1e12623..f690bac885 100644 --- a/api/@ohos.mediaquery.d.ts +++ b/api/@ohos.mediaquery.d.ts @@ -52,7 +52,7 @@ import { Callback } from './@ohos.base'; * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ declare namespace mediaquery { @@ -88,7 +88,7 @@ declare namespace mediaquery { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ interface MediaQueryResult { /** @@ -131,7 +131,7 @@ declare namespace mediaquery { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly matches: boolean; @@ -175,7 +175,7 @@ declare namespace mediaquery { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ readonly media: string; } @@ -216,7 +216,7 @@ declare namespace mediaquery { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ interface MediaQueryListener extends MediaQueryResult { /** @@ -259,7 +259,7 @@ declare namespace mediaquery { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ on(type: 'change', callback: Callback): void; @@ -303,7 +303,7 @@ declare namespace mediaquery { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamic */ off(type: 'change', callback?: Callback): void; } @@ -344,7 +344,7 @@ declare namespace mediaquery { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 18 * @useinstead ohos.arkui.UIContext.MediaQuery#matchMediaSync */ diff --git a/api/@ohos.mediaquery.static.d.ets b/api/@ohos.mediaquery.static.d.ets index 3f0d0c7d30..b4b05cfd13 100644 --- a/api/@ohos.mediaquery.static.d.ets +++ b/api/@ohos.mediaquery.static.d.ets @@ -16,7 +16,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { Callback } from './@ohos.base'; @@ -26,7 +25,7 @@ import { Callback } from './@ohos.base'; * * @namespace mediaquery * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ declare namespace mediaquery { @@ -35,7 +34,7 @@ declare namespace mediaquery { * * @interface MediaQueryResult * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface MediaQueryResult { @@ -45,7 +44,7 @@ declare namespace mediaquery { * * @type { boolean } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ readonly matches: boolean; @@ -55,7 +54,7 @@ declare namespace mediaquery { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ readonly media: string; } @@ -66,7 +65,7 @@ declare namespace mediaquery { * @interface MediaQueryListener * @extends MediaQueryResult * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface MediaQueryListener extends MediaQueryResult { @@ -77,7 +76,7 @@ declare namespace mediaquery { * @param { 'change' } type * @param { Callback } callback * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ on(type: 'change', callback: Callback): void; @@ -88,7 +87,7 @@ declare namespace mediaquery { * @param { 'change' } type * @param { Callback } callback * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ off(type: 'change', callback?: Callback): void; } @@ -99,7 +98,7 @@ declare namespace mediaquery { * @param { string } condition * @returns { MediaQueryListener } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function matchMediaSync(condition: string): MediaQueryListener; } diff --git a/api/@ohos.multimedia.audio.d.ts b/api/@ohos.multimedia.audio.d.ts index 8e0c396459..bd0a6f8f84 100644 --- a/api/@ohos.multimedia.audio.d.ts +++ b/api/@ohos.multimedia.audio.d.ts @@ -29,8 +29,8 @@ import { ErrorCallback, AsyncCallback, Callback } from './@ohos.base'; * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace audio { /** @@ -44,8 +44,8 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioErrors { /** @@ -57,8 +57,8 @@ declare namespace audio { * Invalid parameter. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ERROR_INVALID_PARAM = 6800101, /** @@ -70,8 +70,8 @@ declare namespace audio { * Allocate memory failed. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ERROR_NO_MEMORY = 6800102, /** @@ -83,8 +83,8 @@ declare namespace audio { * Operation not permit at current state. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ERROR_ILLEGAL_STATE = 6800103, /** @@ -96,22 +96,22 @@ declare namespace audio { * Unsupported option. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ERROR_UNSUPPORTED = 6800104, /** * Time out. * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ ERROR_TIMEOUT = 6800105, /** * Audio specific errors. * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ ERROR_STREAM_LIMIT = 6800201, /** @@ -123,8 +123,8 @@ declare namespace audio { * Default error. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ERROR_SYSTEM = 6800301 } @@ -133,8 +133,8 @@ declare namespace audio { * Define local device network id for audio * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ const LOCAL_NETWORK_ID: string; @@ -147,16 +147,16 @@ declare namespace audio { * Define default volume group id for audio * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const DEFAULT_VOLUME_GROUP_ID: int; /** * Define default interrupt group id for audio * @syscap SystemCapability.Multimedia.Audio.Interrupt - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ const DEFAULT_INTERRUPT_GROUP_ID: int; @@ -175,8 +175,8 @@ declare namespace audio { * @returns { AudioManager } this {@link AudioManager} object. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getAudioManager(): AudioManager; @@ -197,8 +197,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the audio capturer instance. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createAudioCapturer(options: AudioCapturerOptions, callback: AsyncCallback): void; @@ -219,8 +219,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the audio capturer instance. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createAudioCapturer(options: AudioCapturerOptions): Promise; @@ -255,8 +255,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the audio renderer instance. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createAudioRenderer(options: AudioRendererOptions, callback: AsyncCallback): void; @@ -291,8 +291,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the audio renderer instance. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createAudioRenderer(options: AudioRendererOptions): Promise; @@ -302,8 +302,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the tonePlayer instance. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function createTonePlayer(options: AudioRendererInfo, callback: AsyncCallback): void; @@ -313,8 +313,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the tonePlayer instance. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function createTonePlayer(options: AudioRendererInfo): Promise; @@ -329,7 +329,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @throws { BusinessError } 6800104 - Loopback mode is unsupported. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ function createAudioLoopback(mode: AudioLoopbackMode): Promise; @@ -344,8 +344,8 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioState { /** @@ -357,8 +357,8 @@ declare namespace audio { * Invalid state. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_INVALID = -1, /** @@ -370,8 +370,8 @@ declare namespace audio { * Create new instance state. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_NEW = 0, /** @@ -383,8 +383,8 @@ declare namespace audio { * Prepared state. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_PREPARED = 1, /** @@ -396,8 +396,8 @@ declare namespace audio { * Running state. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_RUNNING = 2, /** @@ -409,8 +409,8 @@ declare namespace audio { * Stopped state. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_STOPPED = 3, /** @@ -422,8 +422,8 @@ declare namespace audio { * Released state. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_RELEASED = 4, /** @@ -435,8 +435,8 @@ declare namespace audio { * Paused state. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_PAUSED = 5 } @@ -445,13 +445,13 @@ declare namespace audio { * Enumerates audio loopback mode. * @enum { number } * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ enum AudioLoopbackMode { /** * The hardware mode of audio loopback. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ HARDWARE = 0, } @@ -460,31 +460,31 @@ declare namespace audio { * Enumerates audio loopback status. * @enum { number } * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ enum AudioLoopbackStatus { /** * Audio loopback unavailable by the output or input device. For example, the device change. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ UNAVAILABLE_DEVICE = -2, /** * Audio loopback unavailable by the audio scene. For example, the audio interrupt. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ UNAVAILABLE_SCENE = -1, /** * Audio loopback available and idle. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ AVAILABLE_IDLE = 0, /** * Audio loopback available and running. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ AVAILABLE_RUNNING = 1, } @@ -500,8 +500,8 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioVolumeType { /** @@ -513,8 +513,8 @@ declare namespace audio { * Audio volume type for voice calls. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VOICE_CALL = 0, /** @@ -526,8 +526,8 @@ declare namespace audio { * Audio volume type for ringtones. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RINGTONE = 2, /** @@ -539,8 +539,8 @@ declare namespace audio { * Audio volume type for media purpose. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MEDIA = 3, /** @@ -552,8 +552,8 @@ declare namespace audio { * Audio volume type for alarm purpose. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ALARM = 4, /** @@ -565,53 +565,52 @@ declare namespace audio { * Audio volume type for accessibility purpose. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ACCESSIBILITY = 5, /** * Audio volume for system sound. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ SYSTEM = 6, /** * Audio volume type for voice assistant. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ VOICE_ASSISTANT = 9, /** * Audio volume type for ultrasonic. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ULTRASONIC = 10, /** * Audio volume type for notification. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 + * @since 20 dynamic */ NOTIFICATION = 11, /** * Audio volume type for navigation. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 + * @since 20 dynamic */ NAVIGATION = 12, /** * Audio volume type for all common. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ ALL = 100, } @@ -627,16 +626,16 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum DeviceFlag { /** * None devices. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ NONE_DEVICES_FLAG = 0, /** @@ -648,8 +647,8 @@ declare namespace audio { * Output devices. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OUTPUT_DEVICES_FLAG = 1, /** @@ -661,8 +660,8 @@ declare namespace audio { * Input devices. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INPUT_DEVICES_FLAG = 2, /** @@ -674,32 +673,32 @@ declare namespace audio { * All devices. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ALL_DEVICES_FLAG = 3, /** * Distributed output devices. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ DISTRIBUTED_OUTPUT_DEVICES_FLAG = 4, /** * Distributed input devices. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ DISTRIBUTED_INPUT_DEVICES_FLAG = 8, /** * All Distributed devices. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ ALL_DISTRIBUTED_DEVICES_FLAG = 12, } @@ -708,50 +707,50 @@ declare namespace audio { * Enumerates audio device for usage. * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum DeviceUsage { /** * Media output devices. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MEDIA_OUTPUT_DEVICES = 1, /** * Media input devices. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MEDIA_INPUT_DEVICES = 2, /** * All media devices. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ALL_MEDIA_DEVICES = 3, /** * Call output devices. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CALL_OUTPUT_DEVICES = 4, /** * Call input devices. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CALL_INPUT_DEVICES = 8, /** * All call devices. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ALL_CALL_DEVICES = 12, } @@ -768,8 +767,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum DeviceRole { /** @@ -782,8 +781,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INPUT_DEVICE = 1, /** @@ -796,8 +795,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OUTPUT_DEVICE = 2, } @@ -814,8 +813,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum DeviceType { /** @@ -828,8 +827,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INVALID = 0, /** @@ -842,8 +841,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EARPIECE = 1, /** @@ -856,8 +855,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPEAKER = 2, /** @@ -870,8 +869,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WIRED_HEADSET = 3, /** @@ -884,8 +883,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WIRED_HEADPHONES = 4, /** @@ -898,8 +897,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BLUETOOTH_SCO = 7, /** @@ -912,8 +911,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BLUETOOTH_A2DP = 8, /** @@ -926,8 +925,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MIC = 15, /** @@ -940,68 +939,68 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ USB_HEADSET = 22, /** * Display port device. * @syscap SystemCapability.Multimedia.Audio.Device * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DISPLAY_PORT = 23, /** * Device type for rerouting audio to other remote devices by system application * @syscap SystemCapability.Multimedia.Audio.Device * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REMOTE_CAST = 24, /** * USB audio device. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ USB_DEVICE = 25, /** * Accessory devices, such as the mic on remote control. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ ACCESSORY = 26, /** * HDMI device, such as HDMI, ARC, eARC * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ HDMI = 27, /** * Line connected digital output device, such as s/pdif * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ LINE_DIGITAL = 28, /** * Distributed virtualization audio device. * @syscap SystemCapability.Multimedia.Audio.Device * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ REMOTE_DAUDIO = 29, /** * Nearlink Device. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 20 + * @since 20 dynamic */ NEARLINK = 31, /** @@ -1014,8 +1013,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEFAULT = 1000, } @@ -1024,7 +1023,7 @@ declare namespace audio { * Enumerates the active device types. * @enum { number } * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.CommunicationDeviceType */ @@ -1032,7 +1031,7 @@ declare namespace audio { /** * Speaker. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.CommunicationDeviceType.SPEAKER */ @@ -1040,7 +1039,7 @@ declare namespace audio { /** * Bluetooth device using the SCO link. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ BLUETOOTH_SCO = 7, @@ -1057,8 +1056,8 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum CommunicationDeviceType { /** @@ -1070,8 +1069,8 @@ declare namespace audio { * Speaker. * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPEAKER = 2 } @@ -1087,8 +1086,8 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioRingMode { /** @@ -1100,8 +1099,8 @@ declare namespace audio { * Silent mode. * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RINGER_MODE_SILENT = 0, /** @@ -1113,8 +1112,8 @@ declare namespace audio { * Vibration mode. * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RINGER_MODE_VIBRATE = 1, /** @@ -1126,8 +1125,8 @@ declare namespace audio { * Normal mode. * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RINGER_MODE_NORMAL = 2, } @@ -1137,24 +1136,24 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum PolicyType { /** * EDM type. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EDM = 0, /** * PRIVACY type. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PRIVACY = 1, } @@ -1170,8 +1169,8 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioSampleFormat { /** @@ -1183,8 +1182,8 @@ declare namespace audio { * Invalid format. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_FORMAT_INVALID = -1, /** @@ -1196,8 +1195,8 @@ declare namespace audio { * Unsigned 8 format. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_FORMAT_U8 = 0, /** @@ -1209,8 +1208,8 @@ declare namespace audio { * Signed 16 bit integer, little endian. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_FORMAT_S16LE = 1, /** @@ -1222,8 +1221,8 @@ declare namespace audio { * Signed 24 bit integer, little endian. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_FORMAT_S24LE = 2, /** @@ -1235,8 +1234,8 @@ declare namespace audio { * Signed 32 bit integer, little endian. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_FORMAT_S32LE = 3, /** @@ -1248,8 +1247,8 @@ declare namespace audio { * Signed 32 bit float, little endian. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_FORMAT_F32LE = 4, } @@ -1265,8 +1264,8 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioChannel { /** @@ -1278,8 +1277,8 @@ declare namespace audio { * Channel 1. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CHANNEL_1 = 1, /** @@ -1291,8 +1290,8 @@ declare namespace audio { * Channel 2. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CHANNEL_2 = 2, /** @@ -1304,8 +1303,8 @@ declare namespace audio { * Channel 3. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CHANNEL_3 = 3, /** @@ -1317,8 +1316,8 @@ declare namespace audio { * Channel 4. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CHANNEL_4 = 4, /** @@ -1330,8 +1329,8 @@ declare namespace audio { * Channel 5. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CHANNEL_5 = 5, /** @@ -1343,8 +1342,8 @@ declare namespace audio { * Channel 6. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CHANNEL_6 = 6, /** @@ -1356,8 +1355,8 @@ declare namespace audio { * Channel 7. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CHANNEL_7 = 7, /** @@ -1369,8 +1368,8 @@ declare namespace audio { * Channel 8. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CHANNEL_8 = 8, /** @@ -1382,8 +1381,8 @@ declare namespace audio { * Channel 9. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CHANNEL_9 = 9, /** @@ -1395,8 +1394,8 @@ declare namespace audio { * Channel 10. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CHANNEL_10 = 10, /** @@ -1408,8 +1407,8 @@ declare namespace audio { * Channel 12. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CHANNEL_12 = 12, /** @@ -1421,8 +1420,8 @@ declare namespace audio { * Channel 14. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CHANNEL_14 = 14, /** @@ -1434,8 +1433,8 @@ declare namespace audio { * Channel 16. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CHANNEL_16 = 16 } @@ -1451,8 +1450,8 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioSamplingRate { /** @@ -1464,8 +1463,8 @@ declare namespace audio { * 8kHz sample rate. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_RATE_8000 = 8000, /** @@ -1477,8 +1476,8 @@ declare namespace audio { * 11.025kHz sample rate. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_RATE_11025 = 11025, /** @@ -1490,8 +1489,8 @@ declare namespace audio { * 12kHz sample rate. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_RATE_12000 = 12000, /** @@ -1503,8 +1502,8 @@ declare namespace audio { * 16kHz sample rate. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_RATE_16000 = 16000, /** @@ -1516,8 +1515,8 @@ declare namespace audio { * 22.05kHz sample rate. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_RATE_22050 = 22050, /** @@ -1529,8 +1528,8 @@ declare namespace audio { * 24kHz sample rate. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_RATE_24000 = 24000, /** @@ -1542,8 +1541,8 @@ declare namespace audio { * 32kHz sample rate. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_RATE_32000 = 32000, /** @@ -1555,8 +1554,8 @@ declare namespace audio { * 44.1kHz sample rate. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_RATE_44100 = 44100, /** @@ -1568,8 +1567,8 @@ declare namespace audio { * 48kHz sample rate. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_RATE_48000 = 48000, /** @@ -1581,15 +1580,15 @@ declare namespace audio { * 64kHz sample rate. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_RATE_64000 = 64000, /** * 88.2kHz sample rate. * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_RATE_88200 = 88200, /** @@ -1601,22 +1600,22 @@ declare namespace audio { * 96kHz sample rate. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_RATE_96000 = 96000, /** * 176.4kHz sample rate. * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_RATE_176400 = 176400, /** * 192kHz sample rate. * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLE_RATE_192000 = 192000 } @@ -1633,8 +1632,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioEncodingType { /** @@ -1647,8 +1646,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ENCODING_TYPE_INVALID = -1, /** @@ -1661,8 +1660,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ENCODING_TYPE_RAW = 0 } @@ -1671,7 +1670,7 @@ declare namespace audio { * Enumerates the audio content type. * @enum { number } * @syscap SystemCapability.Multimedia.Audio.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead ohos.multimedia.audio.StreamUsage */ @@ -1679,7 +1678,7 @@ declare namespace audio { /** * Unknown content. * @syscap SystemCapability.Multimedia.Audio.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead ohos.multimedia.audio.StreamUsage.STREAM_USAGE_UNKNOWN */ @@ -1687,7 +1686,7 @@ declare namespace audio { /** * Speech content. * @syscap SystemCapability.Multimedia.Audio.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead ohos.multimedia.audio.StreamUsage.STREAM_USAGE_VOICE_COMMUNICATION */ @@ -1695,7 +1694,7 @@ declare namespace audio { /** * Music content. * @syscap SystemCapability.Multimedia.Audio.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead ohos.multimedia.audio.StreamUsage.STREAM_USAGE_MUSIC */ @@ -1703,7 +1702,7 @@ declare namespace audio { /** * Movie content. * @syscap SystemCapability.Multimedia.Audio.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead ohos.multimedia.audio.StreamUsage.STREAM_USAGE_MOVIE */ @@ -1711,7 +1710,7 @@ declare namespace audio { /** * Notification content. * @syscap SystemCapability.Multimedia.Audio.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead ohos.multimedia.audio.StreamUsage.STREAM_USAGE_NOTIFICATION */ @@ -1719,7 +1718,7 @@ declare namespace audio { /** * Ringtone content. * @syscap SystemCapability.Multimedia.Audio.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 10 * @useinstead ohos.multimedia.audio.StreamUsage.STREAM_USAGE_RINGTONE */ @@ -1738,8 +1737,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum StreamUsage { /** @@ -1752,14 +1751,14 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_UNKNOWN = 0, /** * Media usage. * @syscap SystemCapability.Multimedia.Audio.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead ohos.multimedia.audio.StreamUsage.STREAM_USAGE_MUSIC or * ohos.multimedia.audio.StreamUsage.STREAM_USAGE_MOVIE or @@ -1777,8 +1776,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_MUSIC = 1, /** @@ -1791,8 +1790,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_VOICE_COMMUNICATION = 2, /** @@ -1805,8 +1804,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_VOICE_ASSISTANT = 3, /** @@ -1819,8 +1818,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_ALARM = 4, /** @@ -1832,14 +1831,14 @@ declare namespace audio { * Voice message usage. * @syscap SystemCapability.Multimedia.Audio.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_VOICE_MESSAGE = 5, /** * Notification or ringtone usage. * @syscap SystemCapability.Multimedia.Audio.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 10 * @useinstead ohos.multimedia.audio.StreamUsage.STREAM_USAGE_RINGTONE */ @@ -1854,8 +1853,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_RINGTONE = 6, /** @@ -1868,8 +1867,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_NOTIFICATION = 7, /** @@ -1882,16 +1881,16 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_ACCESSIBILITY = 8, /** * System usage, such as screen lock or key click. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ STREAM_USAGE_SYSTEM = 9, /** @@ -1904,8 +1903,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_MOVIE = 10, /** @@ -1918,8 +1917,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_GAME = 11, /** @@ -1932,8 +1931,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_AUDIOBOOK = 12, /** @@ -1946,48 +1945,48 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_NAVIGATION = 13, /** * DTMF dial tone usage. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ STREAM_USAGE_DTMF = 14, /** * Enforced tone usage, such as camera shutter. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ STREAM_USAGE_ENFORCED_TONE = 15, /** * Ultrasonic playing usage. This type is only used for msdp condition. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ STREAM_USAGE_ULTRASONIC = 16, /** * Used for network video call. * @syscap SystemCapability.Multimedia.Audio.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_VIDEO_COMMUNICATION = 17, /** * Voice call assistant type. This type is only used for call assistant functionalities. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STREAM_USAGE_VOICE_CALL_ASSISTANT = 21, } @@ -1997,16 +1996,16 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Interrupt * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum InterruptRequestType { /** * Default type to request audio interrupt. * @syscap SystemCapability.Multimedia.Audio.Interrupt * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ INTERRUPT_REQUEST_TYPE_DEFAULT = 0, } @@ -2017,16 +2016,16 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum VolumeFlag { /** * Show system volume bar. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FLAG_SHOW_SYSTEM_UI = 1, } @@ -2042,8 +2041,8 @@ declare namespace audio { * @typedef AudioStreamInfo * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioStreamInfo { /** @@ -2057,8 +2056,8 @@ declare namespace audio { * @type { AudioSamplingRate } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ samplingRate: AudioSamplingRate; /** @@ -2072,8 +2071,8 @@ declare namespace audio { * @type { AudioChannel } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ channels: AudioChannel; /** @@ -2087,8 +2086,8 @@ declare namespace audio { * @type { AudioSampleFormat } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sampleFormat: AudioSampleFormat; /** @@ -2102,8 +2101,8 @@ declare namespace audio { * @type { AudioEncodingType } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ encodingType: AudioEncodingType; /** @@ -2117,8 +2116,8 @@ declare namespace audio { * @type { ?AudioChannelLayout } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ channelLayout?: AudioChannelLayout; } @@ -2135,8 +2134,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioRendererInfo { /** @@ -2151,7 +2150,7 @@ declare namespace audio { * Content type. * @type { ?ContentType } * @syscap SystemCapability.Multimedia.Audio.Core - * @since 10 + * @since 10 dynamic */ content?: ContentType; /** @@ -2166,8 +2165,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ usage: StreamUsage; /** @@ -2182,8 +2181,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ rendererFlags: int; /** @@ -2191,8 +2190,8 @@ declare namespace audio { * will be affeted by app volume percentage setted by {@link setAppVolumePercentage} * @type { ?AudioVolumeMode } * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ volumeMode?: AudioVolumeMode; } @@ -2202,8 +2201,8 @@ declare namespace audio { * @typedef AudioRendererFilter * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface AudioRendererFilter { /** @@ -2211,8 +2210,8 @@ declare namespace audio { * @type { ?int } * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ uid?: int; /** @@ -2220,8 +2219,8 @@ declare namespace audio { * @type { ?AudioRendererInfo } * @syscap SystemCapability.Multimedia.Audio.Renderer * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ rendererInfo?: AudioRendererInfo; /** @@ -2229,8 +2228,8 @@ declare namespace audio { * @type { ?int } * @syscap SystemCapability.Multimedia.Audio.Renderer * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ rendererId?: int; } @@ -2240,8 +2239,8 @@ declare namespace audio { * @typedef AudioCapturerFilter * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface AudioCapturerFilter { /** @@ -2249,8 +2248,8 @@ declare namespace audio { * @type { ?int } * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ uid?: int; /** @@ -2258,8 +2257,8 @@ declare namespace audio { * @type { ?AudioCapturerInfo } * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ capturerInfo?: AudioCapturerInfo; } @@ -2275,8 +2274,8 @@ declare namespace audio { * @typedef AudioRendererOptions * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioRendererOptions { /** @@ -2290,8 +2289,8 @@ declare namespace audio { * @type { AudioStreamInfo } * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ streamInfo: AudioStreamInfo; /** @@ -2305,8 +2304,8 @@ declare namespace audio { * @type { AudioRendererInfo } * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ rendererInfo: AudioRendererInfo; /** @@ -2320,8 +2319,8 @@ declare namespace audio { * @type { ?AudioPrivacyType } * @syscap SystemCapability.Multimedia.Audio.PlaybackCapture * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ privacyType?: AudioPrivacyType; } @@ -2337,8 +2336,8 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.PlaybackCapture * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioPrivacyType { /** @@ -2350,8 +2349,8 @@ declare namespace audio { * Privacy type that stream can be captured by third party applications. * @syscap SystemCapability.Multimedia.Audio.PlaybackCapture * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PRIVACY_TYPE_PUBLIC = 0, @@ -2364,8 +2363,8 @@ declare namespace audio { * Privacy type that stream can not be captured. * @syscap SystemCapability.Multimedia.Audio.PlaybackCapture * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PRIVACY_TYPE_PRIVATE = 1, } @@ -2382,8 +2381,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Interrupt * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum InterruptMode { /** @@ -2396,8 +2395,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Interrupt * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SHARE_MODE = 0, /** @@ -2410,8 +2409,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Interrupt * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INDEPENDENT_MODE = 1 } @@ -2420,29 +2419,29 @@ declare namespace audio { * Enumerates the audio renderer rates. * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ enum AudioRendererRate { /** * Normal playback render rate. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ RENDER_RATE_NORMAL = 0, /** * Double playback render rate. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ RENDER_RATE_DOUBLE = 1, /** * Half playback render rate. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ RENDER_RATE_HALF = 2 } @@ -2459,8 +2458,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum InterruptType { /** @@ -2473,8 +2472,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTERRUPT_TYPE_BEGIN = 1, @@ -2488,8 +2487,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTERRUPT_TYPE_END = 2 } @@ -2506,8 +2505,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum InterruptHint { /** @@ -2519,8 +2518,8 @@ declare namespace audio { * None. * @syscap SystemCapability.Multimedia.Audio.Renderer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTERRUPT_HINT_NONE = 0, /** @@ -2533,8 +2532,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTERRUPT_HINT_RESUME = 1, @@ -2547,8 +2546,8 @@ declare namespace audio { * Paused/Pause the playback. * @syscap SystemCapability.Multimedia.Audio.Renderer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTERRUPT_HINT_PAUSE = 2, @@ -2561,8 +2560,8 @@ declare namespace audio { * Stopped/Stop the playback. * @syscap SystemCapability.Multimedia.Audio.Renderer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTERRUPT_HINT_STOP = 3, @@ -2575,8 +2574,8 @@ declare namespace audio { * Ducked the playback. (In ducking, the audio volume is reduced, but not silenced.) * @syscap SystemCapability.Multimedia.Audio.Renderer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTERRUPT_HINT_DUCK = 4, @@ -2589,22 +2588,22 @@ declare namespace audio { * Unducked the playback. * @syscap SystemCapability.Multimedia.Audio.Renderer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTERRUPT_HINT_UNDUCK = 5, /** * Mute the stream. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 20 + * @since 20 dynamic */ INTERRUPT_HINT_MUTE = 6, /** * Unmute the stream. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 20 + * @since 20 dynamic */ INTERRUPT_HINT_UNMUTE = 7, } @@ -2621,8 +2620,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum InterruptForceType { /** @@ -2635,8 +2634,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTERRUPT_FORCE = 0, /** @@ -2648,8 +2647,8 @@ declare namespace audio { * Share type, application can choose to take action or ignore. * @syscap SystemCapability.Multimedia.Audio.Renderer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTERRUPT_SHARE = 1 } @@ -2666,8 +2665,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface InterruptEvent { /** @@ -2682,8 +2681,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ eventType: InterruptType; @@ -2699,8 +2698,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ forceType: InterruptForceType; @@ -2716,8 +2715,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ hintType: InterruptHint; } @@ -2726,7 +2725,7 @@ declare namespace audio { * Enumerates interrupt action types. * @enum { number } * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ enum InterruptActionType { @@ -2734,7 +2733,7 @@ declare namespace audio { /** * Focus gain event. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ TYPE_ACTIVATED = 0, @@ -2742,7 +2741,7 @@ declare namespace audio { /** * Audio interruption event. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ TYPE_INTERRUPT = 1 @@ -2759,8 +2758,8 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum DeviceChangeType { /** @@ -2772,8 +2771,8 @@ declare namespace audio { * Device connection. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONNECT = 0, @@ -2786,8 +2785,8 @@ declare namespace audio { * Device disconnection. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DISCONNECT = 1, } @@ -2803,8 +2802,8 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioScene { /** @@ -2816,22 +2815,22 @@ declare namespace audio { * Default audio scene * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_SCENE_DEFAULT = 0, /** * Ringing audio scene * @syscap SystemCapability.Multimedia.Audio.Communication - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_SCENE_RINGING = 1, /** * Phone call audio scene * @syscap SystemCapability.Multimedia.Audio.Communication - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_SCENE_PHONE_CALL = 2, /** @@ -2843,8 +2842,8 @@ declare namespace audio { * Voice chat audio scene * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_SCENE_VOICE_CHAT = 3 } @@ -2854,24 +2853,24 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum VolumeAdjustType { /** * Adjust volume up. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ VOLUME_UP = 0, /** * Adjust volume down. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ VOLUME_DOWN = 1, } @@ -2887,8 +2886,8 @@ declare namespace audio { * @typedef AudioManager * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioManager { /** @@ -2898,7 +2897,7 @@ declare namespace audio { * @param { number } volume - Volume to set. The value range can be obtained by calling getMinVolume and getMaxVolume. * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#setVolume */ @@ -2910,7 +2909,7 @@ declare namespace audio { * @param { number } volume - Volume to set. The value range can be obtained by calling getMinVolume and getMaxVolume. * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#setVolume */ @@ -2920,7 +2919,7 @@ declare namespace audio { * @param { AudioVolumeType } volumeType - Audio volume type. * @param { AsyncCallback } callback - Callback used to return the volume. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#getVolume */ @@ -2930,7 +2929,7 @@ declare namespace audio { * @param { AudioVolumeType } volumeType - Audio volume type. * @returns { Promise } Promise used to return the volume. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#getVolume */ @@ -2940,7 +2939,7 @@ declare namespace audio { * @param { AudioVolumeType } volumeType - Audio stream type. * @param { AsyncCallback } callback - Callback used to return the minimum volume. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#getMinVolume */ @@ -2950,7 +2949,7 @@ declare namespace audio { * @param { AudioVolumeType } volumeType - Audio stream type. * @returns { Promise } Promise used to return the minimum volume. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#getMinVolume */ @@ -2960,7 +2959,7 @@ declare namespace audio { * @param { AudioVolumeType } volumeType - Audio volume type. * @param { AsyncCallback } callback - Callback used to return the maximum volume. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#getMaxVolume */ @@ -2970,7 +2969,7 @@ declare namespace audio { * @param { AudioVolumeType } volumeType - Audio volume type. * @returns { Promise } Promise used to return the maximum volume. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#getMaxVolume */ @@ -2980,7 +2979,7 @@ declare namespace audio { * @param { DeviceFlag } deviceFlag - Audio device flag. * @param { AsyncCallback } callback - Callback used to return the device list. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioRoutingManager#getDevices */ @@ -2990,7 +2989,7 @@ declare namespace audio { * @param { DeviceFlag } deviceFlag - Audio device flag. * @returns { Promise } Promise used to return the device list. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioRoutingManager#getDevices */ @@ -3001,7 +3000,7 @@ declare namespace audio { * @param { boolean } mute - Mute status to set. The value true means to mute the volume type, and false means the opposite. * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#mute */ @@ -3012,7 +3011,7 @@ declare namespace audio { * @param { boolean } mute - Mute status to set. The value true means to mute the volume type, and false means the opposite. * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#mute */ @@ -3023,7 +3022,7 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the mute status of the stream. * The value true means that the stream is muted, and false means the opposite. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#isMute */ @@ -3034,7 +3033,7 @@ declare namespace audio { * @returns { Promise } Promise used to return the mute status of the stream. The value true means * that the stream is muted, and false means the opposite. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#isMute */ @@ -3045,7 +3044,7 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the active status of the stream. * The value true means that the stream is active, and false means the opposite. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioStreamManager#isActive */ @@ -3056,7 +3055,7 @@ declare namespace audio { * @returns { Promise } Promise used to return the active status of the stream. The value true means * that the stream is active, and false means the opposite. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioStreamManager#isActive */ @@ -3067,7 +3066,7 @@ declare namespace audio { * @param { boolean } mute - Mute status to set. The value true means to mute the microphone, and false means the opposite. * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#setMicrophoneMute */ @@ -3078,7 +3077,7 @@ declare namespace audio { * @param { boolean } mute - Mute status to set. The value true means to mute the microphone, and false means the opposite. * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#setMicrophoneMute */ @@ -3089,7 +3088,7 @@ declare namespace audio { * @param { AsyncCallback } callback - used to return the mute status of the microphone. The value * true means that the microphone is muted, and false means the opposite. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#isMicrophoneMute */ @@ -3100,7 +3099,7 @@ declare namespace audio { * @returns { Promise } Promise used to return the mute status of the microphone. The value * true means that the microphone is muted, and false means the opposite. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#isMicrophoneMute */ @@ -3111,7 +3110,7 @@ declare namespace audio { * @param { AudioRingMode } mode - Ringer mode. * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Communication - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#setRingerMode */ @@ -3122,7 +3121,7 @@ declare namespace audio { * @param { AudioRingMode } mode - Ringer mode. * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Communication - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#setRingerMode */ @@ -3131,7 +3130,7 @@ declare namespace audio { * Obtains the ringer mode. This method uses an asynchronous callback to return the query result. * @param { AsyncCallback } callback - Callback used to return the ringer mode. * @syscap SystemCapability.Multimedia.Audio.Communication - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#getRingerMode */ @@ -3140,7 +3139,7 @@ declare namespace audio { * Obtains the ringer mode. This method uses a promise to return the query result. * @returns { Promise } Promise used to return the ringer mode. * @syscap SystemCapability.Multimedia.Audio.Communication - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#getRingerMode */ @@ -3152,7 +3151,7 @@ declare namespace audio { * @param { string } value - Value of the audio parameter to set. * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioManager#setExtraParameters */ @@ -3164,7 +3163,7 @@ declare namespace audio { * @param { string } value - Value of the audio parameter to set. * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioManager#setExtraParameters */ @@ -3175,7 +3174,7 @@ declare namespace audio { * @param { string } key - Key of the audio parameter whose value is to be obtained. * @param { AsyncCallback } callback - Callback used to return the value of the audio parameter. * @syscap SystemCapability.Multimedia.Audio.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioManager#getExtraParameters */ @@ -3185,7 +3184,7 @@ declare namespace audio { * @param { string } key - Key of the audio parameter whose value is to be obtained. * @returns { Promise } Promise used to return the value of the audio parameter. * @syscap SystemCapability.Multimedia.Audio.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioManager#getExtraParameters */ @@ -3205,8 +3204,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setExtraParameters(mainKey: string, kvpairs: Record): Promise; @@ -3222,8 +3221,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getExtraParameters(mainKey: string, subKeys?: Array): Promise>; @@ -3235,7 +3234,7 @@ declare namespace audio { * status, and false means the opposite. * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioRoutingManager#setCommunicationDevice */ @@ -3248,7 +3247,7 @@ declare namespace audio { * status, and false means the opposite. * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioRoutingManager#setCommunicationDevice */ @@ -3258,7 +3257,7 @@ declare namespace audio { * @param { ActiveDeviceType } deviceType - Audio device type. * @param { AsyncCallback } callback - Callback used to return the active status of the device. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioRoutingManager#isCommunicationDeviceActive */ @@ -3268,7 +3267,7 @@ declare namespace audio { * @param { ActiveDeviceType } deviceType - Audio device type. * @returns { Promise } Promise used to return the active status of the device. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioRoutingManager#isCommunicationDeviceActive */ @@ -3279,7 +3278,7 @@ declare namespace audio { * @param { Callback } callback - Callback used to get the system volume change event. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeManager#event:volumeChange */ @@ -3290,7 +3289,7 @@ declare namespace audio { * @param { Callback } callback - Callback used to get the updated ringer mode. * @syscap SystemCapability.Multimedia.Audio.Communication * @systemapi - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#event:ringerModeChange */ @@ -3302,8 +3301,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Communication * @systemapi - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ setAudioScene(scene: AudioScene, callback: AsyncCallback): void; /** @@ -3312,8 +3311,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Communication * @systemapi - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ setAudioScene(scene: AudioScene): Promise; /** @@ -3327,8 +3326,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the audio scene mode. * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioScene(callback: AsyncCallback): void; /** @@ -3342,8 +3341,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the audio scene mode. * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioScene(): Promise; /** @@ -3357,8 +3356,8 @@ declare namespace audio { * @returns { AudioScene } Current audio scene mode. * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioSceneSync(): AudioScene; @@ -3369,7 +3368,7 @@ declare namespace audio { * supported. * @param { Callback } callback - Callback used to obtain the latest audio scene. * @syscap SystemCapability.Multimedia.Audio.Communication - * @since 20 + * @since 20 dynamic */ on(type: 'audioSceneChange', callback: Callback): void; @@ -3379,7 +3378,7 @@ declare namespace audio { * supported. * @param { Callback } callback - Callback used in subscription. * @syscap SystemCapability.Multimedia.Audio.Communication - * @since 20 + * @since 20 dynamic */ off(type: 'audioSceneChange', callback?: Callback): void; @@ -3389,7 +3388,7 @@ declare namespace audio { * @param { 'deviceChange' } type - Type of the event to listen for. Only the deviceChange event is supported. * @param { Callback } callback - Callback used to obtain the device update details. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioRoutingManager#event:deviceChange */ @@ -3400,7 +3399,7 @@ declare namespace audio { * @param { 'deviceChange' } type - Type of the event to listen for. Only the deviceChange event is supported. * @param { Callback } callback - Callback used to obtain the device update details. * @syscap SystemCapability.Multimedia.Audio.Device - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.AudioRoutingManager#event:deviceChange */ @@ -3413,7 +3412,7 @@ declare namespace audio { * @param { AudioInterrupt } interrupt - Parameters of the audio interruption event type. * @param { Callback } callback - Callback invoked for the audio interruption event. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioRenderer#event:audioInterrupt */ @@ -3425,7 +3424,7 @@ declare namespace audio { * @param { AudioInterrupt } interrupt - Input parameters of the audio interruption event. * @param { Callback } callback - Callback invoked for the audio interruption event. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 7 + * @since 7 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioRenderer#event:audioInterrupt */ @@ -3442,8 +3441,8 @@ declare namespace audio { * @returns { AudioVolumeManager } AudioVolumeManager instance. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getVolumeManager(): AudioVolumeManager; @@ -3458,8 +3457,8 @@ declare namespace audio { * @returns { AudioStreamManager } AudioStreamManager instance. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getStreamManager(): AudioStreamManager; @@ -3474,8 +3473,8 @@ declare namespace audio { * @returns { AudioRoutingManager } AudioRoutingManager instance. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getRoutingManager(): AudioRoutingManager; @@ -3484,8 +3483,8 @@ declare namespace audio { * @returns { AudioSessionManager } AudioSessionManager instance. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSessionManager(): AudioSessionManager; @@ -3493,8 +3492,8 @@ declare namespace audio { * Obtains an {@link AudioSpatializationManager} instance. * @returns { AudioSpatializationManager } AudioSpatializationManager instance. * @syscap SystemCapability.Multimedia.Audio.Spatialization - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getSpatializationManager(): AudioSpatializationManager; @@ -3504,8 +3503,8 @@ declare namespace audio { * @throws { BusinessError } 202 - Not system App. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getEffectManager(): AudioEffectManager; @@ -3515,7 +3514,7 @@ declare namespace audio { * @throws { BusinessError } 202 - Not system App. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since 20 + * @since 20 dynamic */ getCollaborativeManager(): AudioCollaborativeManager; @@ -3527,8 +3526,8 @@ declare namespace audio { * @throws { BusinessError } 202 - Not system App. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ disableSafeMediaVolume(): Promise; } @@ -3538,24 +3537,24 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Interrupt * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum InterruptRequestResultType { /** * Request audio interrupt success * @syscap SystemCapability.Multimedia.Audio.Interrupt * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ INTERRUPT_REQUEST_GRANT = 0, /** * Request audio interrupt fail, may have higher priority type * @syscap SystemCapability.Multimedia.Audio.Interrupt * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ INTERRUPT_REQUEST_REJECT = 1 } @@ -3565,8 +3564,8 @@ declare namespace audio { * @typedef InterruptResult * @syscap SystemCapability.Multimedia.Audio.Interrupt * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface InterruptResult { /** @@ -3574,8 +3573,8 @@ declare namespace audio { * @type { InterruptRequestResultType } * @syscap SystemCapability.Multimedia.Audio.Interrupt * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ requestResult: InterruptRequestResultType; /** @@ -3583,8 +3582,8 @@ declare namespace audio { * @type { int } * @syscap SystemCapability.Multimedia.Audio.Interrupt * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interruptNode: int; } @@ -3593,22 +3592,22 @@ declare namespace audio { * Desribes audio device block status. By default, the device is consider as unblocked. * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum DeviceBlockStatus { /** * Device is unblocked. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ UNBLOCKED = 0, /** * Device is blocked. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ BLOCKED = 1, } @@ -3617,16 +3616,16 @@ declare namespace audio { * Desribes audio device block status info. * @typedef DeviceBlockStatusInfo * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface DeviceBlockStatusInfo { /** * Device block status. * @type {DeviceBlockStatus} * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ blockStatus: DeviceBlockStatus; @@ -3634,8 +3633,8 @@ declare namespace audio { * Audio device descriptors whose block status has changed. * @type {AudioDeviceDescriptors} * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ devices: AudioDeviceDescriptors; } @@ -3651,8 +3650,8 @@ declare namespace audio { * @typedef AudioRoutingManager * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioRoutingManager { /** @@ -3668,8 +3667,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the device list. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getDevices(deviceFlag: DeviceFlag, callback: AsyncCallback): void; /** @@ -3685,8 +3684,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the device list. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getDevices(deviceFlag: DeviceFlag): Promise; /** @@ -3710,8 +3709,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getDevicesSync(deviceFlag: DeviceFlag): AudioDeviceDescriptors; @@ -3740,8 +3739,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'deviceChange', deviceFlag: DeviceFlag, callback: Callback): void; @@ -3766,8 +3765,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'deviceChange', callback?: Callback): void; @@ -3780,8 +3779,8 @@ declare namespace audio { * 2.Incorrect parameter types. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAvailableDevices(deviceUsage: DeviceUsage): AudioDeviceDescriptors; @@ -3796,8 +3795,8 @@ declare namespace audio { * 2.Incorrect parameter types. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'availableDeviceChange', deviceUsage: DeviceUsage, callback: Callback): void; @@ -3810,8 +3809,8 @@ declare namespace audio { * 2.Incorrect parameter types. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'availableDeviceChange', callback?: Callback): void; @@ -3833,8 +3832,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setCommunicationDevice(deviceType: CommunicationDeviceType, active: boolean, callback: AsyncCallback): void; /** @@ -3855,8 +3854,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setCommunicationDevice(deviceType: CommunicationDeviceType, active: boolean): Promise; @@ -3873,8 +3872,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the active status of the device. * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isCommunicationDeviceActive(deviceType: CommunicationDeviceType, callback: AsyncCallback): void; /** @@ -3890,8 +3889,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the active status of the device. * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isCommunicationDeviceActive(deviceType: CommunicationDeviceType): Promise; /** @@ -3915,8 +3914,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Communication * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isCommunicationDeviceActiveSync(deviceType: CommunicationDeviceType): boolean; @@ -3926,8 +3925,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ selectOutputDevice(outputAudioDevices: AudioDeviceDescriptors, callback: AsyncCallback): void; /** @@ -3936,8 +3935,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ selectOutputDevice(outputAudioDevices: AudioDeviceDescriptors): Promise; @@ -3948,8 +3947,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ selectOutputDeviceByFilter(filter: AudioRendererFilter, outputAudioDevices: AudioDeviceDescriptors, callback: AsyncCallback): void; /** @@ -3959,8 +3958,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ selectOutputDeviceByFilter(filter: AudioRendererFilter, outputAudioDevices: AudioDeviceDescriptors): Promise; @@ -3970,8 +3969,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ selectInputDevice(inputAudioDevices: AudioDeviceDescriptors, callback: AsyncCallback): void; /** @@ -3980,8 +3979,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ selectInputDevice(inputAudioDevices: AudioDeviceDescriptors): Promise; @@ -3994,8 +3993,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ selectInputDeviceByFilter(filter: AudioCapturerFilter, inputAudioDevices: AudioDeviceDescriptors): Promise; @@ -4022,8 +4021,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. Return by callback. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getPreferOutputDeviceForRendererInfo(rendererInfo: AudioRendererInfo, callback: AsyncCallback): void; /** @@ -4049,8 +4048,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. Return by promise. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getPreferOutputDeviceForRendererInfo(rendererInfo: AudioRendererInfo): Promise; @@ -4075,8 +4074,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getPreferredOutputDeviceForRendererInfoSync(rendererInfo: AudioRendererInfo): AudioDeviceDescriptors; @@ -4088,8 +4087,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getPreferredOutputDeviceByFilter(filter: AudioRendererFilter): AudioDeviceDescriptors; @@ -4120,8 +4119,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'preferOutputDeviceChangeForRendererInfo', rendererInfo: AudioRendererInfo, callback: Callback): void; /** @@ -4147,8 +4146,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'preferOutputDeviceChangeForRendererInfo', callback?: Callback): void; @@ -4175,8 +4174,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. Return by callback. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getPreferredInputDeviceForCapturerInfo(capturerInfo: AudioCapturerInfo, callback: AsyncCallback): void; /** @@ -4202,8 +4201,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. Return by promise. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getPreferredInputDeviceForCapturerInfo(capturerInfo: AudioCapturerInfo): Promise; @@ -4215,8 +4214,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getPreferredInputDeviceByFilter(filter: AudioCapturerFilter): AudioDeviceDescriptors; @@ -4245,8 +4244,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'preferredInputDeviceChangeForCapturerInfo', capturerInfo: AudioCapturerInfo, callback: Callback): void; /** @@ -4270,8 +4269,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'preferredInputDeviceChangeForCapturerInfo', callback?: Callback): void; @@ -4296,8 +4295,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getPreferredInputDeviceForCapturerInfoSync(capturerInfo: AudioCapturerInfo): AudioDeviceDescriptors; @@ -4305,8 +4304,8 @@ declare namespace audio { * Query whether microphone block detection is supported on current device. * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ isMicBlockDetectionSupported():Promise; @@ -4322,8 +4321,8 @@ declare namespace audio { * 2.Incorrect parameter types. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'micBlockStatusChanged', callback: Callback): void; @@ -4336,8 +4335,8 @@ declare namespace audio { * 2.Incorrect parameter types. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'micBlockStatusChanged', callback?: Callback): void; @@ -4354,8 +4353,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ excludeOutputDevices(usage: DeviceUsage, devices: AudioDeviceDescriptors): Promise; @@ -4370,8 +4369,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ unexcludeOutputDevices(usage: DeviceUsage, devices: AudioDeviceDescriptors): Promise; @@ -4385,8 +4384,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ unexcludeOutputDevices(usage: DeviceUsage): Promise; @@ -4398,8 +4397,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getExcludedDevices(usage: DeviceUsage): AudioDeviceDescriptors; } @@ -4415,8 +4414,8 @@ declare namespace audio { * @typedef AudioStreamManager * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioStreamManager { /** @@ -4432,8 +4431,8 @@ declare namespace audio { * of current existing audio renderers. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCurrentAudioRendererInfoArray(callback: AsyncCallback): void; @@ -4450,8 +4449,8 @@ declare namespace audio { * existing audio renderers. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCurrentAudioRendererInfoArray(): Promise; @@ -4466,8 +4465,8 @@ declare namespace audio { * @returns { AudioRendererChangeInfoArray } The information of current existing audio renderers. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCurrentAudioRendererInfoArraySync(): AudioRendererChangeInfoArray; @@ -4484,8 +4483,8 @@ declare namespace audio { * of current existing audio capturers. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCurrentAudioCapturerInfoArray(callback: AsyncCallback): void; @@ -4502,8 +4501,8 @@ declare namespace audio { * audio capturers. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCurrentAudioCapturerInfoArray(): Promise; @@ -4518,8 +4517,8 @@ declare namespace audio { * @returns { AudioCapturerChangeInfoArray } The information of current existing audio capturers. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCurrentAudioCapturerInfoArraySync(): AudioCapturerChangeInfoArray; @@ -4532,8 +4531,8 @@ declare namespace audio { * 2.Incorrect parameter types. * @throws { BusinessError } 6800101 - Parameter verification failed. Return by callback. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getAudioEffectInfoArray(usage: StreamUsage, callback: AsyncCallback): void; @@ -4546,8 +4545,8 @@ declare namespace audio { * 2.Incorrect parameter types. * @throws { BusinessError } 6800101 - Parameter verification failed. Return by promise. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getAudioEffectInfoArray(usage: StreamUsage): Promise; @@ -4560,8 +4559,8 @@ declare namespace audio { * 2.Incorrect parameter types. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getAudioEffectInfoArraySync(usage: StreamUsage): AudioEffectInfoArray; @@ -4588,8 +4587,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'audioRendererChange', callback: Callback): void; @@ -4621,8 +4620,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'audioRendererChange', callback?: Callback): void; @@ -4649,8 +4648,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'audioCapturerChange', callback: Callback): void; @@ -4682,8 +4681,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'audioCapturerChange', callback?: Callback): void; @@ -4702,10 +4701,10 @@ declare namespace audio { * The value true means that the stream is active, and false means the opposite. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioStreamManager#isStreamActive - * @arkts 1.1&1.2 */ isActive(volumeType: AudioVolumeType, callback: AsyncCallback): void; /** @@ -4723,10 +4722,10 @@ declare namespace audio { * true means that the stream is active, and false means the opposite. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioStreamManager#isStreamActive - * @arkts 1.1&1.2 */ isActive(volumeType: AudioVolumeType): Promise; /** @@ -4750,10 +4749,10 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioStreamManager#isStreamActive - * @arkts 1.1&1.2 */ isActiveSync(volumeType: AudioVolumeType): boolean; @@ -4763,7 +4762,7 @@ declare namespace audio { * @returns { boolean } The active status of the stream. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 20 + * @since 20 dynamic */ isStreamActive(streamUsage: StreamUsage): boolean; /** @@ -4772,7 +4771,7 @@ declare namespace audio { * @returns { boolean } Check result. The value true means that the audio source type supports echo cancellation, and false means the opposite. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ isAcousticEchoCancelerSupported(sourceType: SourceType): boolean; @@ -4783,7 +4782,7 @@ declare namespace audio { * and false means the opposite. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ isAudioLoopbackSupported(mode: AudioLoopbackMode): boolean; @@ -4795,7 +4794,7 @@ declare namespace audio { * @returns { boolean } Value means audio recording can start. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ isRecordingAvailable(capturerInfo: AudioCapturerInfo): boolean; } @@ -4805,40 +4804,40 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioConcurrencyMode { /** * Default concurrency mode. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONCURRENCY_DEFAULT = 0, /** * Mix with others mode. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONCURRENCY_MIX_WITH_OTHERS = 1, /** * Duck others mode. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONCURRENCY_DUCK_OTHERS = 2, /** * Pause others mode. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONCURRENCY_PAUSE_OTHERS = 3, } @@ -4848,24 +4847,24 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioSessionDeactivatedReason { /** * Lower priority. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEACTIVATED_LOWER_PRIORITY = 0, /** * Time out. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEACTIVATED_TIMEOUT = 1, } @@ -4875,8 +4874,8 @@ declare namespace audio { * @typedef AudioSessionStrategy * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioSessionStrategy { /** @@ -4884,8 +4883,8 @@ declare namespace audio { * @type { AudioConcurrencyMode } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ concurrencyMode: AudioConcurrencyMode; } @@ -4895,8 +4894,8 @@ declare namespace audio { * @typedef AudioSessionDeactivatedEvent * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioSessionDeactivatedEvent { /** @@ -4904,8 +4903,8 @@ declare namespace audio { * @type { AudioSessionDeactivatedReason } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ reason: AudioSessionDeactivatedReason; } @@ -4915,8 +4914,8 @@ declare namespace audio { * @typedef AudioSessionManager * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioSessionManager { /** @@ -4930,8 +4929,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. Returned by promise. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ activateAudioSession(strategy: AudioSessionStrategy): Promise; @@ -4941,8 +4940,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. Returned by promise. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deactivateAudioSession(): Promise; @@ -4951,8 +4950,8 @@ declare namespace audio { * @returns { boolean } The active audio session status for the current pid application. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isAudioSessionActivated(): boolean; @@ -4967,8 +4966,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'audioSessionDeactivated', callback: Callback): void; @@ -4982,8 +4981,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'audioSessionDeactivated', callback?: Callback): void; } @@ -4993,7 +4992,7 @@ declare namespace audio { * @typedef { Array } StreamUsageArray * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since 20 + * @since 20 dynamic */ type StreamUsageArray = Array; @@ -5008,8 +5007,8 @@ declare namespace audio { * @typedef AudioVolumeManager * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioVolumeManager { /** @@ -5018,8 +5017,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ getVolumeGroupInfos(networkId: string, callback: AsyncCallback): void; /** @@ -5028,8 +5027,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ getVolumeGroupInfos(networkId: string): Promise; /** @@ -5042,8 +5041,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getVolumeGroupInfosSync(networkId: string): VolumeGroupInfos; @@ -5060,8 +5059,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getVolumeGroupManager(groupId: int, callback: AsyncCallback): void; /** @@ -5077,8 +5076,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getVolumeGroupManager(groupId: int): Promise; /** @@ -5102,8 +5101,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getVolumeGroupManagerSync(groupId: int): AudioVolumeGroupManager; @@ -5117,8 +5116,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getAppVolumePercentageForUid(uid: int): Promise; @@ -5134,8 +5133,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - Crash or blocking occurs in system process. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setAppVolumePercentageForUid(uid: int, volume: int): Promise; @@ -5152,8 +5151,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ isAppVolumeMutedForUid(uid: int, owned: boolean): Promise; @@ -5170,8 +5169,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - Crash or blocking occurs in system process. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setAppVolumeMutedForUid(uid: int, muted: boolean): Promise; @@ -5179,8 +5178,8 @@ declare namespace audio { * Get the volume for your app with range from 0 to 100. Applications with the same uid share the same volume. * @returns { Promise } The application's volume percentage. The value range is from 0 to 100. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getAppVolumePercentage(): Promise; @@ -5196,8 +5195,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @throws { BusinessError } 6800301 - Crash or blocking occurs in system process. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setAppVolumePercentage(volume: int): Promise; @@ -5222,10 +5221,10 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#event:streamVolumeChange - * @arkts 1.1&1.2 */ on(type: 'volumeChange', callback: Callback): void; @@ -5238,10 +5237,10 @@ declare namespace audio { * 2.Incorrect parameter types. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#event:streamVolumeChange - * @arkts 1.1&1.2 */ off(type: 'volumeChange', callback?: Callback): void; @@ -5258,8 +5257,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'appVolumeChangeForUid', uid: int, callback: Callback): void; @@ -5274,8 +5273,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'appVolumeChangeForUid', callback?: Callback): void; @@ -5286,8 +5285,8 @@ declare namespace audio { * @param { Callback } callback - Callback used to get the app volume change event. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'appVolumeChange', callback: Callback): void; @@ -5298,8 +5297,8 @@ declare namespace audio { * @param { Callback } callback - Callback used to obtain the invoking volume change event. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'appVolumeChange', callback?: Callback): void; @@ -5312,8 +5311,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ on(type: 'activeVolumeTypeChange', callback: Callback): void; @@ -5326,8 +5324,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ off(type: 'activeVolumeTypeChange', callback?: Callback): void; @@ -5339,7 +5336,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 + * @since 20 dynamic */ getSystemVolume(volumeType: AudioVolumeType): number; @@ -5351,7 +5348,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 + * @since 20 dynamic */ getMinSystemVolume(volumeType: AudioVolumeType): number; @@ -5363,7 +5360,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 + * @since 20 dynamic */ getMaxSystemVolume(volumeType: AudioVolumeType): number; @@ -5376,7 +5373,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 + * @since 20 dynamic */ isSystemMuted(volumeType: AudioVolumeType): boolean; @@ -5390,7 +5387,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 + * @since 20 dynamic */ getVolumeInUnitOfDb(volumeType: AudioVolumeType, volumeLevel: number, device: DeviceType): number; @@ -5403,8 +5400,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ on(type: 'systemVolumeChange', callback: Callback): void; @@ -5417,8 +5413,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ off(type: 'systemVolumeChange', callback?: Callback): void; @@ -5428,7 +5423,7 @@ declare namespace audio { * @returns { number } Current system volume level. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 20 + * @since 20 dynamic */ getVolumeByStream(streamUsage: StreamUsage): number; @@ -5438,7 +5433,7 @@ declare namespace audio { * @returns { number } Min volume level. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 20 + * @since 20 dynamic */ getMinVolumeByStream(streamUsage: StreamUsage): number; @@ -5448,7 +5443,7 @@ declare namespace audio { * @returns { number } Max volume level. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 20 + * @since 20 dynamic */ getMaxVolumeByStream(streamUsage: StreamUsage): number; @@ -5459,7 +5454,7 @@ declare namespace audio { * means that the stream is muted, and false means the opposite. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 20 + * @since 20 dynamic */ isSystemMutedForStream(streamUsage: StreamUsage): boolean; @@ -5471,7 +5466,7 @@ declare namespace audio { * @returns { number } The system volume in dB. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 20 + * @since 20 dynamic */ getVolumeInUnitOfDbByStream(streamUsage: StreamUsage, volumeLevel: number, device: DeviceType): number; @@ -5481,7 +5476,7 @@ declare namespace audio { * @throws { BusinessError } 202 - Not system App. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 + * @since 20 dynamic */ getSupportedAudioVolumeTypes(): Array>; @@ -5493,7 +5488,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 + * @since 20 dynamic */ getAudioVolumeTypeByStreamUsage(streamUsage: StreamUsage): AudioVolumeType; @@ -5505,7 +5500,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since 20 + * @since 20 dynamic */ getStreamUsagesByVolumeType(volumeType: AudioVolumeType): StreamUsageArray; @@ -5517,8 +5512,7 @@ declare namespace audio { * @param { Callback } callback - Callback used to get the stream volume change event. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ on(type: 'streamVolumeChange', streamUsage: StreamUsage, callback: Callback): void; @@ -5529,8 +5523,7 @@ declare namespace audio { * @param { Callback } callback - Callback used to obtain the invoking volume change event. * If there is no callback parameter, all callbacks will be unregistered. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ off(type: 'streamVolumeChange', callback?: Callback): void; } @@ -5546,8 +5539,8 @@ declare namespace audio { * @typedef AudioVolumeGroupManager * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioVolumeGroupManager { /** @@ -5558,8 +5551,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ setVolume(volumeType: AudioVolumeType, volume: int, callback: AsyncCallback): void; /** @@ -5570,8 +5563,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ setVolume(volumeType: AudioVolumeType, volume: int): Promise; @@ -5586,8 +5579,8 @@ declare namespace audio { * @throws { BusinessError } 202 - Not system App. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setVolumeWithFlag(volumeType: AudioVolumeType, volume: int, flags: int): Promise; @@ -5603,8 +5596,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getActiveVolumeTypeSync(uid: int): AudioVolumeType; @@ -5621,10 +5614,10 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the volume. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#getVolumeByStream - * @arkts 1.1&1.2 */ getVolume(volumeType: AudioVolumeType, callback: AsyncCallback): void; /** @@ -5640,10 +5633,10 @@ declare namespace audio { * @returns { Promise } Promise used to return the volume. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#getVolumeByStream - * @arkts 1.1&1.2 */ getVolume(volumeType: AudioVolumeType): Promise; /** @@ -5667,10 +5660,10 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#getVolumeByStream - * @arkts 1.1&1.2 */ getVolumeSync(volumeType: AudioVolumeType): int; @@ -5687,10 +5680,10 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the minimum volume. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#getMinVolumeByStream - * @arkts 1.1&1.2 */ getMinVolume(volumeType: AudioVolumeType, callback: AsyncCallback): void; /** @@ -5706,10 +5699,10 @@ declare namespace audio { * @returns { Promise } Promise used to return the minimum volume. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#getMinVolumeByStream - * @arkts 1.1&1.2 */ getMinVolume(volumeType: AudioVolumeType): Promise; /** @@ -5733,10 +5726,10 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#getMinVolumeByStream - * @arkts 1.1&1.2 */ getMinVolumeSync(volumeType: AudioVolumeType): int; @@ -5753,10 +5746,10 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the maximum volume. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#getMaxVolumeByStream - * @arkts 1.1&1.2 */ getMaxVolume(volumeType: AudioVolumeType, callback: AsyncCallback): void; /** @@ -5772,10 +5765,10 @@ declare namespace audio { * @returns { Promise } Promise used to return the maximum volume. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#getMaxVolumeByStream - * @arkts 1.1&1.2 */ getMaxVolume(volumeType: AudioVolumeType): Promise; /** @@ -5799,10 +5792,10 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#getMaxVolumeByStream - * @arkts 1.1&1.2 */ getMaxVolumeSync(volumeType: AudioVolumeType): int; @@ -5814,8 +5807,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ mute(volumeType: AudioVolumeType, mute: boolean, callback: AsyncCallback): void; /** @@ -5826,8 +5819,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ mute(volumeType: AudioVolumeType, mute: boolean): Promise; @@ -5846,10 +5839,10 @@ declare namespace audio { * value true means that the volume type is muted, and false means the opposite. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#isSystemMutedForStream - * @arkts 1.1&1.2 */ isMute(volumeType: AudioVolumeType, callback: AsyncCallback): void; /** @@ -5867,10 +5860,10 @@ declare namespace audio { * means that the volume type is muted, and false means the opposite. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#isSystemMutedForStream - * @arkts 1.1&1.2 */ isMute(volumeType: AudioVolumeType): Promise; /** @@ -5896,10 +5889,10 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#isSystemMutedForStream - * @arkts 1.1&1.2 */ isMuteSync(volumeType: AudioVolumeType): boolean; @@ -5910,8 +5903,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ setRingerMode(mode: AudioRingMode, callback: AsyncCallback): void; /** @@ -5921,8 +5914,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ setRingerMode(mode: AudioRingMode): Promise; @@ -5937,8 +5930,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the ringer mode. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getRingerMode(callback: AsyncCallback): void; /** @@ -5952,8 +5945,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the ringer mode. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getRingerMode(): Promise; /** @@ -5967,8 +5960,8 @@ declare namespace audio { * @returns { AudioRingMode } Current ringer mode. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getRingerModeSync(): AudioRingMode; @@ -5981,8 +5974,8 @@ declare namespace audio { * 2.Incorrect parameter types. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ on(type: 'ringerModeChange', callback: Callback): void; @@ -5992,8 +5985,8 @@ declare namespace audio { * @param { Callback } callback - Callback used to get the updated ringer mode. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'ringerModeChange', callback?: Callback): void; @@ -6003,7 +5996,7 @@ declare namespace audio { * @param { boolean } mute - Mute status to set. The value true means to mute the microphone, and false means the opposite. * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 9 + * @since 9 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#setMicMute */ @@ -6014,7 +6007,7 @@ declare namespace audio { * @param { boolean } mute - Mute status to set. The value true means to mute the microphone, and false means the opposite. * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 9 + * @since 9 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioVolumeGroupManager#setMicMute */ @@ -6033,8 +6026,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setMicMute(mute: boolean): Promise; @@ -6052,8 +6045,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setMicMutePersistent(mute: boolean, type: PolicyType): Promise; @@ -6067,8 +6060,8 @@ declare namespace audio { * @throws { BusinessError } 202 - Not system App. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isPersistentMicMute(): boolean; @@ -6085,8 +6078,8 @@ declare namespace audio { * true means that the microphone is muted, and false means the opposite. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isMicrophoneMute(callback: AsyncCallback): void; /** @@ -6102,8 +6095,8 @@ declare namespace audio { * means that the microphone is muted, and false means the opposite. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isMicrophoneMute(): Promise; /** @@ -6119,8 +6112,8 @@ declare namespace audio { * means that the microphone is muted, and false means the opposite. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isMicrophoneMuteSync(): boolean; @@ -6133,8 +6126,8 @@ declare namespace audio { * 2.Incorrect parameter types. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ on(type: 'micStateChange', callback: Callback): void; @@ -6147,8 +6140,8 @@ declare namespace audio { * 2.Incorrect parameter types. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'micStateChange', callback?: Callback): void; @@ -6163,8 +6156,8 @@ declare namespace audio { * @returns { boolean } Whether it is volume unadjustable. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isVolumeUnadjustable(): boolean; @@ -6182,8 +6175,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. Return by callback. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ adjustVolumeByStep(adjustType: VolumeAdjustType, callback: AsyncCallback): void; /** @@ -6200,8 +6193,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. Return by promise. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ adjustVolumeByStep(adjustType: VolumeAdjustType): Promise; @@ -6220,8 +6213,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. Return by callback. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ adjustSystemVolumeByStep(volumeType: AudioVolumeType, adjustType: VolumeAdjustType, callback: AsyncCallback): void; /** @@ -6239,8 +6232,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. Return by promise. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ adjustSystemVolumeByStep(volumeType: AudioVolumeType, adjustType: VolumeAdjustType): Promise; @@ -6273,10 +6266,10 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. Return by callback. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#getVolumeInUnitOfDbByStream - * @arkts 1.1&1.2 */ getSystemVolumeInDb(volumeType: AudioVolumeType, volumeLevel: int, device: DeviceType, callback: AsyncCallback): void; /** @@ -6308,10 +6301,10 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. Return by promise. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#getVolumeInUnitOfDbByStream - * @arkts 1.1&1.2 */ getSystemVolumeInDb(volumeType: AudioVolumeType, volumeLevel: int, device: DeviceType): Promise; /** @@ -6339,10 +6332,10 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @deprecated since 20 * @useinstead ohos.multimedia.audio.AudioVolumeManager#getVolumeInUnitOfDbByStream - * @arkts 1.1&1.2 */ getSystemVolumeInDbSync(volumeType: AudioVolumeType, volumeLevel: int, device: DeviceType): double; @@ -6357,8 +6350,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. Return by promise. * @throws { BusinessError } 6800301 - System error. Return by promise. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getMaxAmplitudeForInputDevice(inputDevice: AudioDeviceDescriptor): Promise; /** @@ -6372,8 +6365,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. Return by promise. * @throws { BusinessError } 6800301 - System error. Return by promise. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getMaxAmplitudeForOutputDevice(outputDevice: AudioDeviceDescriptor): Promise; } @@ -6383,8 +6376,8 @@ declare namespace audio { * @interface AudioSpatialEnabledStateForDevice * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioSpatialEnabledStateForDevice { /** @@ -6392,8 +6385,8 @@ declare namespace audio { * @type { AudioDeviceDescriptor } * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deviceDescriptor: AudioDeviceDescriptor; /** @@ -6401,8 +6394,8 @@ declare namespace audio { * @type { boolean } * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enabled: boolean; } @@ -6411,8 +6404,8 @@ declare namespace audio { * Implements audio spatialization management. * @typedef AudioSpatializationManager * @syscap SystemCapability.Multimedia.Audio.Spatialization - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface AudioSpatializationManager { /** @@ -6421,8 +6414,8 @@ declare namespace audio { * @throws { BusinessError } 202 - Not system App. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isSpatializationSupported(): boolean; @@ -6437,8 +6430,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isSpatializationSupportedForDevice(deviceDescriptor: AudioDeviceDescriptor): boolean; @@ -6448,8 +6441,8 @@ declare namespace audio { * @throws { BusinessError } 202 - Not system App. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isHeadTrackingSupported(): boolean; @@ -6464,8 +6457,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isHeadTrackingSupportedForDevice(deviceDescriptor: AudioDeviceDescriptor): boolean; @@ -6482,7 +6475,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.multimedia.audio.AudioSpatializationManager#setSpatializationEnabled */ @@ -6499,7 +6492,7 @@ declare namespace audio { * 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.multimedia.audio.AudioSpatializationManager#setSpatializationEnabled */ @@ -6519,8 +6512,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setSpatializationEnabled(deviceDescriptor: AudioDeviceDescriptor, enabled: boolean): Promise; @@ -6530,7 +6523,7 @@ declare namespace audio { * @throws { BusinessError } 202 - Not system App. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.multimedia.audio.AudioSpatializationManager#isSpatializationEnabled */ @@ -6546,8 +6539,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isSpatializationEnabled(deviceDescriptor: AudioDeviceDescriptor): boolean; @@ -6563,7 +6556,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.multimedia.audio.AudioSpatializationManager#on */ @@ -6580,8 +6573,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'spatializationEnabledChangeForAnyDevice', callback: Callback): void; @@ -6596,7 +6589,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.multimedia.audio.AudioSpatializationManager#off */ @@ -6612,8 +6605,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'spatializationEnabledChangeForAnyDevice', callback?: Callback): void; @@ -6630,7 +6623,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.multimedia.audio.AudioSpatializationManager#setHeadTrackingEnabled */ @@ -6647,7 +6640,7 @@ declare namespace audio { * 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.multimedia.audio.AudioSpatializationManager#setHeadTrackingEnabled */ @@ -6667,8 +6660,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setHeadTrackingEnabled(deviceDescriptor: AudioDeviceDescriptor, enabled: boolean): Promise; @@ -6678,7 +6671,7 @@ declare namespace audio { * @throws { BusinessError } 202 - Not system App. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.multimedia.audio.AudioSpatializationManager#isHeadTrackingEnabled */ @@ -6694,8 +6687,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isHeadTrackingEnabled(deviceDescriptor: AudioDeviceDescriptor): boolean; @@ -6711,7 +6704,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.multimedia.audio.AudioSpatializationManager#on */ @@ -6728,8 +6721,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'headTrackingEnabledChangeForAnyDevice', callback: Callback): void; @@ -6744,7 +6737,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead ohos.multimedia.audio.AudioSpatializationManager#off */ @@ -6760,8 +6753,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'headTrackingEnabledChangeForAnyDevice', callback?: Callback): void; @@ -6777,8 +6770,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ updateSpatialDeviceState(spatialDeviceState: AudioSpatialDeviceState): void; @@ -6794,8 +6787,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setSpatializationSceneType(spatializationSceneType: AudioSpatializationSceneType): void; @@ -6805,8 +6798,8 @@ declare namespace audio { * @throws { BusinessError } 202 - Not system App. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSpatializationSceneType(): AudioSpatializationSceneType; @@ -6814,8 +6807,8 @@ declare namespace audio { * Checks whether the spatialization is enabled by the current device. * @returns { boolean } Whether the spatialization is enabled by the current device. * @syscap SystemCapability.Multimedia.Audio.Spatialization - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ isSpatializationEnabledForCurrentDevice(): boolean; @@ -6826,8 +6819,8 @@ declare namespace audio { * @param { Callback } callback - Callback used to get the spatialization enable state. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ on(type: 'spatializationEnabledChangeForCurrentDevice', callback: Callback): void; @@ -6837,8 +6830,8 @@ declare namespace audio { * @param { Callback } callback - Callback used to get the spatialization enable state. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Spatialization - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'spatializationEnabledChangeForCurrentDevice', callback?: Callback): void; } @@ -6848,8 +6841,8 @@ declare namespace audio { * @typedef AudioEffectManager * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface AudioEffectManager { /** @@ -6861,8 +6854,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getSupportedAudioEffectProperty(): Array; @@ -6880,8 +6873,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ setAudioEffectProperty(propertyArray: Array): void; @@ -6894,8 +6887,8 @@ declare namespace audio { * @throws { BusinessError } 6800301 - System error. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getAudioEffectProperty(): Array; } @@ -6905,7 +6898,7 @@ declare namespace audio { * @typedef AudioCollaborativeManager * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since 20 + * @since 20 dynamic */ interface AudioCollaborativeManager { /** @@ -6914,7 +6907,7 @@ declare namespace audio { * @throws { BusinessError } 202 - Not system application. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since 20 + * @since 20 dynamic */ isCollaborativePlaybackSupported(): boolean; @@ -6932,7 +6925,7 @@ declare namespace audio { * 2. The specified device is not connected. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since 20 + * @since 20 dynamic */ setCollaborativePlaybackEnabledForDevice(deviceDescriptor: AudioDeviceDescriptor, enabled: boolean): Promise; @@ -6945,7 +6938,7 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since 20 + * @since 20 dynamic */ isCollaborativePlaybackEnabledForDevice(deviceDescriptor: AudioDeviceDescriptor): boolean; } @@ -6955,16 +6948,16 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum ConnectType { /** * Connect type for local device. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ CONNECT_TYPE_LOCAL = 1, @@ -6972,8 +6965,8 @@ declare namespace audio { * Connect type for distributed device. * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ CONNECT_TYPE_DISTRIBUTED = 2 } @@ -6983,8 +6976,8 @@ declare namespace audio { * @typedef VolumeGroupInfo * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface VolumeGroupInfo { /** @@ -6993,8 +6986,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly networkId: string; @@ -7004,8 +6997,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly groupId: int; @@ -7015,8 +7008,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly mappingId: int; @@ -7026,8 +7019,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly groupName: string; @@ -7037,8 +7030,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly type: ConnectType; } @@ -7048,8 +7041,8 @@ declare namespace audio { * @typedef { Array> } VolumeGroupInfos * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ type VolumeGroupInfos = Array>; @@ -7064,8 +7057,8 @@ declare namespace audio { * @typedef { Array> } AudioRendererChangeInfoArray * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type AudioRendererChangeInfoArray = Array>; @@ -7080,8 +7073,8 @@ declare namespace audio { * @typedef AudioRendererChangeInfo * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioRendererChangeInfo { /** @@ -7096,8 +7089,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly streamId: int; @@ -7107,8 +7100,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Renderer * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly clientUid: int; @@ -7124,8 +7117,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly rendererInfo: AudioRendererInfo; @@ -7135,8 +7128,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Renderer * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly rendererState: AudioState; @@ -7152,8 +7145,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly deviceDescriptors: AudioDeviceDescriptors; } @@ -7169,8 +7162,8 @@ declare namespace audio { * @typedef { Array> } AudioCapturerChangeInfoArray * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type AudioCapturerChangeInfoArray = Array>; @@ -7185,8 +7178,8 @@ declare namespace audio { * @typedef AudioCapturerChangeInfo * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioCapturerChangeInfo { /** @@ -7201,8 +7194,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly streamId: int; @@ -7212,8 +7205,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly clientUid: int; @@ -7229,8 +7222,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly capturerInfo: AudioCapturerInfo; @@ -7240,8 +7233,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly capturerState: AudioState; @@ -7257,8 +7250,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly deviceDescriptors: AudioDeviceDescriptors; @@ -7274,8 +7267,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly muted?: boolean; } @@ -7292,8 +7285,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioDeviceDescriptor { /** @@ -7309,8 +7302,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly deviceRole: DeviceRole; @@ -7327,8 +7320,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly deviceType: DeviceType; @@ -7345,8 +7338,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly id: int; @@ -7363,8 +7356,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly name: string; @@ -7381,8 +7374,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly address: string; @@ -7399,8 +7392,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly sampleRates: Array; @@ -7417,8 +7410,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly channelCounts: Array; @@ -7435,8 +7428,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly channelMasks: Array; /** @@ -7445,8 +7438,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly networkId: string; /** @@ -7455,8 +7448,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly interruptGroupId: int; /** @@ -7465,8 +7458,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Device * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly volumeGroupId: int; /** @@ -7482,8 +7475,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly displayName: string; @@ -7500,8 +7493,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly encodingTypes?: Array; @@ -7510,8 +7503,8 @@ declare namespace audio { * @type { boolean } * @readonly * @syscap SystemCapability.Multimedia.Audio.Spatialization - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ readonly spatializationSupported?: boolean; @@ -7522,8 +7515,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ readonly dmDeviceType?: int; } @@ -7540,8 +7533,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type AudioDeviceDescriptors = Array>; @@ -7549,22 +7542,22 @@ declare namespace audio { * Volume mode. * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum AudioVolumeMode { /** * Audio volume affected by system volume level. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ SYSTEM_GLOBAL = 0, /** * Audio volume affected by app's individual percentage. * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ APP_INDIVIDUAL = 1 } @@ -7580,16 +7573,16 @@ declare namespace audio { * @typedef VolumeEvent * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface VolumeEvent { /** * Volume type of the current stream. * @type { AudioVolumeType } * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ volumeType: AudioVolumeType; /** @@ -7603,16 +7596,16 @@ declare namespace audio { * @type { int } * @syscap SystemCapability.Multimedia.Audio.Volume * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ volume: int; /** * Whether to show the volume change in UI. * @type { boolean } * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ updateUi: boolean; /** @@ -7620,8 +7613,8 @@ declare namespace audio { * @type { int } * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ volumeGroupId: int; /** @@ -7629,16 +7622,16 @@ declare namespace audio { * @type { string } * @syscap SystemCapability.Multimedia.Audio.Volume * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ networkId: string; /** * Audio volume mode of this volume event * @type { ?AudioVolumeMode } * @syscap SystemCapability.Multimedia.Audio.Volume - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ volumeMode?: AudioVolumeMode; } @@ -7647,32 +7640,28 @@ declare namespace audio { * Describes the stream volume event when the volume is changed. * @typedef StreamVolumeEvent * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface StreamVolumeEvent { /** * The type of streamUsage whose volume changes. * @type { StreamUsage } * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ streamUsage: StreamUsage; /** * Volume level. * @type { int } * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ volume: int; /** * Whether to show the volume change in UI. * @type { boolean } * @syscap SystemCapability.Multimedia.Audio.Volume - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ updateUi: boolean; } @@ -7682,7 +7671,7 @@ declare namespace audio { * is interrupted by another application, the callback is invoked to notify the former application. * @typedef InterruptAction * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.audio.InterruptEvent */ @@ -7693,7 +7682,7 @@ declare namespace audio { * The value TYPE_ACTIVATED means the focus gain event, and TYPE_INTERRUPT means the audio interruption event. * @type { InterruptActionType } * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ actionType: InterruptActionType; @@ -7702,7 +7691,7 @@ declare namespace audio { * Type of the audio interruption event. * @type { ?InterruptType } * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ type?: InterruptType; @@ -7711,7 +7700,7 @@ declare namespace audio { * Hint for the audio interruption event. * @type { ?InterruptHint } * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ hint?: InterruptHint; @@ -7721,7 +7710,7 @@ declare namespace audio { * and false means that the focus fails to be gained or released. * @type { ?boolean } * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ activated?: boolean; @@ -7731,7 +7720,7 @@ declare namespace audio { * Describes input parameters of audio listening events. * @typedef AudioInterrupt * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ interface AudioInterrupt { @@ -7740,7 +7729,7 @@ declare namespace audio { * Audio stream usage type. * @type { StreamUsage } * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ streamUsage: StreamUsage; @@ -7749,7 +7738,7 @@ declare namespace audio { * Type of the media interrupted. * @type { ContentType } * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ contentType: ContentType; @@ -7759,7 +7748,7 @@ declare namespace audio { * The value true means that audio playback can be paused when it is interrupted, and false means the opposite. * @type { boolean } * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 7 + * @since 7 dynamic * @deprecated since 9 */ pauseWhenDucked: boolean; @@ -7769,16 +7758,16 @@ declare namespace audio { * Describes the microphone state change event received by the app when the microphone state is changed. * @typedef MicStateChangeEvent * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface MicStateChangeEvent { /** * Mic mute state. * @type { boolean } * @syscap SystemCapability.Multimedia.Audio.Device - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ mute: boolean; } @@ -7793,8 +7782,8 @@ declare namespace audio { * @typedef DeviceChangeAction * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface DeviceChangeAction { /** @@ -7808,8 +7797,8 @@ declare namespace audio { * @type { DeviceChangeType } * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type: DeviceChangeType; @@ -7824,8 +7813,8 @@ declare namespace audio { * @type { AudioDeviceDescriptors } * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deviceDescriptors: AudioDeviceDescriptors; } @@ -7841,8 +7830,8 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum ChannelBlendMode { /** @@ -7854,8 +7843,8 @@ declare namespace audio { * No channel process. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MODE_DEFAULT = 0, /** @@ -7867,8 +7856,8 @@ declare namespace audio { * Blend left and right channel. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MODE_BLEND_LR = 1, /** @@ -7880,8 +7869,8 @@ declare namespace audio { * Replicate left to right channel. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MODE_ALL_LEFT = 2, /** @@ -7893,8 +7882,8 @@ declare namespace audio { * Replicate right to left channel. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MODE_ALL_RIGHT = 3, } @@ -7911,8 +7900,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioStreamDeviceChangeReason { /** @@ -7925,8 +7914,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REASON_UNKNOWN = 0, /** @@ -7939,8 +7928,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REASON_NEW_DEVICE_AVAILABLE = 1, /** @@ -7955,8 +7944,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REASON_OLD_DEVICE_UNAVAILABLE = 2, /** @@ -7969,8 +7958,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REASON_OVERRODE = 3, } @@ -7986,8 +7975,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioStreamDeviceChangeInfo { /** @@ -8002,8 +7991,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ devices: AudioDeviceDescriptors; /** @@ -8018,8 +8007,8 @@ declare namespace audio { * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ changeReason: AudioStreamDeviceChangeReason; } @@ -8029,16 +8018,16 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioDataCallbackResult { /** * Indicates data of this callback is invalid. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INVALID = -1, @@ -8046,8 +8035,8 @@ declare namespace audio { * Indicates data of this callback is valid. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VALID = 0, } @@ -8062,7 +8051,7 @@ declare namespace audio { * indicates the data is will not be played. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since 12 + * @since 12 dynamic */ type AudioRendererWriteDataCallback = (data: ArrayBuffer) => AudioDataCallbackResult | void; @@ -8076,8 +8065,7 @@ declare namespace audio { * is returned, it indicates the data is will not be played. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ type AudioRendererWriteDataCallback = (data: ArrayBuffer) => AudioDataCallbackResult; @@ -8085,8 +8073,8 @@ declare namespace audio { * Audio timestamp info. * @typedef AudioTimestampInfo * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface AudioTimestampInfo { /** @@ -8094,8 +8082,8 @@ declare namespace audio { * @type { long } * @readonly * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly framePos: long; @@ -8104,8 +8092,8 @@ declare namespace audio { * @type { long } * @readonly * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly timestamp: long; } @@ -8121,8 +8109,8 @@ declare namespace audio { * @typedef AudioRenderer * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioRenderer { /** @@ -8137,8 +8125,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly state: AudioState; @@ -8155,8 +8143,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the renderer information. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getRendererInfo(callback: AsyncCallback): void; /** @@ -8172,8 +8160,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the renderer information. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getRendererInfo(): Promise; /** @@ -8187,8 +8175,8 @@ declare namespace audio { * @returns { AudioRendererInfo } The renderer information. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getRendererInfoSync(): AudioRendererInfo; @@ -8203,8 +8191,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the stream information. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getStreamInfo(callback: AsyncCallback): void; /** @@ -8218,8 +8206,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the stream information. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getStreamInfo(): Promise; /** @@ -8233,8 +8221,8 @@ declare namespace audio { * @returns { AudioStreamInfo } The stream information. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getStreamInfoSync(): AudioStreamInfo; @@ -8249,8 +8237,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the stream id. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioStreamId(callback: AsyncCallback): void; /** @@ -8264,8 +8252,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the stream id. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioStreamId(): Promise; /** @@ -8279,8 +8267,8 @@ declare namespace audio { * @returns { long } The stream id. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioStreamIdSync(): long; @@ -8288,16 +8276,16 @@ declare namespace audio { * Obtains the current audio effect mode. This method uses an asynchronous callback to return the query result. * @param { AsyncCallback } callback - Callback used to return the current audio effect mode. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getAudioEffectMode(callback: AsyncCallback): void; /** * Obtains the current audio effect mode. This method uses a promise to return the query result. * @returns { Promise } Promise used to return the current audio effect mode. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getAudioEffectMode(): Promise; @@ -8310,8 +8298,8 @@ declare namespace audio { * 2.Incorrect parameter types. * @throws { BusinessError } 6800101 - Parameter verification failed. Return by callback. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setAudioEffectMode(mode: AudioEffectMode, callback: AsyncCallback): void; /** @@ -8323,8 +8311,8 @@ declare namespace audio { * 2.Incorrect parameter types. * @throws { BusinessError } 6800101 - Parameter verification failed. Return by promise. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setAudioEffectMode(mode: AudioEffectMode): Promise; @@ -8342,8 +8330,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ start(callback: AsyncCallback): void; /** @@ -8360,8 +8348,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ start(): Promise; @@ -8371,7 +8359,7 @@ declare namespace audio { * @param { AsyncCallback } callback - Returns the number of bytes written if the operation is successful. * Returns an error code otherwise. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioRenderer#event:writeData */ @@ -8382,7 +8370,7 @@ declare namespace audio { * @returns { Promise } Returns the number of bytes written if the operation is successful. * Returns an error code otherwise. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioRenderer#event:writeData */ @@ -8402,8 +8390,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the audio timestamp based on the monotonic nanosecond system timer. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioTime(callback: AsyncCallback): void; /** @@ -8420,8 +8408,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the audio timestamp based on the monotonic nanosecond system timer. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioTime(): Promise; /** @@ -8436,8 +8424,8 @@ declare namespace audio { * @returns { long } The audio timestamp based on the monotonic nanosecond system timer. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioTimeSync(): long; @@ -8447,8 +8435,8 @@ declare namespace audio { * @returns { Promise } The Promise used to return timestamp info. * @throws { BusinessError } 6800103 - Operation not permit at current state. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getAudioTimestampInfo(): Promise; @@ -8458,8 +8446,8 @@ declare namespace audio { * @returns { AudioTimestampInfo } The returned timestamp info. * @throws { BusinessError } 6800103 - Operation not permit at current state. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getAudioTimestampInfoSync(): AudioTimestampInfo; @@ -8474,8 +8462,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ drain(callback: AsyncCallback): void; /** @@ -8489,8 +8477,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ drain(): Promise; @@ -8507,8 +8495,8 @@ declare namespace audio { * @throws { BusinessError } 6800103 - Operation not permit at current state. Return by promise. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ flush(): Promise; @@ -8523,8 +8511,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pause(callback: AsyncCallback): void; /** @@ -8538,8 +8526,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pause(): Promise; @@ -8554,8 +8542,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stop(callback: AsyncCallback): void; /** @@ -8569,8 +8557,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stop(): Promise; @@ -8590,8 +8578,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; /** @@ -8610,8 +8598,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ release(): Promise; @@ -8628,8 +8616,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the buffer size. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getBufferSize(callback: AsyncCallback): void; /** @@ -8643,8 +8631,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the buffer size. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getBufferSize(): Promise; /** @@ -8658,8 +8646,8 @@ declare namespace audio { * @returns { long } The audio buffer size. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getBufferSizeSync(): long; @@ -8668,7 +8656,7 @@ declare namespace audio { * @param { AudioRendererRate } rate - Audio render rate. * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioRenderer#setSpeed */ @@ -8679,7 +8667,7 @@ declare namespace audio { * @param { AudioRendererRate } rate - Audio render rate. * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioRenderer#setSpeed */ @@ -8704,8 +8692,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setSpeed(speed: double): void; @@ -8713,7 +8701,7 @@ declare namespace audio { * Obtains the current render rate. This method uses an asynchronous callback to return the result. * @param { AsyncCallback } callback - Callback used to return the audio render rate. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioRenderer#getSpeed */ @@ -8723,7 +8711,7 @@ declare namespace audio { * Obtains the current render rate. This method uses a promise to return the result. * @returns { Promise } Promise used to return the audio render rate. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioRenderer#getSpeed */ @@ -8733,7 +8721,7 @@ declare namespace audio { * Obtains the current render rate. * @returns { AudioRendererRate } The audio render rate. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioRenderer#getSpeed */ @@ -8750,8 +8738,8 @@ declare namespace audio { * @returns { double } The playback speed. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSpeed(): double; @@ -8768,8 +8756,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Interrupt * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setInterruptMode(mode: InterruptMode, callback: AsyncCallback): void; /** @@ -8785,8 +8773,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Interrupt * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setInterruptMode(mode: InterruptMode): Promise; /** @@ -8808,8 +8796,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Interrupt * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setInterruptModeSync(mode: InterruptMode): void; @@ -8826,8 +8814,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setVolume(volume: double, callback: AsyncCallback): void; /** @@ -8843,8 +8831,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setVolume(volume: double): Promise; @@ -8852,8 +8840,8 @@ declare namespace audio { * Gets volume of this stream. * @returns { double } Returns one float value. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getVolume(): double; @@ -8878,8 +8866,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setVolumeWithRamp(volume: double, duration: int): void; @@ -8894,8 +8882,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getMinStreamVolume(callback: AsyncCallback): void; /** @@ -8909,8 +8897,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getMinStreamVolume(): Promise; /** @@ -8924,8 +8912,8 @@ declare namespace audio { * @returns { double } Min stream volume. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getMinStreamVolumeSync(): double; @@ -8940,8 +8928,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getMaxStreamVolume(callback: AsyncCallback): void; /** @@ -8955,8 +8943,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getMaxStreamVolume(): Promise; /** @@ -8970,8 +8958,8 @@ declare namespace audio { * @returns { double } Max stream volume. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getMaxStreamVolumeSync(): double; @@ -8986,8 +8974,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getUnderflowCount(callback: AsyncCallback): void; /** @@ -9001,8 +8989,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getUnderflowCount(): Promise; /** @@ -9016,8 +9004,8 @@ declare namespace audio { * @returns { long } Underflow count number. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getUnderflowCountSync(): long; @@ -9034,8 +9022,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCurrentOutputDevices(callback: AsyncCallback): void; /** @@ -9051,8 +9039,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCurrentOutputDevices(): Promise; /** @@ -9066,8 +9054,8 @@ declare namespace audio { * @returns { AudioDeviceDescriptors } Output device or devices. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCurrentOutputDevicesSync(): AudioDeviceDescriptors; @@ -9092,8 +9080,8 @@ declare namespace audio { * @throws { BusinessError } 6800103 - Operation not permit at current state. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setChannelBlendMode(mode: ChannelBlendMode): void; @@ -9103,8 +9091,8 @@ declare namespace audio { * true: set the silent mode and mix with other streams. * false: unset the silent mode, current stream will trigger the audio focus internally. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setSilentModeAndMixWithOthers(on: boolean): void; @@ -9114,8 +9102,8 @@ declare namespace audio { * true: current stream is in the silent mode and mix with other streams. * false: current stream in in the normal playback mode * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSilentModeAndMixWithOthers(): boolean; @@ -9135,8 +9123,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @throws { BusinessError } 6800103 - Operation not permit at current state. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setDefaultOutputDevice(deviceType: DeviceType): Promise; @@ -9153,7 +9141,7 @@ declare namespace audio { * renderer is not one of {@link StreamUsage#STREAM_USAGE_MUSIC}, {@link StreamUsage#STREAM_USAGE_MOVIE} or * {@link StreamUsage#STREAM_USAGE_AUDIOBOOK}, or this renderer is routed through the high-resolution playback path. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 20 + * @since 20 dynamic */ setLoudnessGain(loudnessGain: number): Promise; @@ -9161,7 +9149,7 @@ declare namespace audio { * Gets loudness gain of this stream. * @returns { number } Returns one float value. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since 20 + * @since 20 dynamic */ getLoudnessGain(): number; @@ -9188,8 +9176,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Interrupt * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'audioInterrupt', callback: Callback): void; @@ -9199,8 +9187,8 @@ declare namespace audio { * @param { Callback } callback - Callback used to listen for interrupt callback. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Interrupt - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'audioInterrupt', callback?: Callback): void; @@ -9226,8 +9214,8 @@ declare namespace audio { * @param { Callback } callback - Callback invoked when the event is triggered. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'markReach', frame: long, callback: Callback): void; /** @@ -9249,8 +9237,8 @@ declare namespace audio { * @param { Callback } callback - Callback invoked when the event is triggered. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'markReach', callback?: Callback): void; @@ -9271,8 +9259,8 @@ declare namespace audio { * @param { Callback } callback - Callback invoked when the event is triggered. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'periodReach', frame: long, callback: Callback): void; /** @@ -9294,8 +9282,8 @@ declare namespace audio { * @param { Callback } callback - Callback invoked when the event is triggered. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'periodReach', callback?: Callback): void; @@ -9312,8 +9300,8 @@ declare namespace audio { * @param { Callback } callback - Callback invoked when state change. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'stateChange', callback: Callback): void; @@ -9323,8 +9311,8 @@ declare namespace audio { * @param { Callback } callback - Callback invoked when state change. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'stateChange', callback?: Callback): void; @@ -9351,8 +9339,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'outputDeviceChange', callback: Callback): void; @@ -9379,8 +9367,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'outputDeviceChangeWithInfo', callback: Callback): void; @@ -9405,8 +9393,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'outputDeviceChange', callback?: Callback): void; @@ -9431,8 +9419,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'outputDeviceChangeWithInfo', callback?: Callback): void; @@ -9459,8 +9447,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'writeData', callback: AudioRendererWriteDataCallback): void; @@ -9485,8 +9473,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Renderer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'writeData', callback?: AudioRendererWriteDataCallback): void; } @@ -9502,15 +9490,15 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum SourceType { /** * Invalid source type. * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ SOURCE_TYPE_INVALID = -1, /** @@ -9522,8 +9510,8 @@ declare namespace audio { * Mic source type. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SOURCE_TYPE_MIC = 0, /** @@ -9535,14 +9523,14 @@ declare namespace audio { * Voice recognition source type. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SOURCE_TYPE_VOICE_RECOGNITION = 1, /** * Playback capture source type. * @syscap SystemCapability.Multimedia.Audio.PlaybackCapture - * @since 10 + * @since 10 dynamiconly * @deprecated since 12 * @useinstead OH_AVScreenCapture in native interface. */ @@ -9552,8 +9540,8 @@ declare namespace audio { * Permission ohos.permission.MANAGE_INTELLIGENT_VOICE is needed when calling createAudioCapturer with this type. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SOURCE_TYPE_WAKEUP = 3, @@ -9562,8 +9550,8 @@ declare namespace audio { * Permission ohos.permission.RECORD_VOICE_CALL is needed when calling createAudioCapturer with this type. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SOURCE_TYPE_VOICE_CALL = 4, @@ -9576,16 +9564,16 @@ declare namespace audio { * Voice communication source type. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SOURCE_TYPE_VOICE_COMMUNICATION = 7, /** * Voice message source type. * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SOURCE_TYPE_VOICE_MESSAGE = 10, @@ -9593,30 +9581,30 @@ declare namespace audio { * Source type for voice transcription and processing. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SOURCE_TYPE_VOICE_TRANSCRIPTION = 12, /** * Camcorder source type. * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ SOURCE_TYPE_CAMCORDER = 13, /** * Unprocessed source type. * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ SOURCE_TYPE_UNPROCESSED = 14, /** * live broadcast source type. * @syscap SystemCapability.Multimedia.Audio.Core - * @since 20 + * @since 20 dynamic */ SOURCE_TYPE_LIVE = 17 } @@ -9632,8 +9620,8 @@ declare namespace audio { * @typedef AudioCapturerInfo * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioCapturerInfo { /** @@ -9647,8 +9635,8 @@ declare namespace audio { * @type { SourceType } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ source: SourceType; /** @@ -9662,8 +9650,8 @@ declare namespace audio { * @type { int } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ capturerFlags: int; } @@ -9679,8 +9667,8 @@ declare namespace audio { * @typedef AudioCapturerOptions * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioCapturerOptions { /** @@ -9694,8 +9682,8 @@ declare namespace audio { * @type { AudioStreamInfo } * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ streamInfo: AudioStreamInfo; /** @@ -9709,15 +9697,15 @@ declare namespace audio { * @type { AudioCapturerInfo } * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ capturerInfo: AudioCapturerInfo; /** * Playback capture config. * @type { ?AudioPlaybackCaptureConfig } * @syscap SystemCapability.Multimedia.Audio.PlaybackCapture - * @since 10 + * @since 10 dynamiconly * @deprecated since 12 * @useinstead OH_AVScreenCapture in native interface. */ @@ -9728,7 +9716,7 @@ declare namespace audio { * Describe playback capture filtering options * @typedef CaptureFilterOptions * @syscap SystemCapability.Multimedia.Audio.PlaybackCapture - * @since 10 + * @since 10 dynamiconly * @deprecated since 12 * @useinstead OH_AVScreenCapture in native interface. */ @@ -9744,7 +9732,7 @@ declare namespace audio { * Filter by stream usages. But not allow to capture voice streams. * @type { Array } * @syscap SystemCapability.Multimedia.Audio.PlaybackCapture - * @since 11 + * @since 11 dynamiconly * @deprecated since 12 * @useinstead OH_AVScreenCapture in native interface. */ @@ -9755,7 +9743,7 @@ declare namespace audio { * Describe playback capture config object. * @typedef AudioPlaybackCaptureConfig * @syscap SystemCapability.Multimedia.Audio.PlaybackCapture - * @since 10 + * @since 10 dynamiconly * @deprecated since 12 * @useinstead OH_AVScreenCapture in native interface. */ @@ -9764,7 +9752,7 @@ declare namespace audio { * Add filter options to decide which streams to be captured. * @type { CaptureFilterOptions } * @syscap SystemCapability.Multimedia.Audio.PlaybackCapture - * @since 10 + * @since 10 dynamiconly * @deprecated since 12 * @useinstead OH_AVScreenCapture in native interface. */ @@ -9782,8 +9770,8 @@ declare namespace audio { * @typedef AudioCapturer * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AudioCapturer { /** @@ -9798,8 +9786,8 @@ declare namespace audio { * @readonly * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly state: AudioState; @@ -9816,8 +9804,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the capturer information. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCapturerInfo(callback: AsyncCallback): void; /** @@ -9833,8 +9821,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the capturer information. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCapturerInfo(): Promise; /** @@ -9848,8 +9836,8 @@ declare namespace audio { * @returns { AudioCapturerInfo } The capturer information. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCapturerInfoSync(): AudioCapturerInfo; @@ -9864,8 +9852,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the stream information. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getStreamInfo(callback: AsyncCallback): void; /** @@ -9879,8 +9867,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the stream information. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getStreamInfo(): Promise; /** @@ -9894,8 +9882,8 @@ declare namespace audio { * @returns { AudioStreamInfo } The stream information. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getStreamInfoSync(): AudioStreamInfo; @@ -9910,8 +9898,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the stream id. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioStreamId(callback: AsyncCallback): void; /** @@ -9925,8 +9913,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the stream id. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioStreamId(): Promise; /** @@ -9940,8 +9928,8 @@ declare namespace audio { * @returns { long } The stream id. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioStreamIdSync(): long; @@ -9959,8 +9947,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ start(callback: AsyncCallback): void; /** @@ -9977,8 +9965,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ start(): Promise; @@ -9988,7 +9976,7 @@ declare namespace audio { * @param { boolean } isBlockingRead - Whether the read operation should be blocked. * @param { AsyncCallback } callback - Callback used to return the buffer. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioCapturer#event:readData */ @@ -10000,7 +9988,7 @@ declare namespace audio { * @returns { Promise } Returns the buffer data read if the operation is successful. * Returns an error code otherwise. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.audio.AudioCapturer#event:readData */ @@ -10020,8 +10008,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the audio timestamp based on the monotonic nanosecond system timer. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioTime(callback: AsyncCallback): void; /** @@ -10038,8 +10026,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the audio timestamp based on the monotonic nanosecond system timer. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioTime(): Promise; /** @@ -10054,8 +10042,8 @@ declare namespace audio { * @returns { long } The audio timestamp based on the monotonic nanosecond system timer. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAudioTimeSync(): long; @@ -10065,8 +10053,8 @@ declare namespace audio { * @returns { Promise } The Promise used to return timestamp info. * @throws { BusinessError } 6800103 - Operation not permit at current state. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getAudioTimestampInfo(): Promise; @@ -10076,8 +10064,8 @@ declare namespace audio { * @returns { AudioTimestampInfo } The returned timestamp info. * @throws { BusinessError } 6800103 - Operation not permit at current state. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getAudioTimestampInfoSync(): AudioTimestampInfo; @@ -10092,8 +10080,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stop(callback: AsyncCallback): void; /** @@ -10107,8 +10095,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stop(): Promise; @@ -10123,8 +10111,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; /** @@ -10138,8 +10126,8 @@ declare namespace audio { * @returns { Promise } - Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ release(): Promise; @@ -10156,8 +10144,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the buffer size. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getBufferSize(callback: AsyncCallback): void; /** @@ -10171,8 +10159,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the buffer size. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getBufferSize(): Promise; /** @@ -10186,8 +10174,8 @@ declare namespace audio { * @returns { long } Promise used to return the buffer size. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getBufferSizeSync(): long; @@ -10202,8 +10190,8 @@ declare namespace audio { * @returns { AudioDeviceDescriptors } Descriptors of input devices. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCurrentInputDevices(): AudioDeviceDescriptors; @@ -10218,8 +10206,8 @@ declare namespace audio { * @returns { AudioCapturerChangeInfo } Full capture info. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCurrentAudioCapturerChangeInfo(): AudioCapturerChangeInfo; @@ -10227,8 +10215,8 @@ declare namespace audio { * Gets overflow count. * @returns { Promise } - Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getOverflowCount(): Promise @@ -10236,8 +10224,8 @@ declare namespace audio { * Gets overflow count. * @returns { long } Overflow count number. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getOverflowCountSync(): long; @@ -10248,7 +10236,7 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @throws { BusinessError } 6800103 - Operation not permit at current state. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ setWillMuteWhenInterrupted(muteWhenInterrupted: boolean): Promise; @@ -10269,8 +10257,8 @@ declare namespace audio { * @param { Callback } callback - Callback invoked when the event is triggered. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'markReach', frame: long, callback: Callback): void; /** @@ -10292,8 +10280,8 @@ declare namespace audio { * @param { Callback } callback - Callback invoked when the event is triggered. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'markReach', callback?: Callback): void; @@ -10314,8 +10302,8 @@ declare namespace audio { * @param { Callback } callback - Callback invoked when the event is triggered. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'periodReach', frame: long, callback: Callback): void; /** @@ -10337,8 +10325,8 @@ declare namespace audio { * @param { Callback } callback - Callback invoked when the event is triggered. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'periodReach', callback?: Callback): void; @@ -10355,8 +10343,8 @@ declare namespace audio { * @param { Callback } callback - Callback used to listen for the audio state change event. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'stateChange', callback: Callback): void; @@ -10366,8 +10354,8 @@ declare namespace audio { * @param { Callback } callback - Callback used to listen for the audio state change event. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'stateChange', callback?: Callback): void; @@ -10394,8 +10382,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Interrupt * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'audioInterrupt', callback: Callback): void; @@ -10418,8 +10406,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Interrupt * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'audioInterrupt'): void; @@ -10446,8 +10434,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'inputDeviceChange', callback: Callback): void; /** @@ -10471,8 +10459,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Device * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'inputDeviceChange', callback?: Callback): void; @@ -10499,8 +10487,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'audioCapturerChange', callback: Callback): void; /** @@ -10524,8 +10512,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'audioCapturerChange', callback?: Callback): void; @@ -10552,8 +10540,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'readData', callback: Callback): void; @@ -10578,8 +10566,8 @@ declare namespace audio { * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'readData', callback?: Callback): void; @@ -10594,7 +10582,7 @@ declare namespace audio { * @throws { BusinessError } 6800103 - Operation not permit at current state. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since 19 + * @since 19 dynamic */ setInputDeviceToAccessory(): void; } @@ -10604,40 +10592,40 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AsrNoiseSuppressionMode { /** * Bypass noise suppression. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BYPASS = 0, /** * Standard noise suppression. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STANDARD = 1, /** * Near field noise suppression. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NEAR_FIELD = 2, /** * Far field noise suppression. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FAR_FIELD = 3, } @@ -10647,24 +10635,24 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AsrAecMode { /** * Bypass AEC. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BYPASS = 0, /** * Using standard AEC. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STANDARD = 1, } @@ -10674,40 +10662,40 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AsrVoiceControlMode { /** * Send output stream to TX. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_2_VOICE_TX = 0, /** * Send both output stream and MIC input to TX. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_MIX_2_VOICE_TX = 1, /** * Based on the AUDIO_2_VOICE_TX, Send output stream to voice call record. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_2_VOICE_TX_EX = 2, /** * Based on the AUDIO_MIX_2_VOICE_TX, Send output stream to voice call record. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_MIX_2_VOICE_TX_EX = 3, } @@ -10717,48 +10705,48 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AsrVoiceMuteMode { /** * Mute the local output stream. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OUTPUT_MUTE = 0, /** * Mute the local MIC input stream. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INPUT_MUTE = 1, /** * Send tts output stream to TX and mute the local output stream. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TTS_MUTE = 2, /** * Mute the voice call stream. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CALL_MUTE = 3, /** * Based on the OUTPUT_MUTE, send output stream to voice call record. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OUTPUT_MUTE_EX = 4, } @@ -10768,24 +10756,24 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AsrWhisperDetectionMode { /** * No operation. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BYPASS = 0, /** * Use standard whisper detection model. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STANDARD = 1, } @@ -10795,8 +10783,8 @@ declare namespace audio { * @typedef AsrProcessingController * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AsrProcessingController { /** @@ -10811,8 +10799,8 @@ declare namespace audio { * @throws { BusinessError } 6800104 - Operation not allowed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setAsrAecMode(mode: AsrAecMode): boolean; @@ -10823,8 +10811,8 @@ declare namespace audio { * @throws { BusinessError } 6800104 - Operation not allowed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAsrAecMode(): AsrAecMode; @@ -10840,8 +10828,8 @@ declare namespace audio { * @throws { BusinessError } 6800104 - Operation not allowed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setAsrNoiseSuppressionMode(mode: AsrNoiseSuppressionMode): boolean; @@ -10852,8 +10840,8 @@ declare namespace audio { * @throws { BusinessError } 6800104 - Operation not allowed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAsrNoiseSuppressionMode(): AsrNoiseSuppressionMode; @@ -10864,8 +10852,8 @@ declare namespace audio { * @throws { BusinessError } 6800104 - Operation not allowed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isWhispering(): boolean; @@ -10882,8 +10870,8 @@ declare namespace audio { * @throws { BusinessError } 6800104 - Operation not allowed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setAsrVoiceControlMode(mode: AsrVoiceControlMode, enable: boolean): boolean; @@ -10900,8 +10888,8 @@ declare namespace audio { * @throws { BusinessError } 6800104 - Operation not allowed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setAsrVoiceMuteMode(mode: AsrVoiceMuteMode, enable: boolean): boolean; @@ -10917,8 +10905,8 @@ declare namespace audio { * @throws { BusinessError } 6800104 - Operation not allowed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setAsrWhisperDetectionMode(mode: AsrWhisperDetectionMode): boolean; @@ -10929,8 +10917,8 @@ declare namespace audio { * @throws { BusinessError } 6800104 - Operation not allowed. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAsrWhisperDetectionMode(): AsrWhisperDetectionMode; } @@ -10950,8 +10938,8 @@ declare namespace audio { * is already released. * @syscap SystemCapability.Multimedia.Audio.Capturer * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createAsrProcessingController(audioCapturer: AudioCapturer): AsrProcessingController; @@ -10960,232 +10948,232 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum ToneType { /** * Dial tone for key 0. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_0 = 0, /** * Dial tone for key 1. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_1 = 1, /** * Dial tone for key 2. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_2 = 2, /** * Dial tone for key 3. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_3 = 3, /** * Dial tone for key 4. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_4 = 4, /** * Dial tone for key 5. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_5 = 5, /** * Dial tone for key 6. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_6 = 6, /** * Dial tone for key 7. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_7 = 7, /** * Dial tone for key 8. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_8 = 8, /** * Dial tone for key 9. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_9 = 9, /** * Dial tone for key *. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_S = 10, /** * Dial tone for key #. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_P = 11, /** * Dial tone for key A. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_A = 12, /** * Dial tone for key B. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_B = 13, /** * Dial tone for key C. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_C = 14, /** * Dial tone for key D. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_DIAL_D = 15, /** * Supervisory tone for dial. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_COMMON_SUPERVISORY_DIAL = 100, /** * Supervisory tone for busy. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_COMMON_SUPERVISORY_BUSY = 101, /** * Supervisory tone for dial. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_COMMON_SUPERVISORY_CONGESTION = 102, /** * Supervisory tone for radio path acknowledgment. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_COMMON_SUPERVISORY_RADIO_ACK = 103, /** * Supervisory tone for radio path not available. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_COMMON_SUPERVISORY_RADIO_NOT_AVAILABLE = 104, /** * Supervisory tone for call waiting. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_COMMON_SUPERVISORY_CALL_WAITING = 106, /** * Supervisory tone for ringtone. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_COMMON_SUPERVISORY_RINGTONE = 107, /** * Supervisory tone for call holding. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ TONE_TYPE_COMMON_SUPERVISORY_CALL_HOLDING = 108, /** * Proprietary tone for beep. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_COMMON_PROPRIETARY_BEEP = 200, /** * Proprietary tone for positive acknowledgment. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_COMMON_PROPRIETARY_ACK = 201, /** * Proprietary tone for prompt. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_COMMON_PROPRIETARY_PROMPT = 203, /** * Proprietary tone for double beep. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TONE_TYPE_COMMON_PROPRIETARY_DOUBLE_BEEP = 204, } @@ -11195,8 +11183,8 @@ declare namespace audio { * @typedef TonePlayer * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface TonePlayer { /** @@ -11205,8 +11193,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ load(type: ToneType, callback: AsyncCallback): void; /** @@ -11215,8 +11203,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ load(type: ToneType): Promise; @@ -11225,8 +11213,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ start(callback: AsyncCallback): void; /** @@ -11234,8 +11222,8 @@ declare namespace audio { * @returns { Promise }Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ start(): Promise; @@ -11244,8 +11232,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ stop(callback: AsyncCallback): void; /** @@ -11253,8 +11241,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ stop(): Promise; @@ -11263,8 +11251,8 @@ declare namespace audio { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; /** @@ -11272,8 +11260,8 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Audio.Tone * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ release(): Promise; } @@ -11282,8 +11270,8 @@ declare namespace audio { * Array of AudioEffectMode, which is read-only. * @typedef { Array> } AudioEffectInfoArray * @syscap SystemCapability.Multimedia.Audio.Renderer - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ type AudioEffectInfoArray = Array>; @@ -11298,8 +11286,8 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Renderer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioEffectMode { /** @@ -11311,8 +11299,8 @@ declare namespace audio { * Audio Effect Mode effect none. * @syscap SystemCapability.Multimedia.Audio.Renderer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EFFECT_NONE = 0, /** @@ -11324,8 +11312,8 @@ declare namespace audio { * Audio Effect Mode effect default. * @syscap SystemCapability.Multimedia.Audio.Renderer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EFFECT_DEFAULT = 1, } @@ -11335,8 +11323,8 @@ declare namespace audio { * @typedef AudioSpatialDeviceState * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface AudioSpatialDeviceState { /** @@ -11344,8 +11332,8 @@ declare namespace audio { * @type { string } * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ address: string; @@ -11354,8 +11342,8 @@ declare namespace audio { * @type { boolean } * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isSpatializationSupported: boolean; @@ -11364,8 +11352,8 @@ declare namespace audio { * @type { boolean } * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isHeadTrackingSupported: boolean; @@ -11374,8 +11362,8 @@ declare namespace audio { * @type { AudioSpatialDeviceType } * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ spatialDeviceType: AudioSpatialDeviceType; } @@ -11385,56 +11373,56 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum AudioSpatialDeviceType { /** * Audio Spatial Device Type none. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SPATIAL_DEVICE_TYPE_NONE = 0, /** * Audio Spatial Device Type in-ear headphone. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SPATIAL_DEVICE_TYPE_IN_EAR_HEADPHONE = 1, /** * Audio Spatial Device Type half-in-ear headphone. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SPATIAL_DEVICE_TYPE_HALF_IN_EAR_HEADPHONE = 2, /** * Audio Spatial Device Type over-ear headphone. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SPATIAL_DEVICE_TYPE_OVER_EAR_HEADPHONE = 3, /** * Audio Spatial Device Type glasses. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SPATIAL_DEVICE_TYPE_GLASSES = 4, /** * Audio Spatial Device Type others. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SPATIAL_DEVICE_TYPE_OTHERS = 5, } @@ -11444,40 +11432,40 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioSpatializationSceneType { /** * Audio Spatialization Scene Type Default. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEFAULT = 0, /** * Audio Spatialization Scene Type Music. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MUSIC = 1, /** * Audio Spatialization Scene Type Movie. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MOVIE = 2, /** * Audio Spatialization Scene Type Audio Book. * @syscap SystemCapability.Multimedia.Audio.Spatialization * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIOBOOK = 3, } @@ -11495,8 +11483,8 @@ declare namespace audio { * @enum { long } * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioChannelLayout { /** @@ -11508,8 +11496,8 @@ declare namespace audio { * Unknown Channel Layout * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_UNKNOWN = 0x0, /** @@ -11523,8 +11511,8 @@ declare namespace audio { * Speaker layout: front center(FC) * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_MONO = 0x4, /** @@ -11538,16 +11526,16 @@ declare namespace audio { * Speaker layout: front left(FL), front right(FR) * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_STEREO = 0x3, /** * Channel Layout For Stereo-Downmix, 2 channels in total * Speaker layout: Stereo left, stereo right * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_STEREO_DOWNMIX = 0x60000000, /** @@ -11561,8 +11549,8 @@ declare namespace audio { * Speaker layout: Stereo plus low-frequency effects(LFE) * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_2POINT1 = 0xB, /** @@ -11576,8 +11564,8 @@ declare namespace audio { * Speaker layout: Stereo plus back center(BC) * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_3POINT0 = 0x103, /** @@ -11591,8 +11579,8 @@ declare namespace audio { * Speaker layout: Stereo plus FC * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_SURROUND = 0x7, /** @@ -11606,8 +11594,8 @@ declare namespace audio { * Speaker layout: Surround plus LFE * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_3POINT1 = 0xF, /** @@ -11621,8 +11609,8 @@ declare namespace audio { * Speaker layout: Surround plus BC * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_4POINT0 = 0x107, /** @@ -11636,16 +11624,16 @@ declare namespace audio { * Speaker layout: Stereo plus left and right back speakers * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_QUAD = 0x33, /** * Channel Layout For Quad-Side, 4 channels in total * Speaker layout: Stereo plus left and right side speakers(SL, SR) * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_QUAD_SIDE = 0x603, /** @@ -11659,32 +11647,32 @@ declare namespace audio { * Speaker layout: Stereo plus left and right top side speakers * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_2POINT0POINT2 = 0x3000000003, /** * Channel Layout For ORDER1-ACN-N3D First Order Ambisonic(FOA), 4 channels in total * First order, Ambisonic Channel Number(ACN) format, Normalization of three-D(N3D) * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_AMB_ORDER1_ACN_N3D = 0x100000000001, /** * Channel Layout For ORDER1-ACN-SN3D FOA, 4 channels in total * First order, ACN format, Semi-Normalization of three-D(SN3D) * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_AMB_ORDER1_ACN_SN3D = 0x100000001001, /** * Channel Layout For ORDER1-FUMA FOA, 4 channels in total * First order, Furse-Malham(FuMa) format * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_AMB_ORDER1_FUMA = 0x100000000101, /** @@ -11698,8 +11686,8 @@ declare namespace audio { * Speaker layout: 4.0 plus LFE * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_4POINT1 = 0x10F, /** @@ -11713,32 +11701,32 @@ declare namespace audio { * Speaker layout: Surround plus two side speakers * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_5POINT0 = 0x607, /** * Channel Layout For 5.0-Back, 5 channels in total * Speaker layout: Surround plus two back speakers * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_5POINT0_BACK = 0x37, /** * Channel Layout For 2.1.2, 5 channels in total * Speaker layout: 2.0.2 plus LFE * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_2POINT1POINT2 = 0x300000000B, /** * Channel Layout For 3.0.2, 5 channels in total * Speaker layout: 2.0.2 plus FC * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_3POINT0POINT2 = 0x3000000007, /** @@ -11752,16 +11740,16 @@ declare namespace audio { * Speaker layout: 5.0 plus LFE * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_5POINT1 = 0x60F, /** * Channel Layout For 5.1-Back, 6 channels in total * Speaker layout: 5.0-Back plus LFE * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_5POINT1_BACK = 0x3F, /** @@ -11775,8 +11763,8 @@ declare namespace audio { * Speaker layout: 5.0 plus BC * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_6POINT0 = 0x707, /** @@ -11790,24 +11778,24 @@ declare namespace audio { * Speaker layout: 5.0-Back plus BC * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_HEXAGONAL = 0x137, /** * Channel Layout For 3.1.2, 6 channels in total * Speaker layout: 3.1 plus two top front speakers(TFL, TFR) * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_3POINT1POINT2 = 0x500F, /** * Channel Layout For 6.0-Front, 6 channels in total * Speaker layout: Quad-Side plus left and right front center speakers(FLC, FRC) * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_6POINT0_FRONT = 0x6C3, /** @@ -11821,24 +11809,24 @@ declare namespace audio { * Speaker layout: 5.1 plus BC * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_6POINT1 = 0x70F, /** * Channel Layout For 6.1-Back, 7 channels in total * Speaker layout: 5.1-Back plus BC * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_6POINT1_BACK = 0x13F, /** * Channel Layout For 6.1-Front, 7 channels in total * Speaker layout: 6.0-Front plus LFE * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_6POINT1_FRONT = 0x6CB, /** @@ -11852,8 +11840,8 @@ declare namespace audio { * Speaker layout: 5.0 plus two back speakers * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_7POINT0 = 0x637, /** @@ -11867,8 +11855,8 @@ declare namespace audio { * Speaker layout: 5.0 plus left and right front center speakers * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_7POINT0_FRONT = 0x6C7, /** @@ -11882,8 +11870,8 @@ declare namespace audio { * Speaker layout: 5.1 plus two back speakers * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_7POINT1 = 0x63F, /** @@ -11897,8 +11885,8 @@ declare namespace audio { * Speaker layout: 5.0 plus BL, BR and BC. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_OCTAGONAL = 0x737, /** @@ -11912,48 +11900,48 @@ declare namespace audio { * Speaker layout: 5.1 plus two top side speakers. * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_5POINT1POINT2 = 0x300000060F, /** * Channel Layout For 7.1-Wide, 8 channels in total * Speaker layout: 5.1 plus left and right front center speakers. * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_7POINT1_WIDE = 0x6CF, /** * Channel Layout For 7.1-Wide, 8 channels in total * Speaker layout: 5.1-Back plus left and right front center speakers. * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_7POINT1_WIDE_BACK = 0xFF, /** * Channel Layout For ORDER2-ACN-N3D Higher Order Ambisonics(HOA), 9 channels in total * Second order, ACN format, N3D * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_AMB_ORDER2_ACN_N3D = 0x100000000002, /** * Channel Layout For ORDER2-ACN-SN3D HOA, 9 channels in total * Second order, ACN format, SN3D * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_AMB_ORDER2_ACN_SN3D = 0x100000001002, /** * Channel Layout For ORDER2-FUMA HOA, 9 channels in total * Second order, FuMa format * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_AMB_ORDER2_FUMA = 0x100000000102, /** @@ -11967,8 +11955,8 @@ declare namespace audio { * Speaker layout: 5.1 plus four top speakers(TFL, TFR, TBL, TBR) * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_5POINT1POINT4 = 0x2D60F, /** @@ -11982,8 +11970,8 @@ declare namespace audio { * Speaker layout: 7.1 plus two top side speakers * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_7POINT1POINT2 = 0x300000063F, /** @@ -11997,8 +11985,8 @@ declare namespace audio { * Speaker layout: 7.1 plus four top speakers * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_7POINT1POINT4 = 0x2D63F, /** @@ -12012,16 +12000,16 @@ declare namespace audio { * Speaker layout: FL, FR, FC, TFL, TFR, BL, BR, BC, SL, SR, wide left(WL), and wide right(WR) * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_10POINT2 = 0x180005737, /** * Channel Layout For 9.1.4, 14 channels in total * Speaker layout: 7.1.4 plus two wide speakers(WL, WR) * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_9POINT1POINT4 = 0x18002D63F, /** @@ -12035,8 +12023,8 @@ declare namespace audio { * Speaker layout: 9.1.4 plus two top side speakers * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_9POINT1POINT6 = 0x318002D63F, /** @@ -12050,8 +12038,8 @@ declare namespace audio { * Speaker layout: Octagonal plus two wide speakers, six top speakers(TFL, TFR, TFC, TBL, TBR, TBC) * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_HEXADECAGONAL = 0x18003F737, /** @@ -12065,8 +12053,8 @@ declare namespace audio { * Third order, ACN format, N3D * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_AMB_ORDER3_ACN_N3D = 0x100000000003, /** @@ -12080,16 +12068,16 @@ declare namespace audio { * Third order, ACN format, N3D * @syscap SystemCapability.Multimedia.Audio.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CH_LAYOUT_AMB_ORDER3_ACN_SN3D = 0x100000001003, /** * Channel Layout For ORDER3-FUMA HOA, 16 channels in total * Third order, FuMa format * @syscap SystemCapability.Multimedia.Audio.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CH_LAYOUT_AMB_ORDER3_FUMA = 0x100000000103 } @@ -12099,16 +12087,16 @@ declare namespace audio { * @enum { int } * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enum EffectFlag { /** * Audio render effect. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ RENDER_EFFECT_FLAG = 0, @@ -12116,8 +12104,8 @@ declare namespace audio { * Audio capture effect. * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ CAPTURE_EFFECT_FLAG = 1 } @@ -12127,8 +12115,8 @@ declare namespace audio { * @typedef AudioEffectProperty * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface AudioEffectProperty { /** @@ -12136,8 +12124,8 @@ declare namespace audio { * @type { string } * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ name: string; @@ -12146,8 +12134,8 @@ declare namespace audio { * @type { string } * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ category: string; @@ -12156,8 +12144,8 @@ declare namespace audio { * @type { EffectFlag } * @syscap SystemCapability.Multimedia.Audio.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ flag: EffectFlag; } @@ -12174,14 +12162,14 @@ declare namespace audio { * * @typedef AudioLoopback * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ interface AudioLoopback { /** * Obtains the status of audio loopback. * @returns { Promise } Promise used to return the audio loopback status. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ getStatus(): Promise; @@ -12191,7 +12179,7 @@ declare namespace audio { * @returns { Promise } Promise used to return the result. * @throws { BusinessError } 6800101 - Parameter verification failed, form 0.0 to 1.0. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ setVolume(volume: number): Promise; @@ -12202,7 +12190,7 @@ declare namespace audio { * change event. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ on(type: 'statusChange', callback: Callback): void; @@ -12213,7 +12201,7 @@ declare namespace audio { * change event. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ off(type: 'statusChange', callback?: Callback): void; @@ -12231,7 +12219,7 @@ declare namespace audio { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 6800101 - Parameter verification failed. * @syscap SystemCapability.Multimedia.Audio.Capturer - * @since 20 + * @since 20 dynamic */ enable(enable: boolean): Promise; } diff --git a/api/@ohos.multimedia.audioHaptic.d.ts b/api/@ohos.multimedia.audioHaptic.d.ts index 429f0fd466..4324f3ea95 100644 --- a/api/@ohos.multimedia.audioHaptic.d.ts +++ b/api/@ohos.multimedia.audioHaptic.d.ts @@ -26,16 +26,16 @@ import type audio from './@ohos.multimedia.audio'; * * @namespace audioHaptic * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace audioHaptic { /** * Obtains an {@link AudioHapticManager} instance. This object is singleton in one process. * @returns { AudioHapticManager } AudioHapticManager instance. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getAudioHapticManager(): AudioHapticManager; @@ -43,15 +43,15 @@ declare namespace audioHaptic { * Audio Latency mode. * @enum {int} * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum AudioLatencyMode { /** * Normal audio mode. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ AUDIO_LATENCY_MODE_NORMAL = 0, @@ -59,8 +59,8 @@ declare namespace audioHaptic { * Low latency mode. This mode should be used when duration of the audio source is short. If duration of the audio * source is long, it may be truncated. This behavior is the same with sound pool. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ AUDIO_LATENCY_MODE_FAST = 1 } @@ -69,16 +69,16 @@ declare namespace audioHaptic { * Audio haptic player options object. * @typedef AudioHapticPlayerOptions * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface AudioHapticPlayerOptions { /** * Mute audio. * @type {?boolean} * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ muteAudio?: boolean; @@ -86,8 +86,8 @@ declare namespace audioHaptic { * Mute haptics. * @type {?boolean} * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ muteHaptics?: boolean; } @@ -96,8 +96,8 @@ declare namespace audioHaptic { * Audio haptic manager object. * @typedef AudioHapticManager * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface AudioHapticManager { /** @@ -110,8 +110,8 @@ declare namespace audioHaptic { * 1.Mandatory parameters are left unspecified; * 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ registerSource(audioUri: string, hapticUri: string): Promise; @@ -123,8 +123,8 @@ declare namespace audioHaptic { * 1.Mandatory parameters are left unspecified; * 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ unregisterSource(id: int): Promise; @@ -137,8 +137,8 @@ declare namespace audioHaptic { * 2.Incorrect parameter types. * @throws { BusinessError } 5400102 - Operation not allowed. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setAudioLatencyMode(id:int, latencyMode: AudioLatencyMode): void; @@ -152,8 +152,8 @@ declare namespace audioHaptic { * 3.Parameter verification failed. * @throws { BusinessError } 5400102 - Operation not allowed. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setStreamUsage(id: int, usage: audio.StreamUsage): void; @@ -172,8 +172,8 @@ declare namespace audioHaptic { * @throws { BusinessError } 5400103 - I/O error. * @throws { BusinessError } 5400106 - Unsupport format. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ createPlayer(id: int, options?: AudioHapticPlayerOptions): Promise; @@ -184,7 +184,7 @@ declare namespace audioHaptic { * @param { AudioHapticFileDescriptor } hapticFd : The file descriptor of haptic source from file system. * @returns { Promise } Promise used to return the source id. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since 20 + * @since 20 dynamic */ registerSourceFromFd(audioFd: AudioHapticFileDescriptor, hapticFd: AudioHapticFileDescriptor): Promise; } @@ -193,23 +193,23 @@ declare namespace audioHaptic { * Type of audio haptic. * @enum {int} * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum AudioHapticType { /** * Audio. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ AUDIO_HAPTIC_TYPE_AUDIO = 0, /** * Haptic. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ AUDIO_HAPTIC_TYPE_HAPTIC = 1, } @@ -219,14 +219,14 @@ declare namespace audioHaptic { * Caller needs to ensure the fd is valid and the offset and length are correct. * @typedef AudioHapticFileDescriptor * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since 20 + * @since 20 dynamic */ interface AudioHapticFileDescriptor { /** * The file descriptor of the source. * @type { number } * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since 20 + * @since 20 dynamic */ fd: number; @@ -235,7 +235,7 @@ declare namespace audioHaptic { * By default, the length is the rest of bytes in the file from the offset. * @type { ?number } * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since 20 + * @since 20 dynamic */ length?: number; @@ -244,7 +244,7 @@ declare namespace audioHaptic { * By default, the offset is 0. * @type { ?number } * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since 20 + * @since 20 dynamic */ offset?: number } @@ -253,8 +253,8 @@ declare namespace audioHaptic { * Audio haptic player object. * @typedef AudioHapticPlayer * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface AudioHapticPlayer { /** @@ -265,8 +265,8 @@ declare namespace audioHaptic { * 1.Mandatory parameters are left unspecified; * 2.Parameter verification failed. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isMuted(type: AudioHapticType): boolean; @@ -277,8 +277,8 @@ declare namespace audioHaptic { * @throws { BusinessError } 5400103 - IO error. * @throws { BusinessError } 5400105 - Service died. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ start(): Promise; @@ -288,8 +288,8 @@ declare namespace audioHaptic { * @throws { BusinessError } 5400102 - Operate not permit. * @throws { BusinessError } 5400105 - Service died. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ stop(): Promise; @@ -298,8 +298,8 @@ declare namespace audioHaptic { * @returns { Promise } Promise used to return the result. * @throws { BusinessError } 5400105 - Service died. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ release(): Promise; @@ -308,8 +308,8 @@ declare namespace audioHaptic { * @param { 'endOfStream' } type - Type of the playback event to listen for. * @param { Callback } callback - Callback used to listen for the playback end of stream. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'endOfStream', callback: Callback): void; @@ -318,8 +318,8 @@ declare namespace audioHaptic { * @param { 'endOfStream' } type - Type of the playback event to listen for. * @param { Callback } callback - Callback used to listen for the playback end of stream. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'endOfStream', callback?: Callback): void; @@ -328,8 +328,8 @@ declare namespace audioHaptic { * @param { 'audioInterrupt' } type - Type of the playback event to listen for. * @param { Callback } callback - Callback used to listen for audio interrupt info. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'audioInterrupt', callback: Callback): void; @@ -338,8 +338,8 @@ declare namespace audioHaptic { * @param { 'audioInterrupt' } type - Type of the playback event to listen for. * @param { Callback } callback - Callback used to listen for audio interrupt info. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'audioInterrupt', callback?: Callback): void; @@ -351,7 +351,7 @@ declare namespace audioHaptic { * @throws { BusinessError } 5400102 - Operate not permit in current state. * @syscap SystemCapability.Multimedia.AudioHaptic.Core * @systemapi - * @since 20 + * @since 20 dynamic */ enableHapticsInSilentMode(enable: boolean): void; @@ -365,7 +365,7 @@ declare namespace audioHaptic { * @throws { BusinessError } 5400105 - Service died. * @throws { BusinessError } 5400108 - Parameter out of range. * @syscap SystemCapability.Multimedia.AudioHaptic.Core - * @since 20 + * @since 20 dynamic */ setVolume(volume: number): Promise; @@ -375,7 +375,7 @@ declare namespace audioHaptic { * @throws { BusinessError } 202 - Caller is not a system application. * @syscap SystemCapability.Multimedia.AudioHaptic.Core * @systemapi - * @since 20 + * @since 20 dynamic */ isHapticsIntensityAdjustmentSupported(): boolean; @@ -391,7 +391,7 @@ declare namespace audioHaptic { * @throws { BusinessError } 5400108 - Parameter out of range. * @syscap SystemCapability.Multimedia.AudioHaptic.Core * @systemapi - * @since 20 + * @since 20 dynamic */ setHapticsIntensity(intensity: number): Promise; @@ -401,7 +401,7 @@ declare namespace audioHaptic { * @throws { BusinessError } 202 - Caller is not a system application. * @syscap SystemCapability.Multimedia.AudioHaptic.Core * @systemapi - * @since 20 + * @since 20 dynamic */ isHapticsRampSupported(): boolean; @@ -421,7 +421,7 @@ declare namespace audioHaptic { * @throws { BusinessError } 5400108 - Parameter out of range. * @syscap SystemCapability.Multimedia.AudioHaptic.Core * @systemapi - * @since 20 + * @since 20 dynamic */ setHapticsRamp(duration: number, startIntensity: number, endIntensity: number): Promise; } diff --git a/api/@ohos.multimedia.avCastPickerParam.d.ts b/api/@ohos.multimedia.avCastPickerParam.d.ts index bcfcb7f8f9..bd7ee4a842 100644 --- a/api/@ohos.multimedia.avCastPickerParam.d.ts +++ b/api/@ohos.multimedia.avCastPickerParam.d.ts @@ -29,8 +29,8 @@ * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export declare enum AVCastPickerState { /** @@ -42,8 +42,8 @@ export declare enum AVCastPickerState { * The picker starts showing. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_APPEARING, @@ -56,8 +56,8 @@ export declare enum AVCastPickerState { * The picker finishes presenting. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_DISAPPEARING, } @@ -67,16 +67,16 @@ export declare enum AVCastPickerState { * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export declare enum AVCastPickerStyle { /** * The picker shows in a panel style. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STYLE_PANEL, @@ -84,8 +84,8 @@ export declare enum AVCastPickerStyle { * The picker shows in a menu style. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STYLE_MENU, } @@ -95,16 +95,16 @@ export declare enum AVCastPickerStyle { * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export declare enum AVCastPickerColorMode { /** * Auto mode which follows the definition of system. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUTO, @@ -112,8 +112,8 @@ export declare enum AVCastPickerColorMode { * Dark mode. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DARK, @@ -121,8 +121,8 @@ export declare enum AVCastPickerColorMode { * Light mode. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LIGHT, } \ No newline at end of file diff --git a/api/@ohos.multimedia.avsession.d.ts b/api/@ohos.multimedia.avsession.d.ts index cdf6f3f377..3391859e5d 100644 --- a/api/@ohos.multimedia.avsession.d.ts +++ b/api/@ohos.multimedia.avsession.d.ts @@ -38,8 +38,8 @@ import type hdrCapability from './@ohos.graphics.hdrCapability'; * @namespace avSession * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace avSession { @@ -53,8 +53,8 @@ declare namespace avSession { * 2.Parameter verification failed. * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback): void; @@ -81,8 +81,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createAVSession(context: Context, tag: string, type: AVSessionType): Promise; @@ -95,8 +95,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAllSessionDescriptors(callback: AsyncCallback>>): void; @@ -109,8 +109,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAllSessionDescriptors(): Promise>>; @@ -127,8 +127,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi Hide this for inner system use - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getHistoricalSessionDescriptors(maxSize: int, callback: AsyncCallback>>): void; @@ -145,8 +145,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi Hide this for inner system use - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getHistoricalSessionDescriptors(maxSize?: int): Promise>>; @@ -164,8 +164,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi Hide this for inner system use - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getHistoricalAVQueueInfos(maxSize: int, maxAppSize: int, callback: AsyncCallback>>): void; @@ -180,8 +180,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi Hide this for inner system use - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getHistoricalAVQueueInfos(maxSize: int, maxAppSize: int): Promise>>; @@ -199,8 +199,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function createController(sessionId: string, callback: AsyncCallback): void; @@ -218,8 +218,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function createController(sessionId: string): Promise; @@ -239,8 +239,8 @@ declare namespace avSession { * @throws { BusinessError } 6600104 - The remote session connection failed. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function castAudio(session: SessionToken | 'all', audioDevices: Array, callback: AsyncCallback): void; @@ -260,8 +260,8 @@ declare namespace avSession { * @throws { BusinessError } 6600104 - The remote session connection failed. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function castAudio(session: SessionToken | 'all', audioDevices: Array): Promise; @@ -278,8 +278,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function startAVPlayback(bundleName: string, assetId: string): Promise; @@ -294,8 +294,8 @@ declare namespace avSession { * @throws { BusinessError } 6600109 - The remote connection is not established. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getDistributedSessionController(distributedSessionType: DistributedSessionType): Promise>; @@ -304,8 +304,8 @@ declare namespace avSession { * @typedef SessionToken * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface SessionToken { /** @@ -314,8 +314,8 @@ declare namespace avSession { * @type { string } * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ sessionId: string; @@ -325,8 +325,8 @@ declare namespace avSession { * @type { ?long } * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ pid?: long; @@ -336,8 +336,8 @@ declare namespace avSession { * @type { ?long } * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ uid?: long; } @@ -351,8 +351,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function on(type: 'sessionCreate', callback: (session: AVSessionDescriptor) => void): void; @@ -366,8 +366,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function on(type: 'sessionDestroy', callback: (session: AVSessionDescriptor) => void): void; @@ -381,8 +381,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function on(type: 'topSessionChange', callback: (session: AVSessionDescriptor) => void): void; @@ -396,8 +396,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off(type: 'sessionCreate', callback?: (session: AVSessionDescriptor) => void): void; @@ -411,8 +411,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off(type: 'sessionDestroy', callback?: (session: AVSessionDescriptor) => void): void; @@ -426,8 +426,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off(type: 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void; @@ -441,8 +441,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Core * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function on(type: 'sessionServiceDie', callback: () => void): void; @@ -456,8 +456,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Core * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off(type: 'sessionServiceDie', callback?: () => void): void; @@ -470,8 +470,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function on(type: 'distributedSessionChange', distributedSessionType: DistributedSessionType, callback: Callback>): void; @@ -484,8 +484,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function off(type: 'distributedSessionChange', distributedSessionType: DistributedSessionType, callback?: Callback>): void; @@ -502,8 +502,8 @@ declare namespace avSession { * @throws { BusinessError } 6600105 - Invalid session command. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function sendSystemAVKeyEvent(event: KeyEvent, callback: AsyncCallback): void; @@ -520,8 +520,8 @@ declare namespace avSession { * @throws { BusinessError } 6600105 - Invalid session command. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function sendSystemAVKeyEvent(event: KeyEvent): Promise; @@ -539,8 +539,8 @@ declare namespace avSession { * @throws { BusinessError } 6600107 - Too many commands or events. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function sendSystemControlCommand(command: AVControlCommand, callback: AsyncCallback): void; @@ -558,8 +558,8 @@ declare namespace avSession { * @throws { BusinessError } 6600107 - Too many commands or events. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function sendSystemControlCommand(command: AVControlCommand): Promise; @@ -574,8 +574,8 @@ declare namespace avSession { * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum ProtocolType { /** @@ -589,8 +589,8 @@ declare namespace avSession { * including internal speakers or audio jack on the device itself, A2DP devices. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TYPE_LOCAL = 0, @@ -598,8 +598,8 @@ declare namespace avSession { * Cast+ mirror capability * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ TYPE_CAST_PLUS_MIRROR = 1, @@ -614,8 +614,8 @@ declare namespace avSession { * the application need get an AVCastController to control remote playback. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TYPE_CAST_PLUS_STREAM = 2, @@ -624,8 +624,8 @@ declare namespace avSession { * the application needs to get an AVCastController to control remote playback. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TYPE_DLNA = 4, @@ -633,7 +633,7 @@ declare namespace avSession { * This type indicates the device supports audio casting with high defination to get a better sound quality. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since 20 + * @since 20 dynamic */ TYPE_CAST_PLUS_AUDIO = 8, } @@ -643,16 +643,16 @@ declare namespace avSession { * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enum DistributedSessionType { /** * Remote session sensed from remote device. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ TYPE_SESSION_REMOTE = 0, @@ -660,8 +660,8 @@ declare namespace avSession { * Migrated session from remote device to this device. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ TYPE_SESSION_MIGRATE_IN = 1, @@ -669,8 +669,8 @@ declare namespace avSession { * Migrated session from this device to remote device. * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ TYPE_SESSION_MIGRATE_OUT = 2, } @@ -681,8 +681,8 @@ declare namespace avSession { * @throws { BusinessError } 202 - Not System App. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function startCastDeviceDiscovery(callback: AsyncCallback): void; @@ -695,8 +695,8 @@ declare namespace avSession { * 2.Parameter verification failed. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function startCastDeviceDiscovery(filter: int, callback: AsyncCallback): void; @@ -721,8 +721,8 @@ declare namespace avSession { * 2.Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function startCastDeviceDiscovery(filter?: int, drmSchemes?: Array): Promise; @@ -732,8 +732,8 @@ declare namespace avSession { * @throws { BusinessError } 202 - Not System App. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function stopCastDeviceDiscovery(callback: AsyncCallback): void; @@ -743,8 +743,8 @@ declare namespace avSession { * @throws { BusinessError } 202 - Not System App. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function stopCastDeviceDiscovery(): Promise; @@ -757,8 +757,8 @@ declare namespace avSession { * 2.Parameter verification failed. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setDiscoverable(enable: boolean, callback: AsyncCallback): void; @@ -771,8 +771,8 @@ declare namespace avSession { * 2.Parameter verification failed. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setDiscoverable(enable: boolean): Promise; @@ -785,8 +785,8 @@ declare namespace avSession { * 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function on(type: 'deviceAvailable', callback: (device: OutputDeviceInfo) => void): void; @@ -799,8 +799,8 @@ declare namespace avSession { * 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function off(type: 'deviceAvailable', callback?: (device: OutputDeviceInfo) => void): void; @@ -813,8 +813,8 @@ declare namespace avSession { * 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function on(type: 'deviceOffline', callback: (deviceId: string) => void): void; @@ -827,8 +827,8 @@ declare namespace avSession { * 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function off(type: 'deviceOffline', callback?: (deviceId: string) => void): void; @@ -846,8 +846,8 @@ declare namespace avSession { * @throws {BusinessError} 6600102 - session does not exist * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getAVCastController(sessionId: string, callback: AsyncCallback): void; @@ -865,8 +865,8 @@ declare namespace avSession { * @throws {BusinessError} 6600102 - session does not exist * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getAVCastController(sessionId: string): Promise; @@ -884,8 +884,8 @@ declare namespace avSession { * @throws {BusinessError} 6600108 - Device connecting failed * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function startCasting(session: SessionToken, device: OutputDeviceInfo, callback: AsyncCallback): void; @@ -903,8 +903,8 @@ declare namespace avSession { * @throws {BusinessError} 6600108 - Device connecting failed * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function startCasting(session: SessionToken, device: OutputDeviceInfo): Promise; @@ -918,8 +918,8 @@ declare namespace avSession { * @throws { BusinessError } 6600109 - The remote connection is not established * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function stopCasting(session: SessionToken, callback: AsyncCallback): void; @@ -933,8 +933,8 @@ declare namespace avSession { * @throws { BusinessError } 6600109 - The remote connection is not established * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function stopCasting(session: SessionToken): Promise; @@ -952,8 +952,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function startDeviceLogging(url: string, maxSize?: int): Promise; @@ -965,8 +965,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function stopDeviceLogging(): Promise; @@ -981,8 +981,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function on(type: 'deviceLogEvent', callback: Callback): void; @@ -997,8 +997,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ function off(type: 'deviceLogEvent', callback?: Callback): void; @@ -1007,16 +1007,16 @@ declare namespace avSession { * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum DeviceLogEventCode { /** * Log is full. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ DEVICE_LOG_FULL = 1, @@ -1024,8 +1024,8 @@ declare namespace avSession { * Log is written with exception, such as the fd cannot be written and so on. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ DEVICE_LOG_EXCEPTION = 2, } @@ -1035,8 +1035,7 @@ declare namespace avSession { * @typedef DeviceState * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface DeviceState { /** @@ -1045,8 +1044,7 @@ declare namespace avSession { * @readonly * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ readonly deviceId: string; @@ -1056,8 +1054,7 @@ declare namespace avSession { * @readonly * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ readonly deviceState: int; @@ -1067,8 +1064,7 @@ declare namespace avSession { * @readonly * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ readonly reasonCode: int; @@ -1078,8 +1074,7 @@ declare namespace avSession { * @readonly * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ readonly radarErrorCode: int; } @@ -1094,8 +1089,7 @@ declare namespace avSession { * @throws { BusinessError } 202 - Not System App. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function on(type: 'deviceStateChanged', callback: Callback): void; @@ -1108,8 +1102,7 @@ declare namespace avSession { * @throws { BusinessError } 202 - Not System App. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function off(type: 'deviceStateChanged', callback?: Callback): void; @@ -1130,8 +1123,8 @@ declare namespace avSession { * @typedef { 'audio' | 'video' | 'voice_call' | 'video_call' } AVSessionType * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type AVSessionType = 'audio' | 'video' | 'voice_call' | 'video_call'; @@ -1146,8 +1139,8 @@ declare namespace avSession { * @interface AVSession * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVSession { /** @@ -1161,8 +1154,8 @@ declare namespace avSession { * @readonly * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly sessionId: string; @@ -1178,8 +1171,8 @@ declare namespace avSession { * @readonly * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly sessionType: AVSessionType; @@ -1193,8 +1186,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setAVMetadata(data: AVMetadata, callback: AsyncCallback): void; @@ -1221,8 +1214,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setAVMetadata(data: AVMetadata): Promise; @@ -1235,8 +1228,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setCallMetadata(data: CallMetadata, callback: AsyncCallback): void; @@ -1249,8 +1242,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setCallMetadata(data: CallMetadata): Promise; @@ -1263,8 +1256,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback): void; @@ -1289,8 +1282,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setAVPlaybackState(state: AVPlaybackState): Promise; @@ -1303,8 +1296,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setAVCallState(state: AVCallState, callback: AsyncCallback): void; @@ -1317,8 +1310,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setAVCallState(state: AVCallState): Promise; @@ -1331,8 +1324,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setLaunchAbility(ability: WantAgent, callback: AsyncCallback): void; @@ -1357,8 +1350,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setLaunchAbility(ability: WantAgent): Promise; @@ -1382,8 +1375,7 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ dispatchSessionEvent(event: string, args: Record, callback: AsyncCallback): void; @@ -1421,8 +1413,7 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ dispatchSessionEvent(event: string, args: Record): Promise; @@ -1435,8 +1426,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setAVQueueItems(items: Array, callback: AsyncCallback): void; @@ -1461,8 +1452,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setAVQueueItems(items: Array): Promise; @@ -1475,8 +1466,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setAVQueueTitle(title: string, callback: AsyncCallback): void; @@ -1501,8 +1492,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setAVQueueTitle(title: string): Promise; @@ -1524,8 +1515,7 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ setExtras(extras: Record, callback: AsyncCallback): void; @@ -1560,8 +1550,7 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ setExtras(extras: Record): Promise; @@ -1571,8 +1560,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getController(callback: AsyncCallback): void; @@ -1591,8 +1580,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getController(): Promise; @@ -1603,8 +1592,8 @@ declare namespace avSession { * @throws {BusinessError} 6600102 - The session does not exist * @throws {BusinessError} 6600109 - The remote connection is not established * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getAVCastController(callback: AsyncCallback): void; @@ -1625,8 +1614,8 @@ declare namespace avSession { * @throws {BusinessError} 6600109 - The remote connection is not established * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAVCastController(): Promise; @@ -1636,8 +1625,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getOutputDevice(callback: AsyncCallback): void; @@ -1656,8 +1645,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getOutputDevice(): Promise; @@ -1676,8 +1665,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getOutputDeviceSync(): OutputDeviceInfo; @@ -1688,8 +1677,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.ExtendedDisplayCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAllCastDisplays(): Promise>; @@ -1724,8 +1713,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'play', callback: () => void): void; @@ -1760,8 +1749,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'pause', callback: () => void): void; @@ -1796,8 +1785,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'stop', callback: () => void): void; @@ -1832,8 +1821,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'playNext', callback: () => void): void; @@ -1868,8 +1857,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'playPrevious', callback: () => void): void; @@ -1904,8 +1893,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'fastForward', callback: (time ?: long) => void): void; @@ -1940,8 +1929,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'rewind', callback: (time ?: long) => void): void; @@ -1968,8 +1957,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'play', callback?: () => void): void; @@ -1996,8 +1985,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'pause', callback?: () => void): void; @@ -2024,8 +2013,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'stop', callback?: () => void): void; @@ -2052,8 +2041,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'playNext', callback?: () => void): void; @@ -2080,8 +2069,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'playPrevious', callback?: () => void): void; @@ -2108,8 +2097,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'fastForward', callback?: () => void): void; @@ -2136,8 +2125,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'rewind', callback?: () => void): void; @@ -2172,7 +2161,7 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead ohos.multimedia.avsession.AVSessoin#on */ @@ -2199,7 +2188,7 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 12 + * @since 12 dynamiconly * @deprecated since 20 * @useinstead ohos.multimedia.avsession.AVSessoin#off */ @@ -2213,7 +2202,7 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ on(type: 'playWithAssetId', callback: Callback): void; @@ -2225,7 +2214,7 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ off(type: 'playWithAssetId', callback?: Callback): void; @@ -2250,8 +2239,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'seek', callback: (time: long) => void): void; @@ -2276,8 +2265,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'seek', callback?: (time: long) => void): void; @@ -2302,8 +2291,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'setSpeed', callback: (speed: double) => void): void; @@ -2328,8 +2317,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'setSpeed', callback?: (speed: double) => void): void; @@ -2354,8 +2343,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void; @@ -2380,8 +2369,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void; @@ -2394,7 +2383,7 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ on(type: 'setTargetLoopMode', callback: Callback): void; @@ -2406,7 +2395,7 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ off(type: 'setTargetLoopMode', callback?: Callback): void; @@ -2433,8 +2422,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'toggleFavorite', callback: (assetId: string) => void): void; @@ -2461,8 +2450,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'toggleFavorite', callback?: (assetId: string) => void): void; @@ -2487,8 +2476,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void; @@ -2513,8 +2502,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void; @@ -2541,8 +2530,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void): void; @@ -2569,8 +2558,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => void): void; @@ -2608,8 +2597,7 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ on(type: 'commonCommand', callback: (command: string, args: Record) => void): void; @@ -2647,8 +2635,7 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ off(type: 'commonCommand', callback?: (command: string, args: Record) => void): void; @@ -2675,8 +2662,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'skipToQueueItem', callback: (itemId: int) => void): void; @@ -2703,8 +2690,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'skipToQueueItem', callback?: (itemId: int) => void): void; @@ -2733,8 +2720,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'answer', callback: Callback): void; @@ -2759,8 +2746,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'answer', callback?: Callback): void; @@ -2789,8 +2776,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'hangUp', callback: Callback): void; @@ -2815,8 +2802,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'hangUp', callback?: Callback): void; @@ -2845,8 +2832,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'toggleCallMute', callback: Callback): void; @@ -2869,8 +2856,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'toggleCallMute', callback?: Callback): void; @@ -2884,8 +2871,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist * @syscap SystemCapability.Multimedia.AVSession.ExtendedDisplayCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'castDisplayChange', callback: Callback): void; @@ -2899,8 +2886,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist * @syscap SystemCapability.Multimedia.AVSession.ExtendedDisplayCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'castDisplayChange', callback?: Callback): void; @@ -2909,8 +2896,8 @@ declare namespace avSession { * @param { AsyncCallback } callback A callback instance used to return when cast stopped completed. * @throws { BusinessError } 6600109 - The remote connection is not established * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ stopCasting(callback: AsyncCallback): void; @@ -2927,8 +2914,8 @@ declare namespace avSession { * @throws { BusinessError } 6600109 - The remote connection is not established * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stopCasting(): Promise; @@ -2938,8 +2925,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ activate(callback: AsyncCallback): void; @@ -2958,8 +2945,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ activate(): Promise; @@ -2969,8 +2956,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ deactivate(callback: AsyncCallback): void; @@ -2989,8 +2976,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deactivate(): Promise; @@ -3000,8 +2987,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ destroy(callback: AsyncCallback): void; @@ -3020,8 +3007,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ destroy(): Promise; } @@ -3039,8 +3026,8 @@ declare namespace avSession { * 'setVolume' | 'setSpeed' | 'setLoopMode' | 'toggleFavorite' | 'toggleMute' } AVCastControlCommandType * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type AVCastControlCommandType = 'play' | 'pause' | 'stop' | 'playNext' | 'playPrevious' | 'fastForward' | 'rewind' | 'seek' | 'setVolume' | 'setSpeed' | 'setLoopMode' | 'toggleFavorite' | 'toggleMute'; @@ -3056,8 +3043,8 @@ declare namespace avSession { * @interface AVCastControlCommand * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVCastControlCommand { /** @@ -3071,8 +3058,8 @@ declare namespace avSession { * @type { AVCastControlCommandType } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ command: AVCastControlCommandType; @@ -3099,8 +3086,8 @@ declare namespace avSession { * @type { ?(media.PlaybackSpeed | double | string | LoopMode) } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ parameter?: media.PlaybackSpeed | double | string | LoopMode; } @@ -3116,8 +3103,8 @@ declare namespace avSession { * @interface AVCastController * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVCastController { /** @@ -3130,8 +3117,8 @@ declare namespace avSession { * @throws { BusinessError } 6600109 - The remote connection is not established * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setDisplaySurface(surfaceId: string, callback: AsyncCallback): void; @@ -3145,8 +3132,8 @@ declare namespace avSession { * @throws { BusinessError } 6600109 - The remote connection is not established * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ setDisplaySurface(surfaceId: string): Promise; @@ -3155,8 +3142,8 @@ declare namespace avSession { * @param { AsyncCallback } callback - The triggered asyncCallback when (getAVPlaybackState). * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getAVPlaybackState(callback: AsyncCallback): void; @@ -3173,8 +3160,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAVPlaybackState(): Promise; @@ -3184,8 +3171,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getSupportedDecoders(): Promise>; @@ -3196,8 +3183,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getRecommendedResolutionLevel(decoderType: DecoderType): Promise; @@ -3207,8 +3194,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getSupportedHdrCapabilities(): Promise>; @@ -3218,8 +3205,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getSupportedPlaySpeeds(): Promise>; @@ -3233,8 +3220,8 @@ declare namespace avSession { * @throws { BusinessError } 6600105 - Invalid session command * @throws { BusinessError } 6600109 - The remote connection is not established * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ sendControlCommand(command: AVCastControlCommand, callback: AsyncCallback): void; @@ -3261,8 +3248,8 @@ declare namespace avSession { * @throws { BusinessError } 6600109 - The remote connection is not established * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sendControlCommand(command: AVCastControlCommand): Promise; @@ -3275,8 +3262,8 @@ declare namespace avSession { * @throws {BusinessError} 6600101 - Session service exception * @throws {BusinessError} 6600109 - The remote connection is not established * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ start(item: AVQueueItem, callback: AsyncCallback): void; @@ -3301,8 +3288,8 @@ declare namespace avSession { * @throws {BusinessError} 6600109 - The remote connection is not established * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ start(item: AVQueueItem): Promise; @@ -3315,8 +3302,8 @@ declare namespace avSession { * @throws {BusinessError} 6600101 - Session service exception * @throws {BusinessError} 6600109 - The remote connection is not established * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ prepare(item: AVQueueItem, callback: AsyncCallback): void; @@ -3341,8 +3328,8 @@ declare namespace avSession { * @throws {BusinessError} 6600109 - The remote connection is not established * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ prepare(item: AVQueueItem): Promise; @@ -3351,8 +3338,8 @@ declare namespace avSession { * @param { AsyncCallback } callback - The triggered asyncCallback. * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getCurrentItem(callback: AsyncCallback): void; @@ -3369,8 +3356,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCurrentItem(): Promise; @@ -3379,8 +3366,8 @@ declare namespace avSession { * @param { AsyncCallback> } callback - The triggered asyncCallback when (getValidCommands). * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getValidCommands(callback: AsyncCallback>): void; @@ -3389,8 +3376,8 @@ declare namespace avSession { * @returns { Promise> } array of AVCastControlCommandType promise * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getValidCommands(): Promise>; @@ -3404,8 +3391,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ processMediaKeyResponse(assetId: string, response: Uint8Array): Promise; @@ -3414,8 +3401,8 @@ declare namespace avSession { * @param { AsyncCallback } callback - The asyncCallback triggered when the command is executed successfully. * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; @@ -3432,8 +3419,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ release(): Promise; @@ -3460,8 +3447,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'playbackStateChange', filter: Array | 'all', callback: (state: AVPlaybackState) => void): void; @@ -3486,8 +3473,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void): void; @@ -3510,8 +3497,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'mediaItemChange', callback: Callback): void; @@ -3532,8 +3519,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'mediaItemChange'): void; @@ -3558,8 +3545,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'playNext', callback: Callback): void; @@ -3582,8 +3569,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'playNext'): void; @@ -3608,8 +3595,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'playPrevious', callback: Callback): void; @@ -3632,8 +3619,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'playPrevious'): void; @@ -3646,8 +3633,8 @@ declare namespace avSession { * 2.Incorrect parameter types. * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'requestPlay', callback: Callback): void; @@ -3659,8 +3646,8 @@ declare namespace avSession { * 2.Incorrect parameter types. * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'requestPlay', callback?: Callback): void; @@ -3673,8 +3660,8 @@ declare namespace avSession { * 2.Incorrect parameter types. * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'endOfStream', callback: Callback): void; @@ -3686,8 +3673,8 @@ declare namespace avSession { * 2.Incorrect parameter types. * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'endOfStream', callback?: Callback): void; @@ -3710,8 +3697,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'seekDone', callback: Callback): void; @@ -3732,8 +3719,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'seekDone'): void; @@ -3757,8 +3744,7 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ on(type: 'validCommandChange', callback: Callback>): void; @@ -3782,8 +3768,7 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ off(type: 'validCommandChange', callback?: Callback>): void; @@ -3795,8 +3780,8 @@ declare namespace avSession { * 2.Incorrect parameter types. * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'videoSizeChange', callback: (width: int, height: int) => void): void; @@ -3807,8 +3792,8 @@ declare namespace avSession { * 2.Incorrect parameter types. * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'videoSizeChange'): void; @@ -3843,8 +3828,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -3877,8 +3862,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'error'): void; @@ -3905,8 +3890,8 @@ declare namespace avSession { * @throws { BusinessError } 6611108 - Operation is not allowed. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'castControlGenericError', callback: ErrorCallback): void; @@ -3918,8 +3903,8 @@ declare namespace avSession { * 2. Incorrect parameter types. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'castControlGenericError', callback?: ErrorCallback): void; @@ -3948,8 +3933,8 @@ declare namespace avSession { * @throws { BusinessError } 6612107 - An error occurs when sending packet from source device to sink device. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'castControlIoError', callback: ErrorCallback): void; @@ -3961,8 +3946,8 @@ declare namespace avSession { * 2. Incorrect parameter types. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'castControlIoError', callback?: ErrorCallback): void; @@ -3980,8 +3965,8 @@ declare namespace avSession { * @throws { BusinessError } 6613004 - Unsupported feature in the media manifest. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'castControlParsingError', callback: ErrorCallback): void; @@ -3993,8 +3978,8 @@ declare namespace avSession { * 2. Incorrect parameter types. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'castControlParsingError', callback?: ErrorCallback): void; @@ -4012,8 +3997,8 @@ declare namespace avSession { * @throws { BusinessError } 6614005 - The format of the content to decode is not supported. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'castControlDecodingError', callback: ErrorCallback): void; @@ -4025,8 +4010,8 @@ declare namespace avSession { * 2. Incorrect parameter types. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'castControlDecodingError', callback?: ErrorCallback): void; @@ -4041,8 +4026,8 @@ declare namespace avSession { * @throws { BusinessError } 6615002 - The audio renderer fails to write data. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'castControlAudioRendererError', callback: ErrorCallback): void; @@ -4054,8 +4039,8 @@ declare namespace avSession { * 2. Incorrect parameter types. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'castControlAudioRendererError', callback?: ErrorCallback): void; @@ -4077,8 +4062,8 @@ declare namespace avSession { * @throws { BusinessError } 6616100 - An error occurs when the DRM processes the key response. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'castControlDrmError', callback: ErrorCallback): void; @@ -4090,8 +4075,8 @@ declare namespace avSession { * 2. Incorrect parameter types. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'castControlDrmError', callback?: ErrorCallback): void; @@ -4104,8 +4089,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'keyRequest', callback: KeyRequestCallback): void; @@ -4118,8 +4103,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'keyRequest', callback?: KeyRequestCallback): void; } @@ -4129,8 +4114,8 @@ declare namespace avSession { * * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ class AVCastPickerHelper { /** @@ -4142,8 +4127,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ constructor(context: Context); @@ -4156,8 +4141,8 @@ declare namespace avSession { * 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ select(options?: AVCastPickerOptions): Promise; @@ -4170,8 +4155,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ on(type: 'pickerStateChange', callback: Callback) : void; @@ -4184,8 +4169,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ off(type: 'pickerStateChange', callback?: Callback) : void; } @@ -4196,7 +4181,7 @@ declare namespace avSession { * @typedef AudioCapabilities * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since 20 + * @since 20 dynamic */ interface AudioCapabilities { /** @@ -4205,7 +4190,7 @@ declare namespace avSession { * @readonly * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since 20 + * @since 20 dynamic */ readonly streamInfos: Array; } @@ -4216,8 +4201,8 @@ declare namespace avSession { * @typedef AVCastPickerOptions * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface AVCastPickerOptions { /** @@ -4227,8 +4212,8 @@ declare namespace avSession { * @type { ? AVSessionType } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ sessionType?: AVSessionType; } @@ -4241,8 +4226,8 @@ declare namespace avSession { * @param { Uint8Array } requestData - media key request data sent to media key server * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type KeyRequestCallback = (assetId: string, requestData: Uint8Array) => void; @@ -4252,8 +4237,8 @@ declare namespace avSession { * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.ExtendedDisplayCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum CastDisplayState { /** @@ -4261,8 +4246,8 @@ declare namespace avSession { * * @syscap SystemCapability.Multimedia.AVSession.ExtendedDisplayCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_OFF = 1, @@ -4271,8 +4256,8 @@ declare namespace avSession { * * @syscap SystemCapability.Multimedia.AVSession.ExtendedDisplayCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_ON = 2, } @@ -4282,8 +4267,8 @@ declare namespace avSession { * @typedef CastDisplayInfo * @syscap SystemCapability.Multimedia.AVSession.ExtendedDisplayCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface CastDisplayInfo { /** @@ -4292,8 +4277,8 @@ declare namespace avSession { * @type { long } * @syscap SystemCapability.Multimedia.AVSession.ExtendedDisplayCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ id: long; @@ -4302,8 +4287,8 @@ declare namespace avSession { * @type { string } * @syscap SystemCapability.Multimedia.AVSession.ExtendedDisplayCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ name: string; @@ -4312,8 +4297,8 @@ declare namespace avSession { * @type { CastDisplayState } * @syscap SystemCapability.Multimedia.AVSession.ExtendedDisplayCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ state: CastDisplayState; @@ -4322,8 +4307,8 @@ declare namespace avSession { * @type { int } * @syscap SystemCapability.Multimedia.AVSession.ExtendedDisplayCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ width: int; @@ -4332,8 +4317,8 @@ declare namespace avSession { * @type { int } * @syscap SystemCapability.Multimedia.AVSession.ExtendedDisplayCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ height: int; } @@ -4349,8 +4334,8 @@ declare namespace avSession { * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum ConnectionState { /** @@ -4362,8 +4347,8 @@ declare namespace avSession { * A connection state indicating the device is in the process of connecting. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_CONNECTING = 0, @@ -4376,8 +4361,8 @@ declare namespace avSession { * A connection state indicating the device is connected. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_CONNECTED = 1, @@ -4390,8 +4375,8 @@ declare namespace avSession { * The default connection state indicating the device is disconnected. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_DISCONNECTED = 6 } @@ -4400,15 +4385,15 @@ declare namespace avSession { * The pre-defined display tag by system. * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum DisplayTag { /** * Indicate the AUDIO VIVID property of current media resource. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ TAG_AUDIO_VIVID = 1 } @@ -4418,16 +4403,16 @@ declare namespace avSession { * @enum { string } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum DecoderType { /** * Defination of avc codec type. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ OH_AVCODEC_MIMETYPE_VIDEO_AVC = "video/avc", @@ -4435,8 +4420,8 @@ declare namespace avSession { * Defination of hevc codec type. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ OH_AVCODEC_MIMETYPE_VIDEO_HEVC = "video/hevc", @@ -4444,8 +4429,8 @@ declare namespace avSession { * Defination of audio vivid codec type. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ OH_AVCODEC_MIMETYPE_AUDIO_VIVID = "audio/av3a" } @@ -4455,16 +4440,16 @@ declare namespace avSession { * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum ResolutionLevel { /** * Defination of 480P which typically resolution is 640*480. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ RESOLUTION_480P = 0, @@ -4472,8 +4457,8 @@ declare namespace avSession { * Defination of 720P which typically resolution is 1280*720. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ RESOLUTION_720P = 1, @@ -4481,8 +4466,8 @@ declare namespace avSession { * Defination of 1080P which typically resolution is 1920*1080. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ RESOLUTION_1080P = 2, @@ -4490,8 +4475,8 @@ declare namespace avSession { * Defination of 2K which typically resolution is 2560*1440. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ RESOLUTION_2K = 3, @@ -4499,8 +4484,8 @@ declare namespace avSession { * Defination of 4K which typically resolution is 4096*3840. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ RESOLUTION_4K = 4 } @@ -4510,8 +4495,8 @@ declare namespace avSession { * @interface AVQueueInfo * @syscap SystemCapability.Multimedia.AVSession.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface AVQueueInfo { /** @@ -4519,8 +4504,8 @@ declare namespace avSession { * @type { string } * @syscap SystemCapability.Multimedia.AVSession.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ bundleName: string; @@ -4529,8 +4514,8 @@ declare namespace avSession { * @type { string } * @syscap SystemCapability.Multimedia.AVSession.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ avQueueName: string; @@ -4539,8 +4524,8 @@ declare namespace avSession { * @type { string } * @syscap SystemCapability.Multimedia.AVSession.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ avQueueId: string; @@ -4549,8 +4534,8 @@ declare namespace avSession { * @type { image.PixelMap | string } * @syscap SystemCapability.Multimedia.AVSession.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ avQueueImage: image.PixelMap | string; @@ -4560,8 +4545,8 @@ declare namespace avSession { * @type { ?long } * @syscap SystemCapability.Multimedia.AVSession.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ lastPlayedTime?: long; } @@ -4577,8 +4562,8 @@ declare namespace avSession { * @interface AVMetadata * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVMetadata { /** @@ -4592,8 +4577,8 @@ declare namespace avSession { * @type { string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ assetId: string; @@ -4608,8 +4593,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ title?: string; @@ -4624,8 +4609,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ artist?: string; @@ -4640,8 +4625,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ author?: string; @@ -4649,8 +4634,8 @@ declare namespace avSession { * The name of play list which current media belongs to * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ avQueueName?: string; @@ -4658,8 +4643,8 @@ declare namespace avSession { * The id of play list which current media belongs to, it should be an unique identifier in the application. * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ avQueueId?: string; @@ -4667,8 +4652,8 @@ declare namespace avSession { * The artwork of play list as a {@link PixelMap} or an uri formatted String, * @type { ?(image.PixelMap | string) } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ avQueueImage?: image.PixelMap | string; @@ -4683,8 +4668,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ album?: string; @@ -4699,8 +4684,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ writer?: string; @@ -4708,8 +4693,8 @@ declare namespace avSession { * The composer of this media * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ composer?: string; @@ -4724,8 +4709,8 @@ declare namespace avSession { * @type { ?long } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ duration?: long; @@ -4742,8 +4727,8 @@ declare namespace avSession { * @type { ?(image.PixelMap | string) } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ mediaImage?: image.PixelMap | string; @@ -4752,8 +4737,8 @@ declare namespace avSession { * @type { ?image.PixelMap } * @readonly * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ readonly bundleIcon?: image.PixelMap; @@ -4761,8 +4746,8 @@ declare namespace avSession { * The publishDate of the media * @type { ?Date } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ publishDate?: Date; @@ -4777,8 +4762,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ subtitle?: string; @@ -4793,8 +4778,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ description?: string; @@ -4802,8 +4787,8 @@ declare namespace avSession { * The lyric of the media, it should be in standard lyric format * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ lyric?: string; @@ -4812,8 +4797,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ singleLyricText?: string; @@ -4830,8 +4815,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ previousAssetId?: string; @@ -4848,8 +4833,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ nextAssetId?: string; @@ -4866,8 +4851,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ filter?: int; @@ -4875,8 +4860,8 @@ declare namespace avSession { * The drm schemes supported by this session which are represented by uuid. * @type { ?Array } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ drmSchemes?: Array; @@ -4885,8 +4870,8 @@ declare namespace avSession { * See {@link SkipIntervals} * @type { ?SkipIntervals } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ skipIntervals?: SkipIntervals; @@ -4894,8 +4879,8 @@ declare namespace avSession { * The display tags supported by application to be displayed on media center * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ displayTags?: int; } @@ -4911,8 +4896,8 @@ declare namespace avSession { * @interface AVMediaDescription * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVMediaDescription { /** @@ -4926,8 +4911,8 @@ declare namespace avSession { * @type { string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ assetId: string; /** @@ -4941,8 +4926,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ title?: string; @@ -4957,8 +4942,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ subtitle?: string; @@ -4973,8 +4958,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ description?: string; @@ -4991,8 +4976,8 @@ declare namespace avSession { * @type { ?(image.PixelMap | string) } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ mediaImage?: image.PixelMap | string; /** @@ -5005,8 +4990,7 @@ declare namespace avSession { * Any additional attributes that can be represented as key-value pairs * @type { ?Record } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ extras?: Record; @@ -5021,8 +5005,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ mediaType?: string; @@ -5037,8 +5021,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ mediaSize?: int; @@ -5053,8 +5037,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ albumTitle?: string; @@ -5069,8 +5053,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ albumCoverUri?: string; @@ -5085,8 +5069,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ lyricContent?: string; @@ -5101,8 +5085,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ lyricUri?: string; @@ -5117,8 +5101,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ artist?: string; @@ -5133,8 +5117,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ mediaUri?: string; @@ -5149,8 +5133,8 @@ declare namespace avSession { * @type { ?media.AVFileDescriptor } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fdSrc?: media.AVFileDescriptor; @@ -5158,8 +5142,8 @@ declare namespace avSession { * DataSource descriptor. The caller ensures the fileSize and callback are valid. * @type { ?media.AVDataSrcDescriptor } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ dataSrc?: media.AVDataSrcDescriptor; @@ -5167,7 +5151,7 @@ declare namespace avSession { * Pcm source type. The app should send pcm data directly to the system. * @type { ?boolean} * @syscap SystemCapability.Multimedia.AVSession.Core - * @since 20 + * @since 20 dynamic */ pcmSrc?: boolean; @@ -5175,8 +5159,8 @@ declare namespace avSession { * The drm scheme supported by this resource which is represented by uuid. * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ drmScheme?: string; @@ -5191,8 +5175,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ duration?: int; @@ -5207,8 +5191,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ startPosition?: int; @@ -5223,8 +5207,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ creditsPosition?: int; @@ -5239,8 +5223,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ appName?: string; @@ -5255,8 +5239,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ displayTags?: int; } @@ -5272,8 +5256,8 @@ declare namespace avSession { * @interface AVQueueItem * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVQueueItem { /** @@ -5287,8 +5271,8 @@ declare namespace avSession { * @type { int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ itemId: int; @@ -5303,8 +5287,8 @@ declare namespace avSession { * @type { ?AVMediaDescription } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ description?: AVMediaDescription; } @@ -5322,8 +5306,8 @@ declare namespace avSession { * @interface AVPlaybackState * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVPlaybackState { /** @@ -5337,8 +5321,8 @@ declare namespace avSession { * @type { ?PlaybackState } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ state?: PlaybackState; @@ -5353,8 +5337,8 @@ declare namespace avSession { * @type { ?double } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ speed?: double; @@ -5369,8 +5353,8 @@ declare namespace avSession { * @type { ?PlaybackPosition } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ position?: PlaybackPosition; @@ -5385,8 +5369,8 @@ declare namespace avSession { * @type { ?long } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ bufferedTime?: long; @@ -5401,8 +5385,8 @@ declare namespace avSession { * @type { ?LoopMode } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ loopMode?: LoopMode; @@ -5417,8 +5401,8 @@ declare namespace avSession { * @type { ?boolean } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isFavorite?: boolean; @@ -5433,8 +5417,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ activeItemId?: int; @@ -5449,8 +5433,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ volume?: int; @@ -5465,8 +5449,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ maxVolume?: int; @@ -5481,8 +5465,8 @@ declare namespace avSession { * @type { ?boolean } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ muted?: boolean; @@ -5490,8 +5474,8 @@ declare namespace avSession { * The duration of this media asset. * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ duration?: int; @@ -5506,8 +5490,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoWidth?: int; @@ -5522,8 +5506,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoHeight?: int; @@ -5545,8 +5529,7 @@ declare namespace avSession { * @type { ?Record } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ extras?: Record; } @@ -5562,8 +5545,8 @@ declare namespace avSession { * @interface PlaybackPosition * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface PlaybackPosition { /** @@ -5577,8 +5560,8 @@ declare namespace avSession { * @type { long } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ elapsedTime: long; @@ -5593,8 +5576,8 @@ declare namespace avSession { * @type { long } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ updateTime: long; } @@ -5610,8 +5593,8 @@ declare namespace avSession { * @typedef CallMetadata * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface CallMetadata { /** @@ -5625,8 +5608,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ name?: string; @@ -5641,8 +5624,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ phoneNumber?: string; @@ -5657,8 +5640,8 @@ declare namespace avSession { * @type { ?image.PixelMap } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ avatar?: image.PixelMap; } @@ -5674,8 +5657,8 @@ declare namespace avSession { * @typedef AVCallState * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVCallState { /** @@ -5689,8 +5672,8 @@ declare namespace avSession { * @type { CallState } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ state: CallState; @@ -5705,8 +5688,8 @@ declare namespace avSession { * @type { boolean } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ muted: boolean; } @@ -5722,8 +5705,8 @@ declare namespace avSession { * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum CallState { /** @@ -5735,8 +5718,8 @@ declare namespace avSession { * Idle state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CALL_STATE_IDLE = 0, @@ -5749,8 +5732,8 @@ declare namespace avSession { * Incoming state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CALL_STATE_INCOMING = 1, @@ -5763,8 +5746,8 @@ declare namespace avSession { * Active state in calling. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CALL_STATE_ACTIVE = 2, @@ -5777,8 +5760,8 @@ declare namespace avSession { * Dialing state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CALL_STATE_DIALING = 3, @@ -5791,8 +5774,8 @@ declare namespace avSession { * Waiting state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CALL_STATE_WAITING = 4, @@ -5805,8 +5788,8 @@ declare namespace avSession { * Holding state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CALL_STATE_HOLDING = 5, @@ -5819,8 +5802,8 @@ declare namespace avSession { * Disconnecting state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CALL_STATE_DISCONNECTING = 6, } @@ -5836,8 +5819,8 @@ declare namespace avSession { * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AVCastCategory { /** @@ -5851,8 +5834,8 @@ declare namespace avSession { * including internal speakers or audio jack on the device itself, A2DP devices. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CATEGORY_LOCAL = 0, @@ -5867,8 +5850,8 @@ declare namespace avSession { * the application needs to get an AVCastController to control remote playback. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CATEGORY_REMOTE = 1, } @@ -5883,8 +5866,8 @@ declare namespace avSession { * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum DeviceType { /** @@ -5896,8 +5879,8 @@ declare namespace avSession { * A device type indicating the route is on internal speakers or audio jack on the device itself. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_TYPE_LOCAL = 0, @@ -5910,8 +5893,8 @@ declare namespace avSession { * A device type indicating the route is on a TV. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_TYPE_TV = 2, @@ -5924,8 +5907,8 @@ declare namespace avSession { * A device type indicating the route is on a smart speaker. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_TYPE_SMART_SPEAKER = 3, @@ -5938,8 +5921,8 @@ declare namespace avSession { * A device type indicating the route is on a bluetooth device. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_TYPE_BLUETOOTH = 10, } @@ -5955,8 +5938,8 @@ declare namespace avSession { * @interface DeviceInfo * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface DeviceInfo { /** @@ -5970,8 +5953,8 @@ declare namespace avSession { * @type { AVCastCategory } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ castCategory: AVCastCategory; /** @@ -5987,8 +5970,8 @@ declare namespace avSession { * @type { string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deviceId: string; @@ -6005,8 +5988,8 @@ declare namespace avSession { * @type { string } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deviceName: string; @@ -6021,8 +6004,8 @@ declare namespace avSession { * @type { DeviceType } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deviceType: DeviceType; @@ -6031,8 +6014,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ manufacturer?: string; @@ -6041,8 +6024,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ modelName?: string; @@ -6051,8 +6034,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ networkId?: string; @@ -6061,8 +6044,8 @@ declare namespace avSession { * @type { ?string } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ipAddress?: string; @@ -6071,8 +6054,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ providerId?: int; @@ -6087,8 +6070,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ supportedProtocols?: int; @@ -6097,8 +6080,8 @@ declare namespace avSession { * @type { ?Array } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ supportedDrmCapabilities?: Array; @@ -6109,8 +6092,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ authenticationStatus?: int; @@ -6119,8 +6102,8 @@ declare namespace avSession { * @type { ?boolean } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ isLegacy?: boolean; @@ -6131,8 +6114,8 @@ declare namespace avSession { * @type { ?int } * @syscap SystemCapability.Multimedia.AVSession.AVCast * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ mediumTypes?: int; @@ -6141,7 +6124,7 @@ declare namespace avSession { * the device audio capabilities will be presented to let application choose proper resource to play. * @type { ?AudioCapabilities } * @syscap SystemCapability.Multimedia.AVSession.AVCast - * @since 20 + * @since 20 dynamic */ audioCapabilities?: AudioCapabilities; } @@ -6157,8 +6140,8 @@ declare namespace avSession { * @interface OutputDeviceInfo * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface OutputDeviceInfo { /** @@ -6172,8 +6155,8 @@ declare namespace avSession { * @type { Array } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ devices: Array; } @@ -6189,8 +6172,8 @@ declare namespace avSession { * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum LoopMode { /** @@ -6202,8 +6185,8 @@ declare namespace avSession { * The default mode is sequential playback * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOOP_MODE_SEQUENCE = 0, @@ -6216,8 +6199,8 @@ declare namespace avSession { * Single loop mode * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOOP_MODE_SINGLE = 1, @@ -6230,8 +6213,8 @@ declare namespace avSession { * List loop mode * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOOP_MODE_LIST = 2, @@ -6244,8 +6227,8 @@ declare namespace avSession { * Shuffle playback mode * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOOP_MODE_SHUFFLE = 3, @@ -6258,8 +6241,8 @@ declare namespace avSession { * Custom playback mode supported by application * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOOP_MODE_CUSTOM = 4 } @@ -6268,29 +6251,29 @@ declare namespace avSession { * Supported skip intervals definition * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum SkipIntervals { /** * 10 seconds * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SECONDS_10 = 10, /** * 15 seconds * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SECONDS_15 = 15, /** * 30 seconds * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SECONDS_30 = 30, } @@ -6306,8 +6289,8 @@ declare namespace avSession { * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum PlaybackState { /** @@ -6319,8 +6302,8 @@ declare namespace avSession { * Initial state. The initial state of media file * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PLAYBACK_STATE_INITIAL = 0, @@ -6335,8 +6318,8 @@ declare namespace avSession { * the media is loading or buffering * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PLAYBACK_STATE_PREPARE = 1, @@ -6349,8 +6332,8 @@ declare namespace avSession { * Playing state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PLAYBACK_STATE_PLAY = 2, @@ -6363,8 +6346,8 @@ declare namespace avSession { * Paused state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PLAYBACK_STATE_PAUSE = 3, @@ -6377,8 +6360,8 @@ declare namespace avSession { * Fast forwarding state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PLAYBACK_STATE_FAST_FORWARD = 4, @@ -6391,8 +6374,8 @@ declare namespace avSession { * Rewinding state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PLAYBACK_STATE_REWIND = 5, @@ -6405,8 +6388,8 @@ declare namespace avSession { * Stopped state.The server will clear the media playback position and other information. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PLAYBACK_STATE_STOP = 6, @@ -6419,8 +6402,8 @@ declare namespace avSession { * Completed state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PLAYBACK_STATE_COMPLETED = 7, @@ -6433,8 +6416,8 @@ declare namespace avSession { * Released state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PLAYBACK_STATE_RELEASED = 8, @@ -6447,8 +6430,8 @@ declare namespace avSession { * error state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PLAYBACK_STATE_ERROR = 9, @@ -6461,8 +6444,8 @@ declare namespace avSession { * Idle state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PLAYBACK_STATE_IDLE = 10, @@ -6475,8 +6458,8 @@ declare namespace avSession { * Buffering state. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PLAYBACK_STATE_BUFFERING = 11 } @@ -6486,8 +6469,8 @@ declare namespace avSession { * @interface AVSessionDescriptor * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface AVSessionDescriptor { /** @@ -6495,8 +6478,8 @@ declare namespace avSession { * @type { string } * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ sessionId: string; @@ -6505,8 +6488,8 @@ declare namespace avSession { * @type { AVSessionType } * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ type: AVSessionType; @@ -6515,8 +6498,8 @@ declare namespace avSession { * @type { string } * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ sessionTag: string; @@ -6525,8 +6508,8 @@ declare namespace avSession { * @type { ElementName } * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ elementName: ElementName; @@ -6535,8 +6518,8 @@ declare namespace avSession { * @type { boolean } * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ isActive: boolean; @@ -6545,8 +6528,8 @@ declare namespace avSession { * @type { boolean } * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ isTopSession: boolean; @@ -6556,8 +6539,8 @@ declare namespace avSession { * @type { OutputDeviceInfo } * @syscap SystemCapability.Multimedia.AVSession.Manager * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ outputDevice: OutputDeviceInfo; } @@ -6567,8 +6550,8 @@ declare namespace avSession { * * @typedef { Record } ExtraInfo * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ type ExtraInfo = Record; @@ -6583,8 +6566,8 @@ declare namespace avSession { * @typedef AVSessionController * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVSessionController { /** @@ -6599,8 +6582,8 @@ declare namespace avSession { * @readonly * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly sessionId: string; @@ -6611,8 +6594,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getAVPlaybackState(callback: AsyncCallback): void; @@ -6633,8 +6616,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAVPlaybackState(): Promise; @@ -6655,8 +6638,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAVPlaybackStateSync(): AVPlaybackState; @@ -6667,8 +6650,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getAVMetadata(callback: AsyncCallback): void; @@ -6689,8 +6672,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAVMetadata(): Promise; @@ -6711,8 +6694,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAVMetadataSync(): AVMetadata; @@ -6723,8 +6706,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getAVCallState(callback: AsyncCallback): void; @@ -6735,8 +6718,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getAVCallState(): Promise; @@ -6747,8 +6730,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getCallMetadata(callback: AsyncCallback): void; @@ -6759,8 +6742,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getCallMetadata(): Promise; @@ -6771,8 +6754,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getAVQueueTitle(callback: AsyncCallback): void; @@ -6793,8 +6776,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAVQueueTitle(): Promise; @@ -6815,8 +6798,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAVQueueTitleSync(): string; @@ -6827,8 +6810,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getAVQueueItems(callback: AsyncCallback>): void; @@ -6849,8 +6832,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAVQueueItems(): Promise>; @@ -6871,8 +6854,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAVQueueItemsSync(): Array; @@ -6886,8 +6869,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ skipToQueueItem(itemId: int, callback: AsyncCallback): void; @@ -6914,8 +6897,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ skipToQueueItem(itemId: int): Promise; @@ -6925,8 +6908,8 @@ declare namespace avSession { * @throws { BusinessError } 600101 - Session service exception. * @throws { BusinessError } 600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getOutputDevice(callback: AsyncCallback): void; @@ -6945,8 +6928,8 @@ declare namespace avSession { * @throws { BusinessError } 600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getOutputDevice(): Promise; @@ -6965,8 +6948,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getOutputDeviceSync(): OutputDeviceInfo; @@ -6982,8 +6965,8 @@ declare namespace avSession { * @throws { BusinessError } 600105 - Invalid session command. * @throws { BusinessError } 600106 - The session is not activated. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback): void; @@ -7014,8 +6997,8 @@ declare namespace avSession { * @throws { BusinessError } 600106 - The session is not activated. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sendAVKeyEvent(event: KeyEvent): Promise; @@ -7026,8 +7009,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getLaunchAbility(callback: AsyncCallback): void; @@ -7048,8 +7031,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getLaunchAbility(): Promise; @@ -7070,8 +7053,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getRealPlaybackPositionSync(): long; @@ -7082,8 +7065,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ isActive(callback: AsyncCallback): void; @@ -7104,8 +7087,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isActive(): Promise; @@ -7126,8 +7109,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isActiveSync(): boolean; @@ -7137,8 +7120,8 @@ declare namespace avSession { * @throws { BusinessError } 6600101 - Session service exception. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ destroy(callback: AsyncCallback): void; @@ -7157,8 +7140,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ destroy(): Promise; @@ -7169,8 +7152,8 @@ declare namespace avSession { * @throws { BusinessError } 6600102 - The session does not exist. * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ getValidCommands(callback: AsyncCallback>): void; @@ -7191,8 +7174,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getValidCommands(): Promise>; @@ -7213,8 +7196,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getValidCommandsSync(): Array; @@ -7231,8 +7214,8 @@ declare namespace avSession { * @throws { BusinessError } 6600106 - The session is not activated. * @throws { BusinessError } 6600107 - Too many commands or events. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ sendControlCommand(command: AVControlCommand, callback: AsyncCallback): void; @@ -7265,8 +7248,8 @@ declare namespace avSession { * @throws { BusinessError } 6600107 - Too many commands or events. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sendControlCommand(command: AVControlCommand): Promise; @@ -7298,8 +7281,7 @@ declare namespace avSession { * @throws { BusinessError } 6600106 - The session is not activated. * @throws { BusinessError } 6600107 - Too many commands or events. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ sendCommonCommand(command: string, args: Record, callback: AsyncCallback): void; @@ -7349,8 +7331,7 @@ declare namespace avSession { * @throws { BusinessError } 6600107 - Too many commands or events. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ sendCommonCommand(command: string, args: Record): Promise; @@ -7376,8 +7357,7 @@ declare namespace avSession { * @throws { BusinessError } 6600105 - Invalid session command. * @throws { BusinessError } 6600107 - Too many commands or events. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getExtras(callback: AsyncCallback>): void; @@ -7418,8 +7398,7 @@ declare namespace avSession { * @throws { BusinessError } 6600107 - Too many commands or events. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getExtras(): Promise>; @@ -7432,8 +7411,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @throws { BusinessError } 6600105 - Invalid session command. * @syscap SystemCapability.Multimedia.AVSession.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getExtrasWithEvent(extraEvent: string): Promise; @@ -7477,8 +7456,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ on(type: 'metadataChange', filter: Array | 'all', callback: (data: AVMetadata) => void): void; @@ -7519,8 +7497,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ off(type: 'metadataChange', callback?: (data: AVMetadata) => void): void; @@ -7564,8 +7541,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ on(type: 'playbackStateChange', filter: Array | 'all', callback: (state: AVPlaybackState) => void): void; @@ -7603,8 +7579,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void): void; @@ -7635,8 +7610,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'callMetadataChange', filter: Array | 'all', callback: Callback): void; @@ -7665,8 +7640,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'callMetadataChange', callback?: Callback): void; @@ -7695,8 +7670,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ on(type: 'callStateChange', filter: Array | 'all', callback: Callback): void; @@ -7723,8 +7697,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'callStateChange', callback?: Callback): void; @@ -7759,8 +7733,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ on(type: 'sessionDestroy', callback: () => void): void; @@ -7795,8 +7768,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ off(type: 'sessionDestroy', callback?: () => void): void; @@ -7834,8 +7806,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ on(type: 'activeStateChange', callback: (isActive: boolean) => void): void; @@ -7873,8 +7844,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ off(type: 'activeStateChange', callback?: (isActive: boolean) => void): void; @@ -7912,8 +7882,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ on(type: 'validCommandChange', callback: (commands: Array) => void): void; @@ -7951,8 +7920,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ off(type: 'validCommandChange', callback?: (commands: Array) => void): void; @@ -7979,8 +7947,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void): void; @@ -8007,8 +7975,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => void): void; @@ -8046,8 +8014,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ on(type: 'sessionEvent', callback: (sessionEvent: string, args: Record) => void): void; @@ -8085,8 +8052,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ off(type: 'sessionEvent', callback?: (sessionEvent: string, args: Record) => void): void; @@ -8113,8 +8079,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'queueItemsChange', callback: (items: Array) => void): void; @@ -8141,8 +8107,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'queueItemsChange', callback?: (items: Array) => void): void; @@ -8169,8 +8135,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'queueTitleChange', callback: (title: string) => void): void; @@ -8197,8 +8163,8 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'queueTitleChange', callback?: (title: string) => void): void; @@ -8236,8 +8202,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ on(type: 'extrasChange', callback: (extras: Record) => void): void; @@ -8275,8 +8240,7 @@ declare namespace avSession { * @throws { BusinessError } 6600103 - The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ off(type: 'extrasChange', callback?: (extras: Record) => void): void; } @@ -8321,8 +8285,7 @@ declare namespace avSession { * 'toggleCallMute' | 'setTargetLoopMode'} AVControlCommandType * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ type AVControlCommandType = 'play' | 'pause' | 'stop' | 'playNext' | 'playPrevious' | 'fastForward' | 'rewind' | 'seek' | 'setSpeed' | 'setLoopMode' | 'toggleFavorite' | 'playFromAssetId' | 'playWithAssetId' | 'answer' | 'hangUp' | 'toggleCallMute' | 'setTargetLoopMode'; @@ -8338,8 +8301,8 @@ declare namespace avSession { * @typedef AVControlCommand * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVControlCommand { /** @@ -8353,8 +8316,8 @@ declare namespace avSession { * @type { AVControlCommandType } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ command: AVControlCommandType; @@ -8379,8 +8342,8 @@ declare namespace avSession { * @type { ?(LoopMode | string | double) } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ parameter?: LoopMode | string | double; } @@ -8396,8 +8359,8 @@ declare namespace avSession { * @enum { int } * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AVSessionErrorCode { /** @@ -8409,8 +8372,8 @@ declare namespace avSession { * Session service exception. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ERR_CODE_SERVICE_EXCEPTION = 6600101, @@ -8423,8 +8386,8 @@ declare namespace avSession { * The session does not exist * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ERR_CODE_SESSION_NOT_EXIST = 6600102, @@ -8437,8 +8400,8 @@ declare namespace avSession { * The session controller does not exist. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ERR_CODE_CONTROLLER_NOT_EXIST = 6600103, @@ -8451,8 +8414,8 @@ declare namespace avSession { * The remote session connection failed. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ERR_CODE_REMOTE_CONNECTION_ERR = 6600104, @@ -8465,8 +8428,8 @@ declare namespace avSession { * Invalid session command. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ERR_CODE_COMMAND_INVALID = 6600105, @@ -8479,8 +8442,8 @@ declare namespace avSession { * The session is not activated. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ERR_CODE_SESSION_INACTIVE = 6600106, @@ -8493,8 +8456,8 @@ declare namespace avSession { * Too many commands or events. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ERR_CODE_MESSAGE_OVERLOAD = 6600107, @@ -8507,8 +8470,8 @@ declare namespace avSession { * Device connecting failed. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ERR_CODE_DEVICE_CONNECTION_FAILED = 6600108, @@ -8521,8 +8484,8 @@ declare namespace avSession { * The remote connection is not established. * @syscap SystemCapability.Multimedia.AVSession.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ERR_CODE_REMOTE_CONNECTION_NOT_EXIST = 6600109, @@ -8530,8 +8493,8 @@ declare namespace avSession { * The error code for cast control is unspecified. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_UNSPECIFIED = 6611000, @@ -8539,8 +8502,8 @@ declare namespace avSession { * An unspecified error occurs in the remote player. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_REMOTE_ERROR = 6611001, @@ -8548,8 +8511,8 @@ declare namespace avSession { * The playback position falls behind the live window. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_BEHIND_LIVE_WINDOW = 6611002, @@ -8557,8 +8520,8 @@ declare namespace avSession { * The process of cast control times out. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_TIMEOUT = 6611003, @@ -8566,8 +8529,8 @@ declare namespace avSession { * The runtime check failed. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_RUNTIME_CHECK_FAILED = 6611004, @@ -8575,8 +8538,8 @@ declare namespace avSession { * Cross-device data transmission is locked. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_PLAYER_NOT_WORKING = 6611100, @@ -8584,8 +8547,8 @@ declare namespace avSession { * The specified seek mode is not supported. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_SEEK_MODE_UNSUPPORTED = 6611101, @@ -8593,8 +8556,8 @@ declare namespace avSession { * The position to seek to is out of the range of the media asset or the specified seek mode is not supported. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_ILLEGAL_SEEK_TARGET = 6611102, @@ -8602,8 +8565,8 @@ declare namespace avSession { * The specified playback mode is not supported. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_PLAY_MODE_UNSUPPORTED = 6611103, @@ -8611,8 +8574,8 @@ declare namespace avSession { * The specified playback speed is not supported. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_PLAY_SPEED_UNSUPPORTED = 6611104, @@ -8620,8 +8583,8 @@ declare namespace avSession { * The action failed because either the media source device or the media sink device has been revoked. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DEVICE_MISSING = 6611105, @@ -8629,8 +8592,8 @@ declare namespace avSession { * The parameter is invalid, for example, the url is illegal to play. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_INVALID_PARAM = 6611106, @@ -8638,8 +8601,8 @@ declare namespace avSession { * Allocation of memory failed. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_NO_MEMORY = 6611107, @@ -8647,8 +8610,8 @@ declare namespace avSession { * Operation is not allowed. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_OPERATION_NOT_ALLOWED = 6611108, @@ -8656,8 +8619,8 @@ declare namespace avSession { * An unspecified input/output error occurs. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_UNSPECIFIED = 6612000, @@ -8665,8 +8628,8 @@ declare namespace avSession { * Network connection failure. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_NETWORK_CONNECTION_FAILED = 6612001, @@ -8674,8 +8637,8 @@ declare namespace avSession { * Network timeout. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_NETWORK_CONNECTION_TIMEOUT = 6612002, @@ -8683,8 +8646,8 @@ declare namespace avSession { * Invalid "Content-Type" HTTP header. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_INVALID_HTTP_CONTENT_TYPE = 6612003, @@ -8692,8 +8655,8 @@ declare namespace avSession { * The HTTP server returns an unexpected HTTP response status code. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_BAD_HTTP_STATUS = 6612004, @@ -8701,8 +8664,8 @@ declare namespace avSession { * The file does not exist. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_FILE_NOT_FOUND = 6612005, @@ -8710,8 +8673,8 @@ declare namespace avSession { * No permission is granted to perform the IO operation. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_NO_PERMISSION = 6612006, @@ -8719,8 +8682,8 @@ declare namespace avSession { * Access to cleartext HTTP traffic is not allowed by the app's network security configuration. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_CLEARTEXT_NOT_PERMITTED = 6612007, @@ -8728,8 +8691,8 @@ declare namespace avSession { * Reading data out of the data bound. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_READ_POSITION_OUT_OF_RANGE = 6612008, @@ -8737,8 +8700,8 @@ declare namespace avSession { * The media does not contain any contents that can be played. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_NO_CONTENTS = 6612100, @@ -8746,8 +8709,8 @@ declare namespace avSession { * The media cannot be read, for example, because of dust or scratches. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_READ_ERROR = 6612101, @@ -8755,8 +8718,8 @@ declare namespace avSession { * This resource is already in use. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_CONTENT_BUSY = 6612102, @@ -8764,8 +8727,8 @@ declare namespace avSession { * The content using the validity interval has expired. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_CONTENT_EXPIRED = 6612103, @@ -8773,8 +8736,8 @@ declare namespace avSession { * Using the requested content to play is not allowed. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_USE_FORBIDDEN = 6612104, @@ -8782,8 +8745,8 @@ declare namespace avSession { * The use of the allowed content cannot be verified. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_NOT_VERIFIED = 6612105, @@ -8791,8 +8754,8 @@ declare namespace avSession { * The number of times this content has been used as requested has reached the maximum allowed number of uses. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_EXHAUSTED_ALLOWED_USES = 6612106, @@ -8800,8 +8763,8 @@ declare namespace avSession { * An error occurs when sending packet from source device to sink device. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_IO_NETWORK_PACKET_SENDING_FAILED = 6612107, @@ -8809,8 +8772,8 @@ declare namespace avSession { * Unspecified error related to content parsing. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_PARSING_UNSPECIFIED = 6613000, @@ -8818,8 +8781,8 @@ declare namespace avSession { * Parsing error associated with media container format bit streams. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_PARSING_CONTAINER_MALFORMED = 6613001, @@ -8827,8 +8790,8 @@ declare namespace avSession { * Parsing error associated with the media manifest. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_PARSING_MANIFEST_MALFORMED = 6613002, @@ -8837,8 +8800,8 @@ declare namespace avSession { * or an unsupported media container feature. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_PARSING_CONTAINER_UNSUPPORTED = 6613003, @@ -8846,8 +8809,8 @@ declare namespace avSession { * Unsupported feature in the media manifest. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_PARSING_MANIFEST_UNSUPPORTED = 6613004, @@ -8855,8 +8818,8 @@ declare namespace avSession { * Unspecified decoding error. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DECODING_UNSPECIFIED = 6614000, @@ -8864,8 +8827,8 @@ declare namespace avSession { * Decoder initialization failed. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DECODING_INIT_FAILED = 6614001, @@ -8873,8 +8836,8 @@ declare namespace avSession { * Decoder query failed. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DECODING_QUERY_FAILED = 6614002, @@ -8882,8 +8845,8 @@ declare namespace avSession { * Decoding the media samples failed. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DECODING_FAILED = 6614003, @@ -8891,8 +8854,8 @@ declare namespace avSession { * The format of the content to decode exceeds the capabilities of the device. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DECODING_FORMAT_EXCEEDS_CAPABILITIES = 6614004, @@ -8900,8 +8863,8 @@ declare namespace avSession { * The format of the content to decode is not supported. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DECODING_FORMAT_UNSUPPORTED = 6614005, @@ -8909,8 +8872,8 @@ declare namespace avSession { * Unspecified errors related to the audio renderer. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_AUDIO_RENDERER_UNSPECIFIED = 6615000, @@ -8918,8 +8881,8 @@ declare namespace avSession { * Initializing the audio renderer failed. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_AUDIO_RENDERER_INIT_FAILED = 6615001, @@ -8927,8 +8890,8 @@ declare namespace avSession { * The audio renderer fails to write data. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_AUDIO_RENDERER_WRITE_FAILED = 6615002, @@ -8936,8 +8899,8 @@ declare namespace avSession { * Unspecified error related to DRM. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DRM_UNSPECIFIED = 6616000, @@ -8945,8 +8908,8 @@ declare namespace avSession { * The chosen DRM protection scheme is not supported by the device. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DRM_SCHEME_UNSUPPORTED = 6616001, @@ -8954,8 +8917,8 @@ declare namespace avSession { * Device provisioning failed. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DRM_PROVISIONING_FAILED = 6616002, @@ -8963,8 +8926,8 @@ declare namespace avSession { * The DRM-protected content to play is incompatible. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DRM_CONTENT_ERROR = 6616003, @@ -8972,8 +8935,8 @@ declare namespace avSession { * Failed to obtain a license. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DRM_LICENSE_ACQUISITION_FAILED = 6616004, @@ -8981,8 +8944,8 @@ declare namespace avSession { * The operation is disallowed by the license policy. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DRM_DISALLOWED_OPERATION = 6616005, @@ -8990,8 +8953,8 @@ declare namespace avSession { * An error occurs in the DRM system. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DRM_SYSTEM_ERROR = 6616006, @@ -8999,8 +8962,8 @@ declare namespace avSession { * The device has revoked DRM privileges. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DRM_DEVICE_REVOKED = 6616007, @@ -9008,8 +8971,8 @@ declare namespace avSession { * The DRM license being loaded into the open DRM session has expired. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DRM_LICENSE_EXPIRED = 6616008, @@ -9017,8 +8980,8 @@ declare namespace avSession { * An error occurs when the DRM processes the key response. * @syscap SystemCapability.Multimedia.AVSession.AVCast * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ERR_CODE_CAST_CONTROL_DRM_PROVIDE_KEY_RESPONSE_ERROR = 6616100, } diff --git a/api/@ohos.multimedia.camera.d.ts b/api/@ohos.multimedia.camera.d.ts index 79e4f95f6b..32a2d4b1df 100644 --- a/api/@ohos.multimedia.camera.d.ts +++ b/api/@ohos.multimedia.camera.d.ts @@ -33,8 +33,8 @@ import photoAccessHelper from './@ohos.file.photoAccessHelper'; * @namespace camera * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace camera { /** @@ -56,8 +56,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function getCameraManager(context: Context): CameraManager; @@ -74,8 +74,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum CameraStatus { /** @@ -89,8 +89,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_STATUS_APPEAR = 0, @@ -105,8 +105,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_STATUS_DISAPPEAR = 1, @@ -121,8 +121,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_STATUS_AVAILABLE = 2, @@ -137,8 +137,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_STATUS_UNAVAILABLE = 3 } @@ -156,8 +156,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum FoldStatus { /** @@ -171,8 +171,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ NON_FOLDABLE = 0, @@ -187,8 +187,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ EXPANDED = 1, @@ -203,8 +203,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ FOLDED = 2 } @@ -222,8 +222,8 @@ declare namespace camera { * @typedef Profile * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface Profile { /** @@ -241,8 +241,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly format: CameraFormat; @@ -261,8 +261,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly size: Size; } @@ -280,8 +280,8 @@ declare namespace camera { * @typedef FrameRateRange * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface FrameRateRange { /** @@ -299,8 +299,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly min: int; @@ -319,8 +319,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly max: int; } @@ -340,8 +340,8 @@ declare namespace camera { * @typedef VideoProfile * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface VideoProfile extends Profile { /** @@ -359,8 +359,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly frameRateRange: FrameRateRange; } @@ -378,8 +378,8 @@ declare namespace camera { * @typedef CameraOutputCapability * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface CameraOutputCapability { /** @@ -397,8 +397,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly previewProfiles: Array; @@ -417,8 +417,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly photoProfiles: Array; @@ -437,8 +437,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly videoProfiles: Array; @@ -449,8 +449,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly depthProfiles: Array; @@ -469,8 +469,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly supportedMetadataObjectTypes: Array; } @@ -488,8 +488,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum CameraErrorCode { /** @@ -503,8 +503,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ INVALID_ARGUMENT = 7400101, @@ -519,8 +519,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ OPERATION_NOT_ALLOWED = 7400102, @@ -535,8 +535,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ SESSION_NOT_CONFIG = 7400103, @@ -551,8 +551,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ SESSION_NOT_RUNNING = 7400104, @@ -567,8 +567,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ SESSION_CONFIG_LOCKED = 7400105, @@ -583,8 +583,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ DEVICE_SETTING_LOCKED = 7400106, @@ -599,8 +599,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CONFLICT_CAMERA = 7400107, @@ -615,8 +615,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ DEVICE_DISABLED = 7400108, @@ -631,8 +631,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ DEVICE_PREEMPTED = 7400109, @@ -647,8 +647,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ UNRESOLVED_CONFLICTS_WITH_CURRENT_CONFIGURATIONS = 7400110, @@ -657,8 +657,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ DEVICE_FREQUENTLY_SWITCHED = 7400111, @@ -667,8 +667,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ CAMERA_LENS_RETRACTED = 7400112, @@ -683,8 +683,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ SERVICE_FATAL_ERROR = 7400201 } @@ -695,8 +695,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum RestoreParamType { /** @@ -704,8 +704,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NO_NEED_RESTORE_PARAM = 0, @@ -714,8 +714,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PRESISTENT_DEFAULT_PARAM = 1, @@ -724,8 +724,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ TRANSIENT_ACTIVE_PARAM = 2 } @@ -736,8 +736,8 @@ declare namespace camera { * @typedef SettingParam * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface SettingParam { /** @@ -746,8 +746,8 @@ declare namespace camera { * @type { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ skinSmoothLevel: int; @@ -757,8 +757,8 @@ declare namespace camera { * @type { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ faceSlender: int; @@ -768,8 +768,8 @@ declare namespace camera { * @type { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ skinTone: int; } @@ -780,8 +780,8 @@ declare namespace camera { * @typedef PrelaunchConfig * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface PrelaunchConfig { /** @@ -790,8 +790,8 @@ declare namespace camera { * @type { CameraDevice } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ cameraDevice: CameraDevice; @@ -801,8 +801,8 @@ declare namespace camera { * @type { ?RestoreParamType } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ restoreParamType?: RestoreParamType; @@ -812,8 +812,8 @@ declare namespace camera { * @type { ?int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ activeTime?: int; @@ -823,8 +823,8 @@ declare namespace camera { * @type { ?SettingParam } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ settingParam?: SettingParam; } @@ -842,8 +842,8 @@ declare namespace camera { * @interface CameraManager * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface CameraManager { /** @@ -859,8 +859,8 @@ declare namespace camera { * @returns { Array } An array of supported cameras. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getSupportedCameras(): Array; @@ -870,7 +870,7 @@ declare namespace camera { * @param { CameraDevice } camera - Camera device. * @returns { CameraOutputCapability } The camera output capability. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.CameraManager#getSupportedOutputCapability */ @@ -892,8 +892,8 @@ declare namespace camera { * @returns { Array } An array of supported scene mode of camera. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getSupportedSceneModes(camera: CameraDevice): Array; @@ -914,8 +914,8 @@ declare namespace camera { * @returns { CameraOutputCapability } The camera output capability. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getSupportedOutputCapability(camera: CameraDevice, mode: SceneMode): CameraOutputCapability; @@ -932,8 +932,8 @@ declare namespace camera { * @returns { boolean } Is camera muted. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ isCameraMuted(): boolean; @@ -952,8 +952,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ isCameraMuteSupported(): boolean; @@ -963,7 +963,7 @@ declare namespace camera { * @param { boolean } mute - Mute camera if TRUE, otherwise unmute camera. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 12 * @useinstead ohos.multimedia.camera.CameraManager#muteCameraPersistent */ @@ -980,8 +980,8 @@ declare namespace camera { * @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ muteCameraPersistent(mute: boolean, type: PolicyType): void; @@ -1023,8 +1023,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ createCameraInput(camera: CameraDevice): CameraInput; @@ -1069,8 +1069,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ createCameraInput(position: CameraPosition, type: CameraType): CameraInput; @@ -1106,8 +1106,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ createPreviewOutput(profile: Profile, surfaceId: string): PreviewOutput; @@ -1134,8 +1134,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ createPreviewOutput(surfaceId: string): PreviewOutput; @@ -1147,7 +1147,7 @@ declare namespace camera { * @returns { PhotoOutput } The PhotoOutput instance. * @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.CameraManager#createPhotoOutput */ @@ -1194,8 +1194,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ createPhotoOutput(profile?: Profile): PhotoOutput; @@ -1231,8 +1231,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ createVideoOutput(profile: VideoProfile, surfaceId: string): VideoOutput; @@ -1259,8 +1259,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ createVideoOutput(surfaceId: string): VideoOutput; @@ -1293,8 +1293,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ createMetadataOutput(metadataObjectTypes: Array): MetadataOutput; @@ -1307,8 +1307,8 @@ declare namespace camera { * @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ createDepthDataOutput(profile: DepthProfile): DepthDataOutput; @@ -1318,7 +1318,7 @@ declare namespace camera { * @returns { CaptureSession } The CaptureSession instance. * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.CameraManager#createSession */ @@ -1349,8 +1349,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ createSession(mode: SceneMode): T; @@ -1373,8 +1373,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getCameraDevice(position: CameraPosition, type: CameraType): CameraDevice; @@ -1397,8 +1397,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getCameraConcurrentInfos(cameras: Array): Array; @@ -1421,8 +1421,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the camera status change. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'cameraStatus', callback: AsyncCallback): void; @@ -1441,8 +1441,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the camera status change. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'cameraStatus', callback?: AsyncCallback): void; @@ -1464,8 +1464,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the fold status change. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'foldStatusChange', callback: AsyncCallback): void; @@ -1484,8 +1484,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the fold status change. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'foldStatusChange', callback?: AsyncCallback): void; @@ -1506,8 +1506,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'cameraMute', callback: AsyncCallback): void; @@ -1528,8 +1528,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'cameraMute', callback?: AsyncCallback): void; @@ -1554,8 +1554,8 @@ declare namespace camera { * @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isPrelaunchSupported(camera: CameraDevice): boolean; @@ -1583,8 +1583,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setPrelaunchConfig(prelaunchConfig: PrelaunchConfig): void; @@ -1603,8 +1603,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ prelaunch(): void; @@ -1629,8 +1629,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ preSwitchCamera(cameraId: string): void; @@ -1655,8 +1655,8 @@ declare namespace camera { * @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ createDeferredPreviewOutput(profile?: Profile): PreviewOutput; @@ -1673,8 +1673,8 @@ declare namespace camera { * @returns { boolean } this value that specifies whether the device has a torch. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ isTorchSupported(): boolean; @@ -1691,8 +1691,8 @@ declare namespace camera { * @returns { boolean } is torch mode supported. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ isTorchModeSupported(mode: TorchMode): boolean; @@ -1709,8 +1709,8 @@ declare namespace camera { * @returns { TorchMode } torch mode. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getTorchMode(): TorchMode; @@ -1749,8 +1749,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setTorchMode(mode: TorchMode): void; @@ -1773,8 +1773,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the torch status change * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'torchStatusChange', callback: AsyncCallback): void; @@ -1793,8 +1793,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the torch status change * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'torchStatusChange', callback?: AsyncCallback): void; } @@ -1812,8 +1812,8 @@ declare namespace camera { * @typedef TorchStatusInfo * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface TorchStatusInfo { /** @@ -1831,8 +1831,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly isTorchAvailable: boolean; @@ -1852,8 +1852,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly isTorchActive: boolean; @@ -1872,8 +1872,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly torchLevel: double; } @@ -1891,8 +1891,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum TorchMode { /** @@ -1906,8 +1906,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ OFF = 0, @@ -1922,8 +1922,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ ON = 1, @@ -1938,8 +1938,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ AUTO = 2 } @@ -1957,8 +1957,8 @@ declare namespace camera { * @typedef CameraStatusInfo * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface CameraStatusInfo { /** @@ -1974,8 +1974,8 @@ declare namespace camera { * @type { CameraDevice } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ camera: CameraDevice; @@ -1992,8 +1992,8 @@ declare namespace camera { * @type { CameraStatus } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ status: CameraStatus; } @@ -2011,8 +2011,8 @@ declare namespace camera { * @typedef FoldStatusInfo * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface FoldStatusInfo { /** @@ -2030,8 +2030,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly supportedCameras: Array; @@ -2050,8 +2050,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly foldStatus: FoldStatus; } @@ -2069,8 +2069,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum CameraPosition { /** @@ -2084,8 +2084,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CAMERA_POSITION_UNSPECIFIED = 0, @@ -2100,8 +2100,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CAMERA_POSITION_BACK = 1, @@ -2116,8 +2116,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CAMERA_POSITION_FRONT = 2, @@ -2132,7 +2132,7 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since 12 + * @since 12 dynamic * @deprecated since 12 */ CAMERA_POSITION_FOLD_INNER = 3 @@ -2151,8 +2151,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum CameraType { /** @@ -2166,8 +2166,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_TYPE_DEFAULT = 0, @@ -2182,8 +2182,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_TYPE_WIDE_ANGLE = 1, @@ -2198,8 +2198,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_TYPE_ULTRA_WIDE = 2, @@ -2214,8 +2214,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_TYPE_TELEPHOTO = 3, @@ -2230,8 +2230,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_TYPE_TRUE_DEPTH = 4 } @@ -2249,8 +2249,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum ConnectionType { /** @@ -2264,8 +2264,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_CONNECTION_BUILT_IN = 0, @@ -2280,8 +2280,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_CONNECTION_USB_PLUGIN = 1, @@ -2296,8 +2296,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_CONNECTION_REMOTE = 2 } @@ -2323,8 +2323,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum HostDeviceType { /** @@ -2345,8 +2345,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ UNKNOWN_TYPE = 0, @@ -2368,8 +2368,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ PHONE = 0x0E, @@ -2391,8 +2391,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ TABLET = 0x11 } @@ -2410,8 +2410,8 @@ declare namespace camera { * @typedef CameraDevice * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface CameraDevice { /** @@ -2429,8 +2429,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly cameraId: string; @@ -2449,8 +2449,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly cameraPosition: CameraPosition; @@ -2469,8 +2469,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly cameraType: CameraType; @@ -2489,8 +2489,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly connectionType: ConnectionType; @@ -2518,8 +2518,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly hostDeviceName: string; @@ -2547,8 +2547,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly hostDeviceType: HostDeviceType; @@ -2567,8 +2567,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly cameraOrientation: int; @@ -2579,8 +2579,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ readonly isRetractable?: boolean; } @@ -2598,8 +2598,8 @@ declare namespace camera { * @typedef Size * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface Size { /** @@ -2615,8 +2615,8 @@ declare namespace camera { * @type { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ height: int; @@ -2633,8 +2633,8 @@ declare namespace camera { * @type { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ width: int; } @@ -2652,8 +2652,8 @@ declare namespace camera { * @typedef Point * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface Point { /** @@ -2669,8 +2669,8 @@ declare namespace camera { * @type { double } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ x: double; @@ -2687,8 +2687,8 @@ declare namespace camera { * @type { double } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ y: double; } @@ -2706,8 +2706,8 @@ declare namespace camera { * @interface CameraInput * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface CameraInput { /** @@ -2729,8 +2729,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ open(callback: AsyncCallback): void; @@ -2755,8 +2755,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ open(): Promise; @@ -2782,8 +2782,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ open(isSecureEnabled: boolean): Promise; @@ -2810,8 +2810,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ open(type: CameraConcurrentType): Promise; @@ -2830,8 +2830,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ close(callback: AsyncCallback): void; @@ -2850,8 +2850,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ close(): Promise; @@ -2865,8 +2865,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ closeDelayed(time: int): Promise; @@ -2891,8 +2891,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the camera input errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void; @@ -2913,8 +2913,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the camera input errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'error', camera: CameraDevice, callback?: ErrorCallback): void; @@ -2926,8 +2926,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'cameraOcclusionDetection', callback: AsyncCallback): void; @@ -2939,8 +2939,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'cameraOcclusionDetection', callback?: AsyncCallback): void; @@ -2953,8 +2953,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ usedAsPosition(position: CameraPosition): void; @@ -2969,8 +2969,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ controlAuxiliary(auxiliaryType: AuxiliaryType, auxiliaryStatus: AuxiliaryStatus): Promise; } @@ -2988,8 +2988,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum SceneMode { /** @@ -3003,8 +3003,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ NORMAL_PHOTO = 1, @@ -3019,8 +3019,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ NORMAL_VIDEO = 2, @@ -3029,8 +3029,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PORTRAIT_PHOTO = 3, @@ -3039,8 +3039,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NIGHT_PHOTO = 4, @@ -3049,8 +3049,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PROFESSIONAL_PHOTO = 5, @@ -3059,8 +3059,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PROFESSIONAL_VIDEO = 6, @@ -3069,8 +3069,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SLOW_MOTION_VIDEO = 7, @@ -3079,8 +3079,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MACRO_PHOTO = 8, @@ -3089,8 +3089,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MACRO_VIDEO = 9, @@ -3099,8 +3099,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LIGHT_PAINTING_PHOTO = 10, @@ -3109,8 +3109,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HIGH_RESOLUTION_PHOTO = 11, @@ -3125,8 +3125,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ SECURE_PHOTO = 12, @@ -3135,8 +3135,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ QUICK_SHOT_PHOTO = 13, @@ -3145,8 +3145,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ APERTURE_VIDEO = 14, @@ -3155,8 +3155,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PANORAMA_PHOTO = 15, @@ -3165,8 +3165,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TIME_LAPSE_PHOTO = 16, @@ -3175,8 +3175,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ FLUORESCENCE_PHOTO = 17 } @@ -3194,8 +3194,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum CameraFormat { /** @@ -3209,8 +3209,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_FORMAT_RGBA_8888 = 3, @@ -3219,8 +3219,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CAMERA_FORMAT_DNG = 4, @@ -3229,8 +3229,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ CAMERA_FORMAT_DNG_XDRAW = 5, @@ -3245,8 +3245,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_FORMAT_YUV_420_SP = 1003, @@ -3261,8 +3261,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_FORMAT_JPEG = 2000, @@ -3277,8 +3277,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_FORMAT_YCBCR_P010, @@ -3293,8 +3293,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_FORMAT_YCRCB_P010, @@ -3309,8 +3309,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_FORMAT_HEIC = 2003, @@ -3319,8 +3319,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ CAMERA_FORMAT_DEPTH_16 = 3000, @@ -3329,8 +3329,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ CAMERA_FORMAT_DEPTH_32 = 3001 } @@ -3348,8 +3348,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum FlashMode { /** @@ -3363,8 +3363,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ FLASH_MODE_CLOSE = 0, @@ -3379,8 +3379,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ FLASH_MODE_OPEN = 1, @@ -3395,8 +3395,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ FLASH_MODE_AUTO = 2, @@ -3411,8 +3411,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ FLASH_MODE_ALWAYS_OPEN = 3 } @@ -3423,8 +3423,8 @@ declare namespace camera { * @typedef LcdFlashStatus * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface LcdFlashStatus { /** @@ -3434,8 +3434,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly isLcdFlashNeeded: boolean; @@ -3446,8 +3446,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly lcdCompensation: int; } @@ -3465,8 +3465,8 @@ declare namespace camera { * @interface FlashQuery * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface FlashQuery { /** @@ -3494,8 +3494,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ hasFlash(): boolean; @@ -3527,8 +3527,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ isFlashModeSupported(flashMode: FlashMode): boolean; @@ -3540,8 +3540,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isLcdFlashSupported(): boolean; } @@ -3561,8 +3561,8 @@ declare namespace camera { * @interface Flash * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface Flash extends FlashQuery { /** @@ -3580,8 +3580,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getFlashMode(): FlashMode; @@ -3600,8 +3600,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setFlashMode(flashMode: FlashMode): void; @@ -3613,8 +3613,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enableLcdFlash(enabled: boolean): void; } @@ -3632,8 +3632,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum ExposureMode { /** @@ -3647,8 +3647,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ EXPOSURE_MODE_LOCKED = 0, @@ -3663,8 +3663,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ EXPOSURE_MODE_AUTO = 1, @@ -3679,8 +3679,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ EXPOSURE_MODE_CONTINUOUS_AUTO = 2, @@ -3689,8 +3689,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EXPOSURE_MODE_MANUAL = 3 } @@ -3701,8 +3701,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum ExposureMeteringMode { /** @@ -3710,8 +3710,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MATRIX = 0, @@ -3720,8 +3720,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CENTER = 1, @@ -3730,8 +3730,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPOT = 2 } @@ -3749,8 +3749,8 @@ declare namespace camera { * @interface AutoExposureQuery * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface AutoExposureQuery { /** @@ -3781,8 +3781,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ isExposureModeSupported(aeMode: ExposureMode): boolean; @@ -3811,8 +3811,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getExposureBiasRange(): Array; @@ -3826,8 +3826,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isExposureMeteringModeSupported(aeMeteringMode: ExposureMeteringMode): boolean; } @@ -3847,8 +3847,8 @@ declare namespace camera { * @interface AutoExposure * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface AutoExposure extends AutoExposureQuery { /** @@ -3866,8 +3866,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getExposureMode(): ExposureMode; @@ -3887,8 +3887,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setExposureMode(aeMode: ExposureMode): void; @@ -3907,8 +3907,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getMeteringPoint(): Point; @@ -3927,8 +3927,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setMeteringPoint(point: Point): void; @@ -3957,8 +3957,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setExposureBias(exposureBias: double): void; @@ -3977,8 +3977,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getExposureValue(): double; @@ -3990,8 +3990,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getExposureMeteringMode(): ExposureMeteringMode; @@ -4004,8 +4004,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setExposureMeteringMode(aeMeteringMode: ExposureMeteringMode): void; } @@ -4023,8 +4023,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum FocusMode { /** @@ -4038,8 +4038,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ FOCUS_MODE_MANUAL = 0, @@ -4054,8 +4054,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ FOCUS_MODE_CONTINUOUS_AUTO = 1, @@ -4070,8 +4070,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ FOCUS_MODE_AUTO = 2, @@ -4086,8 +4086,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ FOCUS_MODE_LOCKED = 3 } @@ -4105,8 +4105,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum FocusState { /** @@ -4120,8 +4120,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ FOCUS_STATE_SCAN = 0, @@ -4136,8 +4136,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ FOCUS_STATE_FOCUSED = 1, @@ -4152,8 +4152,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ FOCUS_STATE_UNFOCUSED = 2 } @@ -4164,8 +4164,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum FocusRangeType { /** @@ -4173,8 +4173,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ AUTO = 0, @@ -4183,8 +4183,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ NEAR = 1 } @@ -4195,8 +4195,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum FocusDrivenType { /** @@ -4204,8 +4204,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ AUTO = 0, @@ -4214,8 +4214,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ FACE = 1 } @@ -4226,8 +4226,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum FocusTrackingMode { /** @@ -4235,8 +4235,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ AUTO = 0 } @@ -4247,8 +4247,8 @@ declare namespace camera { * @typedef FocusTrackingInfo * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ interface FocusTrackingInfo { /** @@ -4257,8 +4257,8 @@ declare namespace camera { * @type { FocusTrackingMode } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ trackingMode: FocusTrackingMode; @@ -4268,8 +4268,8 @@ declare namespace camera { * @type { Rect } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ trackingRegion: Rect; } @@ -4287,8 +4287,8 @@ declare namespace camera { * @interface FocusQuery * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface FocusQuery { /** @@ -4319,8 +4319,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ isFocusModeSupported(afMode: FocusMode): boolean; @@ -4332,7 +4332,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since 12 + * @since 12 dynamic */ isFocusAssistSupported(): boolean; @@ -4348,8 +4348,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ isFocusRangeTypeSupported(type: FocusRangeType): boolean; @@ -4365,8 +4365,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ isFocusDrivenTypeSupported(type: FocusDrivenType): boolean; } @@ -4386,8 +4386,8 @@ declare namespace camera { * @interface Focus * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface Focus extends FocusQuery { /** @@ -4405,8 +4405,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getFocusMode(): FocusMode; @@ -4425,8 +4425,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setFocusMode(afMode: FocusMode): void; @@ -4445,8 +4445,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setFocusPoint(point: Point): void; @@ -4466,8 +4466,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getFocusPoint(): Point; @@ -4486,8 +4486,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getFocalLength(): double; @@ -4499,7 +4499,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since 12 + * @since 12 dynamic */ getFocusAssist(): boolean; @@ -4512,8 +4512,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setFocusAssist(enabled: boolean): void; @@ -4525,8 +4525,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ getFocusRange(): FocusRangeType; @@ -4543,8 +4543,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ setFocusRange(type: FocusRangeType): void; @@ -4556,8 +4556,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ getFocusDriven(): FocusDrivenType; @@ -4574,8 +4574,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ setFocusDriven(type: FocusDrivenType): void; } @@ -4586,8 +4586,8 @@ declare namespace camera { * @interface ManualFocus * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ManualFocus { /** @@ -4598,8 +4598,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getFocusDistance(): double; @@ -4612,8 +4612,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setFocusDistance(distance: double): void; } @@ -4632,8 +4632,7 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ enum WhiteBalanceMode { /** @@ -4646,8 +4645,7 @@ declare namespace camera { * Automatic white balance mode. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ AUTO = 0, @@ -4663,8 +4661,7 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ CLOUDY = 1, @@ -4680,8 +4677,7 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ INCANDESCENT = 2, @@ -4697,8 +4693,7 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ FLUORESCENT = 3, @@ -4714,8 +4709,7 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ DAYLIGHT = 4, @@ -4731,8 +4725,7 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ MANUAL = 5, @@ -4748,8 +4741,7 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ LOCKED = 6 } @@ -4768,8 +4760,7 @@ declare namespace camera { * @interface WhiteBalanceQuery * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface WhiteBalanceQuery { /** @@ -4792,8 +4783,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ isWhiteBalanceModeSupported(mode: WhiteBalanceMode): boolean; @@ -4814,8 +4804,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getWhiteBalanceRange(): Array; } @@ -4836,8 +4825,7 @@ declare namespace camera { * @interface WhiteBalance * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface WhiteBalance extends WhiteBalanceQuery { /** @@ -4856,8 +4844,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getWhiteBalanceMode(): WhiteBalanceMode; @@ -4880,8 +4867,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ setWhiteBalanceMode(mode: WhiteBalanceMode): void; @@ -4902,8 +4888,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ getWhiteBalance(): int; @@ -4926,8 +4911,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ setWhiteBalance(whiteBalance: int): void; } @@ -4938,8 +4922,8 @@ declare namespace camera { * @interface ManualIsoQuery * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ManualIsoQuery { /** @@ -4950,8 +4934,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isManualIsoSupported(): boolean; @@ -4963,8 +4947,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getIsoRange(): Array; } @@ -4976,8 +4960,8 @@ declare namespace camera { * @interface ManualIso * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ManualIso extends ManualIsoQuery { /** @@ -4988,8 +4972,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getIso(): int; @@ -5002,8 +4986,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setIso(iso: int): void; } @@ -5021,8 +5005,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum SmoothZoomMode { /** @@ -5036,8 +5020,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ NORMAL = 0 } @@ -5055,8 +5039,8 @@ declare namespace camera { * @typedef SmoothZoomInfo * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface SmoothZoomInfo { /** @@ -5072,8 +5056,8 @@ declare namespace camera { * @type { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ duration: int; } @@ -5084,8 +5068,8 @@ declare namespace camera { * @typedef ZoomPointInfo * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ZoomPointInfo { /** @@ -5095,8 +5079,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly zoomRatio: double; @@ -5107,8 +5091,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly equivalentFocalLength: int; } @@ -5126,8 +5110,8 @@ declare namespace camera { * @interface ZoomQuery * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface ZoomQuery { /** @@ -5155,8 +5139,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getZoomRatioRange(): Array; @@ -5168,8 +5152,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getZoomPointInfos(): Array; } @@ -5189,8 +5173,8 @@ declare namespace camera { * @interface Zoom * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface Zoom extends ZoomQuery { /** @@ -5218,8 +5202,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getZoomRatio(): double; @@ -5238,8 +5222,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setZoomRatio(zoomRatio: double): void; @@ -5267,8 +5251,8 @@ declare namespace camera { * @param { SmoothZoomMode } mode - Smooth zoom mode. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setSmoothZoom(targetRatio: double, mode?: SmoothZoomMode): void; @@ -5279,8 +5263,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ prepareZoom(): void; @@ -5291,8 +5275,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ unprepareZoom(): void; } @@ -5310,8 +5294,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum VideoStabilizationMode { /** @@ -5325,8 +5309,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ OFF = 0, @@ -5341,8 +5325,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ LOW = 1, @@ -5357,8 +5341,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ MIDDLE = 2, @@ -5373,8 +5357,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ HIGH = 3, @@ -5389,8 +5373,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ AUTO = 4 } @@ -5408,8 +5392,8 @@ declare namespace camera { * @interface StabilizationQuery * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface StabilizationQuery { /** @@ -5440,8 +5424,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): boolean; } @@ -5461,8 +5445,8 @@ declare namespace camera { * @interface Stabilization * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface Stabilization extends StabilizationQuery { /** @@ -5480,8 +5464,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getActiveVideoStabilizationMode(): VideoStabilizationMode; @@ -5500,8 +5484,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setVideoStabilizationMode(mode: VideoStabilizationMode): void; } @@ -5512,8 +5496,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum PortraitThemeType { /** @@ -5521,8 +5505,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ NATURAL = 0, @@ -5531,8 +5515,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ DELICATE = 1, @@ -5541,8 +5525,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ STYLISH = 2 } @@ -5553,8 +5537,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum BeautyType { /** @@ -5562,8 +5546,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ AUTO = 0, @@ -5572,8 +5556,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SKIN_SMOOTH = 1, @@ -5582,8 +5566,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ FACE_SLENDER = 2, @@ -5592,8 +5576,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SKIN_TONE = 3 } @@ -5604,8 +5588,8 @@ declare namespace camera { * @interface BeautyQuery * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface BeautyQuery { /** @@ -5627,8 +5611,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSupportedBeautyTypes(): Array; @@ -5653,8 +5637,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSupportedBeautyRange(type: BeautyType): Array; @@ -5666,8 +5650,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getSupportedPortraitThemeTypes(): Array; @@ -5679,8 +5663,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ isPortraitThemeSupported(): boolean; } @@ -5692,8 +5676,8 @@ declare namespace camera { * @interface Beauty * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface Beauty extends BeautyQuery { /** @@ -5705,8 +5689,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getBeauty(type: BeautyType): int; @@ -5719,8 +5703,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setBeauty(type: BeautyType, value: int): void; @@ -5733,8 +5717,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ setPortraitThemeType(type: PortraitThemeType): void; } @@ -5745,8 +5729,8 @@ declare namespace camera { * @typedef EffectSuggestion * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface EffectSuggestion { @@ -5758,8 +5742,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isEffectSuggestionSupported(): boolean; @@ -5772,8 +5756,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enableEffectSuggestion(enabled: boolean): void; @@ -5785,8 +5769,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSupportedEffectSuggestionTypes(): Array; @@ -5800,8 +5784,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setEffectSuggestionStatus(status: Array): void; @@ -5815,8 +5799,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ updateEffectSuggestion(type: EffectSuggestionType, enabled: boolean): void; } @@ -5827,8 +5811,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum ColorEffectType { /** @@ -5836,8 +5820,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NORMAL = 0, @@ -5846,8 +5830,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BRIGHT = 1, @@ -5856,8 +5840,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SOFT = 2, @@ -5866,8 +5850,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BLACK_WHITE = 3 } @@ -5878,8 +5862,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum PolicyType { /** @@ -5887,8 +5871,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PRIVACY = 1 } @@ -5899,8 +5883,8 @@ declare namespace camera { * @interface ColorEffectQuery * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ColorEffectQuery { /** @@ -5922,8 +5906,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSupportedColorEffects(): Array; } @@ -5935,8 +5919,8 @@ declare namespace camera { * @interface ColorEffect * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface ColorEffect extends ColorEffectQuery { /** @@ -5947,8 +5931,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getColorEffect(): ColorEffectType; @@ -5960,8 +5944,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setColorEffect(type: ColorEffectType): void; } @@ -5979,8 +5963,8 @@ declare namespace camera { * @interface ColorManagementQuery * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface ColorManagementQuery { /** @@ -6004,8 +5988,8 @@ declare namespace camera { * @returns { Array } The array of the supported color space for the session. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getSupportedColorSpaces(): Array; } @@ -6025,8 +6009,8 @@ declare namespace camera { * @interface ColorManagement * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface ColorManagement extends ColorManagementQuery { /** @@ -6044,8 +6028,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getActiveColorSpace(): colorSpaceManager.ColorSpace; @@ -6070,8 +6054,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setColorSpace(colorSpace: colorSpaceManager.ColorSpace): void; } @@ -6089,8 +6073,8 @@ declare namespace camera { * @interface AutoDeviceSwitchQuery * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface AutoDeviceSwitchQuery { /** @@ -6114,8 +6098,8 @@ declare namespace camera { * @returns { boolean } Is auto device switch supported. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ isAutoDeviceSwitchSupported(): boolean; } @@ -6135,8 +6119,8 @@ declare namespace camera { * @interface AutoDeviceSwitch * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface AutoDeviceSwitch extends AutoDeviceSwitchQuery { /** @@ -6164,8 +6148,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enableAutoDeviceSwitch(enabled: boolean): void; } @@ -6183,8 +6167,8 @@ declare namespace camera { * @typedef AutoDeviceSwitchStatus * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface AutoDeviceSwitchStatus { /** @@ -6202,8 +6186,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly isDeviceSwitched: boolean; @@ -6222,8 +6206,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly isDeviceCapabilityChanged: boolean; } @@ -6242,8 +6226,8 @@ declare namespace camera { * @interface MacroQuery * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface MacroQuery { /** @@ -6271,8 +6255,8 @@ declare namespace camera { * @returns { boolean } Is camera macro supported. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ isMacroSupported(): boolean; } @@ -6293,8 +6277,8 @@ declare namespace camera { * @interface Macro * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface Macro extends MacroQuery { /** @@ -6326,8 +6310,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enableMacro(enabled: boolean): void; } @@ -6338,8 +6322,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum UsageType { /** @@ -6347,8 +6331,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ BOKEH = 0 } @@ -6366,8 +6350,8 @@ declare namespace camera { * @interface Session * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface Session { /** @@ -6392,8 +6376,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ beginConfig(): void; @@ -6414,8 +6398,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ commitConfig(callback: AsyncCallback): void; @@ -6436,8 +6420,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ commitConfig(): Promise; @@ -6458,8 +6442,8 @@ declare namespace camera { * @returns { boolean } You can add the input into the session. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ canAddInput(cameraInput: CameraInput): boolean; @@ -6507,8 +6491,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ addInput(cameraInput: CameraInput): void; @@ -6556,8 +6540,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ removeInput(cameraInput: CameraInput): void; @@ -6578,8 +6562,8 @@ declare namespace camera { * @returns { boolean } You can add the output into the session. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ canAddOutput(cameraOutput: CameraOutput): boolean; @@ -6627,8 +6611,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ addOutput(cameraOutput: CameraOutput): void; @@ -6676,8 +6660,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ removeOutput(cameraOutput: CameraOutput): void; @@ -6709,8 +6693,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ start(callback: AsyncCallback): void; @@ -6742,8 +6726,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ start(): Promise; @@ -6762,8 +6746,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ stop(callback: AsyncCallback): void; @@ -6782,8 +6766,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ stop(): Promise; @@ -6802,8 +6786,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; @@ -6822,8 +6806,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ release(): Promise; @@ -6839,8 +6823,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ setUsage(usage: UsageType, enabled: boolean): void; @@ -6854,8 +6838,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getCameraOutputCapabilities(camera: CameraDevice): Array; } @@ -6865,7 +6849,7 @@ declare namespace camera { * * @interface CaptureSession * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.VideoSession */ @@ -6875,7 +6859,7 @@ declare namespace camera { * * @throws { BusinessError } 7400105 - Session config locked. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#beginConfig */ @@ -6888,7 +6872,7 @@ declare namespace camera { * @throws { BusinessError } 7400102 - Operation not allowed. * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#commitConfig */ @@ -6901,7 +6885,7 @@ declare namespace camera { * @throws { BusinessError } 7400102 - Operation not allowed. * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#commitConfig */ @@ -6914,7 +6898,7 @@ declare namespace camera { * @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect. * @throws { BusinessError } 7400102 - Operation not allowed. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#addInput */ @@ -6927,7 +6911,7 @@ declare namespace camera { * @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect. * @throws { BusinessError } 7400102 - Operation not allowed. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#removeInput */ @@ -6940,7 +6924,7 @@ declare namespace camera { * @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect. * @throws { BusinessError } 7400102 - Operation not allowed. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#addOutput */ @@ -6953,7 +6937,7 @@ declare namespace camera { * @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect. * @throws { BusinessError } 7400102 - Operation not allowed. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#removeOutput */ @@ -6966,7 +6950,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#start */ @@ -6979,7 +6963,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#start */ @@ -6991,7 +6975,7 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#stop */ @@ -7003,7 +6987,7 @@ declare namespace camera { * @returns { Promise } Promise used to return the result. * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#stop */ @@ -7015,7 +6999,7 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#release */ @@ -7027,7 +7011,7 @@ declare namespace camera { * @returns { Promise } Promise used to return the result. * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#release */ @@ -7039,7 +7023,7 @@ declare namespace camera { * @returns { boolean } The flash light support status. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Flash#hasFlash */ @@ -7052,7 +7036,7 @@ declare namespace camera { * @returns { boolean } Is the flash mode supported. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Flash#isFlashModeSupported */ @@ -7064,7 +7048,7 @@ declare namespace camera { * @returns { FlashMode } The current flash mode. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Flash#getFlashMode */ @@ -7076,7 +7060,7 @@ declare namespace camera { * @param { FlashMode } flashMode - Target flash mode. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Flash#setFlashMode */ @@ -7089,7 +7073,7 @@ declare namespace camera { * @returns { boolean } Is the exposure mode supported. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.AutoExposure#isExposureModeSupported */ @@ -7101,7 +7085,7 @@ declare namespace camera { * @returns { ExposureMode } The current exposure mode. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.AutoExposure#getExposureMode */ @@ -7113,7 +7097,7 @@ declare namespace camera { * @param { ExposureMode } aeMode - Exposure mode * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.AutoExposure#setExposureMode */ @@ -7125,7 +7109,7 @@ declare namespace camera { * @returns { Point } The current metering point. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.AutoExposure#getMeteringPoint */ @@ -7141,7 +7125,7 @@ declare namespace camera { * @param { Point } point - metering point * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.AutoExposure#setMeteringPoint */ @@ -7153,7 +7137,7 @@ declare namespace camera { * @returns { Array } The array of compensation range. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.AutoExposure#getExposureBiasRange */ @@ -7165,7 +7149,7 @@ declare namespace camera { * @param { number } exposureBias - Exposure compensation * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.AutoExposure#setExposureBias */ @@ -7177,7 +7161,7 @@ declare namespace camera { * @returns { number } The exposure value. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.AutoExposure#getExposureValue */ @@ -7190,7 +7174,7 @@ declare namespace camera { * @returns { boolean } Is the focus mode supported. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Focus#isFocusModeSupported */ @@ -7202,7 +7186,7 @@ declare namespace camera { * @returns { FocusMode } The current focus mode. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Focus#getFocusMode */ @@ -7214,7 +7198,7 @@ declare namespace camera { * @param { FocusMode } afMode - Target focus mode. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Focus#setFocusMode */ @@ -7226,7 +7210,7 @@ declare namespace camera { * @param { Point } point - Target focus point. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Focus#setFocusPoint */ @@ -7238,7 +7222,7 @@ declare namespace camera { * @returns { Point } The current focus point. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Focus#getFocusPoint */ @@ -7250,7 +7234,7 @@ declare namespace camera { * @returns { number } The current focal point. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Focus#getFocalLength */ @@ -7262,7 +7246,7 @@ declare namespace camera { * @returns { Array } The zoom ratio range. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Zoom#getZoomRatioRange */ @@ -7274,7 +7258,7 @@ declare namespace camera { * @returns { number } The zoom ratio value. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Zoom#getZoomRatio */ @@ -7286,7 +7270,7 @@ declare namespace camera { * @param { number } zoomRatio - Target zoom ratio. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Zoom#setZoomRatio */ @@ -7299,7 +7283,7 @@ declare namespace camera { * @returns { boolean } Is flash mode supported. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Stabilization#isVideoStabilizationModeSupported */ @@ -7311,7 +7295,7 @@ declare namespace camera { * @returns { VideoStabilizationMode } The current video stabilization mode. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Stabilization#getActiveVideoStabilizationMode */ @@ -7323,7 +7307,7 @@ declare namespace camera { * @param { VideoStabilizationMode } mode - video stabilization mode to set. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Stabilization#setVideoStabilizationMode */ @@ -7335,7 +7319,7 @@ declare namespace camera { * @param { 'focusStateChange' } type - Event type. * @param { AsyncCallback } callback - Callback used to get the focus state change. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.VideoSession#on */ @@ -7347,7 +7331,7 @@ declare namespace camera { * @param { 'focusStateChange' } type - Event type. * @param { AsyncCallback } callback - Callback used to get the focus state change. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.VideoSession#off */ @@ -7359,7 +7343,7 @@ declare namespace camera { * @param { 'error' } type - Event type. * @param { ErrorCallback } callback - Callback used to get the capture session errors. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.VideoSession#on */ @@ -7371,7 +7355,7 @@ declare namespace camera { * @param { 'error' } type - Event type. * @param { ErrorCallback } callback - Callback used to get the capture session errors. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.VideoSession#off */ @@ -7384,7 +7368,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Beauty#getSupportedBeautyTypes */ @@ -7398,7 +7382,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Beauty#getSupportedBeautyRange */ @@ -7412,7 +7396,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Beauty#getBeauty */ @@ -7426,7 +7410,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Beauty#setBeauty */ @@ -7448,8 +7432,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum PreconfigType { /** @@ -7463,8 +7447,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ PRECONFIG_720P = 0, @@ -7479,8 +7463,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ PRECONFIG_1080P = 1, @@ -7495,8 +7479,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ PRECONFIG_4K = 2, @@ -7511,8 +7495,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ PRECONFIG_HIGH_QUALITY = 3 } @@ -7530,8 +7514,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum PreconfigRatio { /** @@ -7545,8 +7529,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ PRECONFIG_RATIO_1_1 = 0, @@ -7561,8 +7545,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ PRECONFIG_RATIO_4_3 = 1, @@ -7577,8 +7561,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ PRECONFIG_RATIO_16_9 = 2 } @@ -7589,8 +7573,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum SceneFeatureType { /** @@ -7598,8 +7582,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MOON_CAPTURE_BOOST = 0, @@ -7608,8 +7592,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ TRIPOD_DETECTION = 1, @@ -7618,8 +7602,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ LOW_LIGHT_BOOST = 2 } @@ -7630,8 +7614,8 @@ declare namespace camera { * @typedef SceneFeatureDetectionResult * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface SceneFeatureDetectionResult { /** @@ -7641,8 +7625,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly featureType: SceneFeatureType; @@ -7653,8 +7637,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly detected: boolean; } @@ -7665,8 +7649,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum TripodStatus { /** @@ -7674,8 +7658,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ INVALID = 0, @@ -7684,8 +7668,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ACTIVE = 1, @@ -7694,8 +7678,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ ENTERING = 2, @@ -7704,8 +7688,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ EXITING = 3 } @@ -7717,8 +7701,8 @@ declare namespace camera { * @interface TripodDetectionResult * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface TripodDetectionResult extends SceneFeatureDetectionResult { /** @@ -7728,8 +7712,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly tripodStatus: TripodStatus; } @@ -7740,8 +7724,8 @@ declare namespace camera { * @interface SceneDetectionQuery * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface SceneDetectionQuery { /** @@ -7753,8 +7737,8 @@ declare namespace camera { * @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isSceneFeatureSupported(type: SceneFeatureType): boolean; } @@ -7766,8 +7750,8 @@ declare namespace camera { * @interface SceneDetection * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface SceneDetection extends SceneDetectionQuery { /** @@ -7779,8 +7763,8 @@ declare namespace camera { * @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enableSceneFeature(type: SceneFeatureType, enabled: boolean): void; } @@ -7801,8 +7785,8 @@ declare namespace camera { * @interface PhotoSessionForSys * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface PhotoSessionForSys extends PhotoSession, Beauty, ColorEffect, ColorManagement, Macro, SceneDetection, EffectSuggestion, DepthFusion { } @@ -7836,8 +7820,7 @@ declare namespace camera { * @interface PhotoSession * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface PhotoSession extends Session, Flash, AutoExposure, WhiteBalance, Focus, Zoom, ColorManagement, AutoDeviceSwitch, Macro { /** @@ -7863,8 +7846,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ canPreconfig(preconfigType: PreconfigType, preconfigRatio?: PreconfigRatio): boolean; @@ -7889,8 +7872,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ preconfig(preconfigType: PreconfigType, preconfigRatio?: PreconfigRatio): void; @@ -7913,8 +7896,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the capture session errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -7933,8 +7916,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the capture session errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -7957,8 +7940,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the focus state change. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -7977,8 +7960,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the focus state change. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; @@ -8001,8 +7984,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the zoom info. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'smoothZoomInfoAvailable', callback: AsyncCallback): void; @@ -8021,8 +8004,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the zoom info. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'smoothZoomInfoAvailable', callback?: AsyncCallback): void; @@ -8034,8 +8017,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'macroStatusChanged', callback: AsyncCallback): void; @@ -8047,8 +8030,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'macroStatusChanged', callback?: AsyncCallback): void; @@ -8061,8 +8044,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'featureDetection', featureType: SceneFeatureType, callback: AsyncCallback): void; @@ -8075,8 +8058,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'featureDetection', featureType: SceneFeatureType, callback?: AsyncCallback): void; @@ -8087,8 +8070,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'effectSuggestionChange', callback: AsyncCallback): void; @@ -8099,8 +8082,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'effectSuggestionChange', callback?: AsyncCallback): void; @@ -8123,8 +8106,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'autoDeviceSwitchStatusChange', callback: AsyncCallback): void; @@ -8143,8 +8126,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'autoDeviceSwitchStatusChange', callback?: AsyncCallback): void; @@ -8156,8 +8139,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'lcdFlashStatus', callback: AsyncCallback): void; @@ -8169,8 +8152,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'lcdFlashStatus', callback?: AsyncCallback): void; @@ -8183,8 +8166,8 @@ declare namespace camera { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getSessionFunctions(outputCapability: CameraOutputCapability): Array; @@ -8195,8 +8178,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getSessionConflictFunctions(): Array; } @@ -8226,8 +8209,8 @@ declare namespace camera { * @interface VideoSessionForSys * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface VideoSessionForSys extends VideoSession, Beauty, ColorEffect, ColorManagement, Macro, Aperture, ColorReservation, EffectSuggestion { } @@ -8245,8 +8228,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum QualityPrioritization { /** @@ -8260,8 +8243,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ HIGH_QUALITY = 0, @@ -8276,8 +8259,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ POWER_BALANCE = 1 } @@ -8314,8 +8297,7 @@ declare namespace camera { * @interface VideoSession * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface VideoSession extends Session, Flash, AutoExposure, WhiteBalance, Focus, Zoom, Stabilization, ColorManagement, AutoDeviceSwitch, Macro { /** @@ -8341,8 +8323,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ canPreconfig(preconfigType: PreconfigType, preconfigRatio?: PreconfigRatio): boolean; @@ -8367,8 +8349,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ preconfig(preconfigType: PreconfigType, preconfigRatio?: PreconfigRatio): void; @@ -8391,8 +8373,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the capture session errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -8411,8 +8393,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the capture session errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -8435,8 +8417,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the focus state change. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -8455,8 +8437,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the focus state change. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; @@ -8479,8 +8461,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the zoom info. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'smoothZoomInfoAvailable', callback: AsyncCallback): void; @@ -8499,8 +8481,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the zoom info. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'smoothZoomInfoAvailable', callback?: AsyncCallback): void; @@ -8512,8 +8494,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'macroStatusChanged', callback: AsyncCallback): void; @@ -8525,8 +8507,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'macroStatusChanged', callback?: AsyncCallback): void; @@ -8538,8 +8520,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'lcdFlashStatus', callback: AsyncCallback): void; @@ -8551,8 +8533,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'lcdFlashStatus', callback?: AsyncCallback): void; @@ -8576,8 +8558,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'autoDeviceSwitchStatusChange', callback: AsyncCallback): void; @@ -8596,8 +8578,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'autoDeviceSwitchStatusChange', callback?: AsyncCallback): void; @@ -8609,8 +8591,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ on(type: 'focusTrackingInfoAvailable', callback: Callback): void; @@ -8622,8 +8604,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ off(type: 'focusTrackingInfoAvailable', callback?: Callback): void; @@ -8634,8 +8616,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application.[object Object] * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ on(type: 'effectSuggestionChange', callback: AsyncCallback): void; @@ -8647,8 +8629,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application.[object Object] * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'effectSuggestionChange', callback?: AsyncCallback): void; @@ -8661,8 +8643,8 @@ declare namespace camera { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getSessionFunctions(outputCapability: CameraOutputCapability): Array; @@ -8673,8 +8655,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getSessionConflictFunctions(): Array; @@ -8703,8 +8685,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. The session has not been committed or configured. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setQualityPrioritization(quality : QualityPrioritization) : void; @@ -8716,8 +8698,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ on(type: 'lightStatusChange', callback: AsyncCallback): void; @@ -8729,8 +8711,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'lightStatusChange', callback?: AsyncCallback): void; } @@ -8741,8 +8723,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enum LightStatus { /** @@ -8750,8 +8732,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ NORMAL = 0, @@ -8760,8 +8742,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ INSUFFICIENT = 1 } @@ -8772,8 +8754,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum PortraitEffect { /** @@ -8781,8 +8763,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ OFF = 0, @@ -8791,8 +8773,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CIRCLES = 1, @@ -8801,8 +8783,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ HEART = 2, @@ -8811,8 +8793,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ROTATED = 3, @@ -8821,8 +8803,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ STUDIO = 4, @@ -8831,8 +8813,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ THEATER = 5 } @@ -8843,8 +8825,8 @@ declare namespace camera { * @interface PortraitQuery * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface PortraitQuery { /** @@ -8876,8 +8858,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSupportedPortraitEffects(): Array; } @@ -8889,8 +8871,8 @@ declare namespace camera { * @interface Portrait * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface Portrait extends PortraitQuery { /** @@ -8911,8 +8893,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getPortraitEffect(): PortraitEffect; @@ -8934,8 +8916,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setPortraitEffect(effect: PortraitEffect): void; } @@ -8946,8 +8928,8 @@ declare namespace camera { * @typedef ZoomRange * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface ZoomRange { /** @@ -8957,8 +8939,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readonly min: double; @@ -8969,8 +8951,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readonly max: double; } @@ -8981,8 +8963,8 @@ declare namespace camera { * @typedef PhysicalAperture * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface PhysicalAperture { /** @@ -8991,8 +8973,8 @@ declare namespace camera { * @type { ZoomRange } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ zoomRange: ZoomRange; @@ -9002,8 +8984,8 @@ declare namespace camera { * @type { Array } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ apertures: Array; } @@ -9014,8 +8996,8 @@ declare namespace camera { * @interface ApertureQuery * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ApertureQuery { /** @@ -9037,8 +9019,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSupportedVirtualApertures(): Array; @@ -9061,8 +9043,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSupportedPhysicalApertures(): Array; } @@ -9074,8 +9056,8 @@ declare namespace camera { * @interface Aperture * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface Aperture extends ApertureQuery { /** @@ -9086,8 +9068,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getVirtualAperture(): double; @@ -9099,8 +9081,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setVirtualAperture(aperture: double): void; @@ -9112,8 +9094,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getPhysicalAperture(): double; @@ -9125,8 +9107,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setPhysicalAperture(aperture: double): void; } @@ -9138,8 +9120,8 @@ declare namespace camera { * @interface PortraitPhotoSession * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface PortraitPhotoSession extends Session, Flash, AutoExposure, Focus, Zoom, Beauty, ColorEffect, ColorManagement, Portrait, Aperture { /** @@ -9149,8 +9131,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the capture session errors. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -9161,8 +9143,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the capture session errors. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -9173,8 +9155,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the focus state change. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -9185,8 +9167,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the focus state change. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; @@ -9197,8 +9179,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the zoom info. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'smoothZoomInfoAvailable', callback: AsyncCallback): void; @@ -9209,8 +9191,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the zoom info. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'smoothZoomInfoAvailable', callback?: AsyncCallback): void; @@ -9222,8 +9204,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'lcdFlashStatus', callback: AsyncCallback): void; @@ -9235,8 +9217,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'lcdFlashStatus', callback?: AsyncCallback): void; @@ -9249,8 +9231,8 @@ declare namespace camera { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getSessionFunctions(outputCapability: CameraOutputCapability): Array; @@ -9261,8 +9243,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getSessionConflictFunctions(): Array; } @@ -9274,8 +9256,8 @@ declare namespace camera { * @interface ApertureVideoSession * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ApertureVideoSession extends Session, Flash, AutoExposure, Focus, Zoom, ColorEffect, Aperture { /** @@ -9286,8 +9268,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -9299,8 +9281,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -9312,8 +9294,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -9325,8 +9307,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; @@ -9338,8 +9320,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'smoothZoomInfoAvailable', callback: AsyncCallback): void; @@ -9351,8 +9333,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'smoothZoomInfoAvailable', callback?: AsyncCallback): void; } @@ -9363,8 +9345,8 @@ declare namespace camera { * @interface ManualExposureQuery * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ManualExposureQuery { /** @@ -9387,8 +9369,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSupportedExposureRange(): Array; } @@ -9400,8 +9382,8 @@ declare namespace camera { * @interface ManualExposure * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface ManualExposure extends ManualExposureQuery { /** @@ -9423,8 +9405,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getExposure(): int; @@ -9447,8 +9429,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setExposure(exposure: int): void; } @@ -9460,8 +9442,8 @@ declare namespace camera { * @interface NightPhotoSession * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface NightPhotoSession extends Session, Flash, AutoExposure, Focus, Zoom, ColorEffect, Beauty, ColorManagement, ManualExposure { /** @@ -9471,8 +9453,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the capture session errors. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -9483,8 +9465,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the capture session errors. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -9495,8 +9477,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the focus state change. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -9507,8 +9489,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the focus state change. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; @@ -9519,8 +9501,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the zoom info. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'smoothZoomInfoAvailable', callback: AsyncCallback): void; @@ -9531,8 +9513,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the zoom info. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'smoothZoomInfoAvailable', callback?: AsyncCallback): void; @@ -9544,8 +9526,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'lcdFlashStatus', callback: AsyncCallback): void; @@ -9557,8 +9539,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'lcdFlashStatus', callback?: AsyncCallback): void; } @@ -9569,8 +9551,8 @@ declare namespace camera { * @typedef IsoInfo * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface IsoInfo { /** @@ -9580,8 +9562,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly iso?: int; } @@ -9592,8 +9574,8 @@ declare namespace camera { * @typedef ExposureInfo * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ExposureInfo { /** @@ -9603,8 +9585,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly exposureTime?: int; } @@ -9615,8 +9597,8 @@ declare namespace camera { * @typedef ApertureInfo * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ApertureInfo { /** @@ -9626,8 +9608,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly aperture?: double; } @@ -9638,8 +9620,8 @@ declare namespace camera { * @typedef LuminationInfo * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface LuminationInfo { /** @@ -9649,8 +9631,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly lumination?: double; } @@ -9661,8 +9643,8 @@ declare namespace camera { * @interface ProfessionalPhotoSession * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ProfessionalPhotoSession extends Session, AutoExposure, ManualExposure, Focus, ManualFocus, WhiteBalance, ManualIso, Flash, Zoom, ColorEffect, Aperture { /** @@ -9673,8 +9655,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -9686,8 +9668,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -9699,8 +9681,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -9712,8 +9694,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; @@ -9725,8 +9707,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'smoothZoomInfoAvailable', callback: AsyncCallback): void; @@ -9738,8 +9720,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'smoothZoomInfoAvailable', callback?: AsyncCallback): void; @@ -9751,8 +9733,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'isoInfoChange', callback: AsyncCallback): void; @@ -9764,8 +9746,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'isoInfoChange', callback?: AsyncCallback): void; @@ -9777,8 +9759,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'exposureInfoChange', callback: AsyncCallback): void; @@ -9790,8 +9772,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'exposureInfoChange', callback?: AsyncCallback): void; @@ -9803,8 +9785,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'apertureInfoChange', callback: AsyncCallback): void; @@ -9816,8 +9798,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'apertureInfoChange', callback?: AsyncCallback): void; @@ -9829,8 +9811,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'luminationInfoChange', callback: AsyncCallback): void; @@ -9842,8 +9824,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'luminationInfoChange', callback?: AsyncCallback): void; } @@ -9855,8 +9837,8 @@ declare namespace camera { * @interface ProfessionalVideoSession * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ProfessionalVideoSession extends Session, AutoExposure, ManualExposure, Focus, ManualFocus, WhiteBalance, ManualIso, Flash, Zoom, ColorEffect, Aperture { /** @@ -9867,8 +9849,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -9880,8 +9862,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -9893,8 +9875,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -9906,8 +9888,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; @@ -9919,8 +9901,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'smoothZoomInfoAvailable', callback: AsyncCallback): void; @@ -9932,8 +9914,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'smoothZoomInfoAvailable', callback?: AsyncCallback): void; @@ -9945,8 +9927,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'isoInfoChange', callback: AsyncCallback): void; @@ -9958,8 +9940,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'isoInfoChange', callback?: AsyncCallback): void; @@ -9971,8 +9953,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'exposureInfoChange', callback: AsyncCallback): void; @@ -9984,8 +9966,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'exposureInfoChange', callback?: AsyncCallback): void; @@ -9997,8 +9979,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'apertureInfoChange', callback: AsyncCallback): void; @@ -10010,8 +9992,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'apertureInfoChange', callback?: AsyncCallback): void; @@ -10023,8 +10005,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'luminationInfoChange', callback: AsyncCallback): void; @@ -10036,8 +10018,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'luminationInfoChange', callback?: AsyncCallback): void; } @@ -10048,8 +10030,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum SlowMotionStatus { /** @@ -10057,8 +10039,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DISABLED = 0, @@ -10067,8 +10049,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ READY = 1, @@ -10077,8 +10059,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_START = 2, @@ -10087,8 +10069,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_DONE = 3, @@ -10097,8 +10079,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FINISHED = 4 } @@ -10110,8 +10092,8 @@ declare namespace camera { * @interface SlowMotionVideoSession * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface SlowMotionVideoSession extends Session, Flash, AutoExposure, Focus, Zoom, ColorEffect { /** @@ -10122,8 +10104,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -10135,8 +10117,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -10148,8 +10130,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -10161,8 +10143,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; @@ -10174,8 +10156,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'smoothZoomInfoAvailable', callback: AsyncCallback): void; @@ -10187,8 +10169,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'smoothZoomInfoAvailable', callback?: AsyncCallback): void; @@ -10209,8 +10191,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ isSlowMotionDetectionSupported(): boolean; @@ -10232,8 +10214,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setSlowMotionDetectionArea(area: Rect): void; @@ -10245,8 +10227,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'slowMotionStatus', callback: AsyncCallback): void; @@ -10258,8 +10240,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'slowMotionStatus', callback?: AsyncCallback): void; } @@ -10271,8 +10253,8 @@ declare namespace camera { * @interface HighResolutionPhotoSession * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface HighResolutionPhotoSession extends Session, AutoExposure, Focus { /** @@ -10283,8 +10265,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -10296,8 +10278,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -10309,8 +10291,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -10322,8 +10304,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; } @@ -10353,8 +10335,8 @@ declare namespace camera { * @interface MacroPhotoSession * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface MacroPhotoSession extends Session, Flash, AutoExposure, Focus, Zoom, ColorEffect, ManualFocus, DepthFusion, ColorManagement { /** @@ -10365,8 +10347,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -10378,8 +10360,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -10391,8 +10373,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -10404,8 +10386,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; @@ -10417,8 +10399,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'smoothZoomInfoAvailable', callback: AsyncCallback): void; @@ -10430,8 +10412,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'smoothZoomInfoAvailable', callback?: AsyncCallback): void; } @@ -10452,8 +10434,8 @@ declare namespace camera { * @interface MacroVideoSession * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface MacroVideoSession extends Session, Flash, AutoExposure, Focus, Zoom, ColorEffect, ManualFocus, ColorManagement { /** @@ -10464,8 +10446,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -10477,8 +10459,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -10490,8 +10472,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -10503,8 +10485,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; @@ -10516,8 +10498,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'smoothZoomInfoAvailable', callback: AsyncCallback): void; @@ -10529,8 +10511,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'smoothZoomInfoAvailable', callback?: AsyncCallback): void; } @@ -10559,8 +10541,7 @@ declare namespace camera { * @interface SecureSession * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ interface SecureSession extends Session, Flash, AutoExposure, WhiteBalance, Focus, Zoom { /** @@ -10590,8 +10571,8 @@ declare namespace camera { * @throws { BusinessError } 7400102 - Operation not allowed. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ addSecureOutput(previewOutput: PreviewOutput): void; @@ -10614,8 +10595,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the capture session errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -10634,8 +10615,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the capture session errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -10658,8 +10639,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the focus state change. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -10678,8 +10659,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the focus state change. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; } @@ -10691,8 +10672,8 @@ declare namespace camera { * @interface LightPaintingPhotoSession * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface LightPaintingPhotoSession extends Session, Flash, Focus, Zoom, ColorEffect { /** @@ -10703,8 +10684,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -10716,8 +10697,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -10729,8 +10710,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -10742,8 +10723,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; @@ -10755,8 +10736,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'smoothZoomInfoAvailable', callback: AsyncCallback): void; @@ -10768,8 +10749,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'smoothZoomInfoAvailable', callback?: AsyncCallback): void; @@ -10781,8 +10762,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getLightPaintingType(): LightPaintingType; @@ -10795,8 +10776,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setLightPaintingType(type: LightPaintingType): void; @@ -10808,8 +10789,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSupportedLightPaintingTypes(): Array; } @@ -10821,8 +10802,8 @@ declare namespace camera { * @interface QuickShotPhotoSession * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface QuickShotPhotoSession extends Session, AutoExposure, ColorEffect, ColorManagement, EffectSuggestion, Flash, Focus, Zoom { /** @@ -10833,8 +10814,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -10846,8 +10827,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -10859,8 +10840,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'effectSuggestionChange', callback: AsyncCallback): void; @@ -10872,8 +10853,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'effectSuggestionChange', callback?: AsyncCallback): void; @@ -10885,8 +10866,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -10898,8 +10879,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; @@ -10911,8 +10892,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'smoothZoomInfoAvailable', callback: AsyncCallback): void; @@ -10924,8 +10905,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'smoothZoomInfoAvailable', callback?: AsyncCallback): void; } @@ -10937,8 +10918,8 @@ declare namespace camera { * @interface PanoramaPhotoSession * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface PanoramaPhotoSession extends Session, Focus, AutoExposure, WhiteBalance, ColorEffect { /** @@ -10949,8 +10930,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -10962,8 +10943,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -10975,8 +10956,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -10988,8 +10969,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; } @@ -11001,8 +10982,8 @@ declare namespace camera { * @interface FluorescencePhotoSession * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface FluorescencePhotoSession extends Session, AutoExposure, Focus, Zoom { /** @@ -11013,8 +10994,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -11026,8 +11007,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -11039,8 +11020,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -11052,8 +11033,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; } @@ -11065,8 +11046,8 @@ declare namespace camera { * @interface PhotoFunctions * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface PhotoFunctions extends FlashQuery, AutoExposureQuery, ManualExposureQuery, FocusQuery, ZoomQuery, BeautyQuery, ColorEffectQuery, ColorManagementQuery, MacroQuery, SceneDetectionQuery { } @@ -11078,8 +11059,8 @@ declare namespace camera { * @interface VideoFunctions * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface VideoFunctions extends FlashQuery, AutoExposureQuery, ManualExposureQuery, FocusQuery, ZoomQuery, StabilizationQuery, BeautyQuery, ColorEffectQuery, ColorManagementQuery, MacroQuery, SceneDetectionQuery { } @@ -11091,8 +11072,8 @@ declare namespace camera { * @interface PortraitPhotoFunctions * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface PortraitPhotoFunctions extends FlashQuery, AutoExposureQuery, FocusQuery, ZoomQuery, BeautyQuery, ColorEffectQuery, ColorManagementQuery, PortraitQuery, ApertureQuery, SceneDetectionQuery { } @@ -11104,8 +11085,8 @@ declare namespace camera { * @interface PhotoConflictFunctions * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface PhotoConflictFunctions extends ZoomQuery, MacroQuery { } @@ -11117,8 +11098,8 @@ declare namespace camera { * @interface VideoConflictFunctions * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface VideoConflictFunctions extends ZoomQuery, MacroQuery { } @@ -11130,8 +11111,8 @@ declare namespace camera { * @extends ZoomQuery, PortraitQuery, ApertureQuery * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface PortraitPhotoConflictFunctions extends ZoomQuery, PortraitQuery, ApertureQuery { } @@ -11149,8 +11130,8 @@ declare namespace camera { * @interface CameraOutput * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface CameraOutput { /** @@ -11168,8 +11149,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; @@ -11188,8 +11169,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ release(): Promise; } @@ -11200,8 +11181,8 @@ declare namespace camera { * @typedef SketchStatusData * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface SketchStatusData { /** @@ -11211,8 +11192,8 @@ declare namespace camera { * @type { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ status: int; @@ -11222,8 +11203,8 @@ declare namespace camera { * @type { double } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ sketchRatio: double; } @@ -11243,8 +11224,8 @@ declare namespace camera { * @interface PreviewOutput * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface PreviewOutput extends CameraOutput { /** @@ -11253,7 +11234,7 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#start */ @@ -11265,7 +11246,7 @@ declare namespace camera { * @returns { Promise } Promise used to return the result. * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#start */ @@ -11276,7 +11257,7 @@ declare namespace camera { * * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#stop */ @@ -11287,7 +11268,7 @@ declare namespace camera { * * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.Session#stop */ @@ -11312,8 +11293,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'frameStart', callback: AsyncCallback): void; @@ -11332,8 +11313,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'frameStart', callback?: AsyncCallback): void; @@ -11356,8 +11337,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'frameEnd', callback: AsyncCallback): void; @@ -11376,8 +11357,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'frameEnd', callback?: AsyncCallback): void; @@ -11400,8 +11381,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the preview output errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -11420,8 +11401,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the preview output errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -11438,8 +11419,8 @@ declare namespace camera { * @returns { Array } The array of supported frame rate range. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getSupportedFrameRates(): Array; @@ -11462,8 +11443,8 @@ declare namespace camera { * @throws { BusinessError } 7400110 - Unresolved conflicts with current configurations. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setFrameRate(minFps: int, maxFps: int): void; @@ -11480,8 +11461,8 @@ declare namespace camera { * @returns { FrameRateRange } The active frame rate range. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getActiveFrameRate(): FrameRateRange; @@ -11500,8 +11481,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getActiveProfile(): Profile; @@ -11524,8 +11505,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getPreviewRotation(displayRotation: int): ImageRotation; @@ -11548,8 +11529,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setPreviewRotation(previewRotation: ImageRotation, isDisplayLocked?: boolean): void; @@ -11570,8 +11551,8 @@ declare namespace camera { * @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ addDeferredSurface(surfaceId: string): void; @@ -11582,8 +11563,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isSketchSupported(): boolean; @@ -11595,8 +11576,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getSketchRatio(): double; @@ -11620,8 +11601,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enableSketch(enabled: boolean): void; @@ -11645,8 +11626,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ attachSketchSurface(surfaceId: string): void; @@ -11658,8 +11639,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'sketchStatusChanged', callback: AsyncCallback): void; @@ -11671,8 +11652,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'sketchStatusChanged', callback?: AsyncCallback): void; } @@ -11683,8 +11664,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum EffectSuggestionType { /** @@ -11692,8 +11673,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EFFECT_SUGGESTION_NONE = 0, /** @@ -11701,8 +11682,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EFFECT_SUGGESTION_PORTRAIT = 1, /** @@ -11710,8 +11691,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EFFECT_SUGGESTION_FOOD = 2, @@ -11720,8 +11701,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EFFECT_SUGGESTION_SKY = 3, @@ -11730,8 +11711,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EFFECT_SUGGESTION_SUNRISE_SUNSET = 4, @@ -11740,8 +11721,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ EFFECT_SUGGESTION_STAGE = 5 } @@ -11751,8 +11732,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class EffectSuggestionStatus { /** @@ -11761,8 +11742,8 @@ declare namespace camera { * @type { EffectSuggestionType } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type: EffectSuggestionType; /** @@ -11771,8 +11752,8 @@ declare namespace camera { * @type { boolean } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ status: boolean; } @@ -11790,8 +11771,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum ImageRotation { /** @@ -11805,8 +11786,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ ROTATION_0 = 0, @@ -11821,8 +11802,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ ROTATION_90 = 90, @@ -11837,8 +11818,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ ROTATION_180 = 180, @@ -11853,8 +11834,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ ROTATION_270 = 270 } @@ -11872,8 +11853,8 @@ declare namespace camera { * @typedef Location * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface Location { /** @@ -11889,8 +11870,8 @@ declare namespace camera { * @type { double } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ latitude: double; @@ -11907,8 +11888,8 @@ declare namespace camera { * @type { double } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ longitude: double; @@ -11925,8 +11906,8 @@ declare namespace camera { * @type { double } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ altitude: double; } @@ -11944,8 +11925,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum QualityLevel { /** @@ -11959,8 +11940,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ QUALITY_LEVEL_HIGH = 0, @@ -11975,8 +11956,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ QUALITY_LEVEL_MEDIUM = 1, @@ -11991,8 +11972,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ QUALITY_LEVEL_LOW = 2 } @@ -12010,8 +11991,8 @@ declare namespace camera { * @typedef PhotoCaptureSetting * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface PhotoCaptureSetting { /** @@ -12027,8 +12008,8 @@ declare namespace camera { * @type { ?QualityLevel } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ quality?: QualityLevel; @@ -12045,8 +12026,8 @@ declare namespace camera { * @type { ?ImageRotation } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ rotation?: ImageRotation; @@ -12063,8 +12044,8 @@ declare namespace camera { * @type { ?Location } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ location?: Location; @@ -12083,8 +12064,8 @@ declare namespace camera { * @type { ?boolean } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ mirror?: boolean; } @@ -12095,8 +12076,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum DeferredDeliveryImageType { /** @@ -12104,8 +12085,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NONE = 0, @@ -12114,8 +12095,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PHOTO = 1, @@ -12124,8 +12105,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ VIDEO = 2 } @@ -12143,8 +12124,8 @@ declare namespace camera { * @typedef Photo * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface Photo { /** @@ -12160,8 +12141,8 @@ declare namespace camera { * @type { image.Image } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ main: image.Image; @@ -12171,8 +12152,8 @@ declare namespace camera { * @type { ?image.Image } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ raw?: image.Image; @@ -12182,8 +12163,8 @@ declare namespace camera { * @type { DepthData } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ depthData?: DepthData; @@ -12200,8 +12181,8 @@ declare namespace camera { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ release(): Promise; } @@ -12212,8 +12193,8 @@ declare namespace camera { * @typedef DeferredPhotoProxy * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface DeferredPhotoProxy { /** @@ -12223,8 +12204,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getThumbnail(): Promise; @@ -12235,8 +12216,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ release(): Promise; } @@ -12254,8 +12235,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum VideoCodecType { /** @@ -12269,8 +12250,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ AVC = 0, @@ -12285,8 +12266,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ HEVC = 1 } @@ -12306,8 +12287,8 @@ declare namespace camera { * @interface PhotoOutput * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface PhotoOutput extends CameraOutput { /** @@ -12327,8 +12308,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ capture(callback: AsyncCallback): void; @@ -12349,8 +12330,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ capture(): Promise; @@ -12375,8 +12356,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ capture(setting: PhotoCaptureSetting, callback: AsyncCallback): void; @@ -12414,8 +12395,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ capture(setting: PhotoCaptureSetting): Promise; @@ -12430,8 +12411,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ burstCapture(setting: PhotoCaptureSetting): Promise; @@ -12443,7 +12424,7 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since 11 + * @since 11 dynamic */ confirmCapture(): void; @@ -12456,8 +12437,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ isRawDeliverySupported(): boolean; @@ -12471,8 +12452,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enableRawDelivery(enabled: boolean): void; @@ -12487,8 +12468,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isDeferredImageDeliverySupported(type: DeferredDeliveryImageType): boolean; @@ -12503,8 +12484,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ isDeferredImageDeliveryEnabled(type: DeferredDeliveryImageType): boolean; @@ -12518,8 +12499,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ deferImageDelivery(type: DeferredDeliveryImageType): void; @@ -12532,8 +12513,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ isDepthDataDeliverySupported(): boolean; @@ -12547,8 +12528,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enableDepthDataDelivery(enabled: boolean): void; @@ -12567,8 +12548,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getSupportedMovingPhotoVideoCodecTypes(): Array; @@ -12587,8 +12568,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setMovingPhotoVideoCodecType(codecType: VideoCodecType): void; @@ -12611,8 +12592,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the Photo. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'photoAvailable', callback: AsyncCallback): void; @@ -12631,8 +12612,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the Photo. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'photoAvailable', callback?: AsyncCallback): void; @@ -12644,8 +12625,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'deferredPhotoProxyAvailable', callback: AsyncCallback): void; @@ -12657,8 +12638,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ off(type: 'deferredPhotoProxyAvailable', callback?: AsyncCallback): void; @@ -12689,8 +12670,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the asset. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'photoAssetAvailable', callback: AsyncCallback): void; @@ -12709,8 +12690,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the asset. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'photoAssetAvailable', callback?: AsyncCallback): void; @@ -12727,8 +12708,8 @@ declare namespace camera { * @returns { boolean } Is the mirror supported. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ isMirrorSupported(): boolean; @@ -12755,8 +12736,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enableMirror(enabled: boolean): void; @@ -12766,7 +12747,7 @@ declare namespace camera { * @param { 'captureStart' } type - Event type. * @param { AsyncCallback } callback - Callback used to get the capture ID. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.PhotoOutput#captureStartWithInfo */ @@ -12778,7 +12759,7 @@ declare namespace camera { * @param { 'captureStart' } type - Event type. * @param { AsyncCallback } callback - Callback used to get the capture ID. * @syscap SystemCapability.Multimedia.Camera.Core - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.camera.PhotoOutput#captureStartWithInfo */ @@ -12803,8 +12784,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the capture start info. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'captureStartWithInfo', callback: AsyncCallback): void; @@ -12823,8 +12804,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the capture start info. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'captureStartWithInfo', callback?: AsyncCallback): void; @@ -12843,8 +12824,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the frame shutter information. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'frameShutter', callback: AsyncCallback): void; @@ -12863,8 +12844,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the frame shutter information. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'frameShutter', callback?: AsyncCallback): void; @@ -12887,8 +12868,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the frame shutter end information. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'frameShutterEnd', callback: AsyncCallback): void; @@ -12907,8 +12888,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the frame shutter end information. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'frameShutterEnd', callback?: AsyncCallback): void; @@ -12932,8 +12913,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the capture end information. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'captureEnd', callback: AsyncCallback): void; @@ -12952,8 +12933,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the capture end information. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'captureEnd', callback?: AsyncCallback): void; @@ -12976,8 +12957,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to notice capture ready. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'captureReady', callback: AsyncCallback): void; @@ -12996,8 +12977,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to notice capture ready. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'captureReady', callback?: AsyncCallback): void; @@ -13020,8 +13001,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to notify the estimated capture duration (in milliseconds). * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'estimatedCaptureDuration', callback: AsyncCallback): void; @@ -13040,8 +13021,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to notify the estimated capture duration (in milliseconds). * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'estimatedCaptureDuration', callback?: AsyncCallback): void; @@ -13064,8 +13045,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the photo output errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -13084,8 +13065,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the photo output errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -13104,8 +13085,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getActiveProfile(): Profile; @@ -13128,8 +13109,8 @@ declare namespace camera { * @throws { BusinessError } 7400104 - session is not running. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isQuickThumbnailSupported(): boolean; @@ -13158,8 +13139,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enableQuickThumbnail(enabled: boolean): void; @@ -13171,8 +13152,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the quick thumbnail. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'quickThumbnail', callback: AsyncCallback): void; @@ -13184,8 +13165,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to get the quick thumbnail. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'quickThumbnail', callback?: AsyncCallback): void; @@ -13198,8 +13179,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ isAutoHighQualityPhotoSupported(): boolean; @@ -13213,8 +13194,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enableAutoHighQualityPhoto(enabled: boolean): void; @@ -13226,8 +13207,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ isAutoCloudImageEnhancementSupported(): boolean; @@ -13240,8 +13221,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enableAutoCloudImageEnhancement(enabled: boolean): void; @@ -13260,8 +13241,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ isMovingPhotoSupported(): boolean; @@ -13286,8 +13267,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enableMovingPhoto(enabled: boolean): void; @@ -13310,8 +13291,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getPhotoRotation(deviceDegree: int): ImageRotation; @@ -13323,8 +13304,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ isOfflineSupported(): boolean; @@ -13336,8 +13317,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enableOffline(): void; @@ -13350,8 +13331,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ on(type: 'offlineDeliveryFinished', callback: AsyncCallback): void; @@ -13364,8 +13345,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'offlineDeliveryFinished', callback?: AsyncCallback): void; } @@ -13383,8 +13364,8 @@ declare namespace camera { * @typedef FrameShutterInfo * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface FrameShutterInfo { /** @@ -13400,8 +13381,8 @@ declare namespace camera { * @type { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ captureId: int; /** @@ -13417,8 +13398,8 @@ declare namespace camera { * @type { long } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ timestamp: long; } @@ -13436,8 +13417,8 @@ declare namespace camera { * @typedef FrameShutterEndInfo * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface FrameShutterEndInfo { /** @@ -13453,8 +13434,8 @@ declare namespace camera { * @type { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ captureId: int; } @@ -13472,8 +13453,8 @@ declare namespace camera { * @typedef CaptureStartInfo * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface CaptureStartInfo { /** @@ -13489,8 +13470,8 @@ declare namespace camera { * @type { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ captureId: int; /** @@ -13506,8 +13487,8 @@ declare namespace camera { * @type { long } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ time: long; } @@ -13525,8 +13506,8 @@ declare namespace camera { * @typedef CaptureEndInfo * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface CaptureEndInfo { /** @@ -13542,8 +13523,8 @@ declare namespace camera { * @type { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ captureId: int; /** @@ -13559,8 +13540,8 @@ declare namespace camera { * @type { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ frameCount: int; } @@ -13571,8 +13552,8 @@ declare namespace camera { * @typedef DeferredVideoEnhancementInfo * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface DeferredVideoEnhancementInfo { /** @@ -13582,8 +13563,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly isDeferredVideoEnhancementAvailable: boolean; /** @@ -13593,8 +13574,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly videoId?: string; } @@ -13614,8 +13595,8 @@ declare namespace camera { * @interface VideoOutput * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface VideoOutput extends CameraOutput { /** @@ -13635,8 +13616,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ start(callback: AsyncCallback): void; @@ -13657,8 +13638,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ start(): Promise; @@ -13675,8 +13656,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ stop(callback: AsyncCallback): void; @@ -13693,8 +13674,8 @@ declare namespace camera { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ stop(): Promise; @@ -13720,8 +13701,8 @@ declare namespace camera { * @returns { boolean } Is video mirror supported. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ isMirrorSupported(): boolean; @@ -13760,8 +13741,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enableMirror(enabled: boolean): void; @@ -13778,8 +13759,8 @@ declare namespace camera { * @returns { Array } The array of supported frame rate range. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getSupportedFrameRates(): Array; @@ -13802,8 +13783,8 @@ declare namespace camera { * @throws { BusinessError } 7400110 - Unresolved conflicts with current configurations. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ setFrameRate(minFps: int, maxFps: int): void; @@ -13820,8 +13801,8 @@ declare namespace camera { * @returns { FrameRateRange } The active frame rate range. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getActiveFrameRate(): FrameRateRange; @@ -13844,8 +13825,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getVideoRotation(deviceDegree: int): ImageRotation; @@ -13857,8 +13838,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ isAutoDeferredVideoEnhancementSupported(): boolean; @@ -13870,8 +13851,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ isAutoDeferredVideoEnhancementEnabled(): boolean; @@ -13884,8 +13865,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enableAutoDeferredVideoEnhancement(enabled: boolean): void; @@ -13896,8 +13877,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getSupportedRotations(): Array; @@ -13908,8 +13889,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ isRotationSupported(): boolean; @@ -13921,8 +13902,8 @@ declare namespace camera { * @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ setRotation(rotation: ImageRotation): void; @@ -13933,8 +13914,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ isAutoVideoFrameRateSupported(): boolean; @@ -13946,8 +13927,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enableAutoVideoFrameRate(enabled: boolean): void; @@ -13959,8 +13940,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'deferredVideoEnhancementInfo', callback: AsyncCallback): void; @@ -13972,8 +13953,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'deferredVideoEnhancementInfo', callback?: AsyncCallback): void; @@ -13996,8 +13977,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'frameStart', callback: AsyncCallback): void; @@ -14016,8 +13997,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'frameStart', callback?: AsyncCallback): void; @@ -14036,8 +14017,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'frameEnd', callback: AsyncCallback): void; @@ -14056,8 +14037,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'frameEnd', callback?: AsyncCallback): void; @@ -14080,8 +14061,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the video output errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -14100,8 +14081,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the video output errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -14120,8 +14101,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ getActiveProfile(): VideoProfile; @@ -14132,8 +14113,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSupportedVideoMetaTypes(): Array; @@ -14146,8 +14127,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ attachMetaSurface(surfaceId: string, type: VideoMetaType): void; } @@ -14158,16 +14139,16 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum VideoMetaType { /** * Video meta type for storing maker info. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_META_MAKER_INFO = 0 } @@ -14185,8 +14166,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum MetadataObjectType { /** @@ -14200,8 +14181,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ FACE_DETECTION = 0, @@ -14210,8 +14191,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ HUMAN_BODY = 1, @@ -14220,8 +14201,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ CAT_FACE = 2, @@ -14230,8 +14211,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ CAT_BODY = 3, @@ -14240,8 +14221,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ DOG_FACE = 4, @@ -14250,8 +14231,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ DOG_BODY = 5, @@ -14260,8 +14241,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ SALIENT_DETECTION = 6, @@ -14270,8 +14251,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ BAR_CODE_DETECTION = 7 } @@ -14282,8 +14263,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum LightPaintingType { /** @@ -14291,8 +14272,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TRAFFIC_TRAILS = 0, @@ -14301,8 +14282,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STAR_TRAILS = 1, @@ -14311,8 +14292,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SILKY_WATER = 2, @@ -14321,8 +14302,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LIGHT_GRAFFITI = 3 } @@ -14340,8 +14321,8 @@ declare namespace camera { * @typedef Rect * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface Rect { /** @@ -14357,8 +14338,8 @@ declare namespace camera { * @type { double } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ topLeftX: double; /** @@ -14374,8 +14355,8 @@ declare namespace camera { * @type { double } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ topLeftY: double; /** @@ -14391,8 +14372,8 @@ declare namespace camera { * @type { double } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ width: double; /** @@ -14408,8 +14389,8 @@ declare namespace camera { * @type { double } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ height: double; } @@ -14420,8 +14401,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum Emotion { /** @@ -14429,8 +14410,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ NEUTRAL = 0, @@ -14439,8 +14420,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ SADNESS = 1, @@ -14449,8 +14430,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ SMILE = 2, @@ -14459,8 +14440,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ SURPRISE = 3 } @@ -14478,8 +14459,8 @@ declare namespace camera { * @typedef MetadataObject * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface MetadataObject { /** @@ -14497,8 +14478,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly type: MetadataObjectType; /** @@ -14516,8 +14497,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly timestamp: int; /** @@ -14535,8 +14516,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly boundingBox: Rect; /** @@ -14546,8 +14527,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly objectId: int; /** @@ -14557,8 +14538,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly confidence: int; } @@ -14570,8 +14551,8 @@ declare namespace camera { * @extends MetadataObject * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface MetadataFaceObject extends MetadataObject { /** @@ -14581,8 +14562,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly leftEyeBoundingBox: Rect; @@ -14593,8 +14574,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly rightEyeBoundingBox: Rect; @@ -14605,8 +14586,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly emotion: Emotion; @@ -14617,8 +14598,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly emotionConfidence: int; @@ -14629,8 +14610,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly pitchAngle: int; @@ -14641,8 +14622,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly yawAngle: int; @@ -14653,8 +14634,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly rollAngle: int; } @@ -14666,8 +14647,8 @@ declare namespace camera { * @extends MetadataObject * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface MetadataHumanBodyObject extends MetadataObject { } @@ -14679,8 +14660,8 @@ declare namespace camera { * @extends MetadataObject * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface MetadataCatFaceObject extends MetadataObject { /** @@ -14690,8 +14671,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly leftEyeBoundingBox: Rect; @@ -14702,8 +14683,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly rightEyeBoundingBox: Rect; } @@ -14715,8 +14696,8 @@ declare namespace camera { * @extends MetadataObject * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface MetadataCatBodyObject extends MetadataObject { } @@ -14728,8 +14709,8 @@ declare namespace camera { * @extends MetadataObject * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface MetadataDogFaceObject extends MetadataObject { /** @@ -14739,8 +14720,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly leftEyeBoundingBox: Rect; @@ -14751,8 +14732,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly rightEyeBoundingBox: Rect; } @@ -14764,8 +14745,8 @@ declare namespace camera { * @extends MetadataObject * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface MetadataDogBodyObject extends MetadataObject { } @@ -14777,8 +14758,8 @@ declare namespace camera { * @extends MetadataObject * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface MetadataSalientDetectionObject extends MetadataObject { } @@ -14790,8 +14771,8 @@ declare namespace camera { * @typedef MetadataBarcodeObject * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface MetadataBarcodeObject extends MetadataObject { } @@ -14802,8 +14783,8 @@ declare namespace camera { * @typedef CameraOcclusionDetectionResult * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface CameraOcclusionDetectionResult { /** @@ -14813,8 +14794,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly isCameraOccluded: boolean; @@ -14825,8 +14806,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly isCameraLensDirty: boolean; } @@ -14846,8 +14827,8 @@ declare namespace camera { * @interface MetadataOutput * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface MetadataOutput extends CameraOutput { /** @@ -14867,8 +14848,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ start(callback: AsyncCallback): void; @@ -14889,8 +14870,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ start(): Promise; @@ -14907,8 +14888,8 @@ declare namespace camera { * @param { AsyncCallback } callback - Callback used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ stop(callback: AsyncCallback): void; @@ -14925,8 +14906,8 @@ declare namespace camera { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ stop(): Promise; @@ -14940,8 +14921,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ addMetadataObjectTypes(types: Array): void; @@ -14955,8 +14936,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ removeMetadataObjectTypes(types: Array): void; @@ -14979,8 +14960,8 @@ declare namespace camera { * @param { AsyncCallback> } callback - Callback used to get the available metadata objects. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'metadataObjectsAvailable', callback: AsyncCallback>): void; @@ -14999,8 +14980,8 @@ declare namespace camera { * @param { AsyncCallback> } callback - Callback used to get the available metadata objects. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'metadataObjectsAvailable', callback?: AsyncCallback>): void; @@ -15023,8 +15004,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the video output errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -15043,8 +15024,8 @@ declare namespace camera { * @param { ErrorCallback } callback - Callback used to get the video output errors. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; } @@ -15062,8 +15043,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ enum CameraConcurrentType { /** @@ -15077,8 +15058,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_LIMITED_CAPABILITY = 0, @@ -15093,8 +15074,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ CAMERA_FULL_CAPABILITY = 1, } @@ -15112,8 +15093,8 @@ declare namespace camera { * @interface CameraConcurrentInfo * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface CameraConcurrentInfo { /** @@ -15131,8 +15112,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly device: CameraDevice; @@ -15151,8 +15132,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly type: CameraConcurrentType; @@ -15171,8 +15152,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly modes: Array; @@ -15191,8 +15172,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ readonly outputCapabilities: Array; } @@ -15203,8 +15184,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum TimeLapseRecordState { /** @@ -15212,8 +15193,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ IDLE = 0, @@ -15222,8 +15203,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RECORDING = 1 } @@ -15234,8 +15215,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum TimeLapsePreviewType { /** @@ -15243,8 +15224,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DARK = 1, @@ -15253,8 +15234,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LIGHT = 2 } @@ -15265,8 +15246,8 @@ declare namespace camera { * @typedef TryAEInfo * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface TryAEInfo { /** @@ -15276,8 +15257,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly isTryAEDone: boolean; @@ -15288,8 +15269,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly isTryAEHintNeeded?: boolean; @@ -15300,8 +15281,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly previewType?: TimeLapsePreviewType; @@ -15312,8 +15293,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly captureInterval?: int; } @@ -15325,8 +15306,8 @@ declare namespace camera { * @interface TimeLapsePhotoSession * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface TimeLapsePhotoSession extends Session, Focus, ManualFocus, AutoExposure, ManualExposure, ManualIso, WhiteBalance, Zoom, ColorEffect { /** @@ -15337,8 +15318,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -15350,8 +15331,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -15363,8 +15344,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'focusStateChange', callback: AsyncCallback): void; @@ -15376,8 +15357,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'focusStateChange', callback?: AsyncCallback): void; @@ -15389,8 +15370,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'isoInfoChange', callback: AsyncCallback): void; @@ -15402,8 +15383,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'isoInfoChange', callback?: AsyncCallback): void; @@ -15415,8 +15396,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'exposureInfoChange', callback: AsyncCallback): void; @@ -15428,8 +15409,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'exposureInfoChange', callback?: AsyncCallback): void; @@ -15441,8 +15422,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'luminationInfoChange', callback: AsyncCallback): void; @@ -15454,8 +15435,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'luminationInfoChange', callback?: AsyncCallback): void; @@ -15467,8 +15448,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isTryAENeeded(): boolean; @@ -15480,8 +15461,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ startTryAE(): void; @@ -15493,8 +15474,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stopTryAE(): void; @@ -15506,8 +15487,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'tryAEInfoChange', callback: AsyncCallback): void; @@ -15519,8 +15500,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'tryAEInfoChange', callback?: AsyncCallback): void; @@ -15532,8 +15513,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSupportedTimeLapseIntervalRange(): Array; @@ -15545,8 +15526,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getTimeLapseInterval(): int; @@ -15559,8 +15540,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setTimeLapseInterval(interval: int): void; @@ -15572,7 +15553,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since 12 + * @since 12 dynamic */ getTimeLapseRecordState(): TimeLapseRecordState; @@ -15585,8 +15566,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setTimeLapseRecordState(state: TimeLapseRecordState): void; @@ -15598,7 +15579,7 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since 12 + * @since 12 dynamic */ getTimeLapsePreviewType(): TimeLapsePreviewType; @@ -15611,8 +15592,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setTimeLapsePreviewType(type: TimeLapsePreviewType): void; } @@ -15623,8 +15604,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum DepthDataAccuracy { /** @@ -15632,8 +15613,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ DEPTH_DATA_ACCURACY_RELATIVE = 0, @@ -15642,8 +15623,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ DEPTH_DATA_ACCURACY_ABSOLUTE = 1 } @@ -15654,8 +15635,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum DepthDataQualityLevel { /** @@ -15663,8 +15644,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ DEPTH_DATA_QUALITY_BAD = 0, @@ -15673,8 +15654,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ DEPTH_DATA_QUALITY_FAIR = 1, @@ -15683,8 +15664,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ DEPTH_DATA_QUALITY_GOOD = 2 } @@ -15695,8 +15676,8 @@ declare namespace camera { * @interface DepthProfile * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface DepthProfile { /** @@ -15706,8 +15687,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly format: CameraFormat; @@ -15718,8 +15699,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly dataAccuracy: DepthDataAccuracy; @@ -15730,8 +15711,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly size: Size; } @@ -15742,8 +15723,8 @@ declare namespace camera { * @interface DepthData. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface DepthData { /** @@ -15753,8 +15734,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly format: CameraFormat; @@ -15765,8 +15746,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly depthMap: image.PixelMap; @@ -15777,8 +15758,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly qualityLevel: DepthDataQualityLevel; @@ -15789,8 +15770,8 @@ declare namespace camera { * @readonly * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readonly dataAccuracy: DepthDataAccuracy; @@ -15801,8 +15782,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ release(): Promise; } @@ -15814,8 +15795,8 @@ declare namespace camera { * @interface DepthDataOutput * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface DepthDataOutput extends CameraOutput { /** @@ -15827,8 +15808,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ start(): Promise; @@ -15841,8 +15822,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ stop(): Promise; @@ -15854,8 +15835,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'depthDataAvailable', callback: AsyncCallback): void; @@ -15867,8 +15848,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'depthDataAvailable', callback?: AsyncCallback): void; @@ -15880,8 +15861,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -15893,8 +15874,8 @@ declare namespace camera { * @throws { BusinessError } 202 - Not System Application. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; } @@ -15905,8 +15886,8 @@ declare namespace camera { * @interface DepthFusionQuery * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface DepthFusionQuery { /** @@ -15917,8 +15898,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ isDepthFusionSupported(): boolean; @@ -15930,8 +15911,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getDepthFusionThreshold(): Array; } @@ -15943,8 +15924,8 @@ declare namespace camera { * @interface DepthFusion * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface DepthFusion extends DepthFusionQuery { /** @@ -15955,8 +15936,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ isDepthFusionEnabled(): boolean; @@ -15970,8 +15951,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enableDepthFusion(enabled: boolean): void; } @@ -15982,8 +15963,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enum AuxiliaryType { /** @@ -15991,8 +15972,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ CONTRACT_LENS = 0 } @@ -16003,8 +15984,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enum AuxiliaryStatus { /** @@ -16012,8 +15993,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ LOCKED = 0, @@ -16022,8 +16003,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ ON = 1, @@ -16032,8 +16013,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ OFF = 2 } @@ -16044,8 +16025,8 @@ declare namespace camera { * @enum { int } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum ColorReservationType { /** @@ -16053,8 +16034,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ NONE = 0, @@ -16063,8 +16044,8 @@ declare namespace camera { * * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ PORTRAIT = 1 } @@ -16075,8 +16056,8 @@ declare namespace camera { * @interface ColorReservationQuery * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ interface ColorReservationQuery { /** @@ -16087,8 +16068,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ getSupportedColorReservationTypes(): Array; } @@ -16100,8 +16081,8 @@ declare namespace camera { * @interface ColorReservation * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ interface ColorReservation extends ColorReservationQuery { /** @@ -16112,8 +16093,8 @@ declare namespace camera { * @throws { BusinessError } 7400103 - Session not config, only throw in session usage. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ getColorReservation(): ColorReservationType; @@ -16130,8 +16111,8 @@ declare namespace camera { * @throws { BusinessError } 7400201 - Camera service fatal error. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ setColorReservation(type: ColorReservationType): void; } @@ -16142,7 +16123,7 @@ declare namespace camera { * @typedef QuickThumbnail * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since 19 + * @since 19 dynamic */ interface QuickThumbnail { /** @@ -16151,7 +16132,7 @@ declare namespace camera { * @type { number } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since 19 + * @since 19 dynamic */ readonly captureId: number; @@ -16161,7 +16142,7 @@ declare namespace camera { * @type { image.PixelMap } * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since 19 + * @since 19 dynamic */ thumbnailImage: image.PixelMap; @@ -16171,7 +16152,7 @@ declare namespace camera { * @returns { Promise } Promise used to return the result. * @syscap SystemCapability.Multimedia.Camera.Core * @systemapi - * @since 19 + * @since 19 dynamic */ release(): Promise; } diff --git a/api/@ohos.multimedia.cameraPicker.d.ts b/api/@ohos.multimedia.cameraPicker.d.ts index 4ae4cc9424..21fc973b5f 100644 --- a/api/@ohos.multimedia.cameraPicker.d.ts +++ b/api/@ohos.multimedia.cameraPicker.d.ts @@ -30,8 +30,8 @@ import type camera from './@ohos.multimedia.camera'; * @namespace cameraPicker * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace cameraPicker { @@ -46,8 +46,8 @@ declare namespace cameraPicker { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class PickerProfile { /** @@ -63,8 +63,8 @@ declare namespace cameraPicker { * @type { camera.CameraPosition } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ cameraPosition: camera.CameraPosition; @@ -81,8 +81,8 @@ declare namespace cameraPicker { * @type { ?string } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ saveUri?: string; @@ -99,8 +99,8 @@ declare namespace cameraPicker { * @type { ?int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoDuration?: int; } @@ -118,8 +118,8 @@ declare namespace cameraPicker { * @enum { string } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum PickerMediaType { /** @@ -133,8 +133,8 @@ declare namespace cameraPicker { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PHOTO = 'photo', @@ -149,8 +149,8 @@ declare namespace cameraPicker { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO = 'video' } @@ -166,8 +166,8 @@ declare namespace cameraPicker { * * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ class PickerResult { /** @@ -183,8 +183,8 @@ declare namespace cameraPicker { * @type { int } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ resultCode: int; @@ -201,8 +201,8 @@ declare namespace cameraPicker { * @type { string } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ resultUri: string; @@ -219,8 +219,8 @@ declare namespace cameraPicker { * @type { PickerMediaType } * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ mediaType: PickerMediaType; } @@ -246,8 +246,8 @@ declare namespace cameraPicker { * method. The return value is PickerResult. * @syscap SystemCapability.Multimedia.Camera.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function pick(context: Context, mediaTypes: Array, pickerProfile: PickerProfile): Promise; } diff --git a/api/@ohos.multimedia.drm.d.ts b/api/@ohos.multimedia.drm.d.ts index 507346a43d..5c032f8991 100644 --- a/api/@ohos.multimedia.drm.d.ts +++ b/api/@ohos.multimedia.drm.d.ts @@ -29,8 +29,8 @@ * @namespace drm * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace drm { /** @@ -44,8 +44,8 @@ declare namespace drm { * @enum { number } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum DrmErrorCode { /** @@ -57,8 +57,8 @@ declare namespace drm { * All unknown errors. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ ERROR_UNKNOWN = 24700101, /** @@ -70,8 +70,8 @@ declare namespace drm { * Meet max MediaKeySystem num limit. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ MAX_SYSTEM_NUM_REACHED = 24700103, /** @@ -83,8 +83,8 @@ declare namespace drm { * Meet max MediaKeySession num limit. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ MAX_SESSION_NUM_REACHED = 24700104, /** @@ -96,8 +96,8 @@ declare namespace drm { * Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ SERVICE_FATAL_ERROR = 24700201 } @@ -113,8 +113,8 @@ declare namespace drm { * @enum { string } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum PreDefinedConfigName { /** @@ -126,8 +126,8 @@ declare namespace drm { * Config name vendor * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CONFIG_DEVICE_VENDOR = 'vendor', /** @@ -139,8 +139,8 @@ declare namespace drm { * Config name version * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CONFIG_DEVICE_VERSION = 'version', /** @@ -152,8 +152,8 @@ declare namespace drm { * Config name description * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CONFIG_DEVICE_DESCRIPTION = 'description', /** @@ -165,8 +165,8 @@ declare namespace drm { * Config name algorithms * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CONFIG_DEVICE_ALGORITHMS = 'algorithms', /** @@ -178,8 +178,8 @@ declare namespace drm { * Config name deviceUniqueId * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CONFIG_DEVICE_UNIQUE_ID = 'deviceUniqueId', /** @@ -191,8 +191,8 @@ declare namespace drm { * Config name maxSessionNum * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CONFIG_SESSION_MAX = 'maxSessionNum', /** @@ -204,8 +204,8 @@ declare namespace drm { * Config name currentSessionNum * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CONFIG_SESSION_CURRENT = 'currentSessionNum', } @@ -221,8 +221,8 @@ declare namespace drm { * @enum { number } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum MediaKeyType { /** @@ -234,8 +234,8 @@ declare namespace drm { * Offline media key type. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ MEDIA_KEY_TYPE_OFFLINE = 0, /** @@ -247,8 +247,8 @@ declare namespace drm { * Online media key type. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ MEDIA_KEY_TYPE_ONLINE, } @@ -264,8 +264,8 @@ declare namespace drm { * @enum { number } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum OfflineMediaKeyStatus { /** @@ -277,8 +277,8 @@ declare namespace drm { * Offline media key status unknown. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ OFFLINE_MEDIA_KEY_STATUS_UNKNOWN = 0, /** @@ -290,8 +290,8 @@ declare namespace drm { * Offline media key status usable. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ OFFLINE_MEDIA_KEY_STATUS_USABLE = 1, /** @@ -303,8 +303,8 @@ declare namespace drm { * Offline media key status inactive. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ OFFLINE_MEDIA_KEY_STATUS_INACTIVE = 2, } @@ -320,8 +320,8 @@ declare namespace drm { * @enum { number } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum CertificateStatus { /** @@ -333,8 +333,8 @@ declare namespace drm { * Device already provisioned. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CERT_STATUS_PROVISIONED = 0, /** @@ -346,8 +346,8 @@ declare namespace drm { * Device not provisioned. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CERT_STATUS_NOT_PROVISIONED, /** @@ -359,8 +359,8 @@ declare namespace drm { * Cert already expired. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CERT_STATUS_EXPIRED, /** @@ -372,8 +372,8 @@ declare namespace drm { * Certs are invalid. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CERT_STATUS_INVALID, /** @@ -385,8 +385,8 @@ declare namespace drm { * Get certs status failed. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CERT_STATUS_UNAVAILABLE, } @@ -402,8 +402,8 @@ declare namespace drm { * @enum { number } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum MediaKeyRequestType { /** @@ -415,8 +415,8 @@ declare namespace drm { * Media key request type unknown. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MEDIA_KEY_REQUEST_TYPE_UNKNOWN = 0, /** @@ -428,8 +428,8 @@ declare namespace drm { * Media key request type initial. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MEDIA_KEY_REQUEST_TYPE_INITIAL = 1, /** @@ -441,8 +441,8 @@ declare namespace drm { * Media key request type renewal. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MEDIA_KEY_REQUEST_TYPE_RENEWAL = 2, /** @@ -454,8 +454,8 @@ declare namespace drm { * Media key request type release. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MEDIA_KEY_REQUEST_TYPE_RELEASE = 3, /** @@ -467,8 +467,8 @@ declare namespace drm { * Media key request type none. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MEDIA_KEY_REQUEST_TYPE_NONE = 4, /** @@ -480,8 +480,8 @@ declare namespace drm { * Media key request type update. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MEDIA_KEY_REQUEST_TYPE_UPDATE = 5, } @@ -497,8 +497,8 @@ declare namespace drm { * @enum { number } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum ContentProtectionLevel { /** @@ -510,8 +510,8 @@ declare namespace drm { * Device decrypt and decode type unknown. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONTENT_PROTECTION_LEVEL_UNKNOWN = 0, /** @@ -523,8 +523,8 @@ declare namespace drm { * Device using software level. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONTENT_PROTECTION_LEVEL_SW_CRYPTO, /** @@ -536,8 +536,8 @@ declare namespace drm { * Device using hardware level. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONTENT_PROTECTION_LEVEL_HW_CRYPTO, /** @@ -549,8 +549,8 @@ declare namespace drm { * Device using enhanced hardware level. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONTENT_PROTECTION_LEVEL_ENHANCED_HW, /** @@ -562,8 +562,8 @@ declare namespace drm { * Max mode. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONTENT_PROTECTION_LEVEL_MAX, } @@ -579,8 +579,8 @@ declare namespace drm { * @interface ProvisionRequest * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface ProvisionRequest { /** @@ -594,8 +594,8 @@ declare namespace drm { * @type { Uint8Array } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ data: Uint8Array; /** @@ -609,8 +609,8 @@ declare namespace drm { * @type { string } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ defaultURL: string; } @@ -626,8 +626,8 @@ declare namespace drm { * @interface OptionsData * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface OptionsData { /** @@ -641,8 +641,8 @@ declare namespace drm { * @type { string } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ name: string; /** @@ -656,8 +656,8 @@ declare namespace drm { * @type { string } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ value: string; } @@ -673,8 +673,8 @@ declare namespace drm { * @interface MediaKeyRequest * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface MediaKeyRequest { /** @@ -688,8 +688,8 @@ declare namespace drm { * @type { MediaKeyRequestType } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ mediaKeyRequestType: MediaKeyRequestType; /** @@ -703,8 +703,8 @@ declare namespace drm { * @type { Uint8Array } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ data: Uint8Array; /** @@ -718,8 +718,8 @@ declare namespace drm { * @type { string } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ defaultURL: string; } @@ -735,8 +735,8 @@ declare namespace drm { * @interface EventInfo * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface EventInfo { /** @@ -750,8 +750,8 @@ declare namespace drm { * @type { Uint8Array } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ info: Uint8Array; /** @@ -765,8 +765,8 @@ declare namespace drm { * @type { string } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ extraInfo: string; } @@ -782,8 +782,8 @@ declare namespace drm { * @interface StatisticKeyValue * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface StatisticKeyValue { /** @@ -797,8 +797,8 @@ declare namespace drm { * @type { string } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ name: string; /** @@ -812,8 +812,8 @@ declare namespace drm { * @type { string } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ value: string; } @@ -829,8 +829,8 @@ declare namespace drm { * @interface MediaKeyStatus * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface MediaKeyStatus { /** @@ -844,8 +844,8 @@ declare namespace drm { * @type { string } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ name: string; /** @@ -859,8 +859,8 @@ declare namespace drm { * @type { string } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ value: string; } @@ -876,8 +876,8 @@ declare namespace drm { * @interface KeysInfo * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface KeysInfo { /** @@ -891,8 +891,8 @@ declare namespace drm { * @type { Uint8Array } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ keyId: Uint8Array; /** @@ -906,8 +906,8 @@ declare namespace drm { * @type { string } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ value: string; } @@ -923,8 +923,8 @@ declare namespace drm { * @interface MediaKeySystemInfo * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface MediaKeySystemInfo { /** @@ -938,8 +938,8 @@ declare namespace drm { * @type { string } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ uuid: string; /** @@ -953,8 +953,8 @@ declare namespace drm { * @type { Uint8Array } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pssh: Uint8Array; } @@ -970,8 +970,8 @@ declare namespace drm { * @interface MediaKeySystemDescription * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface MediaKeySystemDescription { /** @@ -985,8 +985,8 @@ declare namespace drm { * @type { string } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ name: string; /** @@ -1000,8 +1000,8 @@ declare namespace drm { * @type { string } * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ uuid: string; } @@ -1027,8 +1027,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getMediaKeySystemUuid(name: string): string; @@ -1047,8 +1047,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getMediaKeySystems(): MediaKeySystemDescription[]; @@ -1089,8 +1089,7 @@ declare namespace drm { * @throws { BusinessError } 24700103 - Meet max MediaKeySystem num limit. * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createMediaKeySystem(name: string): MediaKeySystem | undefined; @@ -1121,8 +1120,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function isMediaKeySystemSupported(name: string, mimeType: string, level: ContentProtectionLevel): boolean; @@ -1151,8 +1150,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function isMediaKeySystemSupported(name: string, mimeType: string): boolean; @@ -1179,8 +1178,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function isMediaKeySystemSupported(name: string): boolean; @@ -1197,8 +1196,8 @@ declare namespace drm { * @interface MediaKeySystem * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface MediaKeySystem { /** @@ -1224,8 +1223,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getConfigurationString(configName: string): string; @@ -1252,8 +1251,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ setConfigurationString(configName: string, value: string): void; @@ -1278,8 +1277,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getConfigurationByteArray(configName: string): Uint8Array; @@ -1306,8 +1305,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ setConfigurationByteArray(configName: string, value: Uint8Array): void; @@ -1328,8 +1327,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getStatistics(): StatisticKeyValue[]; @@ -1348,8 +1347,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getMaxContentProtectionLevel(): ContentProtectionLevel; @@ -1368,8 +1367,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ generateKeySystemRequest(): Promise; @@ -1396,8 +1395,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ processKeySystemResponse(response: Uint8Array): Promise; @@ -1416,8 +1415,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getCertificateStatus(): CertificateStatus; @@ -1440,8 +1439,8 @@ declare namespace drm { * @throws { BusinessError } 24700101 - All unknown errors. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ on(type: 'keySystemRequired', callback: (eventInfo: EventInfo) => void): void; @@ -1464,8 +1463,8 @@ declare namespace drm { * @throws { BusinessError } 24700101 - All unknown errors. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ off(type: 'keySystemRequired', callback?: (eventInfo: EventInfo) => void): void; @@ -1509,8 +1508,7 @@ declare namespace drm { * @throws { BusinessError } 24700104 - Meet max MediaKeySession num limit. * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ createMediaKeySession(level: ContentProtectionLevel): MediaKeySession | undefined; @@ -1542,8 +1540,7 @@ declare namespace drm { * @throws { BusinessError } 24700104 - Meet max MediaKeySession num limit. * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ createMediaKeySession(): MediaKeySession | undefined; @@ -1562,8 +1559,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getOfflineMediaKeyIds(): Uint8Array[]; @@ -1590,8 +1587,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getOfflineMediaKeyStatus(mediaKeyId: Uint8Array): OfflineMediaKeyStatus; @@ -1614,8 +1611,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ clearOfflineMediaKeys(mediaKeyId: Uint8Array): void; /** @@ -1631,8 +1628,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ destroy(): void; } @@ -1650,8 +1647,8 @@ declare namespace drm { * @interface MediaKeySession * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface MediaKeySession { @@ -1684,8 +1681,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ generateMediaKeyRequest(mimeType: string, initData: Uint8Array, mediaKeyType: int, options?: OptionsData[]): Promise; @@ -1712,8 +1709,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ processMediaKeyResponse(response: Uint8Array): Promise; @@ -1732,8 +1729,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ checkMediaKeyStatus(): MediaKeyStatus[]; @@ -1750,8 +1747,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ clearMediaKeys(): void; @@ -1780,8 +1777,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ generateOfflineReleaseRequest(mediaKeyId: Uint8Array): Promise; @@ -1810,8 +1807,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ processOfflineReleaseResponse(mediaKeyId: Uint8Array, response: Uint8Array): Promise; @@ -1838,8 +1835,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ restoreOfflineMediaKeys(mediaKeyId: Uint8Array): Promise; @@ -1858,8 +1855,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getContentProtectionLevel(): ContentProtectionLevel; @@ -1886,8 +1883,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ requireSecureDecoderModule(mimeType: string): boolean; @@ -1912,8 +1909,8 @@ declare namespace drm { * @throws { BusinessError } 24700101 - All unknown errors. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'keyRequired', callback: (eventInfo: EventInfo) => void): void; @@ -1938,8 +1935,8 @@ declare namespace drm { * @throws { BusinessError } 24700101 - All unknown errors. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'keyRequired', callback?: (eventInfo: EventInfo) => void): void; @@ -1964,8 +1961,8 @@ declare namespace drm { * @throws { BusinessError } 24700101 - All unknown errors. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'keyExpired', callback: (eventInfo: EventInfo) => void): void; @@ -1990,8 +1987,8 @@ declare namespace drm { * @throws { BusinessError } 24700101 - All unknown errors. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'keyExpired', callback?: (eventInfo: EventInfo) => void): void; @@ -2016,8 +2013,8 @@ declare namespace drm { * @throws { BusinessError } 24700101 - All unknown errors. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'vendorDefined', callback: (eventInfo: EventInfo) => void): void; @@ -2042,8 +2039,8 @@ declare namespace drm { * @throws { BusinessError } 24700101 - All unknown errors. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'vendorDefined', callback?: (eventInfo: EventInfo) => void): void; @@ -2068,8 +2065,8 @@ declare namespace drm { * @throws { BusinessError } 24700101 - All unknown errors. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'expirationUpdate', callback: (eventInfo: EventInfo) => void): void; @@ -2094,8 +2091,8 @@ declare namespace drm { * @throws { BusinessError } 24700101 - All unknown errors. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'expirationUpdate', callback?: (eventInfo: EventInfo) => void): void; @@ -2120,8 +2117,8 @@ declare namespace drm { * @throws { BusinessError } 24700101 - All unknown errors. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'keysChange', callback: (keyInfo: KeysInfo[], newKeyAvailable: boolean) => void): void; @@ -2146,8 +2143,8 @@ declare namespace drm { * @throws { BusinessError } 24700101 - All unknown errors. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'keysChange', callback?: (keyInfo: KeysInfo[], newKeyAvailable: boolean) => void): void; @@ -2164,8 +2161,8 @@ declare namespace drm { * @throws { BusinessError } 24700201 - Fatal service error, for example, service died. * @syscap SystemCapability.Multimedia.Drm.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ destroy(): void; diff --git a/api/@ohos.multimedia.image.d.ts b/api/@ohos.multimedia.image.d.ts index 6e912f2c6a..57885ecf68 100644 --- a/api/@ohos.multimedia.image.d.ts +++ b/api/@ohos.multimedia.image.d.ts @@ -42,8 +42,8 @@ import type rpc from './@ohos.rpc'; * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace image { /** @@ -78,8 +78,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum PixelMapFormat { /** @@ -110,8 +110,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UNKNOWN = 0, @@ -120,8 +120,8 @@ declare namespace image { * and are stored from the higher-order to the lower-order bits. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ ARGB_8888 = 1, @@ -161,8 +161,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RGB_565 = 2, @@ -198,8 +198,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RGBA_8888 = 3, @@ -235,8 +235,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BGRA_8888 = 4, @@ -272,8 +272,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RGB_888 = 5, @@ -309,8 +309,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ALPHA_8 = 6, @@ -346,8 +346,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RGBA_F16 = 7, @@ -383,8 +383,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NV21 = 8, @@ -420,8 +420,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NV12 = 9, @@ -430,8 +430,8 @@ declare namespace image { * R(10bits), G(10bits), B(10bits), A(2bits) and are stored from the higher-order to the lower-order bits. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RGBA_1010102 = 10, @@ -440,8 +440,8 @@ declare namespace image { * and are stored from the higher-order to the lower-order bits. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ YCBCR_P010 = 11, @@ -450,8 +450,8 @@ declare namespace image { * and are stored from the higher-order to the lower-order bits. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ YCRCB_P010 = 12, @@ -461,8 +461,8 @@ declare namespace image { * processing editing. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ ASTC_4x4 = 102 } @@ -473,8 +473,8 @@ declare namespace image { * @enum { int } * @syscap SystemCapability.Multimedia.Image.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum ResolutionQuality { /** @@ -482,8 +482,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOW = 1, @@ -492,8 +492,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MEDIUM = 2, @@ -502,8 +502,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HIGH = 3 } @@ -540,8 +540,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface Size { /** @@ -576,8 +576,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ height: int; @@ -613,8 +613,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ width: int; } @@ -634,8 +634,8 @@ declare namespace image { * @enum { string } * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum PropertyKey { /** @@ -651,8 +651,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ BITS_PER_SAMPLE = 'BitsPerSample', @@ -689,8 +689,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ORIENTATION = 'Orientation', @@ -705,8 +705,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ IMAGE_LENGTH = 'ImageLength', @@ -721,8 +721,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ IMAGE_WIDTH = 'ImageWidth', @@ -743,8 +743,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ GPS_LATITUDE = 'GPSLatitude', @@ -765,8 +765,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ GPS_LONGITUDE = 'GPSLongitude', @@ -781,8 +781,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ GPS_LATITUDE_REF = 'GPSLatitudeRef', @@ -797,8 +797,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ GPS_LONGITUDE_REF = 'GPSLongitudeRef', @@ -815,8 +815,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ DATE_TIME_ORIGINAL = 'DateTimeOriginal', @@ -831,8 +831,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ EXPOSURE_TIME = 'ExposureTime', @@ -847,8 +847,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SCENE_TYPE = 'SceneType', @@ -863,8 +863,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ISO_SPEED_RATINGS = 'ISOSpeedRatings', @@ -879,8 +879,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ F_NUMBER = 'FNumber', @@ -889,8 +889,8 @@ declare namespace image { * is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ DATE_TIME = 'DateTime', @@ -898,8 +898,8 @@ declare namespace image { * GPS time stamp * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ GPS_TIME_STAMP = 'GPSTimeStamp', @@ -907,8 +907,8 @@ declare namespace image { * GPS date stamp * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ GPS_DATE_STAMP = 'GPSDateStamp', @@ -916,8 +916,8 @@ declare namespace image { * Image description * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ IMAGE_DESCRIPTION = 'ImageDescription', @@ -925,8 +925,8 @@ declare namespace image { * Make * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MAKE = 'Make', @@ -934,8 +934,8 @@ declare namespace image { * Model * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ MODEL = 'Model', @@ -943,8 +943,8 @@ declare namespace image { * Photo mode * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PHOTO_MODE = 'PhotoMode', @@ -952,8 +952,8 @@ declare namespace image { * Sensitivity type * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ SENSITIVITY_TYPE = 'SensitivityType', @@ -961,8 +961,8 @@ declare namespace image { * Standard output sensitivity * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ STANDARD_OUTPUT_SENSITIVITY = 'StandardOutputSensitivity', @@ -970,8 +970,8 @@ declare namespace image { * Recommended exposure index * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ RECOMMENDED_EXPOSURE_INDEX = 'RecommendedExposureIndex', @@ -979,8 +979,8 @@ declare namespace image { * Indicates the ISO Speed and ISO Latitude of the camera or input device as specified in ISO 12232. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ISO_SPEED = 'ISOSpeedRatings', @@ -988,8 +988,8 @@ declare namespace image { * The lens aperture. The unit is the APEX((Additive System of Photographic Exposure) value. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ APERTURE_VALUE = 'ApertureValue', @@ -997,8 +997,8 @@ declare namespace image { * Exposure bias value * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ EXPOSURE_BIAS_VALUE = 'ExposureBiasValue', @@ -1006,8 +1006,8 @@ declare namespace image { * Metering mode * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ METERING_MODE = 'MeteringMode', @@ -1015,8 +1015,8 @@ declare namespace image { * Light source * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ LIGHT_SOURCE = 'LightSource', @@ -1024,8 +1024,8 @@ declare namespace image { * Flash * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ FLASH = 'Flash', @@ -1033,8 +1033,8 @@ declare namespace image { * Focal length * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ FOCAL_LENGTH = 'FocalLength', @@ -1042,8 +1042,8 @@ declare namespace image { * User comment * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ USER_COMMENT = 'UserComment', @@ -1051,8 +1051,8 @@ declare namespace image { * Pixel x dimension * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PIXEL_X_DIMENSION = 'PixelXDimension', @@ -1060,8 +1060,8 @@ declare namespace image { * Pixel y dimension * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PIXEL_Y_DIMENSION = 'PixelYDimension', @@ -1069,8 +1069,8 @@ declare namespace image { * White balance * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ WHITE_BALANCE = 'WhiteBalance', @@ -1078,8 +1078,8 @@ declare namespace image { * Focal length in 35mm film * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ FOCAL_LENGTH_IN_35_MM_FILM = 'FocalLengthIn35mmFilm', @@ -1087,8 +1087,8 @@ declare namespace image { * Capture mode * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CAPTURE_MODE = 'HwMnoteCaptureMode', @@ -1096,8 +1096,8 @@ declare namespace image { * Physical aperture * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ PHYSICAL_APERTURE = 'HwMnotePhysicalAperture', @@ -1106,8 +1106,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ROLL_ANGLE = 'HwMnoteRollAngle', @@ -1116,8 +1116,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PITCH_ANGLE = 'HwMnotePitchAngle', @@ -1126,8 +1126,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SCENE_FOOD_CONF = 'HwMnoteSceneFoodConf', @@ -1136,8 +1136,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SCENE_STAGE_CONF = 'HwMnoteSceneStageConf', @@ -1146,8 +1146,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SCENE_BLUE_SKY_CONF = 'HwMnoteSceneBlueSkyConf', @@ -1156,8 +1156,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SCENE_GREEN_PLANT_CONF = 'HwMnoteSceneGreenPlantConf', @@ -1166,8 +1166,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SCENE_BEACH_CONF = 'HwMnoteSceneBeachConf', @@ -1176,8 +1176,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SCENE_SNOW_CONF = 'HwMnoteSceneSnowConf', @@ -1186,8 +1186,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SCENE_SUNSET_CONF = 'HwMnoteSceneSunsetConf', @@ -1196,8 +1196,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SCENE_FLOWERS_CONF = 'HwMnoteSceneFlowersConf', @@ -1206,8 +1206,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SCENE_NIGHT_CONF = 'HwMnoteSceneNightConf', @@ -1216,8 +1216,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SCENE_TEXT_CONF = 'HwMnoteSceneTextConf', @@ -1226,8 +1226,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FACE_COUNT = 'HwMnoteFaceCount', @@ -1236,8 +1236,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FOCUS_MODE = 'HwMnoteFocusMode', @@ -1246,8 +1246,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMPRESSION = 'Compression', @@ -1256,8 +1256,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PHOTOMETRIC_INTERPRETATION = 'PhotometricInterpretation', @@ -1266,8 +1266,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STRIP_OFFSETS = 'StripOffsets', @@ -1277,8 +1277,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SAMPLES_PER_PIXEL = 'SamplesPerPixel', @@ -1287,8 +1287,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ROWS_PER_STRIP = 'RowsPerStrip', @@ -1297,8 +1297,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STRIP_BYTE_COUNTS = 'StripByteCounts', @@ -1307,8 +1307,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ X_RESOLUTION = 'XResolution', @@ -1317,8 +1317,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ Y_RESOLUTION = 'YResolution', @@ -1327,8 +1327,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PLANAR_CONFIGURATION = 'PlanarConfiguration', @@ -1337,8 +1337,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RESOLUTION_UNIT = 'ResolutionUnit', @@ -1347,8 +1347,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TRANSFER_FUNCTION = 'TransferFunction', @@ -1357,8 +1357,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SOFTWARE = 'Software', @@ -1367,8 +1367,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ARTIST = 'Artist', @@ -1377,8 +1377,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WHITE_POINT = 'WhitePoint', @@ -1387,8 +1387,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PRIMARY_CHROMATICITIES = 'PrimaryChromaticities', @@ -1397,8 +1397,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ YCBCR_COEFFICIENTS = 'YCbCrCoefficients', @@ -1407,8 +1407,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ YCBCR_SUB_SAMPLING = 'YCbCrSubSampling', @@ -1417,8 +1417,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ YCBCR_POSITIONING = 'YCbCrPositioning', @@ -1427,8 +1427,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ REFERENCE_BLACK_WHITE = 'ReferenceBlackWhite', @@ -1437,8 +1437,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COPYRIGHT = 'Copyright', @@ -1447,8 +1447,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ JPEG_INTERCHANGE_FORMAT = 'JPEGInterchangeFormat', @@ -1457,8 +1457,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ JPEG_INTERCHANGE_FORMAT_LENGTH = 'JPEGInterchangeFormatLength', @@ -1467,8 +1467,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EXPOSURE_PROGRAM = 'ExposureProgram', @@ -1477,8 +1477,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPECTRAL_SENSITIVITY = 'SpectralSensitivity', @@ -1487,8 +1487,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OECF = 'OECF', @@ -1497,8 +1497,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EXIF_VERSION = 'ExifVersion', @@ -1509,8 +1509,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DATE_TIME_DIGITIZED = 'DateTimeDigitized', @@ -1519,8 +1519,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMPONENTS_CONFIGURATION = 'ComponentsConfiguration', @@ -1529,8 +1529,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SHUTTER_SPEED = 'ShutterSpeedValue', @@ -1539,8 +1539,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BRIGHTNESS_VALUE = 'BrightnessValue', @@ -1549,8 +1549,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MAX_APERTURE_VALUE = 'MaxApertureValue', @@ -1559,8 +1559,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SUBJECT_DISTANCE = 'SubjectDistance', @@ -1569,8 +1569,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SUBJECT_AREA = 'SubjectArea', @@ -1579,8 +1579,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MAKER_NOTE = 'MakerNote', @@ -1589,8 +1589,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SUBSEC_TIME = 'SubsecTime', @@ -1599,8 +1599,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SUBSEC_TIME_ORIGINAL = 'SubsecTimeOriginal', @@ -1609,8 +1609,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SUBSEC_TIME_DIGITIZED = 'SubsecTimeDigitized', @@ -1619,8 +1619,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FLASHPIX_VERSION = 'FlashpixVersion', @@ -1629,8 +1629,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COLOR_SPACE = 'ColorSpace', @@ -1639,8 +1639,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RELATED_SOUND_FILE = 'RelatedSoundFile', @@ -1649,8 +1649,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FLASH_ENERGY = 'FlashEnergy', @@ -1659,8 +1659,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPATIAL_FREQUENCY_RESPONSE = 'SpatialFrequencyResponse', @@ -1669,8 +1669,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FOCAL_PLANE_X_RESOLUTION = 'FocalPlaneXResolution', @@ -1679,8 +1679,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FOCAL_PLANE_Y_RESOLUTION = 'FocalPlaneYResolution', @@ -1689,8 +1689,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FOCAL_PLANE_RESOLUTION_UNIT = 'FocalPlaneResolutionUnit', @@ -1699,8 +1699,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SUBJECT_LOCATION = 'SubjectLocation', @@ -1709,8 +1709,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EXPOSURE_INDEX = 'ExposureIndex', @@ -1719,8 +1719,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SENSING_METHOD = 'SensingMethod', @@ -1729,8 +1729,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FILE_SOURCE = 'FileSource', @@ -1739,8 +1739,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CFA_PATTERN = 'CFAPattern', @@ -1749,8 +1749,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CUSTOM_RENDERED = 'CustomRendered', @@ -1759,8 +1759,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EXPOSURE_MODE = 'ExposureMode', @@ -1769,8 +1769,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DIGITAL_ZOOM_RATIO = 'DigitalZoomRatio', @@ -1779,8 +1779,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCENE_CAPTURE_TYPE = 'SceneCaptureType', @@ -1789,8 +1789,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GAIN_CONTROL = 'GainControl', @@ -1799,8 +1799,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONTRAST = 'Contrast', @@ -1809,8 +1809,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SATURATION = 'Saturation', @@ -1819,8 +1819,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SHARPNESS = 'Sharpness', @@ -1829,8 +1829,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEVICE_SETTING_DESCRIPTION = 'DeviceSettingDescription', @@ -1839,8 +1839,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SUBJECT_DISTANCE_RANGE = 'SubjectDistanceRange', @@ -1849,8 +1849,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ IMAGE_UNIQUE_ID = 'ImageUniqueID', @@ -1859,8 +1859,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_VERSION_ID = 'GPSVersionID', @@ -1869,8 +1869,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_ALTITUDE_REF = 'GPSAltitudeRef', @@ -1879,8 +1879,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_ALTITUDE = 'GPSAltitude', @@ -1889,8 +1889,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_SATELLITES = 'GPSSatellites', @@ -1899,8 +1899,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_STATUS = 'GPSStatus', @@ -1909,8 +1909,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_MEASURE_MODE = 'GPSMeasureMode', @@ -1919,8 +1919,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_DOP = 'GPSDOP', @@ -1929,8 +1929,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_SPEED_REF = 'GPSSpeedRef', @@ -1939,8 +1939,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_SPEED = 'GPSSpeed', @@ -1949,8 +1949,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_TRACK_REF = 'GPSTrackRef', @@ -1959,8 +1959,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_TRACK = 'GPSTrack', @@ -1969,8 +1969,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_IMG_DIRECTION_REF = 'GPSImgDirectionRef', @@ -1979,8 +1979,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_IMG_DIRECTION = 'GPSImgDirection', @@ -1989,8 +1989,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_MAP_DATUM = 'GPSMapDatum', @@ -1999,8 +1999,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_DEST_LATITUDE_REF = 'GPSDestLatitudeRef', @@ -2009,8 +2009,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_DEST_LATITUDE = 'GPSDestLatitude', @@ -2019,8 +2019,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_DEST_LONGITUDE_REF = 'GPSDestLongitudeRef', @@ -2029,8 +2029,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_DEST_LONGITUDE = 'GPSDestLongitude', @@ -2039,8 +2039,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_DEST_BEARING_REF = 'GPSDestBearingRef', @@ -2049,8 +2049,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_DEST_BEARING = 'GPSDestBearing', @@ -2059,8 +2059,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_DEST_DISTANCE_REF = 'GPSDestDistanceRef', @@ -2069,8 +2069,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_DEST_DISTANCE = 'GPSDestDistance', @@ -2079,8 +2079,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_PROCESSING_METHOD = 'GPSProcessingMethod', @@ -2089,8 +2089,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_AREA_INFORMATION = 'GPSAreaInformation', @@ -2099,8 +2099,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_DIFFERENTIAL = 'GPSDifferential', @@ -2109,8 +2109,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BODY_SERIAL_NUMBER = 'BodySerialNumber', @@ -2119,8 +2119,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CAMERA_OWNER_NAME = 'CameraOwnerName', @@ -2129,8 +2129,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMPOSITE_IMAGE = 'CompositeImage', @@ -2139,8 +2139,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ COMPRESSED_BITS_PER_PIXEL = 'CompressedBitsPerPixel', @@ -2149,8 +2149,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DNG_VERSION = 'DNGVersion', @@ -2159,8 +2159,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DEFAULT_CROP_SIZE = 'DefaultCropSize', @@ -2169,8 +2169,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GAMMA = 'Gamma', @@ -2179,8 +2179,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ISO_SPEED_LATITUDE_YYY = 'ISOSpeedLatitudeyyy', @@ -2189,8 +2189,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ISO_SPEED_LATITUDE_ZZZ = 'ISOSpeedLatitudezzz', @@ -2199,8 +2199,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LENS_MAKE = 'LensMake', @@ -2209,8 +2209,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LENS_MODEL = 'LensModel', @@ -2219,8 +2219,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LENS_SERIAL_NUMBER = 'LensSerialNumber', @@ -2229,8 +2229,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LENS_SPECIFICATION = 'LensSpecification', @@ -2239,8 +2239,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NEW_SUBFILE_TYPE = 'NewSubfileType', @@ -2249,8 +2249,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OFFSET_TIME = 'OffsetTime', @@ -2259,8 +2259,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OFFSET_TIME_DIGITIZED = 'OffsetTimeDigitized', @@ -2269,8 +2269,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OFFSET_TIME_ORIGINAL = 'OffsetTimeOriginal', @@ -2279,8 +2279,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SOURCE_EXPOSURE_TIMES_OF_COMPOSITE_IMAGE = 'SourceExposureTimesOfCompositeImage', @@ -2289,8 +2289,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SOURCE_IMAGE_NUMBER_OF_COMPOSITE_IMAGE = 'SourceImageNumberOfCompositeImage', @@ -2299,8 +2299,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SUBFILE_TYPE = 'SubfileType', @@ -2309,8 +2309,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GPS_H_POSITIONING_ERROR = 'GPSHPositioningError', @@ -2319,8 +2319,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PHOTOGRAPHIC_SENSITIVITY = 'PhotographicSensitivity', @@ -2329,8 +2329,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BURST_NUMBER = 'HwMnoteBurstNumber', @@ -2339,8 +2339,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FACE_CONF = 'HwMnoteFaceConf', @@ -2349,8 +2349,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FACE_LEYE_CENTER = 'HwMnoteFaceLeyeCenter', @@ -2359,8 +2359,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FACE_MOUTH_CENTER = 'HwMnoteFaceMouthCenter', @@ -2369,8 +2369,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FACE_POINTER = 'HwMnoteFacePointer', @@ -2379,8 +2379,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FACE_RECT = 'HwMnoteFaceRect', @@ -2389,8 +2389,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FACE_REYE_CENTER = 'HwMnoteFaceReyeCenter', @@ -2399,8 +2399,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FACE_SMILE_SCORE = 'HwMnoteFaceSmileScore', @@ -2409,8 +2409,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FACE_VERSION = 'HwMnoteFaceVersion', @@ -2419,8 +2419,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FRONT_CAMERA = 'HwMnoteFrontCamera', @@ -2429,8 +2429,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCENE_POINTER = 'HwMnoteScenePointer', @@ -2439,8 +2439,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCENE_VERSION = 'HwMnoteSceneVersion', @@ -2449,8 +2449,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ IS_XMAGE_SUPPORTED = 'HwMnoteIsXmageSupported', @@ -2459,8 +2459,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ XMAGE_MODE = 'HwMnoteXmageMode', @@ -2469,8 +2469,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ XMAGE_LEFT = 'HwMnoteXmageLeft', @@ -2479,8 +2479,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ XMAGE_TOP = 'HwMnoteXmageTop', @@ -2489,8 +2489,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ XMAGE_RIGHT = 'HwMnoteXmageRight', @@ -2499,8 +2499,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ XMAGE_BOTTOM = 'HwMnoteXmageBottom', @@ -2509,8 +2509,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CLOUD_ENHANCEMENT_MODE = 'HwMnoteCloudEnhancementMode', @@ -2519,8 +2519,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ WIND_SNAPSHOT_MODE = 'HwMnoteWindSnapshotMode', @@ -2530,8 +2530,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GIF_LOOP_COUNT = 'GIFLoopCount' } @@ -2541,16 +2541,16 @@ declare namespace image { * * @enum { int } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum ImageFormat { /** * YCBCR422 semi-planar format. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ YCBCR_422_SP = 1000, @@ -2558,8 +2558,8 @@ declare namespace image { * JPEG encoding format. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ JPEG = 2000 } @@ -2596,8 +2596,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AlphaType { /** @@ -2628,8 +2628,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UNKNOWN = 0, @@ -2661,8 +2661,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OPAQUE = 1, @@ -2694,8 +2694,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PREMUL = 2, @@ -2727,8 +2727,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UNPREMUL = 3 } @@ -2738,8 +2738,8 @@ declare namespace image { * * @enum { int } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum DecodingDynamicRange { /** @@ -2748,8 +2748,8 @@ declare namespace image { * Imagesources created via {@link CreateIncrementalSource} will be decoded as SDR content. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUTO = 0, @@ -2757,8 +2757,8 @@ declare namespace image { * Decoding to standard dynamic range. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SDR = 1, @@ -2766,8 +2766,8 @@ declare namespace image { * Decoding to high dynamic range. Imagesources created via {@link CreateIncrementalSource} will be decoded as SDR content. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HDR = 2 } @@ -2777,8 +2777,8 @@ declare namespace image { * * @enum { int } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum PackingDynamicRange { /** @@ -2786,8 +2786,8 @@ declare namespace image { * otherwise, it will be encoded as SDR content. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUTO = 0, @@ -2795,8 +2795,8 @@ declare namespace image { * Packing to standard dynamic range. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SDR = 1, } @@ -2814,8 +2814,8 @@ declare namespace image { * @enum { int } * @syscap SystemCapability.Multimedia.Image.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum AntiAliasingLevel { /** @@ -2829,8 +2829,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ NONE = 0, @@ -2845,8 +2845,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ LOW = 1, @@ -2861,8 +2861,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ MEDIUM = 2, @@ -2877,8 +2877,8 @@ declare namespace image { * * @syscap SystemCapability.Multimedia.Image.Core * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ HIGH = 3, } @@ -2915,8 +2915,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum ScaleMode { /** @@ -2947,8 +2947,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ FIT_TARGET_SIZE = 0, @@ -2980,8 +2980,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CENTER_CROP = 1 } @@ -2991,16 +2991,16 @@ declare namespace image { * * @enum { int } * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum ComponentType { /** * Luma info. * * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ YUV_Y = 1, @@ -3008,8 +3008,8 @@ declare namespace image { * Chrominance info. * * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ YUV_U = 2, @@ -3017,8 +3017,8 @@ declare namespace image { * Chroma info. * * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ YUV_V = 3, @@ -3026,8 +3026,8 @@ declare namespace image { * Jpeg type. * * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ JPEG = 4 } @@ -3037,16 +3037,16 @@ declare namespace image { * * @enum { int } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum HdrMetadataKey { /** * Indicate the types of metadata that image needs to use. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HDR_METADATA_TYPE = 0, @@ -3054,8 +3054,8 @@ declare namespace image { * Static metadata key. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HDR_STATIC_METADATA = 1, @@ -3063,8 +3063,8 @@ declare namespace image { * Dynamic metadata key. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HDR_DYNAMIC_METADATA = 2, @@ -3072,8 +3072,8 @@ declare namespace image { * Gainmap metadata key. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HDR_GAINMAP_METADATA = 3, } @@ -3083,16 +3083,16 @@ declare namespace image { * * @enum { int } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum HdrMetadataType { /** * No metadata. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NONE = 0, @@ -3100,8 +3100,8 @@ declare namespace image { * Indicates that metadata will be used for the base image. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BASE = 1, @@ -3109,8 +3109,8 @@ declare namespace image { * Indicates that metadata will be used for the gainmap image. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ GAINMAP = 2, @@ -3118,8 +3118,8 @@ declare namespace image { * Indicates that metadata will be used for the alternate image. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ALTERNATE = 3, } @@ -3129,16 +3129,16 @@ declare namespace image { * * @enum { int } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum AllocatorType { /** * The system determines which memory to use to create the PixelMap. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ AUTO = 0, @@ -3146,8 +3146,8 @@ declare namespace image { * Use DMA buffer to create the PixelMap. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ DMA = 1, @@ -3155,8 +3155,8 @@ declare namespace image { * Use share memory to create the PixelMap. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ SHARE_MEMORY = 2, } @@ -3193,8 +3193,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface Region { /** @@ -3229,8 +3229,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ size: Size; @@ -3266,8 +3266,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ x: int; @@ -3303,8 +3303,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ y: int; } @@ -3341,8 +3341,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface PositionArea { /** @@ -3377,8 +3377,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pixels: ArrayBuffer; @@ -3414,8 +3414,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ offset: int; @@ -3451,8 +3451,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stride: int; @@ -3488,8 +3488,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ region: Region; } @@ -3526,8 +3526,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ImageInfo { /** @@ -3562,8 +3562,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ size: Size; @@ -3599,8 +3599,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ density: int; @@ -3619,8 +3619,8 @@ declare namespace image { * @syscap SystemCapability.Multimedia.Image.Core * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stride: int; @@ -3632,8 +3632,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pixelFormat: PixelMapFormat; @@ -3645,8 +3645,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ alphaType: AlphaType; @@ -3656,8 +3656,8 @@ declare namespace image { * @type { string } * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ mimeType: string; @@ -3666,8 +3666,8 @@ declare namespace image { * * @type { boolean } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isHdr: boolean; } @@ -3677,16 +3677,16 @@ declare namespace image { * * @enum { int } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enum CropAndScaleStrategy { /** * Scales and then crops the image. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SCALE_FIRST = 1, @@ -3694,8 +3694,8 @@ declare namespace image { * Crops and then scales the image. * * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ CROP_FIRST = 2 } @@ -3722,8 +3722,8 @@ declare namespace image { * @syscap SystemCapability.Multimedia.Image.ImagePacker * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface PackingOption { /** @@ -3748,8 +3748,8 @@ declare namespace image { * @syscap SystemCapability.Multimedia.Image.ImagePacker * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ format: string; @@ -3775,8 +3775,8 @@ declare namespace image { * @syscap SystemCapability.Multimedia.Image.ImagePacker * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ quality: int; @@ -3805,8 +3805,8 @@ declare namespace image { * @syscap SystemCapability.Multimedia.Image.ImagePacker * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ bufferSize?: int; @@ -3815,8 +3815,8 @@ declare namespace image { * * @type { ?PackingDynamicRange } * @syscap SystemCapability.Multimedia.Image.ImagePacker - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ desiredDynamicRange?: PackingDynamicRange; @@ -3825,8 +3825,8 @@ declare namespace image { * * @type { ?boolean } * @syscap SystemCapability.Multimedia.Image.ImagePacker - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ needsPackProperties?: boolean; } @@ -3836,8 +3836,8 @@ declare namespace image { * * @typedef PackingOptionsForSequence * @syscap SystemCapability.Multimedia.Image.ImagePacker - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface PackingOptionsForSequence { /** @@ -3845,8 +3845,8 @@ declare namespace image { * * @type { int } * @syscap SystemCapability.Multimedia.Image.ImagePacker - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ frameCount: int; @@ -3856,8 +3856,8 @@ declare namespace image { * * @type { Array } * @syscap SystemCapability.Multimedia.Image.ImagePacker - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ delayTimeList: Array; @@ -3866,8 +3866,8 @@ declare namespace image { * * @type { ?Array } * @syscap SystemCapability.Multimedia.Image.ImagePacker - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ disposalTypes?: Array; @@ -3877,8 +3877,8 @@ declare namespace image { * * @type { ?int } * @syscap SystemCapability.Multimedia.Image.ImagePacker - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ loopCount?: int; } @@ -3898,7 +3898,7 @@ declare namespace image { * @typedef GetImagePropertyOptions * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead image.ImagePropertyOptions */ @@ -3918,7 +3918,7 @@ declare namespace image { * @type { ?number } * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead image.ImagePropertyOptions#index */ @@ -3939,7 +3939,7 @@ declare namespace image { * @type { ?string } * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead image.ImagePropertyOptions#defaultValue */ @@ -3952,8 +3952,8 @@ declare namespace image { * @typedef ImagePropertyOptions * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface ImagePropertyOptions { /** @@ -3962,8 +3962,8 @@ declare namespace image { * @type { ?int } * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ index?: int; @@ -3973,8 +3973,8 @@ declare namespace image { * @type { ?string } * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ defaultValue?: string; } @@ -4011,8 +4011,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface DecodingOptions { /** @@ -4047,8 +4047,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ index?: int; @@ -4084,8 +4084,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sampleSize?: int; @@ -4121,8 +4121,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ rotate?: int; @@ -4158,8 +4158,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ editable?: boolean; @@ -4199,8 +4199,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ desiredSize?: Size; @@ -4236,8 +4236,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ desiredRegion?: Region; @@ -4273,8 +4273,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ desiredPixelFormat?: PixelMapFormat; @@ -4310,8 +4310,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fitDensity?: int; @@ -4321,8 +4321,8 @@ declare namespace image { * @type { ?colorSpaceManager.ColorSpaceManager } * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ desiredColorSpace?: colorSpaceManager.ColorSpaceManager; @@ -4331,8 +4331,8 @@ declare namespace image { * * @type { ?DecodingDynamicRange } * @syscap SystemCapability.Multimedia.Image.ImageSource - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ desiredDynamicRange?: DecodingDynamicRange; @@ -4342,8 +4342,8 @@ declare namespace image { * @type { ?ResolutionQuality } * @syscap SystemCapability.Multimedia.Image.ImageSource * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ resolutionQuality?: ResolutionQuality; @@ -4352,8 +4352,8 @@ declare namespace image { * * @type { ?CropAndScaleStrategy } * @syscap SystemCapability.Multimedia.Image.ImageSource - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ cropAndScaleStrategy?: CropAndScaleStrategy; } @@ -4363,8 +4363,8 @@ declare namespace image { * * @typedef Component * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface Component { /** @@ -4373,8 +4373,8 @@ declare namespace image { * @type { ComponentType } * @readonly * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly componentType: ComponentType; @@ -4384,8 +4384,8 @@ declare namespace image { * @type { int } * @readonly * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly rowStride: int; @@ -4395,8 +4395,8 @@ declare namespace image { * @type { int } * @readonly * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly pixelStride: int; @@ -4406,8 +4406,8 @@ declare namespace image { * @type { ArrayBuffer } * @readonly * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly byteBuffer: ArrayBuffer; } @@ -4444,8 +4444,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface InitializationOptions { /** @@ -4480,8 +4480,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ size: Size; @@ -4490,8 +4490,8 @@ declare namespace image { * * @type { ?PixelMapFormat } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ srcPixelFormat?: PixelMapFormat; @@ -4527,8 +4527,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pixelFormat?: PixelMapFormat; @@ -4564,8 +4564,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ editable?: boolean; @@ -4601,8 +4601,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ alphaType?: AlphaType; @@ -4638,8 +4638,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ scaleMode?: ScaleMode; } @@ -4676,8 +4676,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface SourceOptions { /** @@ -4712,8 +4712,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sourceDensity: int; @@ -4749,8 +4749,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sourcePixelFormat?: PixelMapFormat; @@ -4786,8 +4786,8 @@ declare namespace image { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sourceSize?: Size; } @@ -4797,8 +4797,8 @@ declare namespace image { * * @typedef HdrStaticMetadata * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface HdrStaticMetadata { /** @@ -4808,8 +4808,8 @@ declare namespace image { * * @type { Array } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ displayPrimariesX: Array; @@ -4820,8 +4820,8 @@ declare namespace image { * * @type { Array } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ displayPrimariesY: Array; @@ -4831,8 +4831,8 @@ declare namespace image { * * @type { double } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ whitePointX: double; @@ -4842,8 +4842,8 @@ declare namespace image { * * @type { double } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ whitePointY: double; @@ -4853,8 +4853,8 @@ declare namespace image { * * @type { double } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ maxLuminance: double; @@ -4864,8 +4864,8 @@ declare namespace image { * * @type { double } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ minLuminance: double; @@ -4875,8 +4875,8 @@ declare namespace image { * * @type { double } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ maxContentLightLevel: double; @@ -4886,8 +4886,8 @@ declare namespace image { * * @type { double } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ maxFrameAverageLightLevel: double; } @@ -4897,8 +4897,8 @@ declare namespace image { * * @typedef GainmapChannel * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface GainmapChannel { /** @@ -4906,8 +4906,8 @@ declare namespace image { * * @type { double } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ gainmapMax: double; @@ -4916,8 +4916,8 @@ declare namespace image { * * @type { double } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ gainmapMin: double; @@ -4926,8 +4926,8 @@ declare namespace image { * * @type { double } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ gamma: double; @@ -4936,8 +4936,8 @@ declare namespace image { * * @type { double } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ baseOffset: double; @@ -4946,8 +4946,8 @@ declare namespace image { * * @type { double } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ alternateOffset: double; } @@ -4957,8 +4957,8 @@ declare namespace image { * * @typedef HdrGainmapMetadata * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface HdrGainmapMetadata { /** @@ -4966,8 +4966,8 @@ declare namespace image { * * @type { int } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ writerVersion: int; @@ -4976,8 +4976,8 @@ declare namespace image { * * @type { int } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ miniVersion: int; @@ -4986,8 +4986,8 @@ declare namespace image { * * @type { int } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ gainmapChannelCount: int; @@ -4996,8 +4996,8 @@ declare namespace image { * * @type { boolean } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ useBaseColorFlag: boolean; @@ -5006,8 +5006,8 @@ declare namespace image { * * @type { double } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ baseHeadroom: double; @@ -5016,8 +5016,8 @@ declare namespace image { * * @type { double } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ alternateHeadroom: double; @@ -5026,8 +5026,8 @@ declare namespace image { * * @type { Array } * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ channels: Array; } @@ -5037,8 +5037,8 @@ declare namespace image { * * @typedef {HdrMetadataType | HdrStaticMetadata | ArrayBuffer | HdrGainmapMetadata} HdrMetadataValue * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type HdrMetadataValue = HdrMetadataType | HdrStaticMetadata | ArrayBuffer | HdrGainmapMetadata; @@ -5059,8 +5059,8 @@ declare namespace image { * @param { AsyncCallback } callback Callback used to return the PixelMap object. * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function createPixelMap(colors: ArrayBuffer, options: InitializationOptions, callback: AsyncCallback): void; @@ -5081,8 +5081,8 @@ declare namespace image { * @returns { Promise } A Promise instance used to return the PixelMap object. * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function createPixelMap(colors: ArrayBuffer, options: InitializationOptions): Promise; @@ -5096,8 +5096,8 @@ declare namespace image { * 2.Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createPixelMapSync(colors: ArrayBuffer, options: InitializationOptions): PixelMap; @@ -5115,7 +5115,7 @@ declare namespace image { * @throws { BusinessError } 7600301 - Memory alloc failed. * @throws { BusinessError } 7600302 - Memory copy failed. * @syscap SystemCapability.Multimedia.Image.Core - * @since 20 + * @since 20 dynamic */ function createPixelMapUsingAllocator(colors: ArrayBuffer, param: InitializationOptions, allocatorType?: AllocatorType): Promise; @@ -5134,7 +5134,7 @@ declare namespace image { * @throws { BusinessError } 7600301 - Memory alloc failed. * @throws { BusinessError } 7600302 - Memory copy failed. * @syscap SystemCapability.Multimedia.Image.Core - * @since 20 + * @since 20 dynamic */ function createPixelMapUsingAllocatorSync(colors: ArrayBuffer, param: InitializationOptions, allocatorType?: AllocatorType): PixelMap; @@ -5148,8 +5148,8 @@ declare namespace image { * 2.Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createPixelMapSync(options: InitializationOptions): PixelMap; @@ -5165,7 +5165,7 @@ function createPixelMapSync(options: InitializationOptions): PixelMap; * @throws { BusinessError } 7600201 - Unsupported operation. * @throws { BusinessError } 7600301 - Memory alloc failed. * @syscap SystemCapability.Multimedia.Image.Core - * @since 20 + * @since 20 dynamic */ function createPixelMapUsingAllocatorSync(param: InitializationOptions, allocatorType?: AllocatorType): PixelMap; @@ -5183,8 +5183,8 @@ function createPixelMapSync(options: InitializationOptions): PixelMap; * @throws { BusinessError } 62980248 - Pixelmap not allow modify. * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createPremultipliedPixelMap(src: PixelMap, dst: PixelMap, callback: AsyncCallback): void; @@ -5202,8 +5202,8 @@ function createPremultipliedPixelMap(src: PixelMap, dst: PixelMap, callback: Asy * @throws { BusinessError } 62980248 - Pixelmap not allow modify. * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createPremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -5221,8 +5221,8 @@ function createPremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -5240,8 +5240,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap, callback: A * @throws { BusinessError } 62980248 - Pixelmap not allow modify. * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -5263,8 +5263,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -5294,8 +5294,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -5324,8 +5324,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -5871,8 +5871,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -5887,8 +5887,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -5969,8 +5969,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -5984,8 +5984,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -6074,8 +6074,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -6090,8 +6090,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -6179,8 +6179,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -6194,8 +6194,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the operation result. If the operation fails, an error message is returned. * @throws { BusinessError } 62980137 - Invalid image operation. * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ toSdr(): Promise; @@ -6242,8 +6242,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -6283,8 +6283,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -6297,8 +6297,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -6490,8 +6490,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -6505,8 +6505,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -6578,8 +6578,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -6592,8 +6592,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -6681,8 +6681,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -6697,8 +6697,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -6733,8 +6733,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -6765,8 +6765,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -6855,8 +6855,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -6871,8 +6871,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -6953,8 +6953,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -6968,8 +6968,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -7058,8 +7058,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -7074,8 +7074,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -7156,8 +7156,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -7171,8 +7171,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -7268,8 +7268,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -7319,8 +7319,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -7335,8 +7335,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -7372,8 +7372,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -7409,8 +7409,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -7422,8 +7422,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -7500,8 +7500,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; } @@ -7513,8 +7513,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -7544,8 +7544,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise @@ -7601,8 +7601,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise @@ -7615,16 +7615,16 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -7670,8 +7670,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -7720,8 +7720,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the pixel map data. * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ readPixelsToBuffer(): Promise; @@ -7730,8 +7730,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise @@ -7761,8 +7761,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise @@ -7772,8 +7772,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): Promise> @@ -7933,8 +7933,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): Promise @@ -7944,8 +7944,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise> } Array of Records instance used to return the property values. * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ getAllProperties(): Promise> @@ -7954,8 +7954,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the metadata. * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ clone(): Promise } @@ -7965,16 +7965,16 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } * @syscap SystemCapability.Multimedia.Image.ImageSource - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ desiredAuxiliaryPictures: Array; } @@ -8055,8 +8055,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -8231,8 +8231,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -8280,8 +8280,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -8294,8 +8294,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -8376,8 +8376,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -8421,8 +8421,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -8448,8 +8448,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -8460,8 +8460,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise>; @@ -8591,8 +8591,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise>): void; @@ -8644,8 +8644,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise>): void; @@ -8681,8 +8681,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise>; @@ -8719,8 +8719,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise>): void; @@ -8735,8 +8735,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise>; @@ -8776,8 +8776,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -8817,8 +8817,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -8870,8 +8870,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -8896,7 +8896,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the property value. If the operation fails, the default value is returned. * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead image.ImageSource#getImageProperty */ @@ -8921,7 +8921,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback used to return the property value. If the operation fails, an error message is returned. * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead image.ImageSource#getImageProperty */ @@ -8948,7 +8948,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback used to return the property value. If the operation fails, the default value is returned. * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead image.ImageSource#getImageProperty */ @@ -8970,8 +8970,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): Promise>; @@ -8985,7 +8985,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -9045,7 +9045,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the property value. * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead image.ImageSource#modifyImageProperty */ @@ -9072,7 +9072,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead image.ImageSource#modifyImageProperty */ @@ -9091,8 +9091,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): Promise; @@ -9129,8 +9129,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the property value. * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ updateData(buf: ArrayBuffer, isFinished: boolean, offset: int, length: int): Promise; @@ -9167,8 +9167,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ updateData( buf: ArrayBuffer, @@ -9191,8 +9191,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; @@ -9209,8 +9209,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ release(): Promise; @@ -9224,8 +9224,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise @@ -9240,7 +9240,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -9258,7 +9258,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise @@ -9277,8 +9277,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; } @@ -9305,8 +9305,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -9442,7 +9442,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -9521,8 +9521,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise, options: PackingOptionsForSequence): Promise; @@ -9546,8 +9546,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -9571,8 +9571,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -9596,8 +9596,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; @@ -9621,8 +9621,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -9637,8 +9637,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise, fd: int, options: PackingOptionsForSequence): Promise; @@ -9655,8 +9655,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImagePacker * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; @@ -9673,8 +9673,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImagePacker * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ release(): Promise; @@ -9688,8 +9688,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; @@ -9704,8 +9704,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise @@ -9724,8 +9724,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise; } @@ -9735,8 +9735,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback used to return the component buffer. * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ getComponent(componentType: ComponentType, callback: AsyncCallback): void; @@ -9799,8 +9799,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the component buffer. * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ getComponent(componentType: ComponentType): Promise; @@ -9809,8 +9809,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback to return the operation result. * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; @@ -9819,8 +9819,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the operation result. * @syscap SystemCapability.Multimedia.Image.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ release(): Promise; } @@ -9830,8 +9830,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback used to return the surface id. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ getReceivingSurfaceId(callback: AsyncCallback): void; @@ -9884,8 +9884,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the surface id. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ getReceivingSurfaceId(): Promise; @@ -9894,8 +9894,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback used to return the latest image. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readLatestImage(callback: AsyncCallback): void; @@ -9904,8 +9904,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the latest image. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readLatestImage(): Promise; @@ -9914,8 +9914,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback used to return the next image. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readNextImage(callback: AsyncCallback): void; @@ -9924,8 +9924,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the next image. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readNextImage(): Promise; @@ -9935,8 +9935,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback used to return image. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ on(type: 'imageArrival', callback: AsyncCallback): void; @@ -9946,8 +9946,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback to be removed. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'imageArrival', callback?: AsyncCallback): void; @@ -9956,8 +9956,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; @@ -9966,8 +9966,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ release(): Promise; } @@ -9977,8 +9977,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageCreator - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ dequeueImage(callback: AsyncCallback): void; @@ -10018,8 +10018,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageCreator - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ dequeueImage(): Promise; @@ -10029,8 +10029,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageCreator - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ queueImage(image: Image, callback: AsyncCallback): void; @@ -10040,8 +10040,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageCreator - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ queueImage(image: Image): Promise; @@ -10051,8 +10051,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback used to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageCreator - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ on(type: 'imageRelease', callback: AsyncCallback): void; @@ -10062,8 +10062,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback to be removed. * @syscap SystemCapability.Multimedia.Image.ImageCreator - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'imageRelease', callback?: AsyncCallback): void; @@ -10072,8 +10072,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageCreator - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; @@ -10082,8 +10082,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageCreator - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ release(): Promise; } @@ -10093,7 +10093,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise): void; /** @@ -97,8 +97,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createAVPlayer(callback: AsyncCallback): void; @@ -133,7 +132,7 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function createAVPlayer(): Promise; /** @@ -151,8 +150,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createAVPlayer(): Promise; @@ -171,7 +169,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since 12 + * @since 12 dynamic */ function createAVRecorder(callback: AsyncCallback): void; /** @@ -182,8 +180,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createAVRecorder(callback: AsyncCallback): void; @@ -203,7 +200,7 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ function createAVRecorder(): Promise; /** @@ -214,8 +211,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createAVRecorder(): Promise; @@ -223,7 +219,7 @@ declare namespace media { * Creates an AudioPlayer instance. * @returns { AudioPlayer } Returns an AudioPlayer instance if the operation is successful; returns null otherwise. * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media#createAVPlayer */ @@ -233,7 +229,7 @@ declare namespace media { * Creates an AudioRecorder instance. * @returns { AudioRecorder } Returns an AudioRecorder instance if the operation is successful; returns null otherwise. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media#createAVRecorder */ @@ -261,7 +257,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since 13 + * @since 13 dynamic */ function createMediaSourceWithUrl(url: string, headers?: Record): MediaSource; /** @@ -274,8 +270,7 @@ declare namespace media { *
2. Incorrect parameter types. 3.Parameter verification failed. * @throws { BusinessError } 5400101 - No memory. * @syscap SystemCapability.Multimedia.Media.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createMediaSourceWithUrl(url: string, headers?: Record): MediaSource | undefined; @@ -287,7 +282,7 @@ declare namespace media { * @returns { MediaSource } MediaSource instance if the operation is successful; returns null otherwise. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since 19 + * @since 19 dynamic */ function createMediaSourceWithStreamData(streams: Array): MediaSource; /** @@ -297,8 +292,7 @@ declare namespace media { * The supported streaming media format is HTTP-FLV. * @returns { MediaSource | undefined } MediaSource instance if the operation is successful; returns null otherwise. * @syscap SystemCapability.Multimedia.Media.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createMediaSourceWithStreamData(streams: Array): MediaSource | undefined; @@ -306,7 +300,7 @@ declare namespace media { * Creates an VideoPlayer instance. * @param { AsyncCallback } callback - used to return AudioPlayer instance if the operation is successful; returns null otherwise. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media#createAVPlayer */ @@ -316,7 +310,7 @@ declare namespace media { * Creates an VideoPlayer instance. * @returns { Promise } A Promise instance used to return VideoPlayer instance if the operation is successful; returns null otherwise. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media#createAVPlayer */ @@ -339,7 +333,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Return by callback. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since 12 + * @since 12 dynamic */ function createVideoRecorder(callback: AsyncCallback): void; /** @@ -350,8 +344,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Return by callback. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createVideoRecorder(callback: AsyncCallback): void; @@ -372,7 +365,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Return by promise. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since 12 + * @since 12 dynamic */ function createVideoRecorder(): Promise; /** @@ -383,8 +376,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Return by promise. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createVideoRecorder(): Promise; @@ -408,7 +400,7 @@ declare namespace media { * The instance is used for loading and playback. * @throws { BusinessError } 5400101 - No memory. Return by callback. * @syscap SystemCapability.Multimedia.Media.SoundPool - * @since 10 + * @since 10 dynamic */ function createSoundPool( maxStreams: number, @@ -435,8 +427,7 @@ declare namespace media { * The instance is used for loading and playback. * @throws { BusinessError } 5400101 - No memory. Return by callback. * @syscap SystemCapability.Multimedia.Media.SoundPool - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createSoundPool( maxStreams: int, @@ -461,7 +452,7 @@ declare namespace media { * The instance is used for loading and playback. * @throws { BusinessError } 5400101 - No memory. Return by promise. * @syscap SystemCapability.Multimedia.Media.SoundPool - * @since 10 + * @since 10 dynamic */ function createSoundPool(maxStreams: number, audioRenderInfo: audio.AudioRendererInfo): Promise; /** @@ -481,8 +472,7 @@ declare namespace media { * The instance is used for loading and playback. * @throws { BusinessError } 5400101 - No memory. Return by promise. * @syscap SystemCapability.Multimedia.Media.SoundPool - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createSoundPool(maxStreams: int, audioRenderInfo: audio.AudioRendererInfo): Promise; @@ -502,7 +492,7 @@ declare namespace media { * @throws { BusinessError } 202 - System API error. Return by promise. * @syscap SystemCapability.Multimedia.Media.SoundPool * @systemapi - * @since 20 + * @since 20 dynamic */ function createParallelSoundPool(maxStreams: number, audioRenderInfo: audio.AudioRendererInfo): Promise; @@ -513,7 +503,7 @@ declare namespace media { * The instance can be used for screen capture. * @throws { BusinessError } 5400101 - No memory. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since 12 + * @since 12 dynamic * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -537,7 +527,7 @@ declare namespace media { * The instance can be used for screen capture. * @throws { BusinessError } 5400101 - No memory. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since 20 + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -552,7 +542,6 @@ declare namespace media { * }).catch((error: BusinessError) => { * console.error(`createAVScreenCaptureRecorder catchCallback, error message:${error.message}`); * }); - * @arkts 1.2 */ function createAVScreenCaptureRecorder(): Promise; @@ -572,7 +561,8 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * import { media } from '@kit.MediaKit'; @@ -594,7 +584,6 @@ declare namespace media { * } catch (error: BusinessError) { * console.error(`reportAVScreenCaptureUserChoice error, error message: ${error.message}`); * } - * @arkts 1.1&1.2 */ function reportAVScreenCaptureUserChoice(sessionId: int, choice: string): Promise; @@ -610,7 +599,7 @@ declare namespace media { * transcoding. * @throws { BusinessError } 5400101 - No memory. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since 12 + * @since 12 dynamic */ function createAVTranscoder(): Promise; @@ -642,8 +631,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVTranscoder * @atomicservice - * @since 21 - * @arkts 1.2 + * @since 21 static */ function createAVTranscoder(): Promise; @@ -657,7 +645,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture * @systemapi - * @since 18 + * @since 18 dynamic * @example * let screenCaptureMonitor: media.ScreenCaptureMonitor; * try { @@ -677,7 +665,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture * @systemapi - * @since 20 + * @since 20 static * @example * let screenCaptureMonitor: media.ScreenCaptureMonitor; * try { @@ -685,7 +673,6 @@ declare namespace media { * } catch (err) { * console.error(`getScreenCaptureMonitor failed, error message:${err.message}`); * } - * @arkts 1.2 */ function getScreenCaptureMonitor(): Promise; @@ -695,8 +682,8 @@ declare namespace media { * * @typedef { _SoundPool } * @syscap SystemCapability.Multimedia.Media.SoundPool - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ type SoundPool = _SoundPool; @@ -705,8 +692,8 @@ declare namespace media { * * @typedef { _PlayParameters } * @syscap SystemCapability.Multimedia.Media.SoundPool - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ type PlayParameters = _PlayParameters; @@ -733,8 +720,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum StateChangeReason { /** @@ -753,8 +740,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ USER = 1, @@ -775,8 +762,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BACKGROUND = 2, } @@ -796,7 +783,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since 12 + * @since 12 dynamic */ function createAVMetadataExtractor(): Promise; /** @@ -806,8 +793,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createAVMetadataExtractor(): Promise; @@ -827,7 +813,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Returned by callback. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since 12 + * @since 12 dynamic */ function createAVMetadataExtractor(callback: AsyncCallback): void; /** @@ -838,8 +824,7 @@ declare namespace media { * @throws { BusinessError } 5400101 - No memory. Returned by callback. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createAVMetadataExtractor(callback: AsyncCallback): void; @@ -850,7 +835,7 @@ declare namespace media { * The API can be used to obtain a video thumbnail. * @throws { BusinessError } 5400101 - No memory. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since 12 + * @since 12 dynamic */ function createAVImageGenerator(): Promise; /** @@ -860,8 +845,7 @@ declare namespace media { * The API can be used to obtain a video thumbnail. * @throws { BusinessError } 5400101 - No memory. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createAVImageGenerator(): Promise; @@ -872,7 +856,7 @@ declare namespace media { * The API can be used to obtain a video thumbnail. * @throws { BusinessError } 5400101 - No memory. Returned by callback. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since 12 + * @since 12 dynamic */ function createAVImageGenerator(callback: AsyncCallback): void; /** @@ -882,8 +866,7 @@ declare namespace media { * The API can be used to obtain a video thumbnail. * @throws { BusinessError } 5400101 - No memory. Returned by callback. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since 20 - * @arkts 1.2 + * @since 20 static */ function createAVImageGenerator(callback: AsyncCallback): void; @@ -902,8 +885,8 @@ declare namespace media { * @typedef AVMetadataExtractor * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVMetadataExtractor { /** @@ -930,8 +913,8 @@ declare namespace media { * @type { ?AVFileDescriptor } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fdSrc ?: AVFileDescriptor; @@ -950,8 +933,8 @@ declare namespace media { * @type { ?AVDataSrcDescriptor } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ dataSrc ?: AVDataSrcDescriptor; @@ -971,7 +954,7 @@ declare namespace media { * @throws { BusinessError } 5400106 - Unsupported format. Returned by callback. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since 12 + * @since 12 dynamic */ fetchMetadata(callback: AsyncCallback): void; /** @@ -982,8 +965,7 @@ declare namespace media { * @throws { BusinessError } 5400106 - Unsupported format. Returned by callback. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ fetchMetadata(callback: AsyncCallback): void; @@ -1002,7 +984,7 @@ declare namespace media { * @throws { BusinessError } 5400106 - Unsupported format. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since 12 + * @since 12 dynamic */ fetchMetadata(): Promise; /** @@ -1012,8 +994,7 @@ declare namespace media { * @throws { BusinessError } 5400106 - Unsupported format. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ fetchMetadata(): Promise; @@ -1034,7 +1015,7 @@ declare namespace media { * @throws { BusinessError } 5400106 - Unsupported format. Returned by callback. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since 12 + * @since 12 dynamic */ fetchAlbumCover(callback: AsyncCallback): void; /** @@ -1045,8 +1026,7 @@ declare namespace media { * @throws { BusinessError } 5400106 - Unsupported format. Returned by callback. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ fetchAlbumCover(callback: AsyncCallback): void; @@ -1065,7 +1045,7 @@ declare namespace media { * @throws { BusinessError } 5400106 - Unsupported format. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since 12 + * @since 12 dynamic */ fetchAlbumCover(): Promise; /** @@ -1075,8 +1055,7 @@ declare namespace media { * @throws { BusinessError } 5400106 - Unsupported format. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ fetchAlbumCover(): Promise; @@ -1085,7 +1064,7 @@ declare namespace media { * @param { string } url - The URL of the media resource. * @param { Record } headers - Optional request headers. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor - * @since 20 + * @since 20 dynamic */ setUrlSource(url: string, headers?: Record): void; @@ -1103,7 +1082,7 @@ declare namespace media { * @throws { BusinessError } 5400106 - Unsupported format. Returned by promise. * @throws { BusinessError } 5400108 - Parameter check failed. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor - * @since 20 + * @since 20 dynamic */ fetchFrameByTime(timeUs: number, options: AVImageQueryOptions, param: PixelMapParams): Promise; @@ -1116,8 +1095,8 @@ declare namespace media { * @throws { BusinessError } 5400106 - Unsupported format. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getTimeByFrameIndex(index: int): Promise; @@ -1130,8 +1109,8 @@ declare namespace media { * @throws { BusinessError } 5400106 - Unsupported format. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getFrameIndexByTime(timeUs: long): Promise; @@ -1149,8 +1128,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Returned by callback. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; @@ -1167,8 +1146,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ release(): Promise; } @@ -1186,8 +1165,8 @@ declare namespace media { * @typedef AVMetadata * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVMetadata { /** @@ -1202,8 +1181,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ album?: string; @@ -1219,8 +1198,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ albumArtist?: string; @@ -1236,8 +1215,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ artist?: string; @@ -1253,8 +1232,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ author?: string; @@ -1270,8 +1249,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ dateTime?: string; @@ -1288,8 +1267,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ dateTimeFormat?: string; @@ -1305,8 +1284,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ composer?: string; @@ -1321,8 +1300,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ duration?: string; @@ -1338,8 +1317,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ genre?: string; @@ -1354,8 +1333,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ hasAudio?: string; @@ -1370,8 +1349,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ hasVideo?: string; @@ -1388,8 +1367,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ mimeType?: string; @@ -1405,8 +1384,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ trackCount?: string; @@ -1421,8 +1400,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ sampleRate?: string; @@ -1438,8 +1417,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ title?: string; @@ -1454,8 +1433,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoHeight?: string; @@ -1470,8 +1449,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoWidth?: string; @@ -1487,8 +1466,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoOrientation?: string; @@ -1497,8 +1476,8 @@ declare namespace media { * @type { ?HdrType } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ hdrType?: HdrType; @@ -1506,8 +1485,8 @@ declare namespace media { * Geographical location of the media asset. * @type { ?Location } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ location?: Location; @@ -1515,8 +1494,8 @@ declare namespace media { * Custom key-value mappings obtained from **moov.meta.list**. * @type { ?Record } * @syscap SystemCapability.Multimedia.Media.AVMetadataExtractor - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ customInfo?: Record; } @@ -1525,7 +1504,7 @@ declare namespace media { * This interface is used to define the output image size. * @typedef OutputSize * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since 20 + * @since 20 dynamic */ declare interface OutputSize { /** @@ -1535,7 +1514,7 @@ declare namespace media { * If both width and height is not assigned, the output will be the original size of video frame. * @type { ?number } * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since 20 + * @since 20 dynamic */ width?:number; /** @@ -1545,7 +1524,7 @@ declare namespace media { * If both width and height is not assigned, the output will be the original size of video frame. * @type { ?number } * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since 20 + * @since 20 dynamic */ height?: number; } @@ -1555,16 +1534,16 @@ declare namespace media { * @enum { number } * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum HdrType { /** * This option is used to mark none HDR type. * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AV_HDR_TYPE_NONE = 0, @@ -1572,8 +1551,8 @@ declare namespace media { * This option is used to mark HDR Vivid type. * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AV_HDR_TYPE_VIVID = 1, } @@ -1584,8 +1563,8 @@ declare namespace media { * * @typedef AVImageGenerator * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVImageGenerator { /** @@ -1604,8 +1583,8 @@ declare namespace media { * use the same resource handle to read and write files at the same time, resulting in errors in obtaining data. * @type { ?AVFileDescriptor } * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fdSrc ?: AVFileDescriptor; @@ -1620,7 +1599,7 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Returned by callback. * @throws { BusinessError } 5400106 - Unsupported format. Returned by callback. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since 12 + * @since 12 dynamic */ fetchFrameByTime(timeUs: number, options: AVImageQueryOptions, param: PixelMapParams, callback: AsyncCallback): void; @@ -1635,8 +1614,7 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Returned by callback. * @throws { BusinessError } 5400106 - Unsupported format. Returned by callback. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since 20 - * @arkts 1.2 + * @since 20 static */ fetchFrameByTime(timeUs: long, options: AVImageQueryOptions, param: PixelMapParams, callback: AsyncCallback): void; @@ -1650,7 +1628,7 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Returned by promise. * @throws { BusinessError } 5400106 - Unsupported format. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since 12 + * @since 12 dynamic */ fetchFrameByTime(timeUs: number, options: AVImageQueryOptions, param: PixelMapParams): Promise; /** @@ -1662,8 +1640,7 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Returned by promise. * @throws { BusinessError } 5400106 - Unsupported format. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since 20 - * @arkts 1.2 + * @since 20 static */ fetchFrameByTime(timeUs: long, options: AVImageQueryOptions, param: PixelMapParams): Promise; @@ -1677,7 +1654,7 @@ declare namespace media { * @throws { BusinessError } 5400102 Operation not allowed. Returned by promise. * @throws { BusinessError } 5400106 Unsupported format. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since 20 + * @since 20 dynamic */ fetchScaledFrameByTime(timeUs: number, queryMode: AVImageQueryOptions, outputSize?: OutputSize): Promise; @@ -1688,8 +1665,8 @@ declare namespace media { * **err** is **undefined**; otherwise, **err** is an error object. * @throws { BusinessError } 5400102 - Operation not allowed. Returned by callback. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; @@ -1698,8 +1675,8 @@ declare namespace media { * @returns { Promise } Promise that returns no value. * @throws { BusinessError } 5400102 - Operation not allowed. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ release(): Promise; } @@ -1711,39 +1688,39 @@ declare namespace media { * the thumbnail is actually obtained. Therefore, you need to specify their relationship. * @enum { number } * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AVImageQueryOptions { /** * The key frame at or next to the specified time is selected. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AV_IMAGE_QUERY_NEXT_SYNC, /** * The key frame at or prior to the specified time is selected. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AV_IMAGE_QUERY_PREVIOUS_SYNC, /** * The key frame closest to the specified time is selected. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AV_IMAGE_QUERY_CLOSEST_SYNC, /** * The frame (not necessarily a key frame) closest to the specified time is selected. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AV_IMAGE_QUERY_CLOSEST, } @@ -1752,8 +1729,8 @@ declare namespace media { * Defines the format parameters of the video thumbnail to be obtained. * @typedef PixelMapParams * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface PixelMapParams { /** @@ -1761,8 +1738,8 @@ declare namespace media { * video. Otherwise, the returned thumbnail will not be scaled. * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ width?: int; @@ -1771,8 +1748,8 @@ declare namespace media { * video. Otherwise, the returned thumbnail will not be scaled. * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVImageGenerator - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ height?: int; @@ -1783,8 +1760,8 @@ declare namespace media { * @type { ?PixelFormat } * @syscap SystemCapability.Multimedia.Media.AVImageGenerator * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ colorFormat?: PixelFormat; } @@ -1794,16 +1771,16 @@ declare namespace media { * @enum { number } * @syscap SystemCapability.Multimedia.Media.AVImageGenerator * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum PixelFormat { /** * RGB_565. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ RGB_565 = 2, @@ -1811,8 +1788,8 @@ declare namespace media { * RGBA_8888. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ RGBA_8888 = 3, @@ -1820,8 +1797,8 @@ declare namespace media { * RGB_888. * @syscap SystemCapability.Multimedia.Media.AVImageGenerator * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ RGB_888 = 5, } @@ -1848,8 +1825,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AVErrorCode { /** @@ -1868,8 +1845,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AVERR_OK = 0, @@ -1889,8 +1866,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AVERR_NO_PERMISSION = 201, @@ -1910,8 +1887,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AVERR_INVALID_PARAMETER = 401, @@ -1931,8 +1908,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AVERR_UNSUPPORT_CAPABILITY = 801, @@ -1952,8 +1929,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AVERR_NO_MEMORY = 5400101, @@ -1973,8 +1950,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AVERR_OPERATE_NOT_PERMIT = 5400102, @@ -1994,8 +1971,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AVERR_IO = 5400103, @@ -2015,8 +1992,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AVERR_TIMEOUT = 5400104, @@ -2036,8 +2013,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AVERR_SERVICE_DIED = 5400105, @@ -2057,8 +2034,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AVERR_UNSUPPORT_FORMAT = 5400106, @@ -2073,8 +2050,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AVERR_AUDIO_INTERRUPTED = 5400107, /** @@ -2082,8 +2059,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ AVERR_IO_HOST_NOT_FOUND = 5411001, /** @@ -2091,8 +2068,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ AVERR_IO_CONNECTION_TIMEOUT = 5411002, /** @@ -2100,8 +2077,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ AVERR_IO_NETWORK_ABNORMAL = 5411003, /** @@ -2109,8 +2086,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ AVERR_IO_NETWORK_UNAVAILABLE = 5411004, /** @@ -2118,8 +2095,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ AVERR_IO_NO_PERMISSION = 5411005, /** @@ -2127,8 +2104,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ AVERR_IO_REQUEST_DENIED = 5411006, /** @@ -2136,8 +2113,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ AVERR_IO_RESOURCE_NOT_FOUND = 5411007, /** @@ -2146,8 +2123,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ AVERR_IO_SSL_CLIENT_CERT_NEEDED = 5411008, /** @@ -2156,8 +2133,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ AVERR_IO_SSL_CONNECTION_FAILED = 5411009, /** @@ -2165,8 +2142,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ AVERR_IO_SSL_SERVER_CERT_UNTRUSTED = 5411010, /** @@ -2174,16 +2151,16 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ AVERR_IO_UNSUPPORTED_REQUEST = 5411011, /** * Seek continuous unsupported. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ AVERR_SEEK_CONTINUOUS_UNSUPPORTED = 5410002, @@ -2191,8 +2168,8 @@ declare namespace media { * Super-resolution unsupported. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ AVERR_SUPER_RESOLUTION_UNSUPPORTED = 5410003, @@ -2200,8 +2177,8 @@ declare namespace media { * No PlaybackStrategy set to enable super-resolution feature. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ AVERR_SUPER_RESOLUTION_NOT_ENABLED = 5410004, } @@ -2229,8 +2206,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type AVPlayerState = 'idle' | 'initialized' | 'prepared' | 'playing' | 'paused' | 'completed' | 'stopped' | 'released' | 'error'; @@ -2241,8 +2218,8 @@ declare namespace media { * @param { boolean } isSelected - Status of the track, that is, whether the track is selected. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnTrackChangeHandler = (index: int, isSelected: boolean) => void; @@ -2255,8 +2232,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnAVPlayerStateChangeHandle = (state: AVPlayerState, reason: StateChangeReason) => void; @@ -2269,8 +2246,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnBufferingUpdateHandler = (infoType: BufferingInfoType, value: int) => void; @@ -2283,8 +2260,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnVideoSizeChangeHandler = (width: int, height: int) => void; @@ -2308,8 +2285,8 @@ declare namespace media { * and **false** means the opposite. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ type OnSuperResolutionChanged = (enabled: boolean) => void; @@ -2319,8 +2296,8 @@ declare namespace media { * @typedef SeiMessage * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface SeiMessage { /** @@ -2328,8 +2305,8 @@ declare namespace media { * @type { int } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ payloadType: int; @@ -2338,8 +2315,8 @@ declare namespace media { * @type { ArrayBuffer } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ payload: ArrayBuffer; } @@ -2353,8 +2330,8 @@ declare namespace media { * @param { ?int } [playbackPosition] - playback position. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ type OnSeiMessageHandle = (messages: Array, playbackPosition?: int) => void; @@ -2365,7 +2342,7 @@ declare namespace media { * @param { number } rate - playback rate. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since 20 + * @since 20 dynamic */ type OnPlaybackRateDone = (rate: number) => void; @@ -2402,8 +2379,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVPlayer { /** @@ -2440,8 +2417,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ prepare(callback: AsyncCallback): void; @@ -2479,8 +2456,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ prepare(): Promise; @@ -2506,8 +2483,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ play(callback: AsyncCallback): void; @@ -2533,8 +2510,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ play(): Promise; @@ -2560,8 +2537,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pause(callback: AsyncCallback): void; @@ -2587,8 +2564,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pause(): Promise; @@ -2617,8 +2594,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stop(callback: AsyncCallback): void; @@ -2647,8 +2624,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stop(): Promise; @@ -2677,8 +2654,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ reset(callback: AsyncCallback): void; @@ -2707,8 +2684,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ reset(): Promise; @@ -2734,8 +2711,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; @@ -2761,8 +2738,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ release(): Promise; @@ -2795,8 +2772,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ seek(timeMs: int, mode?: SeekMode): void; @@ -2815,8 +2792,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setVolume(volume: double): void; @@ -2846,8 +2823,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getTrackDescription(callback: AsyncCallback>): void; @@ -2874,8 +2851,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getTrackDescription(): Promise>; @@ -2886,8 +2863,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSelectedTracks(): Promise>; @@ -2902,8 +2879,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ selectTrack(index: int, mode?: SwitchMode): Promise; @@ -2916,8 +2893,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deselectTrack(index: int): Promise; @@ -2933,8 +2910,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setMediaSource(src: MediaSource, strategy?: PlaybackStrategy): Promise; @@ -2953,8 +2930,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ addSubtitleFromFd(fd: int, offset?: long, length?: long): Promise; @@ -2968,8 +2945,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ addSubtitleFromUrl(url: string): Promise; @@ -2978,8 +2955,8 @@ declare namespace media { * playing, or paused state. * @returns { Promise } Statistic infos of current player. * @syscap SystemCapability.Multimedia.Media.AVPlayer - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getPlaybackInfo(): Promise; @@ -2991,8 +2968,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setPlaybackStrategy(strategy: PlaybackStrategy): Promise; @@ -3006,8 +2983,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setMediaMuted(mediaType: MediaType, muted: boolean): Promise; @@ -3029,8 +3006,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ setPlaybackRange(startTimeMs: int, endTimeMs: int, mode?: SeekMode) : Promise; @@ -3044,8 +3021,8 @@ declare namespace media { * false: seek continuous is not supported or the support status is uncertain. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ isSeekContinuousSupported() : boolean; @@ -3055,8 +3032,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ getPlaybackPosition() : int; @@ -3073,8 +3050,8 @@ declare namespace media { * Return by promise. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ setSuperResolution(enabled: boolean) : Promise; @@ -3095,8 +3072,8 @@ declare namespace media { * Return by promise. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ setVideoWindowSize(width: int, height: int) : Promise; @@ -3135,8 +3112,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ url?: string; @@ -3164,8 +3141,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fdSrc?: AVFileDescriptor; @@ -3189,8 +3166,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ dataSrc?: AVDataSrcDescriptor; @@ -3207,8 +3184,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ loop: boolean; @@ -3227,8 +3204,8 @@ declare namespace media { * @type { ?audio.InterruptMode } * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ audioInterruptMode?: audio.InterruptMode; @@ -3248,8 +3225,8 @@ declare namespace media { * @type { ?audio.AudioRendererInfo } * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ audioRendererInfo?: audio.AudioRendererInfo; @@ -3265,8 +3242,8 @@ declare namespace media { * @type { ?audio.AudioEffectMode } * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ audioEffectMode ?: audio.AudioEffectMode; @@ -3284,8 +3261,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly currentTime: int; @@ -3309,8 +3286,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly duration: int; @@ -3326,8 +3303,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly state: AVPlayerState; @@ -3352,8 +3329,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ surfaceId?: string; @@ -3370,8 +3347,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly width: int; @@ -3388,8 +3365,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly height: int; @@ -3406,8 +3383,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoScaleType?: VideoScaleType; @@ -3425,8 +3402,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setSpeed(speed: PlaybackSpeed): void; @@ -3438,7 +3415,7 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed, if invalid state or live stream. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since 20 + * @since 20 dynamic */ setPlaybackRate(rate: number): void; @@ -3467,8 +3444,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setBitrate(bitrate: int): void; @@ -3492,8 +3469,8 @@ declare namespace media { *
2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setDecryptionConfig(mediaKeySession: drm.MediaKeySession, secureVideoPath: boolean): void; @@ -3508,8 +3485,8 @@ declare namespace media { * @returns { Array } MediaKeySystemInfo with PSSH. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getMediaKeySystemInfos(): Array; @@ -3528,8 +3505,8 @@ declare namespace media { * It reports a **MediaKeySystemInfo** array. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'mediaKeySystemInfoUpdate', callback: Callback>): void; @@ -3546,8 +3523,8 @@ declare namespace media { * @param { Callback> } callback - Callback for event. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'mediaKeySystemInfoUpdate', callback?: Callback>): void; @@ -3574,8 +3551,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'stateChange', callback: OnAVPlayerStateChangeHandle): void; /** @@ -3598,8 +3575,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'stateChange', callback?: OnAVPlayerStateChangeHandle): void; /** @@ -3617,8 +3594,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'volumeChange', callback: Callback): void; /** @@ -3644,8 +3621,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'volumeChange', callback?: Callback): void; /** @@ -3665,8 +3642,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'endOfStream', callback: Callback): void; /** @@ -3690,8 +3667,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'endOfStream', callback?: Callback): void; /** @@ -3722,8 +3699,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'seekDone', callback: Callback): void; /** @@ -3751,8 +3728,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'seekDone', callback?: Callback): void; /** @@ -3771,8 +3748,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'speedDone', callback: Callback): void; /** @@ -3798,8 +3775,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'speedDone', callback?: Callback): void; /** @@ -3808,7 +3785,7 @@ declare namespace media { * @param { OnPlaybackRateDone } callback - Callback used to listen for the playbackRateDone event. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since 20 + * @since 20 dynamic */ on(type: 'playbackRateDone', callback: OnPlaybackRateDone): void; @@ -3818,7 +3795,7 @@ declare namespace media { * @param { OnPlaybackRateDone } callback - Callback used to listen for the playbackRateDone event. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since 20 + * @since 20 dynamic */ off(type: 'playbackRateDone', callback?: OnPlaybackRateDone): void; /** @@ -3836,8 +3813,8 @@ declare namespace media { * It reports the effective bit rate. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'bitrateDone', callback: Callback): void; /** @@ -3861,8 +3838,8 @@ declare namespace media { * It reports the effective bit rate. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'bitrateDone', callback?: Callback): void; /** @@ -3889,8 +3866,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'timeUpdate', callback: Callback): void; /** @@ -3913,8 +3890,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'timeUpdate', callback?: Callback): void; /** @@ -3933,8 +3910,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'durationUpdate', callback: Callback): void; /** @@ -3958,8 +3935,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'durationUpdate', callback?: Callback): void; @@ -3980,8 +3957,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'bufferingUpdate', callback: OnBufferingUpdateHandler): void; @@ -4000,8 +3977,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'bufferingUpdate', callback?: OnBufferingUpdateHandler): void; /** @@ -4020,8 +3997,8 @@ declare namespace media { * @param { Callback } callback - Callback invoked when the event is triggered. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'startRenderFrame', callback: Callback): void; /** @@ -4043,8 +4020,8 @@ declare namespace media { * @param { Callback } [callback] - Callback used to listen for the playback event return . * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ off(type: 'startRenderFrame', callback?: Callback): void; @@ -4064,8 +4041,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'videoSizeChange', callback: OnVideoSizeChangeHandler): void; /** @@ -4081,8 +4058,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'videoSizeChange', callback?: OnVideoSizeChangeHandler): void; /** @@ -4101,8 +4078,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'audioInterrupt', callback: Callback): void; /** @@ -4118,8 +4095,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'audioInterrupt', callback?: Callback): void; /** @@ -4140,8 +4117,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'availableBitrates', callback: Callback>): void; /** @@ -4159,8 +4136,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'availableBitrates', callback?: Callback>): void; /** @@ -4244,8 +4221,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; /** @@ -4268,8 +4245,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -4297,8 +4274,8 @@ declare namespace media { *
2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'audioOutputDeviceChangeWithInfo', callback: Callback): void; @@ -4321,8 +4298,8 @@ declare namespace media { *
2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'audioOutputDeviceChangeWithInfo', callback?: Callback): void; @@ -4335,8 +4312,8 @@ declare namespace media { * @param { Callback } callback - Callback invoked when the subtitle is updated. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'subtitleUpdate', callback: Callback): void @@ -4347,8 +4324,8 @@ declare namespace media { * update events. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'subtitleUpdate', callback?: Callback): void @@ -4361,8 +4338,8 @@ declare namespace media { * @param { OnTrackChangeHandler } callback - Callback invoked when the event is triggered. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'trackChange', callback: OnTrackChangeHandler): void @@ -4373,8 +4350,8 @@ declare namespace media { * @param { OnTrackChangeHandler } callback - Callback that has been registered to listen for track changes. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'trackChange', callback?: OnTrackChangeHandler): void @@ -4387,8 +4364,8 @@ declare namespace media { * @param { Callback> } callback - Callback invoked when the event is triggered. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'trackInfoUpdate', callback: Callback>): void @@ -4400,8 +4377,8 @@ declare namespace media { * information updates. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'trackInfoUpdate', callback?: Callback>): void @@ -4412,8 +4389,8 @@ declare namespace media { * The event is triggered when the amplitude changes. * @param { Callback> } callback - Callback invoked when the event is triggered. * @syscap SystemCapability.Multimedia.Media.AVPlayer - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ on(type: 'amplitudeUpdate', callback: Callback>): void @@ -4423,8 +4400,8 @@ declare namespace media { * The event is triggered when the amplitude changes. * @param { Callback> } callback - Callback that has been registered to listen for amplitude updates. * @syscap SystemCapability.Multimedia.Media.AVPlayer - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ off(type: 'amplitudeUpdate', callback?: Callback>): void @@ -4441,8 +4418,8 @@ declare namespace media { * subscribed-to payload types. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ on(type: 'seiMessageReceived', payloadTypes: Array, callback: OnSeiMessageHandle): void; @@ -4457,8 +4434,8 @@ declare namespace media { * subscribed-to payload types. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'seiMessageReceived', payloadTypes?: Array, callback?: OnSeiMessageHandle): void; @@ -4469,8 +4446,8 @@ declare namespace media { * @param { OnSuperResolutionChanged } callback - Callback used to listen for the super-resolution changed event. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ on(type:'superResolutionChanged', callback: OnSuperResolutionChanged): void; @@ -4481,8 +4458,8 @@ declare namespace media { * @param { OnSuperResolutionChanged } callback - Callback used to listen for the super-resolution changed event. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type:'superResolutionChanged', callback?: OnSuperResolutionChanged): void; } @@ -4492,13 +4469,13 @@ declare namespace media { * * @typedef PlaybackInfo * @syscap SystemCapability.Multimedia.Media.Core - * @since 12 + * @since 12 dynamic */ interface PlaybackInfo { /** * key:value pair, key see @PlaybackInfoKey. * @syscap SystemCapability.Multimedia.Media.Core - * @since 12 + * @since 12 dynamic */ [key:string]: Object; } @@ -4508,8 +4485,7 @@ declare namespace media { * * @typedef { Record } * @syscap SystemCapability.Multimedia.Media.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ type PlaybackInfo = Record; @@ -4518,47 +4494,47 @@ declare namespace media { * * @enum { string } * @syscap SystemCapability.Multimedia.Media.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum PlaybackInfoKey { /** * IP address of current network stream. * @syscap SystemCapability.Multimedia.Media.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SERVER_IP_ADDRESS = 'server_ip_address', /** * Average download rate during playing except for suspend downloading. * @syscap SystemCapability.Multimedia.Media.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AVG_DOWNLOAD_RATE = 'average_download_rate', /** * Current download rate of the last second except for suspend downloading. * @syscap SystemCapability.Multimedia.Media.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DOWNLOAD_RATE = 'download_rate', /** * Boolean value, true for current is downloading, false for suspend downloading. * @syscap SystemCapability.Multimedia.Media.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ IS_DOWNLOADING = 'is_downloading', /** * Cached duration in milliseconds. * @syscap SystemCapability.Multimedia.Media.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BUFFER_DURATION = 'buffer_duration', } @@ -4568,7 +4544,7 @@ declare namespace media { * * @enum { number } * @syscap SystemCapability.Multimedia.Media.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.media/media.AVErrorCode */ @@ -4576,7 +4552,7 @@ declare namespace media { /** * operation success. * @syscap SystemCapability.Multimedia.Media.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.media/media.AVErrorCode#AVERR_OK */ @@ -4585,7 +4561,7 @@ declare namespace media { /** * malloc or new memory failed. maybe system have no memory. * @syscap SystemCapability.Multimedia.Media.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.media/media.AVErrorCode#AVERR_NO_MEMORY */ @@ -4594,7 +4570,7 @@ declare namespace media { /** * no permission for the operation. * @syscap SystemCapability.Multimedia.Media.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.media/media.AVErrorCode#AVERR_OPERATE_NOT_PERMIT */ @@ -4603,7 +4579,7 @@ declare namespace media { /** * invalid argument. * @syscap SystemCapability.Multimedia.Media.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.media/media.AVErrorCode#AVERR_INVALID_PARAMETER */ @@ -4612,7 +4588,7 @@ declare namespace media { /** * an I/O error occurred. * @syscap SystemCapability.Multimedia.Media.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.media/media.AVErrorCode#AVERR_IO */ @@ -4621,7 +4597,7 @@ declare namespace media { /** * operation time out. * @syscap SystemCapability.Multimedia.Media.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.media/media.AVErrorCode#AVERR_TIMEOUT */ @@ -4630,7 +4606,7 @@ declare namespace media { /** * unknown error. * @syscap SystemCapability.Multimedia.Media.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.media/media.AVErrorCode#AVERR_INVALID_PARAMETER */ @@ -4639,7 +4615,7 @@ declare namespace media { /** * media service died. * @syscap SystemCapability.Multimedia.Media.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.media/media.AVErrorCode#AVERR_SERVICE_DIED */ @@ -4648,7 +4624,7 @@ declare namespace media { /** * operation is not permit in current state. * @syscap SystemCapability.Multimedia.Media.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.media/media.AVErrorCode#AVERR_INVALID_PARAMETER */ @@ -4657,7 +4633,7 @@ declare namespace media { /** * operation is not supported in current version. * @syscap SystemCapability.Multimedia.Media.Core - * @since 8 + * @since 8 dynamiconly * @deprecated since 11 * @useinstead ohos.multimedia.media/media.AVErrorCode#AVERR_UNSUPPORT_CAPABILITY */ @@ -4678,8 +4654,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum BufferingInfoType { /** @@ -4692,8 +4668,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BUFFERING_START = 1, @@ -4707,8 +4683,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BUFFERING_END = 2, @@ -4722,8 +4698,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BUFFERING_PERCENT = 3, @@ -4737,8 +4713,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CACHED_DURATION = 4, } @@ -4759,8 +4735,8 @@ declare namespace media { * - client should return immediately. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ type SourceOpenCallback = (request: MediaSourceLoadingRequest) => long; @@ -4778,8 +4754,8 @@ declare namespace media { * @returns { void } - client should return immediately. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ type SourceReadCallback = (uuid: long, requestedOffset: long, requestedLength: long) => void; @@ -4792,8 +4768,8 @@ declare namespace media { * @returns { void } - client should return immediately. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ type SourceCloseCallback = (uuid: long) => void; @@ -4802,8 +4778,8 @@ declare namespace media { * @typedef MediaSourceLoader * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface MediaSourceLoader { /** @@ -4811,8 +4787,8 @@ declare namespace media { * @type { SourceOpenCallback } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ open: SourceOpenCallback; @@ -4821,8 +4797,8 @@ declare namespace media { * @type { SourceReadCallback } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ read: SourceReadCallback; @@ -4831,8 +4807,8 @@ declare namespace media { * @type { SourceCloseCallback } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ close: SourceCloseCallback; } @@ -4842,16 +4818,16 @@ declare namespace media { * @enum { number } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enum LoadingRequestError { /** * If reach the resource end, client should return. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ LOADING_ERROR_SUCCESS = 0, @@ -4859,8 +4835,8 @@ declare namespace media { * If resource not ready for access, client should return. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ LOADING_ERROR_NOT_READY = 1, @@ -4868,8 +4844,8 @@ declare namespace media { * If resource url not exist, client should return. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ LOADING_ERROR_NO_RESOURCE = 2, @@ -4877,8 +4853,8 @@ declare namespace media { * If the uuid of resource handle is valid, client should return. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ LOADING_ERROR_INVAID_HANDLE = 3, @@ -4886,8 +4862,8 @@ declare namespace media { * If client has no right to request the resource, client should return. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ LOADING_ERROR_ACCESS_DENIED = 4, @@ -4895,8 +4871,8 @@ declare namespace media { * If access time out, client should return. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ LOADING_ERROR_ACCESS_TIMEOUT = 5, @@ -4904,8 +4880,8 @@ declare namespace media { * If authorization failed, client should return. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ LOADING_ERROR_AUTHORIZE_FAILED = 6, } @@ -4916,8 +4892,8 @@ declare namespace media { * @typedef MediaSourceLoadingRequest * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface MediaSourceLoadingRequest { /** @@ -4925,8 +4901,8 @@ declare namespace media { * @type { string } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ url: string; @@ -4936,8 +4912,8 @@ declare namespace media { * @type { ?Record } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ header?: Record; @@ -4951,7 +4927,7 @@ declare namespace media { * -3, means player buffer is full, the client should wait for next read. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since 18 + * @since 18 dynamic */ respondData(uuid: number, offset: number, buffer: ArrayBuffer): number; /** @@ -4963,8 +4939,7 @@ declare namespace media { * -2, means player need current data any more, the client should stop current read process. * -3, means player buffer is full, the client should wait for next read. * @syscap SystemCapability.Multimedia.Media.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ respondData(uuid: long, offset: long, buffer: ArrayBuffer): int | undefined; @@ -4978,8 +4953,8 @@ declare namespace media { * @param { string } [redirectUrl] - redirect url from the http response if exist. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ respondHeader(uuid: long, header?: Record, redirectUrl?: string): void; @@ -4991,8 +4966,8 @@ declare namespace media { * @param { LoadingRequestError } state - Request status. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ finishLoading(uuid: long, state: LoadingRequestError): void; } @@ -5002,8 +4977,8 @@ declare namespace media { * @typedef MediaStream * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ interface MediaStream { /** @@ -5011,8 +4986,8 @@ declare namespace media { * @type { string } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ url: string; @@ -5021,8 +4996,8 @@ declare namespace media { * @type { int } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ width: int; @@ -5031,8 +5006,8 @@ declare namespace media { * @type { int } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ height: int; @@ -5041,8 +5016,8 @@ declare namespace media { * @type { int } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'19','1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ bitrate: int; } @@ -5053,8 +5028,8 @@ declare namespace media { * @typedef MediaSource * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface MediaSource { /** @@ -5062,8 +5037,8 @@ declare namespace media { * @param { AVMimeTypes } mimeType - for MediaSource define. see @ AVMimeTypes. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setMimeType(mimeType: AVMimeTypes): void; @@ -5072,8 +5047,8 @@ declare namespace media { * @param { MediaSourceLoader } resourceLoader - callback function interface set for player use. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ setMediaResourceLoaderDelegate(resourceLoader: MediaSourceLoader): void; } @@ -5083,16 +5058,16 @@ declare namespace media { * @enum { string } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AVMimeTypes { /** * Indicate current file is index file for hls Media. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ APPLICATION_M3U8 = 'application/m3u8', } @@ -5102,8 +5077,8 @@ declare namespace media { * @typedef PlaybackStrategy * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface PlaybackStrategy { /** @@ -5111,8 +5086,8 @@ declare namespace media { * @type { ?int } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ preferredWidth?: int; /** @@ -5120,8 +5095,8 @@ declare namespace media { * @type { ?int } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ preferredHeight?: int; /** @@ -5134,8 +5109,8 @@ declare namespace media { * @type { ?int } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ preferredBufferDuration?: int; @@ -5144,8 +5119,8 @@ declare namespace media { * @type { ?boolean } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ preferredHdr?: boolean; @@ -5153,8 +5128,8 @@ declare namespace media { * mute the specified media stream when playing. * @type { ?MediaType } * @syscap SystemCapability.Multimedia.Media.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ mutedMediaType?: MediaType; @@ -5163,8 +5138,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ preferredAudioLanguage?: string; @@ -5173,8 +5148,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ preferredSubtitleLanguage?: string; @@ -5183,8 +5158,8 @@ declare namespace media { * @type { ?boolean } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'17','1.2':'20'} - * @arkts 1.1&1.2 + * @since 17 dynamic + * @since 20 static */ showFirstFrameOnPrepare?: boolean; @@ -5193,8 +5168,8 @@ declare namespace media { * @type { ?double } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ preferredBufferDurationForPlaying?: double; @@ -5204,8 +5179,8 @@ declare namespace media { * @type { ?boolean } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enableSuperResolution?: boolean; @@ -5215,8 +5190,8 @@ declare namespace media { * @type { ?double } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ thresholdForAutoQuickPlay?: double @@ -5227,7 +5202,7 @@ declare namespace media { * will be stopped when the media is closed to reduce power consumption. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since 20 + * @since 20 dynamic */ keepDecodingOnMute?: boolean; } @@ -5257,8 +5232,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVFileDescriptor { /** @@ -5281,8 +5256,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fd: int @@ -5306,8 +5281,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ offset?: long @@ -5331,8 +5306,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ length?: long } @@ -5363,8 +5338,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVDataSrcDescriptor { /** @@ -5387,8 +5362,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fileSize: long; /** @@ -5424,8 +5399,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ callback: (buffer: ArrayBuffer, length: long, pos?: long) => int; } @@ -5438,8 +5413,8 @@ declare namespace media { * @typedef SubtitleInfo * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface SubtitleInfo { /** @@ -5447,8 +5422,8 @@ declare namespace media { * @type { ?int } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ duration?: int; /** @@ -5456,8 +5431,8 @@ declare namespace media { * @type { ?int } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ startTime?: int; /** @@ -5465,8 +5440,8 @@ declare namespace media { * @type { ?string } * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ text?: string; } @@ -5475,7 +5450,7 @@ declare namespace media { * Describes audio playback states. * @typedef { 'idle' | 'playing' | 'paused' | 'stopped' | 'error' } * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayerState */ @@ -5487,7 +5462,7 @@ declare namespace media { * * @typedef AudioPlayer * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer */ @@ -5495,7 +5470,7 @@ declare namespace media { /** * Starts audio playback. * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#play */ @@ -5504,7 +5479,7 @@ declare namespace media { /** * Pauses audio playback. * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#pause */ @@ -5513,7 +5488,7 @@ declare namespace media { /** * Stops audio playback. * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#stop */ @@ -5522,7 +5497,7 @@ declare namespace media { /** * Resets audio playback. * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#reset */ @@ -5532,7 +5507,7 @@ declare namespace media { * Jumps to the specified playback position. * @param { number } timeMs - Playback position to jump * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#seek */ @@ -5542,7 +5517,7 @@ declare namespace media { * Sets the volume. * @param { number } vol - Relative volume. The value ranges from 0.00 to 1.00. The value 1 indicates the maximum volume (100%). * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#setVolume */ @@ -5551,7 +5526,7 @@ declare namespace media { /** * Releases resources used for audio playback. * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#release */ @@ -5561,7 +5536,7 @@ declare namespace media { * Get all track infos in MediaDescription, should be called after data loaded callback. * @param { AsyncCallback> } callback - async callback return track info in MediaDescription. * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#getTrackDescription */ @@ -5571,7 +5546,7 @@ declare namespace media { * Get all track infos in MediaDescription, should be called after data loaded callback. * @returns { Promise> } A Promise instance used to return the track info in MediaDescription. * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#getTrackDescription */ @@ -5583,7 +5558,7 @@ declare namespace media { * @param { function } callback - Callback used to listen for the buffering update event, * return BufferingInfoType and the value. * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#event:bufferingUpdate */ @@ -5595,7 +5570,7 @@ declare namespace media { * @type { string } * @permission ohos.permission.READ_MEDIA or ohos.permission.INTERNET * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#url */ @@ -5605,7 +5580,7 @@ declare namespace media { * Audio file descriptor. Mainstream audio formats are supported. * @type { AVFileDescriptor } * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 9 + * @since 9 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#fdSrc */ @@ -5615,7 +5590,7 @@ declare namespace media { * Whether to loop audio playback. The value true means to loop playback. * @type { boolean } * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#loop */ @@ -5627,7 +5602,7 @@ declare namespace media { * first time in order for the interrupt mode to become effective thereafter. * @type { ?audio.InterruptMode } * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 9 + * @since 9 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#audioInterruptMode */ @@ -5637,7 +5612,7 @@ declare namespace media { * Current playback position. * @type { number } * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#currentTime */ @@ -5647,7 +5622,7 @@ declare namespace media { * Playback duration, When the data source does not support seek, it returns - 1, such as a live broadcast scenario. * @type { number } * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#duration */ @@ -5657,7 +5632,7 @@ declare namespace media { * Playback state. * @type { AudioState } * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#state */ @@ -5668,7 +5643,7 @@ declare namespace media { * @param { 'play' | 'pause' | 'stop' | 'reset' | 'dataLoad' | 'finish' | 'volumeChange' } type - Type of the playback event to listen for. * @param { function } callback - Callback used to listen for the playback event. * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#event:stateChange */ @@ -5679,7 +5654,7 @@ declare namespace media { * @param { 'timeUpdate' } type - Type of the playback event to listen for. * @param { Callback } callback - Callback used to listen for the playback event. * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#event:timeUpdate */ @@ -5690,7 +5665,7 @@ declare namespace media { * @param { 'audioInterrupt' } type - Type of the playback event to listen for. * @param { function } callback - Callback used to listen for the playback event return audio interrupt info. * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 9 + * @since 9 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#event:audioInterrupt */ @@ -5701,7 +5676,7 @@ declare namespace media { * @param { 'error' } type - Type of the playback error event to listen for. * @param { ErrorCallback } callback - Callback used to listen for the playback error event. * @syscap SystemCapability.Multimedia.Media.AudioPlayer - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#event:error */ @@ -5720,8 +5695,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type AVRecorderState = 'idle' | 'prepared' | 'started' | 'paused' | 'stopped' | 'released' | 'error'; @@ -5734,8 +5709,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type OnAVRecorderStateChangeHandler = (state: AVRecorderState, reason: StateChangeReason) => void; @@ -5755,8 +5730,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVRecorder { /** @@ -5786,7 +5761,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -5819,7 +5795,6 @@ declare namespace media { * console.info('Succeeded in preparing'); * } * }) - * @arkts 1.1&1.2 */ prepare(config: AVRecorderConfig, callback: AsyncCallback): void; @@ -5849,7 +5824,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -5880,7 +5856,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.error('Failed to prepare and catch error is ' + err.message); * }); - * @arkts 1.1&1.2 */ prepare(config: AVRecorderConfig): Promise; @@ -5895,7 +5870,7 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by callback. * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 11 + * @since 11 dynamic * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -5922,7 +5897,7 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by callback. * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 20 + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -5936,7 +5911,6 @@ declare namespace media { * avConfig = config; * } * }); - * @arkts 1.2 */ getAVRecorderConfig(callback: AsyncCallback): void; @@ -5948,7 +5922,7 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 11 + * @since 11 dynamic * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -5970,7 +5944,7 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 20 + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -5982,7 +5956,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.error('Failed to get AVRecorderConfig and catch error is ' + err.message); * }); - * @arkts 1.2 */ getAVRecorderConfig(): Promise; @@ -6000,7 +5973,7 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by callback. * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 9 + * @since 9 dynamic * @example * import { BusinessError } from '@kit.BasicServicesKit'; * let surfaceID: string; // The surfaceID is transferred to the camera API to create a videoOutput instance. @@ -6030,7 +6003,7 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by callback. * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 20 + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * let surfaceID: string; // The surfaceID is transferred to the camera API to create a videoOutput instance. @@ -6043,7 +6016,6 @@ declare namespace media { * surfaceID = surfaceId; * } * }); - * @arkts 1.2 */ getInputSurface(callback: AsyncCallback): void; @@ -6059,7 +6031,7 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 9 + * @since 9 dynamic * @example * import { BusinessError } from '@kit.BasicServicesKit'; * let surfaceID: string; // The surfaceID is transferred to the camera API to create a videoOutput instance. @@ -6083,7 +6055,7 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 20 + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * let surfaceID: string; // The surfaceID is transferred to the camera API to create a videoOutput instance. @@ -6094,7 +6066,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.error('Failed to get InputSurface and catch error is ' + err.message); * }); - * @arkts 1.2 */ getInputSurface(): Promise; @@ -6110,7 +6081,7 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @systemapi - * @since 12 + * @since 12 dynamic */ getInputMetaSurface(type: MetaSourceType): Promise; /** @@ -6125,8 +6096,7 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ getInputMetaSurface(type: MetaSourceType): Promise; @@ -6138,7 +6108,7 @@ declare namespace media { * the device supports the hardware digital watermark, and **false** means the opposite. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @systemapi - * @since 13 + * @since 13 dynamic * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6161,7 +6131,8 @@ declare namespace media { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} + * @since 13 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * import { image } from '@kit.ImageKit'; @@ -6174,7 +6145,6 @@ declare namespace media { * }).catch((error: BusinessError) => { * console.error(`Failed to setWatermark and catch error is ${error.message}`); * }); - * @arkts 1.1&1.2 */ setWatermark(watermark: image.PixelMap, config: WatermarkConfig): Promise @@ -6189,7 +6159,7 @@ declare namespace media { * @throws { BusinessError } 202 - Not System App. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @systemapi - * @since 19 + * @since 19 dynamic * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6214,7 +6184,8 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6225,7 +6196,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.error('Failed to updateRotation and catch error is ' + err.message); * }); - * @arkts 1.1&1.2 */ updateRotation(rotation: int): Promise; @@ -6237,7 +6207,7 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 20 + * @since 20 dynamic */ setWillMuteWhenInterrupted(muteWhenInterrupted: boolean): Promise; @@ -6262,7 +6232,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6273,7 +6244,6 @@ declare namespace media { * console.info('Succeeded in starting AVRecorder'); * } * }); - * @arkts 1.1&1.2 */ start(callback: AsyncCallback): void; @@ -6298,7 +6268,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6307,7 +6278,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.error('Failed to start AVRecorder and catch error is ' + err.message); * }); - * @arkts 1.1&1.2 */ start(): Promise; @@ -6331,7 +6301,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6342,7 +6313,6 @@ declare namespace media { * console.info('Succeeded in pausing'); * } * }); - * @arkts 1.1&1.2 */ pause(callback: AsyncCallback): void; @@ -6366,7 +6336,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6375,7 +6346,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.error('Failed to pause AVRecorder and catch error is ' + err.message); * }); - * @arkts 1.1&1.2 */ pause(): Promise; @@ -6399,7 +6369,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6410,7 +6381,6 @@ declare namespace media { * console.info('Succeeded in resuming AVRecorder'); * } * }); - * @arkts 1.1&1.2 */ resume(callback: AsyncCallback): void; @@ -6434,7 +6404,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6443,7 +6414,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.error('Failed to resume AVRecorder failed and catch error is ' + err.message); * }); - * @arkts 1.1&1.2 */ resume(): Promise; @@ -6470,7 +6440,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6481,7 +6452,6 @@ declare namespace media { * console.info('Succeeded in stopping AVRecorder'); * } * }); - * @arkts 1.1&1.2 */ stop(callback: AsyncCallback): void; @@ -6509,7 +6479,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6518,7 +6489,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.error('Failed to stop AVRecorder and catch error is ' + err.message); * }); - * @arkts 1.1&1.2 */ stop(): Promise; @@ -6542,7 +6512,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6553,7 +6524,6 @@ declare namespace media { * console.info('Succeeded in resetting AVRecorder'); * } * }); - * @arkts 1.1&1.2 */ reset(callback: AsyncCallback): void; @@ -6576,7 +6546,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6585,7 +6556,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.error('Failed to reset and catch error is ' + err.message); * }); - * @arkts 1.1&1.2 */ reset(): Promise; @@ -6605,7 +6575,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6616,7 +6587,6 @@ declare namespace media { * console.info('Succeeded in releasing AVRecorder'); * } * }); - * @arkts 1.1&1.2 */ release(callback: AsyncCallback): void; @@ -6636,7 +6606,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -6645,7 +6616,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.error('Failed to release AVRecorder and catch error is ' + err.message); * }); - * @arkts 1.1&1.2 */ release(): Promise; @@ -6662,7 +6632,7 @@ declare namespace media { * @throws { BusinessError } 5400103 - I/O error. * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 11 + * @since 11 dynamic * @example * import { audio } from '@kit.AudioKit'; * @@ -6692,7 +6662,7 @@ declare namespace media { * @throws { BusinessError } 5400103 - I/O error. * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 20 + * @since 20 static * @example * import { audio } from '@kit.AudioKit'; * @@ -6706,7 +6676,6 @@ declare namespace media { * currentCapturerInfo = capturerInfo; * } * }); - * @arkts 1.2 */ getCurrentAudioCapturerInfo(callback: AsyncCallback): void; @@ -6721,7 +6690,7 @@ declare namespace media { * @throws { BusinessError } 5400103 - I/O error. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 11 + * @since 11 dynamic * @example * import { audio } from '@kit.AudioKit'; * @@ -6746,7 +6715,7 @@ declare namespace media { * @throws { BusinessError } 5400103 - I/O error. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 20 + * @since 20 static * @example * import { audio } from '@kit.AudioKit'; * @@ -6758,7 +6727,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.error('Failed to get CurrentAudioCapturerInfo and catch error is ' + err.message); * }); - * @arkts 1.2 */ getCurrentAudioCapturerInfo(): Promise; @@ -6778,7 +6746,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @example * let maxAmplitude: number; * @@ -6790,7 +6759,6 @@ declare namespace media { * maxAmplitude = amplitude; * } * }); - * @arkts 1.1&1.2 */ getAudioCapturerMaxAmplitude(callback: AsyncCallback): void; @@ -6808,7 +6776,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @example * let maxAmplitude: number; * @@ -6818,7 +6787,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.error('Failed to get AudioCapturerMaxAmplitude and catch error is ' + err.message); * }); - * @arkts 1.1&1.2 */ getAudioCapturerMaxAmplitude(): Promise; @@ -6829,7 +6797,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @example * let encoderInfo: media.EncoderInfo; * @@ -6841,7 +6810,6 @@ declare namespace media { * encoderInfo = info[0]; * } * }); - * @arkts 1.1&1.2 */ getAvailableEncoder(callback: AsyncCallback>): void; @@ -6851,7 +6819,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @example * let encoderInfo: media.EncoderInfo; * @@ -6861,7 +6830,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.error('Failed to get AvailableEncoder and catch error is ' + err.message); * }); - * @arkts 1.1&1.2 */ getAvailableEncoder(): Promise>; @@ -6877,8 +6845,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ readonly state: AVRecorderState; @@ -6893,8 +6861,8 @@ declare namespace media { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. * 2. Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'audioCapturerChange', callback: Callback): void; @@ -6910,8 +6878,8 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by callback. * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'photoAssetAvailable', callback: Callback): void; /** @@ -6934,8 +6902,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'stateChange', callback: OnAVRecorderStateChangeHandler): void; @@ -6996,8 +6964,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -7016,8 +6984,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'stateChange', callback?: OnAVRecorderStateChangeHandler): void; @@ -7037,8 +7005,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'error', callback?: ErrorCallback): void; @@ -7055,8 +7023,8 @@ declare namespace media { * information about the audio capturer. * This parameter is supported since API version 12. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'audioCapturerChange', callback?: Callback): void; @@ -7066,8 +7034,8 @@ declare namespace media { * @param { Callback } callback - Callback used to return the **PhotoAsset** object * corresponding to the resource file created by the system. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type: 'photoAssetAvailable', callback?: Callback): void; } @@ -7077,7 +7045,7 @@ declare namespace media { * * @enum { number } * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 8 * @useinstead ohos.multimedia.media/media.CodecMimeType */ @@ -7085,7 +7053,7 @@ declare namespace media { /** * Default audio encoding format, which is AMR-NB. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 8 */ DEFAULT = 0, @@ -7093,7 +7061,7 @@ declare namespace media { /** * Indicates the AMR-NB audio encoding format. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 8 */ AMR_NB = 1, @@ -7101,7 +7069,7 @@ declare namespace media { /** * Indicates the AMR-WB audio encoding format. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 8 */ AMR_WB = 2, @@ -7109,7 +7077,7 @@ declare namespace media { /** * Advanced Audio Coding Low Complexity (AAC-LC). * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 8 */ AAC_LC = 3, @@ -7117,7 +7085,7 @@ declare namespace media { /** * High-Efficiency Advanced Audio Coding (HE-AAC). * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 8 */ HE_AAC = 4 @@ -7128,7 +7096,7 @@ declare namespace media { * * @enum { number } * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 8 * @useinstead ohos.multimedia.media/media.ContainerFormatType */ @@ -7136,7 +7104,7 @@ declare namespace media { /** * Default audio output format, which is Moving Pictures Expert Group 4 (MPEG-4). * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 8 */ DEFAULT = 0, @@ -7144,7 +7112,7 @@ declare namespace media { /** * Indicates the Moving Picture Experts Group-4 (MPEG4) media format. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 8 */ MPEG_4 = 2, @@ -7152,7 +7120,7 @@ declare namespace media { /** * Indicates the Adaptive Multi-Rate Narrowband (AMR-NB) media format. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 8 */ AMR_NB = 3, @@ -7160,7 +7128,7 @@ declare namespace media { /** * Indicates the Adaptive Multi-Rate Wideband (AMR-WB) media format. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 8 */ AMR_WB = 4, @@ -7168,7 +7136,7 @@ declare namespace media { /** * Audio Data Transport Stream (ADTS), a transmission stream format of Advanced Audio Coding (AAC) audio. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 8 */ AAC_ADTS = 6 @@ -7187,8 +7155,8 @@ declare namespace media { * @typedef Location * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface Location { /** @@ -7201,8 +7169,8 @@ declare namespace media { * @type { double } * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ latitude: double; @@ -7216,8 +7184,8 @@ declare namespace media { * @type { double } * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ longitude: double; } @@ -7227,8 +7195,8 @@ declare namespace media { * @typedef WatermarkConfig * @syscap SystemCapability.Multimedia.Media.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ interface WatermarkConfig { /** @@ -7236,8 +7204,8 @@ declare namespace media { * @type { int } * @syscap SystemCapability.Multimedia.Media.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ top: int; /** @@ -7245,8 +7213,8 @@ declare namespace media { * @type { int } * @syscap SystemCapability.Multimedia.Media.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ left: int; } @@ -7256,7 +7224,7 @@ declare namespace media { * * @typedef AudioRecorderConfig * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVRecorderConfig */ @@ -7266,7 +7234,7 @@ declare namespace media { * use "audioEncoderMime" instead. * @type { ?AudioEncoder } * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 8 * @useinstead ohos.multimedia.media/media.AudioRecorderConfig.audioEncoderMime */ @@ -7276,7 +7244,7 @@ declare namespace media { * Audio encoding bit rate. * @type { ?number } * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 9 */ audioEncodeBitRate?: number; @@ -7285,7 +7253,7 @@ declare namespace media { * Audio sampling rate. * @type { ?number } * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 9 */ audioSampleRate?: number; @@ -7294,7 +7262,7 @@ declare namespace media { * Number of audio channels. * @type { ?number } * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 9 */ numberOfChannels?: number; @@ -7304,7 +7272,7 @@ declare namespace media { * it will be replaced with "fileFormat". * @type { ?AudioOutputFormat } * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 8 * @useinstead ohos.multimedia.media/media.AudioRecorderConfig.fileFormat */ @@ -7317,7 +7285,7 @@ declare namespace media { * fd: fd://fd * @type { string } * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 9 */ uri: string; @@ -7326,7 +7294,7 @@ declare namespace media { * Geographical location information. * @type { ?Location } * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamic * @deprecated since 9 */ location?: Location; @@ -7335,7 +7303,7 @@ declare namespace media { * audio encoding format MIME. it used to replace audioEncoder. * @type { ?CodecMimeType } * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ audioEncoderMime?: CodecMimeType; @@ -7343,7 +7311,7 @@ declare namespace media { * output file format. see @ContainerFormatType , it used to replace "format". * @type { ?ContainerFormatType } * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ fileFormat?: ContainerFormatType; @@ -7355,7 +7323,7 @@ declare namespace media { * * @typedef AudioRecorder * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVRecorder */ @@ -7375,7 +7343,7 @@ declare namespace media { * @param { AudioRecorderConfig } config - Recording parameters. * @throws { BusinessError } 201 - permission denied. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 12 + * @since 12 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVRecorder#prepare */ @@ -7384,7 +7352,7 @@ declare namespace media { /** * Starts audio recording. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVRecorder#start */ @@ -7393,7 +7361,7 @@ declare namespace media { /** * Pauses audio recording. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVRecorder#pause */ @@ -7402,7 +7370,7 @@ declare namespace media { /** * Resumes audio recording. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVRecorder#resume */ @@ -7411,7 +7379,7 @@ declare namespace media { /** * Stops audio recording. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVRecorder#stop */ @@ -7420,7 +7388,7 @@ declare namespace media { /** * Releases resources used for audio recording. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVRecorder#release */ @@ -7431,7 +7399,7 @@ declare namespace media { * Before resetting audio recording, you must call stop() to stop recording. After audio recording is reset, * you must call prepare() to set the recording configurations for another recording. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVRecorder#reset */ @@ -7442,7 +7410,7 @@ declare namespace media { * @param { 'prepare' | 'start' | 'pause' | 'resume' | 'stop' | 'release' | 'reset' } type - Type of the audio recording event to listen for. * @param { function } callback - Callback used to listen for the audio recording event. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVRecorder#on */ @@ -7453,7 +7421,7 @@ declare namespace media { * @param { 'error' } type - Type of the audio recording error event to listen for. * @param { ErrorCallback } callback - Callback used to listen for the audio recording error event. * @syscap SystemCapability.Multimedia.Media.AudioRecorder - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVRecorder#on */ @@ -7467,8 +7435,8 @@ declare namespace media { * @typedef { 'idle' | 'prepared' | 'playing' | 'paused' | 'stopped' | 'error' } * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ type VideoRecordState = 'idle' | 'prepared' | 'playing' | 'paused' | 'stopped' | 'error'; @@ -7480,8 +7448,8 @@ declare namespace media { * @typedef VideoRecorder * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface VideoRecorder { /** @@ -7511,8 +7479,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ prepare(config: VideoRecorderConfig, callback: AsyncCallback): void; /** @@ -7542,8 +7510,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ prepare(config: VideoRecorderConfig): Promise; /** @@ -7565,7 +7533,7 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since 12 + * @since 12 dynamic */ getInputSurface(callback: AsyncCallback): void; /** @@ -7577,8 +7545,7 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ getInputSurface(callback: AsyncCallback): void; /** @@ -7600,7 +7567,7 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since 12 + * @since 12 dynamic */ getInputSurface(): Promise; /** @@ -7612,8 +7579,7 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since 20 - * @arkts 1.2 + * @since 20 static */ getInputSurface(): Promise; /** @@ -7635,8 +7601,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ start(callback: AsyncCallback): void; /** @@ -7658,8 +7624,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ start(): Promise; /** @@ -7681,8 +7647,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pause(callback: AsyncCallback): void; /** @@ -7704,8 +7670,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pause(): Promise; /** @@ -7727,8 +7693,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ resume(callback: AsyncCallback): void; /** @@ -7750,8 +7716,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ resume(): Promise; /** @@ -7773,8 +7739,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stop(callback: AsyncCallback): void; /** @@ -7796,8 +7762,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stop(): Promise; /** @@ -7815,8 +7781,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ release(callback: AsyncCallback): void; /** @@ -7834,8 +7800,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ release(): Promise; /** @@ -7859,8 +7825,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ reset(callback: AsyncCallback): void; /** @@ -7884,8 +7850,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ reset(): Promise; /** @@ -7908,8 +7874,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by callback. * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'error', callback: ErrorCallback): void; @@ -7919,8 +7885,8 @@ declare namespace media { * @readonly * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly state: VideoRecordState; } @@ -7929,7 +7895,7 @@ declare namespace media { * Describes video playback states. * @typedef { 'idle' | 'prepared' | 'playing' | 'paused' | 'stopped' | 'error' } * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayerState */ @@ -7949,8 +7915,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum PlaybackSpeed { /** @@ -7963,8 +7929,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPEED_FORWARD_0_75_X = 0, /** @@ -7977,8 +7943,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPEED_FORWARD_1_00_X = 1, /** @@ -7991,8 +7957,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPEED_FORWARD_1_25_X = 2, /** @@ -8005,8 +7971,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPEED_FORWARD_1_75_X = 3, /** @@ -8019,48 +7985,48 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPEED_FORWARD_2_00_X = 4, /** * playback at 0.5x normal speed * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPEED_FORWARD_0_50_X = 5, /** * playback at 1.5x normal speed * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPEED_FORWARD_1_50_X = 6, /** * playback at 3.0x normal speed * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @atomicservice - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ SPEED_FORWARD_3_00_X = 7, /** * playback at 0.25x normal speed * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPEED_FORWARD_0_25_X = 8, /** * playback at 0.125x normal speed * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SPEED_FORWARD_0_125_X = 9, } @@ -8071,7 +8037,7 @@ declare namespace media { * * @typedef VideoPlayer * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer */ @@ -8081,7 +8047,7 @@ declare namespace media { * @param {string} surfaceId - surface id, video player will use this id get a surface instance. * @param { AsyncCallback } callback - A callback instance used to return when release output buffer completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#surfaceId */ @@ -8091,7 +8057,7 @@ declare namespace media { * @param {string} surfaceId - surface id, video player will use this id get a surface instance. * @returns { Promise } A Promise instance used to return when release output buffer completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#surfaceId */ @@ -8100,7 +8066,7 @@ declare namespace media { * Prepare video playback, it will request resource for playing. * @param { AsyncCallback } callback - A callback instance used to return when prepare completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#prepare */ @@ -8109,7 +8075,7 @@ declare namespace media { * Prepare video playback, it will request resource for playing. * @returns { Promise } A Promise instance used to return when prepare completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#prepare */ @@ -8118,7 +8084,7 @@ declare namespace media { * Starts video playback. * @param { AsyncCallback } callback - A callback instance used to return when start completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#play */ @@ -8127,7 +8093,7 @@ declare namespace media { * Starts video playback. * @returns { Promise } A Promise instance used to return when start completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#play */ @@ -8136,7 +8102,7 @@ declare namespace media { * Pauses video playback. * @param { AsyncCallback } callback - A callback instance used to return when pause completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#pause */ @@ -8145,7 +8111,7 @@ declare namespace media { * Pauses video playback. * @returns { Promise } A Promise instance used to return when pause completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#pause */ @@ -8154,7 +8120,7 @@ declare namespace media { * Stops video playback. * @param { AsyncCallback } callback - A callback instance used to return when stop completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#stop */ @@ -8163,7 +8129,7 @@ declare namespace media { * Stops video playback. * @returns { Promise } A Promise instance used to return when stop completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#stop */ @@ -8172,7 +8138,7 @@ declare namespace media { * Resets video playback, it will release the resource. * @param { AsyncCallback } callback - A callback instance used to return when reset completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#reset */ @@ -8181,7 +8147,7 @@ declare namespace media { * Resets video playback, it will release the resource. * @returns { Promise } A Promise instance used to return when reset completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#reset */ @@ -8193,7 +8159,7 @@ declare namespace media { * @param { AsyncCallback } callback - A callback instance used to return when seek completed * and return the seeking position result. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#seek */ @@ -8205,7 +8171,7 @@ declare namespace media { * @param { AsyncCallback } callback - A callback instance used to return when seek completed * and return the seeking position result. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#seek */ @@ -8217,7 +8183,7 @@ declare namespace media { * @returns { Promise } A Promise instance used to return when seek completed * and return the seeking position result. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#seek */ @@ -8227,7 +8193,7 @@ declare namespace media { * @param { number } vol - Relative volume. The value ranges from 0.00 to 1.00. The value 1 indicates the maximum volume (100%). * @param { AsyncCallback } callback - A callback instance used to return when set volume completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#setVolume */ @@ -8237,7 +8203,7 @@ declare namespace media { * @param { number } vol - Relative volume. The value ranges from 0.00 to 1.00. The value 1 indicates the maximum volume (100%). * @returns { Promise } A Promise instance used to return when set volume completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#setVolume */ @@ -8246,7 +8212,7 @@ declare namespace media { * Releases resources used for video playback. * @param { AsyncCallback } callback - A callback instance used to return when release completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#release */ @@ -8255,7 +8221,7 @@ declare namespace media { * Releases resources used for video playback. * @returns { Promise } A Promise instance used to return when release completed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#release */ @@ -8264,7 +8230,7 @@ declare namespace media { * Get all track infos in MediaDescription, should be called after data loaded callback. * @param { AsyncCallback> } callback - async callback return track info in MediaDescription. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#getTrackDescription */ @@ -8274,7 +8240,7 @@ declare namespace media { * Get all track infos in MediaDescription, should be called after data loaded callback. * @returns { Promise> } A Promise instance used to return the track info in MediaDescription. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#getTrackDescription */ @@ -8285,7 +8251,7 @@ declare namespace media { * local:fd://XXX, file://XXX. network:http://xxx * @type { string } * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#url */ @@ -8295,7 +8261,7 @@ declare namespace media { * Video file descriptor. Mainstream video formats are supported. * @type { AVFileDescriptor } * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 9 + * @since 9 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#fdSrc */ @@ -8305,7 +8271,7 @@ declare namespace media { * Whether to loop video playback. The value true means to loop playback. * @type { boolean } * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#loop */ @@ -8315,7 +8281,7 @@ declare namespace media { * Current playback position. * @type { number } * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#currentTime */ @@ -8325,7 +8291,7 @@ declare namespace media { * Playback duration, if -1 means cannot seek. * @type { number } * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#duration */ @@ -8335,7 +8301,7 @@ declare namespace media { * Playback state. * @type { VideoPlayState } * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#state */ @@ -8345,7 +8311,7 @@ declare namespace media { * video width, valid after prepared. * @type { number } * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#width */ @@ -8355,7 +8321,7 @@ declare namespace media { * video height, valid after prepared. * @type { number } * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#height */ @@ -8367,7 +8333,7 @@ declare namespace media { * first time in order for the interrupt mode to become effective thereafter. * @type { ?audio.InterruptMode } * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 9 + * @since 9 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#audioInterruptMode */ @@ -8378,7 +8344,7 @@ declare namespace media { * information, refer to {@link #VideoScaleType} * @type { ?VideoScaleType } * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 9 + * @since 9 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#videoScaleType */ @@ -8389,7 +8355,7 @@ declare namespace media { * @param { number } speed - playback speed, see @PlaybackSpeed . * @param { AsyncCallback } callback Callback used to return actually speed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#setSpeed */ @@ -8399,7 +8365,7 @@ declare namespace media { * @param { number } speed - playback speed, see @PlaybackSpeed . * @returns { Promise } A Promise instance used to return actually speed. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#setSpeed */ @@ -8410,7 +8376,7 @@ declare namespace media { * @param { 'playbackCompleted' } type - Type of the playback event to listen for. * @param { Callback } callback - Callback used to listen for the playback event return. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#event:stateChange */ @@ -8422,7 +8388,7 @@ declare namespace media { * @param { function } callback - Callback used to listen for the buffering update event, * return BufferingInfoType and the value. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#event:bufferingUpdate */ @@ -8433,7 +8399,7 @@ declare namespace media { * @param { 'startRenderFrame' } type - Type of the playback event to listen for. * @param { Callback } callback - Callback used to listen for the playback event return. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#event:startRenderFrame */ @@ -8444,7 +8410,7 @@ declare namespace media { * @param { 'videoSizeChanged' } type - Type of the playback event to listen for. * @param { function } callback - Callback used to listen for the playback event return video size. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#event:videoSizeChange */ @@ -8455,7 +8421,7 @@ declare namespace media { * @param { 'audioInterrupt' } type - Type of the playback event to listen for. * @param { function } callback - Callback used to listen for the playback event return audio interrupt info. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 9 + * @since 9 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#event:audioInterrupt */ @@ -8466,7 +8432,7 @@ declare namespace media { * @param { 'error' } type - Type of the playback error event to listen for. * @param { ErrorCallback } callback - Callback used to listen for the playback error event. * @syscap SystemCapability.Multimedia.Media.VideoPlayer - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimedia.media/media.AVPlayer#event:error */ @@ -8487,8 +8453,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum VideoScaleType { /** @@ -8505,8 +8471,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_SCALE_TYPE_FIT = 0, @@ -8524,8 +8490,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_SCALE_TYPE_FIT_CROP = 1, @@ -8535,7 +8501,7 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.VideoPlayer * @crossplatform * @atomicservice - * @since 20 + * @since 20 dynamic */ VIDEO_SCALE_TYPE_SCALED_ASPECT = 2 @@ -8555,8 +8521,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum ContainerFormatType { /** @@ -8568,8 +8534,8 @@ declare namespace media { * A video container format type mp4. * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CFT_MPEG_4 = 'mp4', @@ -8583,36 +8549,36 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CFT_MPEG_4A = 'm4a', /** * A audio container format type mp3. * @syscap SystemCapability.Multimedia.Media.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CFT_MP3 = 'mp3', /** * A audio container format type wav. * @syscap SystemCapability.Multimedia.Media.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CFT_WAV = 'wav', /** * A audio container format type amr. * @syscap SystemCapability.Multimedia.Media.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ CFT_AMR = 'amr', /** * A audio container format type aac with ADTS. * @syscap SystemCapability.Multimedia.Media.Core - * @since 20 + * @since 20 dynamic */ CFT_AAC = 'aac', } @@ -8639,8 +8605,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum MediaType { /** @@ -8659,8 +8625,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MEDIA_TYPE_AUD = 0, /** @@ -8679,16 +8645,16 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MEDIA_TYPE_VID = 1, /** * Track is subtitle. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MEDIA_TYPE_SUBTITLE = 2, } @@ -8715,8 +8681,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum MediaDescriptionKey { /** @@ -8735,8 +8701,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MD_KEY_TRACK_INDEX = 'track_index', @@ -8756,8 +8722,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MD_KEY_TRACK_TYPE = 'track_type', @@ -8777,8 +8743,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MD_KEY_CODEC_MIME = 'codec_mime', @@ -8798,8 +8764,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MD_KEY_DURATION = 'duration', @@ -8819,8 +8785,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MD_KEY_BITRATE = 'bitrate', @@ -8840,8 +8806,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MD_KEY_WIDTH = 'width', @@ -8861,8 +8827,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MD_KEY_HEIGHT = 'height', @@ -8882,8 +8848,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MD_KEY_FRAME_RATE = 'frame_rate', @@ -8903,8 +8869,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MD_KEY_AUD_CHANNEL_COUNT = 'channel_count', @@ -8924,8 +8890,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MD_KEY_AUD_SAMPLE_RATE = 'sample_rate', @@ -8933,8 +8899,8 @@ declare namespace media { * key for audio bit depth, value type is number * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MD_KEY_AUD_SAMPLE_DEPTH = 'sample_depth', @@ -8942,8 +8908,8 @@ declare namespace media { * Key for language. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MD_KEY_LANGUAGE = 'language', @@ -8951,8 +8917,8 @@ declare namespace media { * Key for track name, value is string. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MD_KEY_TRACK_NAME = 'track_name', @@ -8960,8 +8926,8 @@ declare namespace media { * Key for video hdr type, value type is number. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MD_KEY_HDR_TYPE = 'hdr_type', } @@ -8972,8 +8938,8 @@ declare namespace media { * @typedef VideoRecorderProfile * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface VideoRecorderProfile { /** @@ -8982,8 +8948,8 @@ declare namespace media { * @readonly * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly audioBitrate: int; @@ -8993,8 +8959,8 @@ declare namespace media { * @readonly * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly audioChannels: int; @@ -9004,8 +8970,8 @@ declare namespace media { * @readonly * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly audioCodec: CodecMimeType; @@ -9015,8 +8981,8 @@ declare namespace media { * @readonly * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly audioSampleRate: int; @@ -9026,8 +8992,8 @@ declare namespace media { * @readonly * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly fileFormat: ContainerFormatType; @@ -9037,8 +9003,8 @@ declare namespace media { * @readonly * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly videoBitrate: int; @@ -9048,8 +9014,8 @@ declare namespace media { * @readonly * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly videoCodec: CodecMimeType; @@ -9059,8 +9025,8 @@ declare namespace media { * @readonly * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly videoFrameWidth: int; @@ -9070,8 +9036,8 @@ declare namespace media { * @readonly * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly videoFrameHeight: int; @@ -9081,8 +9047,8 @@ declare namespace media { * @readonly * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ readonly videoFrameRate: int; } @@ -9101,8 +9067,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AudioSourceType { /** @@ -9114,8 +9080,8 @@ declare namespace media { * Default audio input source. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_SOURCE_TYPE_DEFAULT = 0, /** @@ -9129,37 +9095,37 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_SOURCE_TYPE_MIC = 1, /** * Audio source in speech recognition scenarios. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_SOURCE_TYPE_VOICE_RECOGNITION = 2, /** * Voice communication source. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_SOURCE_TYPE_VOICE_COMMUNICATION = 7, /** * Voice message source. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_SOURCE_TYPE_VOICE_MESSAGE = 10, /** * Audio source in camera recording scenarios. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_SOURCE_TYPE_CAMCORDER = 13, } @@ -9177,8 +9143,8 @@ declare namespace media { * @enum { number } * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum VideoSourceType { /** @@ -9190,8 +9156,8 @@ declare namespace media { * The input surface carries raw data. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_SOURCE_TYPE_SURFACE_YUV = 0, /** @@ -9203,8 +9169,8 @@ declare namespace media { * The input surface carries ES data. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_SOURCE_TYPE_SURFACE_ES = 1, } @@ -9215,16 +9181,16 @@ declare namespace media { * @enum { number } * @syscap SystemCapability.Multimedia.Media.AVRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum MetaSourceType { /** * Maker info for video. * @syscap SystemCapability.Multimedia.Media.AVRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_MAKER_INFO = 0, } @@ -9234,23 +9200,23 @@ declare namespace media { * * @enum { number } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum FileGenerationMode { /** * The application creates a media file in the sandbox. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ APP_CREATE = 0, /** * The system creates a media file. Currently, this mode takes effect only in camera recording scenarios. * The URL set by the application is ignored. * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUTO_CREATE_CAMERA_SCENE = 1, } @@ -9261,8 +9227,8 @@ declare namespace media { * @typedef VideoRecorderConfig * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface VideoRecorderConfig { /** @@ -9270,8 +9236,8 @@ declare namespace media { * @type { ?AudioSourceType } * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ audioSourceType?: AudioSourceType; /** @@ -9279,8 +9245,8 @@ declare namespace media { * @type { VideoSourceType } * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ videoSourceType: VideoSourceType; /** @@ -9288,8 +9254,8 @@ declare namespace media { * @type { VideoRecorderProfile } * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ profile: VideoRecorderProfile; /** @@ -9299,8 +9265,8 @@ declare namespace media { * @type { string } * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ url: string; /** @@ -9309,8 +9275,8 @@ declare namespace media { * @type { ?int } * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ rotation?: int; /** @@ -9318,8 +9284,8 @@ declare namespace media { * @type { ?Location } * @syscap SystemCapability.Multimedia.Media.VideoRecorder * @systemapi - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ location?: Location; } @@ -9329,16 +9295,16 @@ declare namespace media { * * @typedef EncoderInfo * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface EncoderInfo { /** * MIME type of the encoder. * @type { CodecMimeType } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ mimeType: CodecMimeType; @@ -9346,8 +9312,8 @@ declare namespace media { * Encoder type. The value **audio** means an audio encoder, and **video** means a video encoder. * @type { string } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type: string; @@ -9355,8 +9321,8 @@ declare namespace media { * Bit rate range of the encoder, with the minimum and maximum bit rates specified. * @type { ?Range } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ bitRate?: Range; @@ -9365,8 +9331,8 @@ declare namespace media { * This parameter is available only for video encoders. * @type { ?Range } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ frameRate?: Range; @@ -9375,8 +9341,8 @@ declare namespace media { * This parameter is available only for video encoders. * @type { ?Range } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ width?: Range; @@ -9385,8 +9351,8 @@ declare namespace media { * This parameter is available only for video encoders. * @type { ?Range } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ height?: Range; @@ -9395,8 +9361,8 @@ declare namespace media { * This parameter is available only for audio encoders. * @type { ?Range } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ channels?: Range; @@ -9405,8 +9371,8 @@ declare namespace media { * and this parameter is available only for audio encoders. * @type { ?Array } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ sampleRate?: Array; } @@ -9416,16 +9382,16 @@ declare namespace media { * * @typedef Range * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface Range { /** * Minimum value. * @type { int } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ min: int; @@ -9433,8 +9399,8 @@ declare namespace media { * Maximum value. * @type { int } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ max: int; } @@ -9453,8 +9419,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVRecorderProfile { /** @@ -9477,8 +9443,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ audioBitrate?: int; @@ -9496,8 +9462,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ audioChannels?: int; @@ -9514,8 +9480,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ audioCodec?: CodecMimeType; @@ -9535,8 +9501,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ audioSampleRate?: int; @@ -9553,8 +9519,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fileFormat: ContainerFormatType; @@ -9568,8 +9534,8 @@ declare namespace media { * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoBitrate?: int; @@ -9583,8 +9549,8 @@ declare namespace media { * @type { ?CodecMimeType } * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoCodec?: CodecMimeType; @@ -9598,8 +9564,8 @@ declare namespace media { * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoFrameWidth?: int; @@ -9613,8 +9579,8 @@ declare namespace media { * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoFrameHeight?: int; @@ -9628,8 +9594,8 @@ declare namespace media { * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoFrameRate?: int; @@ -9645,8 +9611,8 @@ declare namespace media { * @type { ?boolean } * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ isHdr?: boolean; @@ -9657,8 +9623,8 @@ declare namespace media { * @type { ?boolean } * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enableTemporalScale?: boolean; @@ -9667,8 +9633,8 @@ declare namespace media { * @type { ?boolean } * @syscap SystemCapability.Multimedia.Media.AVRecorder * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enableStableQualityMode?: boolean @@ -9676,7 +9642,7 @@ declare namespace media { * Indicates whether enable B Frame. Default is disabled. * @type { ?boolean } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 20 + * @since 20 dynamic */ enableBFrame?: boolean } @@ -9700,8 +9666,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVRecorderConfig { /** @@ -9716,8 +9682,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ audioSourceType?: AudioSourceType; /** @@ -9730,8 +9696,8 @@ declare namespace media { * @type { ?VideoSourceType } * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoSourceType?: VideoSourceType; /** @@ -9739,8 +9705,8 @@ declare namespace media { * @type { ?Array } * @syscap SystemCapability.Multimedia.Media.AVRecorder * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ metaSourceTypes?: Array; /** @@ -9755,8 +9721,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ profile: AVRecorderProfile; /** @@ -9772,8 +9738,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.AVRecorder * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ url: string; @@ -9781,8 +9747,8 @@ declare namespace media { * Mode for creating the file, which is used together with on('photoAssetAvailable'). * @type { ?FileGenerationMode } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fileGenerationMode?: FileGenerationMode; /** @@ -9791,7 +9757,7 @@ declare namespace media { * **AVMetadata.videoOrientation** instead. If both parameters are set, **AVMetadata.videoOrientation** is used. * @type { ?number } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 9 + * @since 9 dynamiconly * @deprecated since 12 * @useinstead ohos.multimedia.media/media.AVMetadata#videoOrientation */ @@ -9802,7 +9768,7 @@ declare namespace media { * **AVMetadata.location** instead. If both parameters are set, **AVMetadata.location** is used. * @type { ?Location } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since 9 + * @since 9 dynamiconly * @deprecated since 12 * @useinstead ohos.multimedia.media/media.AVMetadata#location */ @@ -9811,8 +9777,8 @@ declare namespace media { * Metadata. For details, see @AVMetadata. * @type { ?AVMetadata } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ metadata?: AVMetadata; /** @@ -9822,8 +9788,8 @@ declare namespace media { * AVRecorderState = 'stopped', StateChangeReason = BACKGROUND. * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVRecorder - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ maxDuration?: int; } @@ -9850,7 +9816,7 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface MediaDescription { /** @@ -9869,7 +9835,7 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ [key: string]: Object; } @@ -9881,8 +9847,7 @@ declare namespace media { * @typedef { Record } * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since 20 - * @arkts 1.2 + * @since 20 static */ type MediaDescription = Record; @@ -9908,8 +9873,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum SeekMode { /** @@ -9928,8 +9893,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SEEK_NEXT_SYNC = 0, /** @@ -9948,16 +9913,16 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SEEK_PREV_SYNC = 1, /** * Seek to the closest frame of the given timestamp. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SEEK_CLOSEST = 2, /** @@ -9969,8 +9934,8 @@ declare namespace media { * through the on error callback. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SEEK_CONTINUOUS = 3, } @@ -9982,8 +9947,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum SwitchMode { /** @@ -9991,8 +9956,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SMOOTH = 0, /** @@ -10000,16 +9965,16 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SEGMENT = 1, /** * switch to the closest frame of the given timestamp. * @syscap SystemCapability.Multimedia.Media.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CLOSEST = 2, } @@ -10028,8 +9993,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum CodecMimeType { /** @@ -10041,8 +10006,8 @@ declare namespace media { * H.263 codec MIME type. * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_H263 = 'video/h263', /** @@ -10054,8 +10019,8 @@ declare namespace media { * H.264 codec MIME type. * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_AVC = 'video/avc', /** @@ -10067,8 +10032,8 @@ declare namespace media { * MPEG2 codec MIME type. * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_MPEG2 = 'video/mpeg2', /** @@ -10080,8 +10045,8 @@ declare namespace media { * MPEG4 codec MIME type * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_MPEG4 = 'video/mp4v-es', @@ -10094,8 +10059,8 @@ declare namespace media { * VP8 codec MIME type * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_VP8 = 'video/x-vnd.on2.vp8', @@ -10109,8 +10074,8 @@ declare namespace media { * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_AAC = 'audio/mp4a-latm', @@ -10123,8 +10088,8 @@ declare namespace media { * vorbis codec MIME type. * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_VORBIS = 'audio/vorbis', @@ -10137,8 +10102,8 @@ declare namespace media { * flac codec MIME type. * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_FLAC = 'audio/flac', @@ -10151,36 +10116,36 @@ declare namespace media { * H.265 codec MIME type. * @syscap SystemCapability.Multimedia.Media.Core * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ VIDEO_HEVC = 'video/hevc', /** * mp3 codec MIME type. * @syscap SystemCapability.Multimedia.Media.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_MP3 = 'audio/mpeg', /** * G711-mulaw codec MIME type. * @syscap SystemCapability.Multimedia.Media.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ AUDIO_G711MU = 'audio/g711mu', /** * AMR_NB codec MIME type. * @syscap SystemCapability.Multimedia.Media.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ AUDIO_AMR_NB = 'audio/3gpp', /** * AMR_WB codec MIME type. * @syscap SystemCapability.Multimedia.Media.Core - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ AUDIO_AMR_WB = 'audio/amr-wb', } @@ -10190,22 +10155,22 @@ declare namespace media { * * @enum { number } * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AVScreenCaptureRecordPreset { /** * The H.264 video encoding format, AAC audio encoding format, and MP4 container format are used. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCREEN_RECORD_PRESET_H264_AAC_MP4 = 0, /** * The H.265 video encoding format, AAC audio encoding format, and MP4 container format are used. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCREEN_RECORD_PRESET_H265_AAC_MP4 = 1, } @@ -10215,22 +10180,22 @@ declare namespace media { * * @enum { number } * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enum AVScreenCaptureFillMode { /** * Keeps the original aspect ratio, matching the aspect ratio of the physical screen. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ PRESERVE_ASPECT_RATIO = 0, /** * Stretches the image to fit the specified dimensions. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SCALE_TO_FILL = 1, } @@ -10240,85 +10205,85 @@ declare namespace media { * * @enum { number } * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum AVScreenCaptureStateCode { /** * Screen capture is started. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCREENCAPTURE_STATE_STARTED = 0, /** * Screen capture is canceled. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCREENCAPTURE_STATE_CANCELED = 1, /** * Screen capture is manually stopped by the user. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCREENCAPTURE_STATE_STOPPED_BY_USER = 2, /** * Screen capture is interrupted by another screen capture. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCREENCAPTURE_STATE_INTERRUPTED_BY_OTHER = 3, /** * Screen capture is interrupted by an incoming call. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCREENCAPTURE_STATE_STOPPED_BY_CALL = 4, /** * The microphone is unavailable during screen capture. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCREENCAPTURE_STATE_MIC_UNAVAILABLE = 5, /** * The microphone is muted by the user. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCREENCAPTURE_STATE_MIC_MUTED_BY_USER = 6, /** * The microphone is unmuted by the user. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCREENCAPTURE_STATE_MIC_UNMUTED_BY_USER = 7, /** * The system enters a privacy page during screen capture. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCREENCAPTURE_STATE_ENTER_PRIVATE_SCENE = 8, /** * The system exits a privacy page during screen capture. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCREENCAPTURE_STATE_EXIT_PRIVATE_SCENE = 9, /** * Screen capture is interrupted by system user switchover. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SCREENCAPTURE_STATE_STOPPED_BY_USER_SWITCHES = 10, } @@ -10328,7 +10293,7 @@ declare namespace media { * * @typedef AVScreenCaptureStrategy * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since 20 + * @since 20 dynamic */ interface AVScreenCaptureStrategy { /** @@ -10337,7 +10302,7 @@ declare namespace media { * @default false * @syscap SystemCapability.Multimedia.Media.AVScreenCapture * @systemapi - * @since 20 + * @since 20 dynamic */ enableDeviceLevelCapture?: boolean; @@ -10347,7 +10312,7 @@ declare namespace media { * which means that the recording is ended during the call or the recording cannot be initiated. * @default {false} [Required if provided] * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since 20 + * @since 20 dynamic */ keepCaptureDuringCall?: boolean; @@ -10355,7 +10320,7 @@ declare namespace media { * Indicates whether to enable B-frame encoding, whitch is used to reduce the size of the recorded file. * @type { ?boolean } The default value is false, which means B frames encoding are disabled. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since 20 + * @since 20 dynamic */ enableBFrame?: boolean; } @@ -10365,40 +10330,40 @@ declare namespace media { * * @typedef AVScreenCaptureRecordConfig * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVScreenCaptureRecordConfig { /** * FD of the file output. * @type { int } * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fd: int; /** * Video width, in px. The default value varies according to the display in use. * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ frameWidth?: int; /** * Video height, in px. The default value varies according to the display in use. * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ frameHeight?: int; /** * Video bit rate. The default value is **10000000**. * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoBitrate?: int; /** @@ -10406,8 +10371,8 @@ declare namespace media { * Only **48000** (default value) and **16000** are supported. * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ audioSampleRate?: int; /** @@ -10415,8 +10380,8 @@ declare namespace media { * Only **1** and **2** (default) are supported. * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ audioChannelCount?: int; /** @@ -10424,32 +10389,32 @@ declare namespace media { * The default value is **96000**. * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ audioBitrate?: int; /** * Encoding and container format used. The default value is **SCREEN_RECORD_PRESET_H264_AAC_MP4**. * @type { ?AVScreenCaptureRecordPreset } * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ preset?: AVScreenCaptureRecordPreset; /** * ID of the display used for screen capture. By default, the main screen is captured. * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ displayId?: int; /** * Video fill mode during screen capture. * @type { ?AVScreenCaptureFillMode } * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ fillMode?: AVScreenCaptureFillMode; /** @@ -10457,7 +10422,7 @@ declare namespace media { * @type { ?AVScreenCaptureStrategy } Screen capture policy configuration values * @default {default value of the property} [Required if provided] * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since 20 + * @since 20 dynamic */ strategy?: AVScreenCaptureStrategy; } @@ -10468,8 +10433,8 @@ declare namespace media { * * @typedef AVScreenCaptureRecorder * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVScreenCaptureRecorder { /** @@ -10481,7 +10446,8 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -10497,7 +10463,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.info('Failed to init avScreenCaptureRecorder, error: ' + err.message); * }) - * @arkts 1.1&1.2 */ init(config: AVScreenCaptureRecordConfig): Promise; @@ -10507,7 +10472,8 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -10516,7 +10482,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.info('Failed to start avScreenCaptureRecorder, error: ' + err.message); * }) - * @arkts 1.1&1.2 */ startRecording(): Promise; @@ -10526,7 +10491,8 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -10535,7 +10501,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.info('Failed to stop avScreenCaptureRecorder, error: ' + err.message); * }) - * @arkts 1.1&1.2 */ stopRecording(): Promise; @@ -10550,7 +10515,8 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -10560,7 +10526,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.info('Failed to skip privacy mode, error: ' + err.message); * }) - * @arkts 1.1&1.2 */ skipPrivacyMode(windowIDs: Array): Promise; @@ -10572,7 +10537,8 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -10581,7 +10547,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.info('Failed to setMicEnabled avScreenCaptureRecorder, error: ' + err.message); * }) - * @arkts 1.1&1.2 */ setMicEnabled(enable: boolean): Promise; @@ -10591,7 +10556,8 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * import { BusinessError } from '@kit.BasicServicesKit'; * @@ -10600,7 +10566,6 @@ declare namespace media { * }).catch((err: BusinessError) => { * console.info('Faile to release avScreenCaptureRecorder, error: ' + err.message); * }) - * @arkts 1.1&1.2 */ release(): Promise; @@ -10612,12 +10577,12 @@ declare namespace media { * @param { Callback } callback - Callback invoked when the event is triggered. * AVScreenCaptureStateCode indicates the new state. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * avScreenCaptureRecorder.on('stateChange', (state: media.AVScreenCaptureStateCode) => { * console.info('avScreenCaptureRecorder stateChange to ' + state); * }) - * @arkts 1.1&1.2 */ on(type: 'stateChange', callback: Callback): void; @@ -10631,12 +10596,12 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by ErrorCallback. * @throws { BusinessError } 5400105 - Service died. Return by ErrorCallback. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * avScreenCaptureRecorder.on('error', (err: BusinessError) => { * console.error('avScreenCaptureRecorder error:' + err.message); * }) - * @arkts 1.1&1.2 */ on(type: 'error', callback: ErrorCallback): void; @@ -10647,10 +10612,10 @@ declare namespace media { * AVScreenCaptureStateCode indicates the new state. If this parameter is not specified, * the last subscription is canceled. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * avScreenCaptureRecorder.off('stateChange'); - * @arkts 1.1&1.2 */ off(type: 'stateChange', callback?: Callback): void; @@ -10661,10 +10626,10 @@ declare namespace media { * @param { ErrorCallback } callback - Callback used for unsubscription. If this parameter is not specified, * the last subscription is canceled. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @example * avScreenCaptureRecorder.off('error'); - * @arkts 1.1&1.2 */ off(type: 'error', callback?: ErrorCallback): void; } @@ -10674,16 +10639,16 @@ declare namespace media { * * @typedef AVTranscoderConfig * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVTranscoderConfig { /** * Bitrate of the output audio, in bit/s. The value range is [1-500000]. The default value is 48 kbit/s. * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ audioBitrate?: int; @@ -10691,8 +10656,8 @@ declare namespace media { * Encoding format of the output audio. Currently, only AAC is supported. The default value is **AAC**. * @type { ?CodecMimeType } * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ audioCodec?: CodecMimeType; @@ -10700,8 +10665,8 @@ declare namespace media { * Container format of the output video file. Currently, only MP4 is supported. * @type { ContainerFormatType } * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fileFormat: ContainerFormatType; @@ -10711,8 +10676,8 @@ declare namespace media { * 2 Mbit/s for the range (480P,720P], 4 Mbit/s for the range (720P,1080P], and 8 Mbit/s for 1080p or higher. * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoBitrate?: int; @@ -10721,8 +10686,8 @@ declare namespace media { * If the source video is in HEVC format, the default value is **HEVC**. Otherwise, the default value is **AVC**. * @type { ?CodecMimeType } * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoCodec?: CodecMimeType; @@ -10731,8 +10696,8 @@ declare namespace media { * The default value is the width of the source video frame. * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoFrameWidth?: int; @@ -10741,8 +10706,8 @@ declare namespace media { * The default value is the height of the source video frame. * @type { ?int } * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ videoFrameHeight?: int; } @@ -10753,8 +10718,8 @@ declare namespace media { * * @typedef AVTranscoder * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AVTranscoder { /** @@ -10773,8 +10738,8 @@ declare namespace media { * at the same time, resulting in errors in obtaining data. * @type { AVFileDescriptor } * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fdSrc: AVFileDescriptor; @@ -10790,8 +10755,8 @@ declare namespace media { * at the same time, resulting in errors in obtaining data. * @type { int } * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fdDst: int; @@ -10805,8 +10770,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. Return by promise. * @throws { BusinessError } 5400106 - Unsupported format. Returned by promise. * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ prepare(config: AVTranscoderConfig): Promise; @@ -10819,8 +10784,8 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ start(): Promise; @@ -10834,8 +10799,8 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pause(): Promise; @@ -10848,8 +10813,8 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ resume(): Promise; @@ -10862,8 +10827,8 @@ declare namespace media { * @throws { BusinessError } 5400103 - IO error. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ cancel(): Promise; @@ -10875,8 +10840,8 @@ declare namespace media { * @throws { BusinessError } 5400102 - Operation not allowed. Return by promise. * @throws { BusinessError } 5400105 - Service died. Return by promise. * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ release(): Promise; @@ -10892,8 +10857,8 @@ declare namespace media { * @param { Callback } callback - Callback that has been registered to listen for * transcoding completion events. * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type:'complete', callback: Callback):void; @@ -10916,8 +10881,8 @@ declare namespace media { * @throws { BusinessError } 5400105 - Service died. * @throws { BusinessError } 5400106 - Unsupported format. * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type:'error', callback: ErrorCallback):void; @@ -10929,8 +10894,8 @@ declare namespace media { * @param { Callback } callback - Callback invoked when the event is triggered. * **progress** is a number that indicates the current transcoding progress. * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type:'progressUpdate', callback: Callback):void; @@ -10941,8 +10906,8 @@ declare namespace media { * @param { Callback } callback - Callback that has been registered to listen for * transcoding completion events. * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type:'complete', callback?: Callback):void; @@ -10954,8 +10919,8 @@ declare namespace media { * This event is triggered when an error occurs during transcoding. * @param { ErrorCallback } callback - Callback that has been registered to listen for AVTranscoder errors. * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type:'error', callback?: ErrorCallback):void; @@ -10967,8 +10932,8 @@ declare namespace media { * You are advised to use the default value because only the last registered callback is retained in the current * callback mechanism. * @syscap SystemCapability.Multimedia.Media.AVTranscoder - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ off(type:'progressUpdate', callback?: Callback):void; } @@ -10979,24 +10944,24 @@ declare namespace media { * @enum { number } * @syscap SystemCapability.Multimedia.Media.AVScreenCapture * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enum ScreenCaptureEvent { /** * The system screen recorder starts screen capture. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SCREENCAPTURE_STARTED = 0, /** * The system screen recorder stops screen capture. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SCREENCAPTURE_STOPPED = 1 } @@ -11008,8 +10973,8 @@ declare namespace media { * @typedef ScreenCaptureMonitor * @syscap SystemCapability.Multimedia.Media.AVScreenCapture * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface ScreenCaptureMonitor { /** @@ -11022,14 +10987,14 @@ declare namespace media { * @throws { BusinessError } 202 - Not System App. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @example * // This event is reported when the state of the system screen recorder changes. * screenCaptureMonitor.on('systemScreenRecorder', (event: media.ScreenCaptureEvent) => { * // Set the 'systemScreenRecorder' event callback. * console.info(`system ScreenRecorder event: ${event}`); * }) - * @arkts 1.1&1.2 */ on(type: 'systemScreenRecorder', callback: Callback): void; @@ -11042,10 +11007,10 @@ declare namespace media { * @throws { BusinessError } 202 - Not System App. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @example * screenCaptureMonitor.off('systemScreenRecorder'); - * @arkts 1.1&1.2 */ off(type: 'systemScreenRecorder', callback?: Callback): void; @@ -11055,8 +11020,8 @@ declare namespace media { * @readonly * @syscap SystemCapability.Multimedia.Media.AVScreenCapture * @systemapi - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ readonly isSystemScreenRecorderWorking: boolean; } diff --git a/api/@ohos.multimedia.movingphotoview.d.ts b/api/@ohos.multimedia.movingphotoview.d.ts index 44055a162b..d9a2167a0f 100644 --- a/api/@ohos.multimedia.movingphotoview.d.ts +++ b/api/@ohos.multimedia.movingphotoview.d.ts @@ -26,7 +26,7 @@ import photoAccessHelper from './@ohos.file.photoAccessHelper'; * @enum { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamic */ export declare enum PixelMapFormat { /** @@ -34,7 +34,7 @@ export declare enum PixelMapFormat { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamic */ UNKNOWN = 0, /** @@ -43,7 +43,7 @@ export declare enum PixelMapFormat { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamic */ RGBA_8888 = 1, /** @@ -52,7 +52,7 @@ export declare enum PixelMapFormat { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamic */ NV21 = 2, /** @@ -60,7 +60,7 @@ export declare enum PixelMapFormat { * R(10bits), G(10bits), B(10bits), A(2bits) and are stored from the higher-order to the lower-order bits. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 14 + * @since 14 dynamic */ RGBA_1010102 = 3, @@ -69,7 +69,7 @@ export declare enum PixelMapFormat { * and are stored from the higher-order to the lower-order bits. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 14 + * @since 14 dynamic */ YCBCR_P010 = 4, @@ -78,7 +78,7 @@ export declare enum PixelMapFormat { * and are stored from the higher-order to the lower-order bits. * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @since 14 + * @since 14 dynamic */ YCRCB_P010 = 5 } @@ -88,7 +88,7 @@ export declare enum PixelMapFormat { * @enum { number } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamic */ export declare enum DynamicRangeMode { /** @@ -96,7 +96,7 @@ export declare enum DynamicRangeMode { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamic */ HIGH = 0, /** @@ -104,7 +104,7 @@ export declare enum DynamicRangeMode { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamic */ CONSTRAINT = 1, /** @@ -112,7 +112,7 @@ export declare enum DynamicRangeMode { * * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamic */ STANDARD = 2, } @@ -123,7 +123,7 @@ export declare enum DynamicRangeMode { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare interface MovingPhotoViewOptions { /** @@ -133,7 +133,7 @@ declare interface MovingPhotoViewOptions { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ movingPhoto: photoAccessHelper.MovingPhoto; /** @@ -143,7 +143,7 @@ declare interface MovingPhotoViewOptions { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ controller?: MovingPhotoViewController; /** @@ -153,7 +153,7 @@ declare interface MovingPhotoViewOptions { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ imageAIOptions?: ImageAIOptions; /** @@ -162,7 +162,7 @@ declare interface MovingPhotoViewOptions { * @type { ?PixelMapFormat } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamic */ movingPhotoFormat?: PixelMapFormat; /** @@ -171,7 +171,7 @@ declare interface MovingPhotoViewOptions { * @type { ?DynamicRangeMode } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 14 + * @since 14 dynamic */ dynamicRangeMode?: DynamicRangeMode; /** @@ -180,7 +180,7 @@ declare interface MovingPhotoViewOptions { * @type { ?boolean } * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @systemapi - * @since 19 + * @since 19 dynamic */ playWithMask?: boolean; } @@ -191,7 +191,7 @@ declare interface MovingPhotoViewOptions { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ interface MovingPhotoViewInterface { /** @@ -202,7 +202,7 @@ interface MovingPhotoViewInterface { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ (options: MovingPhotoViewOptions): MovingPhotoViewAttribute; } @@ -214,7 +214,7 @@ interface MovingPhotoViewInterface { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare type MovingPhotoViewEventCallback = () => void; @@ -225,7 +225,7 @@ declare type MovingPhotoViewEventCallback = () => void; * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ declare class MovingPhotoViewAttribute extends CommonMethod { /** @@ -236,7 +236,7 @@ declare class MovingPhotoViewAttribute extends CommonMethod } A Promise instance used to return the PixelMap object. * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since 12 + * @since 12 dynamiconly */ function createPixelMap(colors: ArrayBuffer, options: image.InitializationOptions): Promise; @@ -203,7 +203,7 @@ interface Region extends lang.ISendable { * 2.Incorrect parameter types. 3.Parameter verification failed. * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since 12 + * @since 12 dynamiconly */ function createPixelMapSync(colors: ArrayBuffer, options: image.InitializationOptions): PixelMap; @@ -223,7 +223,7 @@ interface Region extends lang.ISendable { * @throws { BusinessError } 62980180 - FD mapping failed. * @throws { BusinessError } 62980246 - Failed to read the PixelMap. * @syscap SystemCapability.Multimedia.Image.Core - * @since 12 + * @since 12 dynamiconly */ function createPixelMapFromParcel(sequence: rpc.MessageSequence): PixelMap; @@ -238,7 +238,7 @@ interface Region extends lang.ISendable { * @throws { BusinessError } 62980105 - Failed to get the data. * @throws { BusinessError } 62980178 - Failed to create the PixelMap. * @syscap SystemCapability.Multimedia.Image.Core - * @since 12 + * @since 12 dynamiconly */ function createPixelMapFromSurface(surfaceId: string, region: image.Region): Promise; @@ -252,7 +252,7 @@ interface Region extends lang.ISendable { * 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types. 3.Parameter verification failed. * @throws { BusinessError } 62980104 - Failed to initialize the internal object. * @syscap SystemCapability.Multimedia.Image.Core - * @since 12 + * @since 12 dynamiconly */ function convertFromPixelMap(pixelmap: image.PixelMap): PixelMap; @@ -266,7 +266,7 @@ interface Region extends lang.ISendable { * 1.Mandatory parameters are left unspecified. 2.Incorrect parameter types. 3.Parameter verification failed. * @throws { BusinessError } 62980104 - Failed to initialize the internal object. * @syscap SystemCapability.Multimedia.Image.Core - * @since 12 + * @since 12 dynamiconly */ function convertToPixelMap(pixelmap: PixelMap): image.PixelMap; @@ -277,7 +277,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ interface PixelMap extends ISendable { /** @@ -287,7 +287,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ readonly isEditable: boolean; @@ -301,7 +301,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ readPixelsToBuffer(dst: ArrayBuffer): Promise; @@ -315,7 +315,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ readPixelsToBufferSync(dst: ArrayBuffer): void; @@ -328,7 +328,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ readPixels(area: image.PositionArea): Promise; @@ -342,7 +342,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ readPixelsSync(area: image.PositionArea): void; @@ -356,7 +356,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ writePixels(area: image.PositionArea): Promise; @@ -370,7 +370,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ writePixelsSync(area: image.PositionArea): void; @@ -384,7 +384,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ writeBufferToPixels(src: ArrayBuffer): Promise; @@ -398,7 +398,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ writeBufferToPixelsSync(src: ArrayBuffer): void; @@ -410,7 +410,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ getImageInfo(): Promise; @@ -422,7 +422,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ getImageInfoSync(): image.ImageInfo; @@ -433,7 +433,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ getBytesNumberPerRow(): number; @@ -444,7 +444,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ getPixelBytesNumber(): number; @@ -455,7 +455,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ getDensity(): number; @@ -468,7 +468,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ opacity(rate: number): Promise; @@ -482,7 +482,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ opacitySync(rate: number): void; @@ -494,7 +494,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ createAlphaPixelmap(): Promise; @@ -508,7 +508,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ createAlphaPixelmapSync(): PixelMap; @@ -522,7 +522,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ scale(x: number, y: number): Promise; @@ -537,7 +537,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ scaleSync(x: number, y: number): void; @@ -551,7 +551,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ translate(x: number, y: number): Promise; @@ -566,7 +566,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ translateSync(x: number, y: number): void; @@ -579,7 +579,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ rotate(angle: number): Promise; @@ -593,7 +593,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ rotateSync(angle: number): void; @@ -607,7 +607,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ flip(horizontal: boolean, vertical: boolean): Promise; @@ -622,7 +622,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ flipSync(horizontal: boolean, vertical: boolean): void; @@ -635,7 +635,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ crop(region: image.Region): Promise; @@ -649,7 +649,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ cropSync(region: image.Region): void; @@ -662,7 +662,7 @@ interface Region extends lang.ISendable { * @throws { BusinessError } 62980115 - If the image parameter invalid. * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since 12 + * @since 12 dynamiconly */ getColorSpace(): colorSpaceManager.ColorSpaceManager; @@ -679,7 +679,7 @@ interface Region extends lang.ISendable { * @throws { BusinessError } 62980115 - If the image parameter invalid. * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since 12 + * @since 12 dynamiconly */ setColorSpace(colorSpace: colorSpaceManager.ColorSpaceManager): void; @@ -689,7 +689,7 @@ interface Region extends lang.ISendable { * @type { boolean } * @readonly * @syscap SystemCapability.Multimedia.Image.Core - * @since 12 + * @since 12 dynamiconly */ readonly isStrideAlignment: boolean; @@ -712,7 +712,7 @@ interface Region extends lang.ISendable { * @throws { BusinessError } 62980115 - Invalid image parameter. * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform - * @since 12 + * @since 12 dynamiconly */ applyColorSpace(targetColorSpace: colorSpaceManager.ColorSpaceManager): Promise; @@ -724,7 +724,7 @@ interface Region extends lang.ISendable { * @syscap SystemCapability.Multimedia.Image.Core * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ release(): Promise; @@ -735,7 +735,7 @@ interface Region extends lang.ISendable { * @throws { BusinessError } 62980115 - Invalid image parameter. * @throws { BusinessError } 62980097 - IPC error. * @syscap SystemCapability.Multimedia.Image.Core - * @since 12 + * @since 12 dynamiconly */ marshalling(sequence: rpc.MessageSequence): void; @@ -748,7 +748,7 @@ interface Region extends lang.ISendable { * @throws { BusinessError } 62980097 - IPC error. * @throws { BusinessError } 62980096 - The operation failed. * @syscap SystemCapability.Multimedia.Image.Core - * @since 12 + * @since 12 dynamiconly */ unmarshalling(sequence: rpc.MessageSequence): Promise; } @@ -761,7 +761,7 @@ interface Region extends lang.ISendable { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly */ interface ImageSource { /** @@ -774,7 +774,7 @@ interface Region extends lang.ISendable { * @crossplatform * @form * @atomicservice - * @since 12 + * @since 12 dynamiconly */ createPixelMap(options?: image.DecodingOptions): Promise; @@ -784,7 +784,7 @@ interface Region extends lang.ISendable { * @returns { Promise } A Promise instance used to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageSource * @crossplatform - * @since 12 + * @since 12 dynamiconly */ release(): Promise; } @@ -794,7 +794,7 @@ interface Region extends lang.ISendable { * * @typedef Image * @syscap SystemCapability.Multimedia.Image.Core - * @since 12 + * @since 12 dynamiconly */ interface Image extends lang.ISendable { /** @@ -802,7 +802,7 @@ interface Region extends lang.ISendable { * * @type { Region } * @syscap SystemCapability.Multimedia.Image.Core - * @since 12 + * @since 12 dynamiconly */ clipRect: Region; @@ -811,7 +811,7 @@ interface Region extends lang.ISendable { * * @type { Size } * @syscap SystemCapability.Multimedia.Image.Core - * @since 12 + * @since 12 dynamiconly */ readonly size: Size; @@ -820,7 +820,7 @@ interface Region extends lang.ISendable { * * @type { number } * @syscap SystemCapability.Multimedia.Image.Core - * @since 12 + * @since 12 dynamiconly */ readonly format: number; @@ -829,7 +829,7 @@ interface Region extends lang.ISendable { * * @type { number } * @syscap SystemCapability.Multimedia.Image.Core - * @since 12 + * @since 12 dynamiconly */ readonly timestamp: number; @@ -839,7 +839,7 @@ interface Region extends lang.ISendable { * @param { ComponentType } componentType The component type of image. * @returns { Promise } A Promise instance used to return the component buffer. * @syscap SystemCapability.Multimedia.Image.Core - * @since 12 + * @since 12 dynamiconly */ getComponent(componentType: image.ComponentType): Promise; @@ -848,7 +848,7 @@ interface Region extends lang.ISendable { * * @returns { Promise } A Promise instance used to return the operation result. * @syscap SystemCapability.Multimedia.Image.Core - * @since 12 + * @since 12 dynamiconly */ release(): Promise; } @@ -858,7 +858,7 @@ interface Region extends lang.ISendable { * * @typedef ImageReceiver * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since 12 + * @since 12 dynamiconly */ interface ImageReceiver { /** @@ -866,7 +866,7 @@ interface Region extends lang.ISendable { * * @type { Size } * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since 12 + * @since 12 dynamiconly */ readonly size: image.Size; @@ -875,7 +875,7 @@ interface Region extends lang.ISendable { * * @type { number } * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since 12 + * @since 12 dynamiconly */ readonly capacity: number; @@ -884,7 +884,7 @@ interface Region extends lang.ISendable { * * @type { ImageFormat } * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since 12 + * @since 12 dynamiconly */ readonly format: image.ImageFormat; @@ -894,7 +894,7 @@ interface Region extends lang.ISendable { * * @returns { Promise } A Promise instance used to return the surface id. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since 12 + * @since 12 dynamiconly */ getReceivingSurfaceId(): Promise; @@ -903,7 +903,7 @@ interface Region extends lang.ISendable { * * @returns { Promise } A Promise instance used to return the latest image. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since 12 + * @since 12 dynamiconly */ readLatestImage(): Promise; @@ -912,7 +912,7 @@ interface Region extends lang.ISendable { * * @returns { Promise } A Promise instance used to return the next image. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since 12 + * @since 12 dynamiconly */ readNextImage(): Promise; @@ -922,7 +922,7 @@ interface Region extends lang.ISendable { * @param { 'imageArrival' } type Callback used to return the next image. * @param { AsyncCallback } callback Callback used to return image. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since 12 + * @since 12 dynamiconly */ on(type: 'imageArrival', callback: AsyncCallback): void; @@ -931,7 +931,7 @@ interface Region extends lang.ISendable { * * @returns { Promise } A Promise instance used to return the operation result. * @syscap SystemCapability.Multimedia.Image.ImageReceiver - * @since 12 + * @since 12 dynamiconly */ release(): Promise; } diff --git a/api/@ohos.multimedia.systemSoundManager.d.ts b/api/@ohos.multimedia.systemSoundManager.d.ts index 0400948d77..5948f5f915 100644 --- a/api/@ohos.multimedia.systemSoundManager.d.ts +++ b/api/@ohos.multimedia.systemSoundManager.d.ts @@ -32,8 +32,8 @@ import type { SystemToneOptions as _SystemToneOptions } from './multimedia/syste * @namespace systemSoundManager * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare namespace systemSoundManager { @@ -42,14 +42,14 @@ declare namespace systemSoundManager { * @enum { number } * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ enum SystemSoundError { /** * IO error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ ERROR_IO = 5400103, @@ -57,7 +57,7 @@ declare namespace systemSoundManager { * No error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ ERROR_OK = 20700000, @@ -65,7 +65,7 @@ declare namespace systemSoundManager { * Type mismatch. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ ERROR_TYPE_MISMATCH = 20700001, @@ -73,7 +73,7 @@ declare namespace systemSoundManager { * Unsupported operation. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ ERROR_UNSUPPORTED_OPERATION = 20700003, @@ -81,7 +81,7 @@ declare namespace systemSoundManager { * Data size exceeds the limit. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ ERROR_DATA_TOO_LARGE = 20700004, @@ -89,7 +89,7 @@ declare namespace systemSoundManager { * The number of files exceeds the limit. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ ERROR_TOO_MANY_FILES = 20700005, @@ -97,7 +97,7 @@ declare namespace systemSoundManager { * Insufficient ROM space. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ ERROR_INSUFFICIENT_ROM = 20700006, @@ -105,7 +105,7 @@ declare namespace systemSoundManager { * Invalid parameter. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ ERROR_INVALID_PARAM = 20700007 } @@ -115,15 +115,15 @@ declare namespace systemSoundManager { * @enum { int } * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum RingtoneType { /** * Default type. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead systemSoundManager.RingtoneType#RINGTONE_TYPE_SIM_CARD_0 */ @@ -133,8 +133,8 @@ declare namespace systemSoundManager { * Ringtone type for sim card 0. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ RINGTONE_TYPE_SIM_CARD_0 = 0, @@ -142,7 +142,7 @@ declare namespace systemSoundManager { * Multi-sim type. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead systemSoundManager.RingtoneType#RINGTONE_TYPE_SIM_CARD_1 */ @@ -152,8 +152,8 @@ declare namespace systemSoundManager { * Ringtone type for sim card 1. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ RINGTONE_TYPE_SIM_CARD_1 = 1, } @@ -163,16 +163,16 @@ declare namespace systemSoundManager { * @enum { int } * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum SystemToneType { /** * System tone type for sim card 0. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SYSTEM_TONE_TYPE_SIM_CARD_0 = 0, @@ -180,8 +180,8 @@ declare namespace systemSoundManager { * System tone type for sim card 1. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SYSTEM_TONE_TYPE_SIM_CARD_1 = 1, @@ -189,8 +189,8 @@ declare namespace systemSoundManager { * System tone type notification. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SYSTEM_TONE_TYPE_NOTIFICATION = 32, } @@ -200,24 +200,24 @@ declare namespace systemSoundManager { * @enum {int} * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum ToneCustomizedType { /** * Pre-installed tone type. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PRE_INSTALLED = 0, /** * Customized tone type. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CUSTOMIZED = 1, } @@ -227,14 +227,14 @@ declare namespace systemSoundManager { * @enum { number } * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ enum MediaType { /** * Media type for audio. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ AUDIO = 0, @@ -242,7 +242,7 @@ declare namespace systemSoundManager { * Media type for vide. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ VIDEO = 1, } @@ -251,8 +251,8 @@ declare namespace systemSoundManager { * Define the ringtone category. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const TONE_CATEGORY_RINGTONE: long; @@ -260,8 +260,8 @@ declare namespace systemSoundManager { * Define the text message tone category. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const TONE_CATEGORY_TEXT_MESSAGE: long; @@ -269,8 +269,8 @@ declare namespace systemSoundManager { * Define the notification tone category. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const TONE_CATEGORY_NOTIFICATION: long; @@ -278,8 +278,8 @@ declare namespace systemSoundManager { * Define the alarm tone category. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const TONE_CATEGORY_ALARM: long; @@ -288,7 +288,7 @@ declare namespace systemSoundManager { * @constant * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ const TONE_CATEGORY_CONTACTS:16; @@ -297,8 +297,8 @@ declare namespace systemSoundManager { * @typedef ToneAttrs * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface ToneAttrs { /** @@ -307,8 +307,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 202 - Caller is not a system application. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getTitle(): string; @@ -321,8 +321,8 @@ declare namespace systemSoundManager { * 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setTitle(title: string): void; @@ -332,8 +332,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 202 - Caller is not a system application. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getFileName(): string; @@ -346,8 +346,8 @@ declare namespace systemSoundManager { * 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setFileName(name: string): void; @@ -357,8 +357,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 202 - Caller is not a system application. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getUri(): string; @@ -368,8 +368,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 202 - Caller is not a system application. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCustomizedType(): ToneCustomizedType; @@ -384,8 +384,8 @@ declare namespace systemSoundManager { * 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setCategory(category: long): void; @@ -397,8 +397,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 202 - Caller is not a system application. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getCategory(): long; @@ -408,7 +408,7 @@ declare namespace systemSoundManager { * @throws { BusinessError } 202 - Caller is not a system application. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ setMediaType(type: MediaType): void; @@ -419,7 +419,7 @@ declare namespace systemSoundManager { * @throws { BusinessError } 202 - Caller is not a system application. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ getMediaType(): MediaType; } @@ -430,8 +430,8 @@ declare namespace systemSoundManager { * @typedef {Array} ToneAttrsArray * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type ToneAttrsArray = Array; @@ -441,8 +441,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 202 - Caller is not a system application. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createCustomizedToneAttrs(): ToneAttrs; @@ -451,24 +451,24 @@ declare namespace systemSoundManager { * @enum { int } * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum ToneHapticsFeature { /** * Standard haptics feature. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ STANDARD = 0, /** * Gentle haptics feature. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ GENTLE = 1, } @@ -478,16 +478,16 @@ declare namespace systemSoundManager { * @enum { int } * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum ToneHapticsType { /** * Haptics in incoming call scenario for sim card 0. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CALL_SIM_CARD_0 = 0, @@ -495,8 +495,8 @@ declare namespace systemSoundManager { * Haptics in incoming call scenario for sim card 1. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ CALL_SIM_CARD_1 = 1, @@ -504,8 +504,8 @@ declare namespace systemSoundManager { * Haptics in text message scenario for sim card 0. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ TEXT_MESSAGE_SIM_CARD_0 = 20, @@ -513,8 +513,8 @@ declare namespace systemSoundManager { * Haptics in text message scenario for sim card 1. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ TEXT_MESSAGE_SIM_CARD_1 = 21, @@ -522,8 +522,8 @@ declare namespace systemSoundManager { * Haptics in notification scenario. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ NOTIFICATION = 40, } @@ -533,24 +533,24 @@ declare namespace systemSoundManager { * @enum {int} * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum ToneHapticsMode { /** * None haptics mode. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ NONE = 0, /** * Haptics is synchronized with tone. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ SYNC = 1, @@ -558,8 +558,8 @@ declare namespace systemSoundManager { * Haptics is out of synchronize with tone. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ NON_SYNC = 2, } @@ -568,8 +568,8 @@ declare namespace systemSoundManager { * @typedef ToneHapticsSettings * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface ToneHapticsSettings { /** @@ -577,8 +577,8 @@ declare namespace systemSoundManager { * @type { ToneHapticsMode } * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ mode: ToneHapticsMode; /** @@ -587,8 +587,8 @@ declare namespace systemSoundManager { * @type { ?string } * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ hapticsUri?: string; } @@ -598,8 +598,8 @@ declare namespace systemSoundManager { * @typedef ToneHapticsAttrs * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface ToneHapticsAttrs { /** @@ -608,8 +608,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 202 - Caller is not a system application. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getUri(): string; @@ -619,8 +619,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 202 - Caller is not a system application. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getTitle(): string; @@ -630,8 +630,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 202 - Caller is not a system application. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getFileName(): string; } @@ -642,8 +642,8 @@ declare namespace systemSoundManager { * @typedef { Array } ToneHapticsAttrsArray * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ type ToneHapticsAttrsArray = Array; @@ -653,8 +653,8 @@ declare namespace systemSoundManager { * @returns { SystemSoundManager } SystemSoundManager instance. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getSystemSoundManager(): SystemSoundManager; @@ -663,8 +663,8 @@ declare namespace systemSoundManager { * @typedef SystemSoundManager * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface SystemSoundManager { /** @@ -675,7 +675,7 @@ declare namespace systemSoundManager { * @param { AsyncCallback } callback - Callback used to return the set uri result. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead systemSoundManager.SystemSoundManager#setRingtoneUri */ @@ -689,7 +689,7 @@ declare namespace systemSoundManager { * @returns { Promise } Promise used to return the set uri result. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead systemSoundManager.SystemSoundManager#setRingtoneUri */ @@ -708,8 +708,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 5400103 - I/O error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setRingtoneUri(context: BaseContext, uri: string, type: RingtoneType): Promise; @@ -720,7 +720,7 @@ declare namespace systemSoundManager { * @param { AsyncCallback } callback - Callback used to return the ringtone uri maintained in system. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead systemSoundManager.SystemSoundManager#getRingtoneUri */ @@ -733,7 +733,7 @@ declare namespace systemSoundManager { * @returns { Promise } Promise used to return the ringtone uri maintained in system. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead systemSoundManager.SystemSoundManager#getRingtoneUri */ @@ -751,8 +751,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 5400103 - I/O error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getRingtoneUri(context: BaseContext, type: RingtoneType): Promise; @@ -764,7 +764,7 @@ declare namespace systemSoundManager { * @throws { BusinessError } 5400103 - I/O error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ getCurrentRingtoneAttribute(type: RingtoneType): Promise; @@ -780,8 +780,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 5400103 - I/O error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getDefaultRingtoneAttrs(context: BaseContext, type: RingtoneType): Promise; @@ -797,8 +797,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 5400103 - I/O error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getRingtoneAttrList(context: BaseContext, type: RingtoneType): Promise; @@ -809,7 +809,7 @@ declare namespace systemSoundManager { * @param { AsyncCallback } callback - Callback used to return a ringtone player instance. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead systemSoundManager.SystemSoundManager#getRingtonePlayer */ @@ -822,7 +822,7 @@ declare namespace systemSoundManager { * @returns { Promise } Promise used to return a ringtone player instance. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 10 + * @since 10 dynamiconly * @deprecated since 11 * @useinstead systemSoundManager.SystemSoundManager#getRingtonePlayer */ @@ -839,8 +839,8 @@ declare namespace systemSoundManager { * 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getRingtonePlayer(context: BaseContext, type: RingtoneType): Promise; @@ -857,8 +857,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 5400103 - I/O error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setSystemToneUri(context: BaseContext, uri: string, type: SystemToneType): Promise; @@ -874,8 +874,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 5400103 - I/O error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getSystemToneUri(context: BaseContext, type: SystemToneType): Promise; @@ -892,8 +892,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 5400103 - I/O error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getDefaultSystemToneAttrs(context: BaseContext, type: SystemToneType): Promise; @@ -909,8 +909,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 5400103 - I/O error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getSystemToneAttrList(context: BaseContext, type: SystemToneType): Promise; @@ -925,8 +925,8 @@ declare namespace systemSoundManager { * 2.Incorrect parameter types. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getSystemTonePlayer(context: BaseContext, type: SystemToneType): Promise; @@ -942,8 +942,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 5400103 - I/O error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getDefaultAlarmToneAttrs(context: BaseContext): Promise; @@ -961,8 +961,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 20700001 - Tone type mismatch, e.g. tone of input uri is not an alarm tone. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ setAlarmToneUri(context: BaseContext, uri: string): Promise; @@ -978,8 +978,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 5400103 - I/O error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAlarmToneUri(context: BaseContext): Promise; @@ -994,8 +994,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 5400103 - I/O error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getAlarmToneAttrList(context: BaseContext): Promise; @@ -1012,8 +1012,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 20700001 - Tone type mismatch, e.g. tone of uri is notification instead of alarm. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ openAlarmTone(context: BaseContext, uri: string): Promise; @@ -1027,7 +1027,7 @@ declare namespace systemSoundManager { * @throws { BusinessError } 20700007 - Parameter is invalid, e.g. the length of uriList is too long. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ openToneList(uriList: Array): Promise>; @@ -1042,8 +1042,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 5400103 - I/O error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ close(fd: int): Promise; @@ -1084,8 +1084,7 @@ declare namespace systemSoundManager { * @throws { BusinessError } 20700006 - Insufficient ROM space. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ addCustomizedTone(context: BaseContext, toneAttr: ToneAttrs, externalUri: string): Promise; @@ -1134,8 +1133,7 @@ declare namespace systemSoundManager { * @throws { BusinessError } 20700006 - Insufficient ROM space. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ addCustomizedTone(context: BaseContext, toneAttr: ToneAttrs, fd: int, offset?: long, length?: long) : Promise; @@ -1155,8 +1153,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 5400103 - I/O error. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ removeCustomizedTone(context: BaseContext, uri:string): Promise; @@ -1171,7 +1169,7 @@ declare namespace systemSoundManager { * @throws { BusinessError } 20700007 - Prameter is invalid, e.g. the length of uriList is too long. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since 20 + * @since 20 dynamic */ removeCustomizedToneList(uriList: Array): Promise>; @@ -1188,8 +1186,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 20700003 - Unsupported operation. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getToneHapticsSettings(context: BaseContext, type: ToneHapticsType): Promise; @@ -1208,8 +1206,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 20700003 - Unsupported operation. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ setToneHapticsSettings(context: BaseContext, type: ToneHapticsType, settings: ToneHapticsSettings): Promise; @@ -1226,8 +1224,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 20700003 - Unsupported operation. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getToneHapticsList(context: BaseContext, isSynced: boolean): Promise; @@ -1246,8 +1244,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 20700003 - Unsupported operation. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getHapticsAttrsSyncedWithTone(context: BaseContext, toneUri: string): Promise; @@ -1265,8 +1263,8 @@ declare namespace systemSoundManager { * @throws { BusinessError } 20700003 - Unsupported operation. * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ openToneHaptics(context: BaseContext, hapticsUri: string): Promise; } @@ -1276,8 +1274,8 @@ declare namespace systemSoundManager { * @typedef { _RingtonePlayer } RingtonePlayer * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ type RingtonePlayer = _RingtonePlayer; @@ -1286,8 +1284,8 @@ declare namespace systemSoundManager { * @typedef { _SystemTonePlayer } SystemTonePlayer * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type SystemTonePlayer = _SystemTonePlayer; @@ -1296,8 +1294,8 @@ declare namespace systemSoundManager { * @typedef { _RingtoneOptions } RingtoneOptions * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ type RingtoneOptions = _RingtoneOptions; @@ -1306,8 +1304,8 @@ declare namespace systemSoundManager { * @typedef { _SystemToneOptions } SystemToneOptions * @syscap SystemCapability.Multimedia.SystemSound.Core * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type SystemToneOptions = _SystemToneOptions; } diff --git a/api/@ohos.multimedia.videoProcessingEngine.d.ts b/api/@ohos.multimedia.videoProcessingEngine.d.ts index 03db4830e1..0b68cb6092 100644 --- a/api/@ohos.multimedia.videoProcessingEngine.d.ts +++ b/api/@ohos.multimedia.videoProcessingEngine.d.ts @@ -26,7 +26,7 @@ import image from './@ohos.multimedia.image'; * @syscap SystemCapability.Multimedia.VideoProcessingEngine * @crossplatform * @form - * @since 18 + * @since 18 dynamic */ declare namespace videoProcessingEngine { /** @@ -35,7 +35,7 @@ declare namespace videoProcessingEngine { * @syscap SystemCapability.Multimedia.VideoProcessingEngine * @crossplatform * @form - * @since 18 + * @since 18 dynamic */ enum QualityLevel { /** @@ -43,7 +43,7 @@ declare namespace videoProcessingEngine { * @syscap SystemCapability.Multimedia.VideoProcessingEngine * @crossplatform * @form - * @since 18 + * @since 18 dynamic */ NONE = 0, /** @@ -51,7 +51,7 @@ declare namespace videoProcessingEngine { * @syscap SystemCapability.Multimedia.VideoProcessingEngine * @crossplatform * @form - * @since 18 + * @since 18 dynamic */ LOW = 1, /** @@ -59,7 +59,7 @@ declare namespace videoProcessingEngine { * @syscap SystemCapability.Multimedia.VideoProcessingEngine * @crossplatform * @form - * @since 18 + * @since 18 dynamic */ MEDIUM = 2, /** @@ -67,7 +67,7 @@ declare namespace videoProcessingEngine { * @syscap SystemCapability.Multimedia.VideoProcessingEngine * @crossplatform * @form - * @since 18 + * @since 18 dynamic */ HIGH = 3 } @@ -78,7 +78,7 @@ declare namespace videoProcessingEngine { * @syscap SystemCapability.Multimedia.VideoProcessingEngine * @crossplatform * @form - * @since 18 + * @since 18 dynamic */ interface ImageProcessor { /** @@ -102,7 +102,7 @@ declare namespace videoProcessingEngine { * @syscap SystemCapability.Multimedia.VideoProcessingEngine * @crossplatform * @form - * @since 18 + * @since 18 dynamic */ enhanceDetail(sourceImage: image.PixelMap, width: number, height: number, level?: QualityLevel): Promise; @@ -129,7 +129,7 @@ declare namespace videoProcessingEngine { * @syscap SystemCapability.Multimedia.VideoProcessingEngine * @crossplatform * @form - * @since 18 + * @since 18 dynamic */ enhanceDetailSync(sourceImage: image.PixelMap, width: number, height: number, level?: QualityLevel): image.PixelMap; @@ -153,7 +153,7 @@ declare namespace videoProcessingEngine { * @syscap SystemCapability.Multimedia.VideoProcessingEngine * @crossplatform * @form - * @since 18 + * @since 18 dynamic */ enhanceDetail(sourceImage: image.PixelMap, scale: number, level?: QualityLevel): Promise; @@ -179,7 +179,7 @@ declare namespace videoProcessingEngine { * @syscap SystemCapability.Multimedia.VideoProcessingEngine * @crossplatform * @form - * @since 18 + * @since 18 dynamic */ enhanceDetailSync(sourceImage: image.PixelMap, scale: number, level?: QualityLevel): image.PixelMap; } @@ -197,7 +197,7 @@ declare namespace videoProcessingEngine { * @syscap SystemCapability.Multimedia.VideoProcessingEngine * @crossplatform * @form - * @since 18 + * @since 18 dynamic */ function initializeEnvironment(): Promise; /** @@ -208,7 +208,7 @@ declare namespace videoProcessingEngine { * @syscap SystemCapability.Multimedia.VideoProcessingEngine * @crossplatform * @form - * @since 18 + * @since 18 dynamic */ function deinitializeEnvironment(): Promise; /** @@ -223,7 +223,7 @@ declare namespace videoProcessingEngine { * @syscap SystemCapability.Multimedia.VideoProcessingEngine * @crossplatform * @form - * @since 18 + * @since 18 dynamic */ function create(): ImageProcessor; } diff --git a/api/@ohos.multimodalAwareness.motion.d.ts b/api/@ohos.multimodalAwareness.motion.d.ts index 2576eed902..de4cadf375 100644 --- a/api/@ohos.multimodalAwareness.motion.d.ts +++ b/api/@ohos.multimodalAwareness.motion.d.ts @@ -120,8 +120,8 @@ declare namespace motion { * @throws { BusinessError } 31500002 - Subscription failed. Possible causes: 1. Callback registration failure; *
2. Failed to bind native object to js wrapper; 3. N-API invocation exception, invalid N-API status; 4. IPC request exception. * @syscap SystemCapability.MultimodalAwareness.Motion - * @since arkts{ '1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function on(type: 'operatingHandChanged', callback: Callback): void; @@ -140,8 +140,8 @@ declare namespace motion { * @throws { BusinessError } 31500003 - Unsubscription failed. Possible causes: 1. Callback failure; *
2. N-API invocation exception, invalid N-API status; 3. IPC request exception. * @syscap SystemCapability.MultimodalAwareness.Motion - * @since arkts{ '1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function off(type: 'operatingHandChanged', callback?: Callback): void; @@ -156,8 +156,8 @@ declare namespace motion { * @throws { BusinessError } 31500001 - Service exception. Possible causes: 1. A system error, such as null pointer, container-related exception; *
2. N-API invocation exception, invalid N-API status. * @syscap SystemCapability.MultimodalAwareness.Motion - * @since arkts{ '1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function getRecentOperatingHandStatus(): OperatingHandStatus; @@ -175,8 +175,7 @@ declare namespace motion { * @throws { BusinessError } 31500002 - Subscription failed. Possible causes: 1. Callback registration failure; *
2. Failed to bind native object to js wrapper; 3. N-API invocation exception, invalid N-API status; 4. IPC request exception. * @syscap SystemCapability.MultimodalAwareness.Motion - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function on(type: 'holdingHandChanged', callback: Callback): void; @@ -194,8 +193,7 @@ declare namespace motion { * @throws { BusinessError } 31500003 - Unsubscription failed. Possible causes: 1. Callback failure; *
2. N-API invocation exception, invalid N-API status; 3. IPC request exception. * @syscap SystemCapability.MultimodalAwareness.Motion - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function off(type: 'holdingHandChanged', callback?: Callback): void; } diff --git a/api/@ohos.multimodalAwareness.userStatus.d.ts b/api/@ohos.multimodalAwareness.userStatus.d.ts index 59ed91b179..8cd2e334e2 100644 --- a/api/@ohos.multimodalAwareness.userStatus.d.ts +++ b/api/@ohos.multimodalAwareness.userStatus.d.ts @@ -96,8 +96,7 @@ declare namespace userStatus { *
3. Node-API invocation exception, such as invalid Node-API status. *
4. IPC request exception. * @syscap SystemCapability.MultimodalAwareness.UserStatus - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function on(type: 'userAgeGroupDetected', callback: Callback): void; @@ -115,8 +114,7 @@ declare namespace userStatus { *
2. Node-API invocation exception, such as invalid Node-API status. *
3. IPC request exception. * @syscap SystemCapability.MultimodalAwareness.UserStatus - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function off(type: 'userAgeGroupDetected', callback?: Callback): void; } diff --git a/api/@ohos.multimodalInput.gestureEvent.d.ts b/api/@ohos.multimodalInput.gestureEvent.d.ts index 0a80897464..ae767cc440 100644 --- a/api/@ohos.multimodalInput.gestureEvent.d.ts +++ b/api/@ohos.multimodalInput.gestureEvent.d.ts @@ -25,16 +25,16 @@ import { Touch } from './@ohos.multimodalInput.touchEvent'; * * @interface Pinch * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export declare interface Pinch { /** * Action type * @type { ActionType } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ type: ActionType; @@ -42,8 +42,8 @@ export declare interface Pinch { * scale * @type { double } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ scale: double; } @@ -53,8 +53,8 @@ export declare interface Pinch { * * @interface Rotate * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export declare interface Rotate { /** @@ -62,8 +62,8 @@ export declare interface Rotate { * * @type { ActionType } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type: ActionType; @@ -72,8 +72,8 @@ export declare interface Rotate { * * @type { double } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ angle: double; } @@ -83,16 +83,16 @@ export declare interface Rotate { * * @interface ThreeFingersSwipe * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export declare interface ThreeFingersSwipe { /** * Action type * @type { ActionType } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ type: ActionType; @@ -100,8 +100,8 @@ export declare interface ThreeFingersSwipe { * Coordinate x * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ x: int; @@ -109,8 +109,8 @@ export declare interface ThreeFingersSwipe { * Coordinate y * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ y: int; } @@ -120,16 +120,16 @@ export declare interface ThreeFingersSwipe { * * @interface FourFingersSwipe * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export declare interface FourFingersSwipe { /** * Action type * @type { ActionType } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ type: ActionType; @@ -137,8 +137,8 @@ export declare interface FourFingersSwipe { * Coordinate x * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ x: int; @@ -146,8 +146,8 @@ export declare interface FourFingersSwipe { * Coordinate y * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ y: int; } @@ -158,8 +158,8 @@ export declare interface FourFingersSwipe { * @interface SwipeInward * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export declare interface SwipeInward { /** @@ -167,8 +167,8 @@ export declare interface SwipeInward { * @type { ActionType } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type: ActionType; @@ -177,8 +177,8 @@ export declare interface SwipeInward { * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ x: int; @@ -187,8 +187,8 @@ export declare interface SwipeInward { * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ y: int; } @@ -198,8 +198,8 @@ export declare interface SwipeInward { * * @interface ThreeFingersTap * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export declare interface ThreeFingersTap { /** @@ -207,8 +207,8 @@ export declare interface ThreeFingersTap { * * @type { ActionType } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type: ActionType; } @@ -219,8 +219,8 @@ export declare interface ThreeFingersTap { * @interface TouchGestureEvent * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export declare interface TouchGestureEvent { /** @@ -229,8 +229,8 @@ export declare interface TouchGestureEvent { * @type { TouchGestureAction } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ action: TouchGestureAction; /** @@ -239,8 +239,8 @@ export declare interface TouchGestureEvent { * @type { Touch[] } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ touches: Touch[]; } @@ -251,8 +251,8 @@ export declare interface TouchGestureEvent { * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export declare enum TouchGestureAction { /** @@ -260,8 +260,8 @@ export declare enum TouchGestureAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SWIPE_DOWN = 0, /** @@ -269,8 +269,8 @@ export declare enum TouchGestureAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SWIPE_UP, /** @@ -278,8 +278,8 @@ export declare enum TouchGestureAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SWIPE_LEFT, /** @@ -287,8 +287,8 @@ export declare enum TouchGestureAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ SWIPE_RIGHT, /** @@ -296,8 +296,8 @@ export declare enum TouchGestureAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ PINCH_CLOSED, /** @@ -305,8 +305,8 @@ export declare enum TouchGestureAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ PINCH_OPENED, /** @@ -314,8 +314,8 @@ export declare enum TouchGestureAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ GESTURE_END } @@ -325,16 +325,16 @@ export declare enum TouchGestureAction { * * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export declare enum ActionType { /** * Cancel of the gesture * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CANCEL = 0, @@ -342,8 +342,8 @@ export declare enum ActionType { * Begin of the gesture * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ BEGIN = 1, @@ -351,8 +351,8 @@ export declare enum ActionType { * Update of the gesture * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ UPDATE = 2, @@ -360,8 +360,8 @@ export declare enum ActionType { * End of the gesture * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ END = 3 } \ No newline at end of file diff --git a/api/@ohos.multimodalInput.infraredEmitter.d.ts b/api/@ohos.multimodalInput.infraredEmitter.d.ts index 52ccddd6d0..e8382b29f4 100644 --- a/api/@ohos.multimodalInput.infraredEmitter.d.ts +++ b/api/@ohos.multimodalInput.infraredEmitter.d.ts @@ -23,7 +23,7 @@ * * @namespace infraredEmitter * @syscap SystemCapability.MultimodalInput.Input.InfraredEmitter - * @since 12 + * @since 12 dynamiconly */ declare namespace infraredEmitter { /** @@ -39,7 +39,7 @@ declare namespace infraredEmitter { * * @interface InfraredFrequency * @syscap SystemCapability.MultimodalInput.Input.InfraredEmitter - * @since 15 + * @since 15 dynamiconly */ interface InfraredFrequency { /** @@ -55,7 +55,7 @@ declare namespace infraredEmitter { * * @type { number } * @syscap SystemCapability.MultimodalInput.Input.InfraredEmitter - * @since 15 + * @since 15 dynamiconly */ max: number; @@ -72,7 +72,7 @@ declare namespace infraredEmitter { * * @type { number } * @syscap SystemCapability.MultimodalInput.Input.InfraredEmitter - * @since 15 + * @since 15 dynamiconly */ min: number; } @@ -105,7 +105,7 @@ declare namespace infraredEmitter { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InfraredEmitter - * @since 15 + * @since 15 dynamiconly */ function transmitInfrared(infraredFrequency: number, pattern: Array): void; @@ -127,7 +127,7 @@ declare namespace infraredEmitter { * @returns { Array } Frequency range, including multiple groups of maximum and minimum frequencies. * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.MultimodalInput.Input.InfraredEmitter - * @since 15 + * @since 15 dynamiconly */ function getInfraredFrequencies(): Array; } diff --git a/api/@ohos.multimodalInput.inputConsumer.d.ts b/api/@ohos.multimodalInput.inputConsumer.d.ts index 9b23e5c4fc..7e9ff893d0 100644 --- a/api/@ohos.multimodalInput.inputConsumer.d.ts +++ b/api/@ohos.multimodalInput.inputConsumer.d.ts @@ -26,8 +26,8 @@ import { KeyEvent } from './@ohos.multimodalInput.keyEvent'; * * @namespace inputConsumer * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ declare namespace inputConsumer { /** @@ -36,8 +36,8 @@ declare namespace inputConsumer { * @interface KeyOptions * @syscap SystemCapability.MultimodalInput.Input.InputConsumer * @systemapi hide for inner use - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ interface KeyOptions { /** @@ -48,8 +48,8 @@ declare namespace inputConsumer { * @type { Array } * @syscap SystemCapability.MultimodalInput.Input.InputConsumer * @systemapi hide for inner use - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ preKeys: Array; @@ -60,8 +60,8 @@ declare namespace inputConsumer { * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputConsumer * @systemapi hide for inner use - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ finalKey: int; @@ -72,8 +72,8 @@ declare namespace inputConsumer { * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.InputConsumer * @systemapi hide for inner use - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ isFinalKeyDown: boolean; @@ -87,8 +87,8 @@ declare namespace inputConsumer { * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputConsumer * @systemapi hide for inner use - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ finalKeyDownDuration: int; @@ -99,8 +99,8 @@ declare namespace inputConsumer { * @type { ?boolean } * @syscap SystemCapability.MultimodalInput.Input.InputConsumer * @systemapi hide for inner use - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ isRepeat?: boolean; } @@ -110,8 +110,8 @@ declare namespace inputConsumer { * * @typedef HotkeyOptions * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface HotkeyOptions { /** @@ -121,8 +121,8 @@ declare namespace inputConsumer { * * @type { Array } * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ preKeys: Array; @@ -132,8 +132,8 @@ declare namespace inputConsumer { * * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ finalKey: int; @@ -143,8 +143,8 @@ declare namespace inputConsumer { * * @type { ?boolean } * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ isRepeat?: boolean; } @@ -154,8 +154,8 @@ declare namespace inputConsumer { * * @typedef KeyPressedConfig * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ interface KeyPressedConfig { /** @@ -163,8 +163,8 @@ declare namespace inputConsumer { * * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ key: int; @@ -173,8 +173,8 @@ declare namespace inputConsumer { * * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ action: int; @@ -183,8 +183,8 @@ declare namespace inputConsumer { * * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ isRepeat: boolean; } @@ -195,7 +195,7 @@ declare namespace inputConsumer { * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.InputConsumer * @systemapi hide for inner use - * @since 11 + * @since 11 dynamic */ enum ShieldMode { /** @@ -203,7 +203,7 @@ declare namespace inputConsumer { * * @syscap SystemCapability.MultimodalInput.Input.InputConsumer * @systemapi hide for inner use - * @since 11 + * @since 11 dynamic */ FACTORY_MODE } @@ -235,8 +235,8 @@ declare namespace inputConsumer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputConsumer * @systemapi hide for inner use - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function on(type: 'key', keyOptions: KeyOptions, callback: Callback): void; @@ -265,8 +265,8 @@ declare namespace inputConsumer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputConsumer * @systemapi hide for inner use - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function off(type: 'key', keyOptions: KeyOptions, callback?: Callback): void; @@ -283,7 +283,7 @@ declare namespace inputConsumer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputConsumer * @systemapi hide for inner use. - * @since 11 + * @since 11 dynamic */ function setShieldStatus(shieldMode: ShieldMode, isShield: boolean): void; @@ -299,7 +299,7 @@ declare namespace inputConsumer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputConsumer * @systemapi hide for inner use. - * @since 11 + * @since 11 dynamic */ function getShieldStatus(shieldMode: ShieldMode): boolean; @@ -309,7 +309,7 @@ declare namespace inputConsumer { * @returns { Promise> } Promise used to return the list of all system shortcut keys. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @since 14 + * @since 14 dynamic */ function getAllSystemHotkeys(): Promise>; @@ -326,8 +326,8 @@ declare namespace inputConsumer { * @throws { BusinessError } 4200002 - The hotkey has been used by the system. * @throws { BusinessError } 4200003 - The hotkey has been subscribed to by another. * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function on(type: 'hotkeyChange', hotkeyOptions: HotkeyOptions, callback: Callback): void; @@ -342,8 +342,8 @@ declare namespace inputConsumer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function off(type: 'hotkeyChange', hotkeyOptions: HotkeyOptions, callback?: Callback): void; @@ -358,8 +358,8 @@ declare namespace inputConsumer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function on(type: 'keyPressed', options: KeyPressedConfig, callback: Callback): void; @@ -374,8 +374,8 @@ declare namespace inputConsumer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.MultimodalInput.Input.InputConsumer - * @since arkts {'1.1':'16', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 16 dynamic + * @since 20 static */ function off(type: 'keyPressed', callback?: Callback): void; } diff --git a/api/@ohos.multimodalInput.inputDevice.d.ts b/api/@ohos.multimodalInput.inputDevice.d.ts index 70fedd7115..689b7c3020 100644 --- a/api/@ohos.multimodalInput.inputDevice.d.ts +++ b/api/@ohos.multimodalInput.inputDevice.d.ts @@ -18,11 +18,11 @@ * @kit InputKit */ -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type { Callback, AsyncCallback } from './@ohos.base'; import type { KeyCode } from './@ohos.multimodalInput.keyCode'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { Callback, AsyncCallback } from './@ohos.base'; /*** endif */ @@ -32,8 +32,8 @@ import { Callback, AsyncCallback } from './@ohos.base'; * * @namespace inputDevice * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ declare namespace inputDevice { /** @@ -41,8 +41,8 @@ declare namespace inputDevice { * * @typedef { 'add' | 'remove' } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ type ChangedType = 'add' | 'remove'; @@ -51,8 +51,8 @@ declare namespace inputDevice { * * @typedef { 'keyboard' | 'mouse' | 'touchpad' | 'touchscreen' | 'joystick' | 'trackball' } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ type SourceType = 'keyboard' | 'mouse' | 'touchpad' | 'touchscreen' | 'joystick' | 'trackball'; @@ -61,8 +61,8 @@ declare namespace inputDevice { * * @typedef { 'touchmajor'| 'touchminor' | 'orientation' | 'x' | 'y' | 'pressure' | 'toolminor' | 'toolmajor' | 'null' } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ type AxisType = 'touchmajor' @@ -80,16 +80,16 @@ declare namespace inputDevice { * * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum KeyboardType { /** * Keyboard without keys. * * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ NONE = 0, @@ -97,8 +97,8 @@ declare namespace inputDevice { * Keyboard with unknown keys. * * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ UNKNOWN = 1, @@ -106,8 +106,8 @@ declare namespace inputDevice { * Full keyboard. * * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ ALPHABETIC_KEYBOARD = 2, @@ -115,8 +115,8 @@ declare namespace inputDevice { * Keypad. * * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ DIGITAL_KEYBOARD = 3, @@ -124,8 +124,8 @@ declare namespace inputDevice { * Stylus. * * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ HANDWRITING_PEN = 4, @@ -133,8 +133,8 @@ declare namespace inputDevice { * Remote control. * * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ REMOTE_CONTROL = 5 } @@ -144,16 +144,16 @@ declare namespace inputDevice { * * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ enum FunctionKey { /** * CapsLock key. This key can be enabled or disabled only for the input keyboard extension. * * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ CAPS_LOCK = 1 } @@ -163,8 +163,8 @@ declare namespace inputDevice { * * @interface DeviceListener * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface DeviceListener { /** @@ -172,8 +172,8 @@ declare namespace inputDevice { * * @type { ChangedType } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ type: ChangedType; @@ -183,8 +183,8 @@ declare namespace inputDevice { * * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ deviceId: int; } @@ -198,8 +198,8 @@ declare namespace inputDevice { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function on(type: 'change', listener: Callback): void; @@ -213,8 +213,8 @@ declare namespace inputDevice { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off(type: 'change', listener?: Callback): void; @@ -223,8 +223,8 @@ declare namespace inputDevice { * * @interface AxisRange * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ interface AxisRange { /** @@ -232,8 +232,8 @@ declare namespace inputDevice { * * @type { SourceType } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ source: SourceType; @@ -242,8 +242,8 @@ declare namespace inputDevice { * * @type { AxisType } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ axis: AxisType; @@ -252,8 +252,8 @@ declare namespace inputDevice { * * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ max: int; @@ -262,8 +262,8 @@ declare namespace inputDevice { * * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ min: int; @@ -272,8 +272,8 @@ declare namespace inputDevice { * * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ fuzz: int; @@ -282,8 +282,8 @@ declare namespace inputDevice { * * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ flat: int; @@ -292,8 +292,8 @@ declare namespace inputDevice { * * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ resolution: int; } @@ -303,8 +303,8 @@ declare namespace inputDevice { * * @interface InputDeviceData * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ interface InputDeviceData { /** @@ -313,8 +313,8 @@ declare namespace inputDevice { * * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ id: int; @@ -323,8 +323,8 @@ declare namespace inputDevice { * * @type { string } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ name: string; @@ -335,8 +335,8 @@ declare namespace inputDevice { * * @type { Array } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ sources: Array; @@ -345,8 +345,8 @@ declare namespace inputDevice { * * @type { Array } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'8', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ axisRanges: Array; @@ -355,8 +355,8 @@ declare namespace inputDevice { * * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ bus: int; @@ -365,8 +365,8 @@ declare namespace inputDevice { * * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ product: int; @@ -375,8 +375,8 @@ declare namespace inputDevice { * * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ vendor: int; @@ -385,8 +385,8 @@ declare namespace inputDevice { * * @type { int } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ version: int; @@ -395,8 +395,8 @@ declare namespace inputDevice { * * @type { string } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ phys: string; @@ -405,8 +405,8 @@ declare namespace inputDevice { * * @type { string } * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ uniq: string; } @@ -417,7 +417,7 @@ declare namespace inputDevice { * * @param { AsyncCallback> } callback - Callback used to return the IDs of all input devices. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimodalInput.inputDevice#getDeviceList */ @@ -429,7 +429,7 @@ declare namespace inputDevice { * * @returns { Promise> } Promise used to return the IDs of all input devices. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimodalInput.inputDevice#getDeviceList */ @@ -442,7 +442,7 @@ declare namespace inputDevice { * @param { number } deviceId - ID of the input device. * @param { AsyncCallback } callback - Callback used to return the information about the input device. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimodalInput.inputDevice#getDeviceInfo */ @@ -455,7 +455,7 @@ declare namespace inputDevice { * @param { number } deviceId - ID of the input device. * @returns { Promise } Promise used to return the information about the input device. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.multimodalInput.inputDevice#getDeviceInfo */ @@ -469,8 +469,8 @@ declare namespace inputDevice { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getDeviceList(callback: AsyncCallback>): void; @@ -480,8 +480,8 @@ declare namespace inputDevice { * * @returns { Promise> } - Promise used to return the IDs of all input devices. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getDeviceList(): Promise>; @@ -495,8 +495,8 @@ declare namespace inputDevice { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getDeviceInfo(deviceId: int, callback: AsyncCallback): void; @@ -509,8 +509,8 @@ declare namespace inputDevice { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getDeviceInfo(deviceId: int): Promise; @@ -523,7 +523,7 @@ declare namespace inputDevice { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 10 + * @since 10 dynamic */ function getDeviceInfoSync(deviceId: number): InputDeviceData; @@ -537,7 +537,7 @@ declare namespace inputDevice { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 9 + * @since 9 dynamic */ function supportKeys(deviceId: number, keys: Array, callback: AsyncCallback>): void; @@ -550,7 +550,7 @@ declare namespace inputDevice { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 9 + * @since 9 dynamic */ function supportKeys(deviceId: number, keys: Array): Promise>; @@ -564,7 +564,7 @@ declare namespace inputDevice { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 10 + * @since 10 dynamic */ function supportKeysSync(deviceId: number, keys: Array): Array; @@ -578,7 +578,7 @@ declare namespace inputDevice { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 9 + * @since 9 dynamic */ function getKeyboardType(deviceId: number, callback: AsyncCallback): void; @@ -591,7 +591,7 @@ declare namespace inputDevice { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 9 + * @since 9 dynamic */ function getKeyboardType(deviceId: number): Promise; @@ -603,7 +603,7 @@ declare namespace inputDevice { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 10 + * @since 10 dynamic */ function getKeyboardTypeSync(deviceId: number): KeyboardType; @@ -618,7 +618,7 @@ declare namespace inputDevice { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setKeyboardRepeatDelay(delay: number, callback: AsyncCallback): void; @@ -633,7 +633,7 @@ declare namespace inputDevice { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setKeyboardRepeatDelay(delay: number): Promise; @@ -647,7 +647,7 @@ declare namespace inputDevice { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getKeyboardRepeatDelay(callback: AsyncCallback): void; @@ -661,7 +661,7 @@ declare namespace inputDevice { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getKeyboardRepeatDelay(): Promise; @@ -676,7 +676,7 @@ declare namespace inputDevice { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setKeyboardRepeatRate(rate: number, callback: AsyncCallback): void; @@ -691,7 +691,7 @@ declare namespace inputDevice { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setKeyboardRepeatRate(rate: number): Promise; @@ -705,7 +705,7 @@ declare namespace inputDevice { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getKeyboardRepeatRate(callback: AsyncCallback): void; @@ -719,7 +719,7 @@ declare namespace inputDevice { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getKeyboardRepeatRate(): Promise; @@ -729,7 +729,7 @@ declare namespace inputDevice { * * @returns { Promise } Promise used to return the interval since the last input. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 14 + * @since 14 dynamic */ function getIntervalSinceLastInput(): Promise; @@ -754,7 +754,7 @@ declare namespace inputDevice { * @throws { BusinessError } 3900001 - The specified device does not exist. * @syscap SystemCapability.MultimodalInput.Input.InputDevice * @systemapi - * @since 18 + * @since 18 dynamic */ function setInputDeviceEnabled(deviceId: number, enabled: boolean): Promise; @@ -773,7 +773,7 @@ declare namespace inputDevice { * @throws { BusinessError } 3900002 - There is currently no keyboard device connected. * @throws { BusinessError } 3900003 - It is prohibited for non-input applications. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 15 + * @since 15 dynamic */ function setFunctionKeyEnabled(functionKey: FunctionKey, enabled: boolean): Promise; @@ -788,7 +788,7 @@ declare namespace inputDevice { *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 3900002 - There is currently no keyboard device connected. * @syscap SystemCapability.MultimodalInput.Input.InputDevice - * @since 15 + * @since 15 dynamic */ function isFunctionKeyEnabled(functionKey: FunctionKey): Promise; } diff --git a/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts b/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts index c302bdac7e..6d3b5f420d 100644 --- a/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts +++ b/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts @@ -25,7 +25,7 @@ import { AsyncCallback } from "./@ohos.base"; * * @namespace inputDeviceCooperate * @syscap SystemCapability.MultimodalInput.Input.Cooperator - * @since 9 + * @since 9 dynamiconly */ @@ -36,7 +36,7 @@ declare namespace inputDeviceCooperate { * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use. - * @since 9 + * @since 9 dynamiconly */ enum EventMsg { /** @@ -44,7 +44,7 @@ declare namespace inputDeviceCooperate { * * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 9 + * @since 9 dynamiconly */ MSG_COOPERATE_INFO_START = 200, @@ -53,7 +53,7 @@ declare namespace inputDeviceCooperate { * * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 9 + * @since 9 dynamiconly */ MSG_COOPERATE_INFO_SUCCESS = 201, @@ -62,7 +62,7 @@ declare namespace inputDeviceCooperate { * * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 9 + * @since 9 dynamiconly */ MSG_COOPERATE_INFO_FAIL = 202, @@ -71,7 +71,7 @@ declare namespace inputDeviceCooperate { * * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 9 + * @since 9 dynamiconly */ MSG_COOPERATE_STATE_ON = 500, @@ -80,7 +80,7 @@ declare namespace inputDeviceCooperate { * * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 9 + * @since 9 dynamiconly */ MSG_COOPERATE_STATE_OFF = 501, } @@ -108,7 +108,7 @@ declare namespace inputDeviceCooperate { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamiconly */ function enable(enable: boolean, callback: AsyncCallback): void; @@ -135,7 +135,7 @@ declare namespace inputDeviceCooperate { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamiconly */ function enable(enable: boolean): Promise; @@ -168,7 +168,7 @@ declare namespace inputDeviceCooperate { * @throws { BusinessError } 4400002 - Screen hop failed. * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamiconly */ function start(sinkDeviceDescriptor: string, srcInputDeviceId: number, callback: AsyncCallback): void; @@ -201,7 +201,7 @@ declare namespace inputDeviceCooperate { * @throws { BusinessError } 4400002 - Screen hop failed. * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamiconly */ function start(sinkDeviceDescriptor: string, srcInputDeviceId: number): Promise; @@ -226,7 +226,7 @@ declare namespace inputDeviceCooperate { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamiconly */ function stop(callback: AsyncCallback): void; @@ -247,7 +247,7 @@ declare namespace inputDeviceCooperate { * @throws { BusinessError } 202 - Permission denied, non-system app called system api. * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamiconly */ function stop(): Promise; @@ -274,7 +274,7 @@ declare namespace inputDeviceCooperate { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamiconly */ function getState(deviceDescriptor: string, callback: AsyncCallback<{ state: boolean }>): void; @@ -303,7 +303,7 @@ declare namespace inputDeviceCooperate { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamiconly */ function getState(deviceDescriptor: string): Promise<{ state: boolean }>; @@ -328,7 +328,7 @@ declare namespace inputDeviceCooperate { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamiconly */ function on(type: 'cooperation', callback: AsyncCallback<{ deviceDescriptor: string, eventMsg: EventMsg }>): void; @@ -355,7 +355,7 @@ declare namespace inputDeviceCooperate { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamiconly */ function off(type: 'cooperation', callback?: AsyncCallback): void; diff --git a/api/@ohos.multimodalInput.inputEvent.d.ts b/api/@ohos.multimodalInput.inputEvent.d.ts index 784ef1f920..7f920e882c 100644 --- a/api/@ohos.multimodalInput.inputEvent.d.ts +++ b/api/@ohos.multimodalInput.inputEvent.d.ts @@ -31,8 +31,8 @@ * @typedef InputEvent * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export declare interface InputEvent { /** @@ -46,8 +46,8 @@ export declare interface InputEvent { * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ id: int; @@ -62,8 +62,8 @@ export declare interface InputEvent { * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deviceId: int; @@ -78,8 +78,8 @@ export declare interface InputEvent { * @type { long } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ actionTime: long; @@ -94,8 +94,8 @@ export declare interface InputEvent { * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ screenId: int; @@ -110,8 +110,8 @@ export declare interface InputEvent { * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ windowId: int; } \ No newline at end of file diff --git a/api/@ohos.multimodalInput.inputEventClient.d.ts b/api/@ohos.multimodalInput.inputEventClient.d.ts index 4de04bf730..de52c6b2d4 100644 --- a/api/@ohos.multimodalInput.inputEventClient.d.ts +++ b/api/@ohos.multimodalInput.inputEventClient.d.ts @@ -26,7 +26,7 @@ import { TouchEvent } from './@ohos.multimodalInput.touchEvent'; * @namespace inputEventClient * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 8 + * @since 8 dynamic */ declare namespace inputEventClient { /** @@ -35,7 +35,7 @@ declare namespace inputEventClient { * @interface KeyEvent * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 8 + * @since 8 dynamic */ interface KeyEvent { /** @@ -44,7 +44,7 @@ declare namespace inputEventClient { * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 8 + * @since 8 dynamic */ isPressed: boolean; @@ -53,7 +53,7 @@ declare namespace inputEventClient { * @type { number } * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 8 + * @since 8 dynamic */ keyCode: number; @@ -62,7 +62,7 @@ declare namespace inputEventClient { * @type { number } * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 8 + * @since 8 dynamic */ keyDownDuration: number; @@ -72,7 +72,7 @@ declare namespace inputEventClient { * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 8 + * @since 8 dynamic */ isIntercepted: boolean; } @@ -83,7 +83,7 @@ declare namespace inputEventClient { * @interface MouseEventData * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 11 + * @since 11 dynamic */ interface MouseEventData { /** @@ -92,7 +92,7 @@ declare namespace inputEventClient { * @type { MouseEvent } * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 11 + * @since 11 dynamic */ mouseEvent: MouseEvent; } @@ -103,8 +103,8 @@ declare namespace inputEventClient { * @interface TouchEventData * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface TouchEventData { /** @@ -113,8 +113,8 @@ declare namespace inputEventClient { * @type { TouchEvent } * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ touchEvent: TouchEvent; } @@ -125,7 +125,7 @@ declare namespace inputEventClient { * @interface KeyEventData * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 11 + * @since 11 dynamic */ interface KeyEventData { /** @@ -134,7 +134,7 @@ declare namespace inputEventClient { * @type { KeyEvent } * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 11 + * @since 11 dynamic */ keyEvent: KeyEvent; } @@ -161,7 +161,7 @@ declare namespace inputEventClient { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function injectKeyEvent(keyEvent: KeyEventData): void; @@ -186,7 +186,7 @@ declare namespace inputEventClient { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function injectEvent({ KeyEvent: KeyEvent }): void; @@ -212,7 +212,7 @@ declare namespace inputEventClient { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function injectMouseEvent(mouseEvent: MouseEventData): void; @@ -238,7 +238,7 @@ declare namespace inputEventClient { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function injectTouchEvent(touchEvent: TouchEventData): void; @@ -253,7 +253,7 @@ declare namespace inputEventClient { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputSimulator * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function permitInjection(result: boolean): void; } diff --git a/api/@ohos.multimodalInput.inputMonitor.d.ts b/api/@ohos.multimodalInput.inputMonitor.d.ts index fd289b6f5f..4963746167 100644 --- a/api/@ohos.multimodalInput.inputMonitor.d.ts +++ b/api/@ohos.multimodalInput.inputMonitor.d.ts @@ -35,7 +35,7 @@ import type { KeyCode } from './@ohos.multimodalInput.keyCode'; * @namespace inputMonitor * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 7 + * @since 7 dynamic */ declare namespace inputMonitor { /** @@ -44,8 +44,8 @@ declare namespace inputMonitor { * @interface TouchEventReceiver * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since arkts {'1.1':'7', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ interface TouchEventReceiver { /** @@ -56,8 +56,8 @@ declare namespace inputMonitor { * The value true indicates that the touch event will be dispatched to the window, and the value false indicates the opposite. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since arkts {'1.1':'7', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ (touchEvent: TouchEvent): Boolean; } @@ -87,7 +87,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function on(type: 'touch', receiver: TouchEventReceiver): void; @@ -116,7 +116,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function on(type: 'mouse', receiver: Callback): void; @@ -147,7 +147,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function on(type: 'mouse', rect: display.Rect[], receiver: Callback): void; @@ -178,7 +178,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function off(type: 'touch', receiver?: TouchEventReceiver): void; @@ -209,7 +209,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function off(type: 'mouse', receiver?: Callback): void; @@ -225,7 +225,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 10 + * @since 10 dynamic */ function on(type: 'pinch', receiver: Callback): void; @@ -242,7 +242,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 10 + * @since 10 dynamic */ function off(type: 'pinch', receiver?: Callback): void; @@ -259,7 +259,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 11 + * @since 11 dynamic */ function on(type: 'pinch', fingers: number, receiver: Callback): void; @@ -277,7 +277,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 11 + * @since 11 dynamic */ function off(type: 'pinch', fingers: number, receiver?: Callback): void; @@ -294,7 +294,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 11 + * @since 11 dynamic */ function on(type: 'rotate', fingers: number, receiver: Callback): void; @@ -312,7 +312,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 11 + * @since 11 dynamic */ function off(type: 'rotate', fingers: number, receiver?: Callback): void; @@ -328,7 +328,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 10 + * @since 10 dynamic */ function on(type: 'threeFingersSwipe', receiver: Callback): void; @@ -345,7 +345,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 10 + * @since 10 dynamic */ function off(type: 'threeFingersSwipe', receiver?: Callback): void; @@ -361,7 +361,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 10 + * @since 10 dynamic */ function on(type: 'fourFingersSwipe', receiver: Callback): void; @@ -378,7 +378,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 10 + * @since 10 dynamic */ function off(type: 'fourFingersSwipe', receiver?: Callback): void; @@ -394,7 +394,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 11 + * @since 11 dynamic */ function on(type: 'threeFingersTap', receiver: Callback): void; @@ -411,7 +411,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 11 + * @since 11 dynamic */ function off(type: 'threeFingersTap', receiver?: Callback): void; @@ -427,7 +427,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function on(type: 'fingerprint', receiver: Callback): void; @@ -443,7 +443,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function off(type: 'fingerprint', receiver?: Callback): void; @@ -458,7 +458,7 @@ declare namespace inputMonitor { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function on(type: 'swipeInward', receiver: Callback): void; @@ -473,7 +473,7 @@ declare namespace inputMonitor { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function off(type: 'swipeInward', receiver?: Callback): void; @@ -492,7 +492,7 @@ declare namespace inputMonitor { * 3.Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 18 + * @since 18 dynamic */ function on(type: 'touchscreenSwipe', fingers: number, receiver: Callback): void; @@ -512,7 +512,7 @@ declare namespace inputMonitor { * 3.Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 18 + * @since 18 dynamic */ function off(type: 'touchscreenSwipe', fingers: number, receiver?: Callback): void; @@ -531,7 +531,7 @@ declare namespace inputMonitor { * 3.Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 18 + * @since 18 dynamic */ function on(type: 'touchscreenPinch', fingers: number, receiver: Callback): void; @@ -551,7 +551,7 @@ declare namespace inputMonitor { * 3.Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 18 + * @since 18 dynamic */ function off(type: 'touchscreenPinch', fingers: number, receiver?: Callback): void; @@ -570,7 +570,7 @@ declare namespace inputMonitor { * @throws { BusinessError } 4100001 - Event listening not supported for the key. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 15 + * @since 15 dynamic */ function on(type: 'keyPressed', keys: Array, receiver: Callback): void; @@ -588,7 +588,7 @@ declare namespace inputMonitor { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.InputMonitor * @systemapi hide for inner use - * @since 15 + * @since 15 dynamic */ function off(type: 'keyPressed', receiver?: Callback): void; @@ -604,7 +604,7 @@ declare namespace inputMonitor { * @throws { BusinessError } 3800001 - System internal error. * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi hide for inner use - * @since 20 + * @since 20 dynamic */ function queryTouchEvents(count: number) : Promise>; } diff --git a/api/@ohos.multimodalInput.intentionCode.d.ts b/api/@ohos.multimodalInput.intentionCode.d.ts index cb47f8ec16..b175486eee 100644 --- a/api/@ohos.multimodalInput.intentionCode.d.ts +++ b/api/@ohos.multimodalInput.intentionCode.d.ts @@ -31,8 +31,8 @@ * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export declare enum IntentionCode { /** @@ -46,8 +46,8 @@ export declare enum IntentionCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTENTION_UNKNOWN = -1, @@ -62,8 +62,8 @@ export declare enum IntentionCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTENTION_UP = 1, @@ -78,8 +78,8 @@ export declare enum IntentionCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTENTION_DOWN = 2, @@ -94,8 +94,8 @@ export declare enum IntentionCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTENTION_LEFT = 3, @@ -110,8 +110,8 @@ export declare enum IntentionCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTENTION_RIGHT = 4, @@ -126,8 +126,8 @@ export declare enum IntentionCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTENTION_SELECT = 5, @@ -142,8 +142,8 @@ export declare enum IntentionCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTENTION_ESCAPE = 6, @@ -158,8 +158,8 @@ export declare enum IntentionCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTENTION_BACK = 7, @@ -174,8 +174,8 @@ export declare enum IntentionCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTENTION_FORWARD = 8, @@ -190,8 +190,8 @@ export declare enum IntentionCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTENTION_MENU = 9, @@ -206,8 +206,8 @@ export declare enum IntentionCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTENTION_PAGE_UP = 11, @@ -222,8 +222,8 @@ export declare enum IntentionCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTENTION_PAGE_DOWN = 12, @@ -238,8 +238,8 @@ export declare enum IntentionCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTENTION_ZOOM_OUT = 13, @@ -254,8 +254,8 @@ export declare enum IntentionCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ INTENTION_ZOOM_IN = 14 } diff --git a/api/@ohos.multimodalInput.keyCode.d.ts b/api/@ohos.multimodalInput.keyCode.d.ts index 65e9efc910..5113bd7423 100644 --- a/api/@ohos.multimodalInput.keyCode.d.ts +++ b/api/@ohos.multimodalInput.keyCode.d.ts @@ -31,16 +31,16 @@ * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export declare enum KeyCode { /** * KEYCODE_FN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_FN = 0, @@ -48,8 +48,8 @@ export declare enum KeyCode { * KEYCODE_UNKNOWN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_UNKNOWN = -1, @@ -57,8 +57,8 @@ export declare enum KeyCode { * KEYCODE_HOME * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_HOME = 1, @@ -66,8 +66,8 @@ export declare enum KeyCode { * KEYCODE_BACK * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BACK = 2, @@ -75,7 +75,7 @@ export declare enum KeyCode { * KEYCODE_HEADSETHOOK * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since 20 + * @since 20 dynamic */ KEYCODE_HEADSETHOOK = 6, @@ -83,8 +83,8 @@ export declare enum KeyCode { * KEYCODE_SEARCH * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'13', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ KEYCODE_SEARCH = 9, @@ -99,8 +99,8 @@ export declare enum KeyCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ KEYCODE_MEDIA_PLAY_PAUSE = 10, @@ -115,8 +115,8 @@ export declare enum KeyCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ KEYCODE_MEDIA_STOP = 11, @@ -131,8 +131,8 @@ export declare enum KeyCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ KEYCODE_MEDIA_NEXT = 12, @@ -147,8 +147,8 @@ export declare enum KeyCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ KEYCODE_MEDIA_PREVIOUS = 13, @@ -163,8 +163,8 @@ export declare enum KeyCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ KEYCODE_MEDIA_REWIND = 14, @@ -179,8 +179,8 @@ export declare enum KeyCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ KEYCODE_MEDIA_FAST_FORWARD = 15, @@ -188,8 +188,8 @@ export declare enum KeyCode { * KEYCODE_VOLUME_UP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_VOLUME_UP = 16, @@ -197,8 +197,8 @@ export declare enum KeyCode { * KEYCODE_VOLUME_DOWN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_VOLUME_DOWN = 17, @@ -206,8 +206,8 @@ export declare enum KeyCode { * KEYCODE_POWER * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_POWER = 18, @@ -215,8 +215,8 @@ export declare enum KeyCode { * KEYCODE_CAMERA * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CAMERA = 19, @@ -224,8 +224,8 @@ export declare enum KeyCode { * KEYCODE_VOLUME_MUTE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_VOLUME_MUTE = 22, @@ -233,8 +233,8 @@ export declare enum KeyCode { * KEYCODE_MUTE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MUTE = 23, @@ -242,8 +242,8 @@ export declare enum KeyCode { * KEYCODE_BRIGHTNESS_UP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BRIGHTNESS_UP = 40, @@ -251,8 +251,8 @@ export declare enum KeyCode { * KEYCODE_BRIGHTNESS_DOWN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BRIGHTNESS_DOWN = 41, @@ -260,8 +260,8 @@ export declare enum KeyCode { * KEYCODE_0 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_0 = 2000, @@ -269,8 +269,8 @@ export declare enum KeyCode { * KEYCODE_1 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_1 = 2001, @@ -278,8 +278,8 @@ export declare enum KeyCode { * KEYCODE_2 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_2 = 2002, @@ -287,8 +287,8 @@ export declare enum KeyCode { * KEYCODE_3 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_3 = 2003, @@ -296,8 +296,8 @@ export declare enum KeyCode { * KEYCODE_4 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_4 = 2004, @@ -305,8 +305,8 @@ export declare enum KeyCode { * KEYCODE_5 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_5 = 2005, @@ -314,8 +314,8 @@ export declare enum KeyCode { * KEYCODE_6 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_6 = 2006, @@ -323,8 +323,8 @@ export declare enum KeyCode { * KEYCODE_7 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_7 = 2007, @@ -332,8 +332,8 @@ export declare enum KeyCode { * KEYCODE_8 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_8 = 2008, @@ -341,8 +341,8 @@ export declare enum KeyCode { * KEYCODE_9 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_9 = 2009, @@ -350,8 +350,8 @@ export declare enum KeyCode { * KEYCODE_STAR * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_STAR = 2010, @@ -359,8 +359,8 @@ export declare enum KeyCode { * KEYCODE_POUND * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_POUND = 2011, @@ -368,8 +368,8 @@ export declare enum KeyCode { * KEYCODE_DPAD_UP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_DPAD_UP = 2012, @@ -377,8 +377,8 @@ export declare enum KeyCode { * KEYCODE_DPAD_DOWN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_DPAD_DOWN = 2013, @@ -386,8 +386,8 @@ export declare enum KeyCode { * KEYCODE_DPAD_LEFT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_DPAD_LEFT = 2014, @@ -395,8 +395,8 @@ export declare enum KeyCode { * KEYCODE_DPAD_RIGHT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_DPAD_RIGHT = 2015, @@ -404,8 +404,8 @@ export declare enum KeyCode { * KEYCODE_DPAD_CENTER * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_DPAD_CENTER = 2016, @@ -413,8 +413,8 @@ export declare enum KeyCode { * KEYCODE_A * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_A = 2017, @@ -422,8 +422,8 @@ export declare enum KeyCode { * KEYCODE_B * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_B = 2018, @@ -431,8 +431,8 @@ export declare enum KeyCode { * KEYCODE_C * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_C = 2019, @@ -440,8 +440,8 @@ export declare enum KeyCode { * KEYCODE_D * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_D = 2020, @@ -449,8 +449,8 @@ export declare enum KeyCode { * KEYCODE_E * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_E = 2021, @@ -458,8 +458,8 @@ export declare enum KeyCode { * KEYCODE_F * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F = 2022, @@ -467,8 +467,8 @@ export declare enum KeyCode { * KEYCODE_G * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_G = 2023, @@ -476,8 +476,8 @@ export declare enum KeyCode { * KEYCODE_H * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_H = 2024, @@ -485,8 +485,8 @@ export declare enum KeyCode { * KEYCODE_I * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_I = 2025, @@ -494,8 +494,8 @@ export declare enum KeyCode { * KEYCODE_J * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_J = 2026, @@ -503,8 +503,8 @@ export declare enum KeyCode { * KEYCODE_K * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_K = 2027, @@ -512,8 +512,8 @@ export declare enum KeyCode { * KEYCODE_L * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_L = 2028, @@ -521,8 +521,8 @@ export declare enum KeyCode { * KEYCODE_M * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_M = 2029, @@ -530,8 +530,8 @@ export declare enum KeyCode { * KEYCODE_N * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_N = 2030, @@ -539,8 +539,8 @@ export declare enum KeyCode { * KEYCODE_O * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_O = 2031, @@ -548,8 +548,8 @@ export declare enum KeyCode { * KEYCODE_P * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_P = 2032, @@ -557,8 +557,8 @@ export declare enum KeyCode { * KEYCODE_Q * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_Q = 2033, @@ -566,8 +566,8 @@ export declare enum KeyCode { * KEYCODE_R * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_R = 2034, @@ -575,8 +575,8 @@ export declare enum KeyCode { * KEYCODE_S * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_S = 2035, @@ -584,8 +584,8 @@ export declare enum KeyCode { * KEYCODE_T * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_T = 2036, @@ -593,8 +593,8 @@ export declare enum KeyCode { * KEYCODE_U * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_U = 2037, @@ -602,8 +602,8 @@ export declare enum KeyCode { * KEYCODE_V * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_V = 2038, @@ -611,8 +611,8 @@ export declare enum KeyCode { * KEYCODE_W * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_W = 2039, @@ -620,8 +620,8 @@ export declare enum KeyCode { * KEYCODE_X * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_X = 2040, @@ -629,8 +629,8 @@ export declare enum KeyCode { * KEYCODE_Y * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_Y = 2041, @@ -638,8 +638,8 @@ export declare enum KeyCode { * KEYCODE_Z * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_Z = 2042, @@ -647,8 +647,8 @@ export declare enum KeyCode { * KEYCODE_COMMA * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_COMMA = 2043, @@ -656,8 +656,8 @@ export declare enum KeyCode { * KEYCODE_PERIOD * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PERIOD = 2044, @@ -665,8 +665,8 @@ export declare enum KeyCode { * KEYCODE_ALT_LEFT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_ALT_LEFT = 2045, @@ -674,8 +674,8 @@ export declare enum KeyCode { * KEYCODE_ALT_RIGHT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_ALT_RIGHT = 2046, @@ -683,8 +683,8 @@ export declare enum KeyCode { * KEYCODE_SHIFT_LEFT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SHIFT_LEFT = 2047, @@ -692,8 +692,8 @@ export declare enum KeyCode { * KEYCODE_SHIFT_RIGHT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SHIFT_RIGHT = 2048, @@ -701,8 +701,8 @@ export declare enum KeyCode { * KEYCODE_TAB * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_TAB = 2049, @@ -710,8 +710,8 @@ export declare enum KeyCode { * KEYCODE_SPACE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SPACE = 2050, @@ -719,8 +719,8 @@ export declare enum KeyCode { * KEYCODE_SYM * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SYM = 2051, @@ -728,8 +728,8 @@ export declare enum KeyCode { * Explorer key, which is used to start the explorer application * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_EXPLORER = 2052, @@ -737,8 +737,8 @@ export declare enum KeyCode { * Email key, which is used to start the email application * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_ENVELOPE = 2053, @@ -746,8 +746,8 @@ export declare enum KeyCode { * KEYCODE_ENTER * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_ENTER = 2054, @@ -755,8 +755,8 @@ export declare enum KeyCode { * KEYCODE_DEL * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_DEL = 2055, @@ -764,8 +764,8 @@ export declare enum KeyCode { * Key / * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_GRAVE = 2056, @@ -773,8 +773,8 @@ export declare enum KeyCode { * Key - * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MINUS = 2057, @@ -782,8 +782,8 @@ export declare enum KeyCode { * Key = * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_EQUALS = 2058, @@ -791,8 +791,8 @@ export declare enum KeyCode { * Key [ * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_LEFT_BRACKET = 2059, @@ -800,8 +800,8 @@ export declare enum KeyCode { * Key ] * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_RIGHT_BRACKET = 2060, @@ -809,8 +809,8 @@ export declare enum KeyCode { * Key \ * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BACKSLASH = 2061, @@ -818,8 +818,8 @@ export declare enum KeyCode { * Key ; * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SEMICOLON = 2062, @@ -827,8 +827,8 @@ export declare enum KeyCode { * Key ' * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_APOSTROPHE = 2063, @@ -836,8 +836,8 @@ export declare enum KeyCode { * Key / * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SLASH = 2064, @@ -845,8 +845,8 @@ export declare enum KeyCode { * Key @ * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_AT = 2065, @@ -854,8 +854,8 @@ export declare enum KeyCode { * Key + * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PLUS = 2066, @@ -863,8 +863,8 @@ export declare enum KeyCode { * KEYCODE_MENU * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MENU = 2067, @@ -872,8 +872,8 @@ export declare enum KeyCode { * KEYCODE_PAGE_UP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PAGE_UP = 2068, @@ -881,8 +881,8 @@ export declare enum KeyCode { * KEYCODE_PAGE_DOWN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PAGE_DOWN = 2069, @@ -890,8 +890,8 @@ export declare enum KeyCode { * KEYCODE_ESCAPE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_ESCAPE = 2070, @@ -899,8 +899,8 @@ export declare enum KeyCode { * KEYCODE_FORWARD_DEL * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_FORWARD_DEL = 2071, @@ -908,8 +908,8 @@ export declare enum KeyCode { * KEYCODE_CTRL_LEFT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CTRL_LEFT = 2072, @@ -917,8 +917,8 @@ export declare enum KeyCode { * KEYCODE_CTRL_RIGHT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CTRL_RIGHT = 2073, @@ -926,8 +926,8 @@ export declare enum KeyCode { * KEYCODE_CAPS_LOCK * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CAPS_LOCK = 2074, @@ -935,8 +935,8 @@ export declare enum KeyCode { * KEYCODE_SCROLL_LOCK * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SCROLL_LOCK = 2075, @@ -944,8 +944,8 @@ export declare enum KeyCode { * KEYCODE_META_LEFT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_META_LEFT = 2076, @@ -953,8 +953,8 @@ export declare enum KeyCode { * KEYCODE_META_RIGHT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_META_RIGHT = 2077, @@ -962,8 +962,8 @@ export declare enum KeyCode { * KEYCODE_FUNCTION * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_FUNCTION = 2078, @@ -971,8 +971,8 @@ export declare enum KeyCode { * KEYCODE_SYSRQ * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SYSRQ = 2079, @@ -980,8 +980,8 @@ export declare enum KeyCode { * KEYCODE_BREAK * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BREAK = 2080, @@ -989,8 +989,8 @@ export declare enum KeyCode { * KEYCODE_MOVE_HOME * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MOVE_HOME = 2081, @@ -998,8 +998,8 @@ export declare enum KeyCode { * KEYCODE_MOVE_END * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MOVE_END = 2082, @@ -1007,8 +1007,8 @@ export declare enum KeyCode { * KEYCODE_INSERT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_INSERT = 2083, @@ -1016,8 +1016,8 @@ export declare enum KeyCode { * KEYCODE_FORWARD * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_FORWARD = 2084, @@ -1032,8 +1032,8 @@ export declare enum KeyCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ KEYCODE_MEDIA_PLAY = 2085, @@ -1048,8 +1048,8 @@ export declare enum KeyCode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ KEYCODE_MEDIA_PAUSE = 2086, @@ -1057,8 +1057,8 @@ export declare enum KeyCode { * KEYCODE_MEDIA_CLOSE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MEDIA_CLOSE = 2087, @@ -1066,8 +1066,8 @@ export declare enum KeyCode { * KEYCODE_MEDIA_EJECT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MEDIA_EJECT = 2088, @@ -1075,8 +1075,8 @@ export declare enum KeyCode { * KEYCODE_MEDIA_RECORD * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MEDIA_RECORD = 2089, @@ -1084,8 +1084,8 @@ export declare enum KeyCode { * KEYCODE_F1 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F1 = 2090, @@ -1093,8 +1093,8 @@ export declare enum KeyCode { * KEYCODE_F2 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F2 = 2091, @@ -1102,8 +1102,8 @@ export declare enum KeyCode { * KEYCODE_F3 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F3 = 2092, @@ -1111,8 +1111,8 @@ export declare enum KeyCode { * KEYCODE_F4 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F4 = 2093, @@ -1120,8 +1120,8 @@ export declare enum KeyCode { * KEYCODE_F5 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F5 = 2094, @@ -1129,8 +1129,8 @@ export declare enum KeyCode { * KEYCODE_F6 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F6 = 2095, @@ -1138,8 +1138,8 @@ export declare enum KeyCode { * KEYCODE_F7 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F7 = 2096, @@ -1147,8 +1147,8 @@ export declare enum KeyCode { * KEYCODE_F8 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F8 = 2097, @@ -1156,8 +1156,8 @@ export declare enum KeyCode { * KEYCODE_F9 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F9 = 2098, @@ -1165,8 +1165,8 @@ export declare enum KeyCode { * KEYCODE_F10 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F10 = 2099, @@ -1174,8 +1174,8 @@ export declare enum KeyCode { * KEYCODE_F11 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F11 = 2100, @@ -1183,8 +1183,8 @@ export declare enum KeyCode { * KEYCODE_F12 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F12 = 2101, @@ -1192,8 +1192,8 @@ export declare enum KeyCode { * Number Lock key on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUM_LOCK = 2102, @@ -1201,8 +1201,8 @@ export declare enum KeyCode { * Key 0 on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_0 = 2103, @@ -1210,8 +1210,8 @@ export declare enum KeyCode { * Key 1 on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_1 = 2104, @@ -1219,8 +1219,8 @@ export declare enum KeyCode { * Key 2 on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_2 = 2105, @@ -1228,8 +1228,8 @@ export declare enum KeyCode { * Key 3 on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_3 = 2106, @@ -1237,8 +1237,8 @@ export declare enum KeyCode { * Key 4 on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_4 = 2107, @@ -1246,8 +1246,8 @@ export declare enum KeyCode { * Key 5 on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_5 = 2108, @@ -1255,8 +1255,8 @@ export declare enum KeyCode { * Key 6 on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_6 = 2109, @@ -1264,8 +1264,8 @@ export declare enum KeyCode { * Key 7 on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_7 = 2110, @@ -1273,8 +1273,8 @@ export declare enum KeyCode { * Key 8 on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_8 = 2111, @@ -1282,8 +1282,8 @@ export declare enum KeyCode { * Key 9 on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_9 = 2112, @@ -1291,8 +1291,8 @@ export declare enum KeyCode { * Key / on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_DIVIDE = 2113, @@ -1300,8 +1300,8 @@ export declare enum KeyCode { * Key ) on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_MULTIPLY = 2114, @@ -1309,8 +1309,8 @@ export declare enum KeyCode { * Key - on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_SUBTRACT = 2115, @@ -1318,8 +1318,8 @@ export declare enum KeyCode { * Key + on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_ADD = 2116, @@ -1327,8 +1327,8 @@ export declare enum KeyCode { * Key . on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_DOT = 2117, @@ -1336,8 +1336,8 @@ export declare enum KeyCode { * Key , on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_COMMA = 2118, @@ -1345,8 +1345,8 @@ export declare enum KeyCode { * Enter key on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_ENTER = 2119, @@ -1354,8 +1354,8 @@ export declare enum KeyCode { * Key = on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_EQUALS = 2120, @@ -1363,8 +1363,8 @@ export declare enum KeyCode { * Key ( on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_LEFT_PAREN = 2121, @@ -1372,8 +1372,8 @@ export declare enum KeyCode { * Key ) on numeric keypad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_RIGHT_PAREN = 2122, @@ -1381,8 +1381,8 @@ export declare enum KeyCode { * KEYCODE_VIRTUAL_MULTITASK * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_VIRTUAL_MULTITASK = 2210, @@ -1390,8 +1390,8 @@ export declare enum KeyCode { * Joystick key A * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ KEYCODE_BUTTON_A = 2301, @@ -1399,8 +1399,8 @@ export declare enum KeyCode { * Joystick key B * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ KEYCODE_BUTTON_B = 2302, @@ -1408,8 +1408,8 @@ export declare enum KeyCode { * Joystick key X * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ KEYCODE_BUTTON_X = 2304, @@ -1417,8 +1417,8 @@ export declare enum KeyCode { * Joystick key Y * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ KEYCODE_BUTTON_Y = 2305, @@ -1426,8 +1426,8 @@ export declare enum KeyCode { * Joystick key L1 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ KEYCODE_BUTTON_L1 = 2307, @@ -1435,8 +1435,8 @@ export declare enum KeyCode { * Joystick key R1 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ KEYCODE_BUTTON_R1 = 2308, @@ -1444,8 +1444,8 @@ export declare enum KeyCode { * Joystick key L2 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ KEYCODE_BUTTON_L2 = 2309, @@ -1453,8 +1453,8 @@ export declare enum KeyCode { * Joystick key R2 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ KEYCODE_BUTTON_R2 = 2310, @@ -1462,8 +1462,8 @@ export declare enum KeyCode { * Joystick key Select * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ KEYCODE_BUTTON_SELECT = 2311, @@ -1471,8 +1471,8 @@ export declare enum KeyCode { * Joystick key Start * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ KEYCODE_BUTTON_START = 2312, @@ -1480,8 +1480,8 @@ export declare enum KeyCode { * Joystick key Mode * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ KEYCODE_BUTTON_MODE = 2313, @@ -1489,8 +1489,8 @@ export declare enum KeyCode { *Joystick key THUMBL * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ KEYCODE_BUTTON_THUMBL = 2314, @@ -1498,8 +1498,8 @@ export declare enum KeyCode { * Joystick key THUMBR * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ KEYCODE_BUTTON_THUMBR = 2315, @@ -1507,8 +1507,8 @@ export declare enum KeyCode { * KEYCODE_SLEEP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SLEEP = 2600, @@ -1516,8 +1516,8 @@ export declare enum KeyCode { * KEYCODE_ZENKAKU_HANKAKU * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_ZENKAKU_HANKAKU = 2601, @@ -1525,8 +1525,8 @@ export declare enum KeyCode { * KEYCODE_102ND * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_102ND = 2602, @@ -1534,8 +1534,8 @@ export declare enum KeyCode { * KEYCODE_RO * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_RO = 2603, @@ -1543,8 +1543,8 @@ export declare enum KeyCode { * KEYCODE_KATAKANA * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_KATAKANA = 2604, @@ -1552,8 +1552,8 @@ export declare enum KeyCode { * KEYCODE_HIRAGANA * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_HIRAGANA = 2605, @@ -1561,8 +1561,8 @@ export declare enum KeyCode { * KEYCODE_HENKAN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_HENKAN = 2606, @@ -1570,8 +1570,8 @@ export declare enum KeyCode { * KEYCODE_KATAKANA_HIRAGANA * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_KATAKANA_HIRAGANA = 2607, @@ -1579,8 +1579,8 @@ export declare enum KeyCode { * KEYCODE_MUHENKAN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MUHENKAN = 2608, @@ -1588,8 +1588,8 @@ export declare enum KeyCode { * KEYCODE_LINEFEED * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_LINEFEED = 2609, @@ -1597,8 +1597,8 @@ export declare enum KeyCode { * KEYCODE_MACRO * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MACRO = 2610, @@ -1606,8 +1606,8 @@ export declare enum KeyCode { * KEYCODE_NUMPAD_PLUSMINUS * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NUMPAD_PLUSMINUS = 2611, @@ -1615,8 +1615,8 @@ export declare enum KeyCode { * KEYCODE_SCALE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SCALE = 2612, @@ -1624,8 +1624,8 @@ export declare enum KeyCode { * KEYCODE_HANGUEL * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_HANGUEL = 2613, @@ -1633,8 +1633,8 @@ export declare enum KeyCode { * KEYCODE_HANJA * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_HANJA = 2614, @@ -1642,8 +1642,8 @@ export declare enum KeyCode { * KEYCODE_YEN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_YEN = 2615, @@ -1651,8 +1651,8 @@ export declare enum KeyCode { * KEYCODE_STOP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_STOP = 2616, @@ -1660,8 +1660,8 @@ export declare enum KeyCode { * KEYCODE_AGAIN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_AGAIN = 2617, @@ -1669,8 +1669,8 @@ export declare enum KeyCode { * KEYCODE_PROPS * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PROPS = 2618, @@ -1678,8 +1678,8 @@ export declare enum KeyCode { * KEYCODE_UNDO * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_UNDO = 2619, @@ -1687,8 +1687,8 @@ export declare enum KeyCode { * KEYCODE_COPY * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_COPY = 2620, @@ -1696,8 +1696,8 @@ export declare enum KeyCode { * KEYCODE_OPEN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_OPEN = 2621, @@ -1705,8 +1705,8 @@ export declare enum KeyCode { * KEYCODE_PASTE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PASTE = 2622, @@ -1714,8 +1714,8 @@ export declare enum KeyCode { * KEYCODE_FIND * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_FIND = 2623, @@ -1723,8 +1723,8 @@ export declare enum KeyCode { * KEYCODE_CUT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CUT = 2624, @@ -1732,8 +1732,8 @@ export declare enum KeyCode { * KEYCODE_HELP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_HELP = 2625, @@ -1741,8 +1741,8 @@ export declare enum KeyCode { * Calc key, which is used to start the calculator application * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CALC = 2626, @@ -1750,8 +1750,8 @@ export declare enum KeyCode { * KEYCODE_FILE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_FILE = 2627, @@ -1759,8 +1759,8 @@ export declare enum KeyCode { * KEYCODE_BOOKMARKS * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BOOKMARKS = 2628, @@ -1768,8 +1768,8 @@ export declare enum KeyCode { * KEYCODE_NEXT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NEXT = 2629, @@ -1777,8 +1777,8 @@ export declare enum KeyCode { * KEYCODE_PLAYPAUSE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PLAYPAUSE = 2630, @@ -1786,8 +1786,8 @@ export declare enum KeyCode { * KEYCODE_PREVIOUS * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PREVIOUS = 2631, @@ -1795,8 +1795,8 @@ export declare enum KeyCode { * KEYCODE_STOPCD * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_STOPCD = 2632, @@ -1804,8 +1804,8 @@ export declare enum KeyCode { * KEYCODE_CONFIG * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CONFIG = 2634, @@ -1813,8 +1813,8 @@ export declare enum KeyCode { * KEYCODE_REFRESH * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_REFRESH = 2635, @@ -1822,8 +1822,8 @@ export declare enum KeyCode { * KEYCODE_EXIT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_EXIT = 2636, @@ -1831,8 +1831,8 @@ export declare enum KeyCode { * KEYCODE_EDIT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_EDIT = 2637, @@ -1840,8 +1840,8 @@ export declare enum KeyCode { * KEYCODE_SCROLLUP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SCROLLUP = 2638, @@ -1849,8 +1849,8 @@ export declare enum KeyCode { * KEYCODE_SCROLLDOWN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SCROLLDOWN = 2639, @@ -1858,8 +1858,8 @@ export declare enum KeyCode { * KEYCODE_NEW * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NEW = 2640, @@ -1867,8 +1867,8 @@ export declare enum KeyCode { * KEYCODE_REDO * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_REDO = 2641, @@ -1876,8 +1876,8 @@ export declare enum KeyCode { * KEYCODE_CLOSE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CLOSE = 2642, @@ -1885,8 +1885,8 @@ export declare enum KeyCode { * KEYCODE_PLAY * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PLAY = 2643, @@ -1894,8 +1894,8 @@ export declare enum KeyCode { * KEYCODE_BASSBOOST * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BASSBOOST = 2644, @@ -1903,8 +1903,8 @@ export declare enum KeyCode { * KEYCODE_PRINT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PRINT = 2645, @@ -1912,8 +1912,8 @@ export declare enum KeyCode { * KEYCODE_CHAT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CHAT = 2646, @@ -1921,8 +1921,8 @@ export declare enum KeyCode { * KEYCODE_FINANCE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_FINANCE = 2647, @@ -1930,8 +1930,8 @@ export declare enum KeyCode { * KEYCODE_CANCEL * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CANCEL = 2648, @@ -1939,8 +1939,8 @@ export declare enum KeyCode { * KEYCODE_KBDILLUM_TOGGLE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_KBDILLUM_TOGGLE = 2649, @@ -1948,8 +1948,8 @@ export declare enum KeyCode { * KEYCODE_KBDILLUM_DOWN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_KBDILLUM_DOWN = 2650, @@ -1957,8 +1957,8 @@ export declare enum KeyCode { * KEYCODE_KBDILLUM_UP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_KBDILLUM_UP = 2651, @@ -1966,8 +1966,8 @@ export declare enum KeyCode { * KEYCODE_SEND * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SEND = 2652, @@ -1975,8 +1975,8 @@ export declare enum KeyCode { * KEYCODE_REPLY * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_REPLY = 2653, @@ -1984,8 +1984,8 @@ export declare enum KeyCode { * KEYCODE_FORWARDMAIL * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_FORWARDMAIL = 2654, @@ -1993,8 +1993,8 @@ export declare enum KeyCode { * KEYCODE_SAVE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SAVE = 2655, @@ -2002,8 +2002,8 @@ export declare enum KeyCode { * KEYCODE_DOCUMENTS * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_DOCUMENTS = 2656, @@ -2011,8 +2011,8 @@ export declare enum KeyCode { * KEYCODE_VIDEO_NEXT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_VIDEO_NEXT = 2657, @@ -2020,8 +2020,8 @@ export declare enum KeyCode { * KEYCODE_VIDEO_PREV * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_VIDEO_PREV = 2658, @@ -2029,8 +2029,8 @@ export declare enum KeyCode { * KEYCODE_BRIGHTNESS_CYCLE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BRIGHTNESS_CYCLE = 2659, @@ -2038,8 +2038,8 @@ export declare enum KeyCode { * KEYCODE_BRIGHTNESS_ZERO * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BRIGHTNESS_ZERO = 2660, @@ -2047,8 +2047,8 @@ export declare enum KeyCode { * KEYCODE_DISPLAY_OFF * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_DISPLAY_OFF = 2661, @@ -2056,8 +2056,8 @@ export declare enum KeyCode { * KEYCODE_BTN_MISC * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BTN_MISC = 2662, @@ -2065,8 +2065,8 @@ export declare enum KeyCode { * KEYCODE_GOTO * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_GOTO = 2663, @@ -2074,8 +2074,8 @@ export declare enum KeyCode { * KEYCODE_INFO * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_INFO = 2664, @@ -2083,8 +2083,8 @@ export declare enum KeyCode { * KEYCODE_PROGRAM * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PROGRAM = 2665, @@ -2092,8 +2092,8 @@ export declare enum KeyCode { * KEYCODE_PVR * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PVR = 2666, @@ -2101,8 +2101,8 @@ export declare enum KeyCode { * KEYCODE_SUBTITLE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SUBTITLE = 2667, @@ -2110,8 +2110,8 @@ export declare enum KeyCode { * KEYCODE_FULL_SCREEN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_FULL_SCREEN = 2668, @@ -2119,8 +2119,8 @@ export declare enum KeyCode { * KEYCODE_KEYBOARD * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_KEYBOARD = 2669, @@ -2128,8 +2128,8 @@ export declare enum KeyCode { * KEYCODE_ASPECT_RATIO * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_ASPECT_RATIO = 2670, @@ -2137,8 +2137,8 @@ export declare enum KeyCode { * KEYCODE_PC * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PC = 2671, @@ -2146,8 +2146,8 @@ export declare enum KeyCode { * KEYCODE_TV * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_TV = 2672, @@ -2155,8 +2155,8 @@ export declare enum KeyCode { * KEYCODE_TV2 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_TV2 = 2673, @@ -2164,8 +2164,8 @@ export declare enum KeyCode { * KEYCODE_VCR * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_VCR = 2674, @@ -2173,8 +2173,8 @@ export declare enum KeyCode { * KEYCODE_VCR2 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_VCR2 = 2675, @@ -2182,8 +2182,8 @@ export declare enum KeyCode { * KEYCODE_SAT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SAT = 2676, @@ -2191,8 +2191,8 @@ export declare enum KeyCode { * KEYCODE_CD * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CD = 2677, @@ -2200,8 +2200,8 @@ export declare enum KeyCode { * KEYCODE_TAPE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_TAPE = 2678, @@ -2209,8 +2209,8 @@ export declare enum KeyCode { * KEYCODE_TUNER * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_TUNER = 2679, @@ -2218,8 +2218,8 @@ export declare enum KeyCode { * KEYCODE_PLAYER * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PLAYER = 2680, @@ -2227,8 +2227,8 @@ export declare enum KeyCode { * KEYCODE_DVD * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_DVD = 2681, @@ -2236,8 +2236,8 @@ export declare enum KeyCode { * KEYCODE_AUDIO * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_AUDIO = 2682, @@ -2245,8 +2245,8 @@ export declare enum KeyCode { * KEYCODE_VIDEO * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_VIDEO = 2683, @@ -2254,8 +2254,8 @@ export declare enum KeyCode { * KEYCODE_MEMO * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MEMO = 2684, @@ -2263,8 +2263,8 @@ export declare enum KeyCode { * KEYCODE_CALENDAR * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CALENDAR = 2685, @@ -2272,8 +2272,8 @@ export declare enum KeyCode { * KEYCODE_RED * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_RED = 2686, @@ -2281,8 +2281,8 @@ export declare enum KeyCode { * KEYCODE_GREEN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_GREEN = 2687, @@ -2290,8 +2290,8 @@ export declare enum KeyCode { * KEYCODE_YELLOW * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_YELLOW = 2688, @@ -2299,8 +2299,8 @@ export declare enum KeyCode { * KEYCODE_BLUE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BLUE = 2689, @@ -2308,8 +2308,8 @@ export declare enum KeyCode { * KEYCODE_CHANNELUP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CHANNELUP = 2690, @@ -2317,8 +2317,8 @@ export declare enum KeyCode { * KEYCODE_CHANNELDOWN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CHANNELDOWN = 2691, @@ -2326,8 +2326,8 @@ export declare enum KeyCode { * KEYCODE_LAST * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_LAST = 2692, @@ -2335,8 +2335,8 @@ export declare enum KeyCode { * KEYCODE_RESTART * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_RESTART = 2693, @@ -2344,8 +2344,8 @@ export declare enum KeyCode { * KEYCODE_SLOW * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SLOW = 2694, @@ -2353,8 +2353,8 @@ export declare enum KeyCode { * KEYCODE_SHUFFLE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SHUFFLE = 2695, @@ -2362,8 +2362,8 @@ export declare enum KeyCode { * KEYCODE_VIDEOPHONE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_VIDEOPHONE = 2696, @@ -2371,8 +2371,8 @@ export declare enum KeyCode { * KEYCODE_GAMES * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_GAMES = 2697, @@ -2380,8 +2380,8 @@ export declare enum KeyCode { * KEYCODE_ZOOMIN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_ZOOMIN = 2698, @@ -2389,8 +2389,8 @@ export declare enum KeyCode { * KEYCODE_ZOOMOUT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_ZOOMOUT = 2699, @@ -2398,8 +2398,8 @@ export declare enum KeyCode { * KEYCODE_ZOOMRESET * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_ZOOMRESET = 2700, @@ -2407,8 +2407,8 @@ export declare enum KeyCode { * KEYCODE_WORDPROCESSOR * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_WORDPROCESSOR = 2701, @@ -2416,8 +2416,8 @@ export declare enum KeyCode { * KEYCODE_EDITOR * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_EDITOR = 2702, @@ -2425,8 +2425,8 @@ export declare enum KeyCode { * KEYCODE_SPREADSHEET * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SPREADSHEET = 2703, @@ -2434,8 +2434,8 @@ export declare enum KeyCode { * KEYCODE_GRAPHICSEDITOR * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_GRAPHICSEDITOR = 2704, @@ -2443,8 +2443,8 @@ export declare enum KeyCode { * KEYCODE_PRESENTATION * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PRESENTATION = 2705, @@ -2452,8 +2452,8 @@ export declare enum KeyCode { * KEYCODE_DATABASE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_DATABASE = 2706, @@ -2461,8 +2461,8 @@ export declare enum KeyCode { * KEYCODE_NEWS * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_NEWS = 2707, @@ -2470,8 +2470,8 @@ export declare enum KeyCode { * KEYCODE_VOICEMAIL * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_VOICEMAIL = 2708, @@ -2479,8 +2479,8 @@ export declare enum KeyCode { * KEYCODE_ADDRESSBOOK * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_ADDRESSBOOK = 2709, @@ -2488,8 +2488,8 @@ export declare enum KeyCode { * KEYCODE_MESSENGER * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MESSENGER = 2710, @@ -2497,8 +2497,8 @@ export declare enum KeyCode { * KEYCODE_BRIGHTNESS_TOGGLE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BRIGHTNESS_TOGGLE = 2711, @@ -2506,8 +2506,8 @@ export declare enum KeyCode { * KEYCODE_SPELLCHECK * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SPELLCHECK = 2712, @@ -2515,8 +2515,8 @@ export declare enum KeyCode { * KEYCODE_COFFEE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_COFFEE = 2713, @@ -2524,8 +2524,8 @@ export declare enum KeyCode { * KEYCODE_MEDIA_REPEAT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MEDIA_REPEAT = 2714, @@ -2533,8 +2533,8 @@ export declare enum KeyCode { * KEYCODE_IMAGES * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_IMAGES = 2715, @@ -2542,8 +2542,8 @@ export declare enum KeyCode { * KEYCODE_BUTTONCONFIG * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BUTTONCONFIG = 2716, @@ -2551,8 +2551,8 @@ export declare enum KeyCode { * KEYCODE_TASKMANAGER * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_TASKMANAGER = 2717, @@ -2560,8 +2560,8 @@ export declare enum KeyCode { * KEYCODE_JOURNAL * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_JOURNAL = 2718, @@ -2569,8 +2569,8 @@ export declare enum KeyCode { * KEYCODE_CONTROLPANEL * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CONTROLPANEL = 2719, @@ -2578,8 +2578,8 @@ export declare enum KeyCode { * KEYCODE_APPSELECT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_APPSELECT = 2720, @@ -2587,8 +2587,8 @@ export declare enum KeyCode { * KEYCODE_SCREENSAVER * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SCREENSAVER = 2721, @@ -2596,8 +2596,8 @@ export declare enum KeyCode { * KEYCODE_ASSISTANT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_ASSISTANT = 2722, @@ -2605,8 +2605,8 @@ export declare enum KeyCode { * KEYCODE_KBD_LAYOUT_NEXT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_KBD_LAYOUT_NEXT = 2723, @@ -2614,8 +2614,8 @@ export declare enum KeyCode { * KEYCODE_BRIGHTNESS_MIN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BRIGHTNESS_MIN = 2724, @@ -2623,8 +2623,8 @@ export declare enum KeyCode { * KEYCODE_BRIGHTNESS_MAX * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BRIGHTNESS_MAX = 2725, @@ -2632,8 +2632,8 @@ export declare enum KeyCode { * Assist_Previous key, used to view historical inputs * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_KBDINPUTASSIST_PREV = 2726, @@ -2641,8 +2641,8 @@ export declare enum KeyCode { * Assist_Next key, used to view predictive inputs * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_KBDINPUTASSIST_NEXT = 2727, @@ -2650,8 +2650,8 @@ export declare enum KeyCode { * Assist_Previous_Group key, used to switch to the previous input method in the input group * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_KBDINPUTASSIST_PREVGROUP = 2728, @@ -2659,8 +2659,8 @@ export declare enum KeyCode { * Assist_Next_Group key, used to switch to the next input method in the input group * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_KBDINPUTASSIST_NEXTGROUP = 2729, @@ -2668,8 +2668,8 @@ export declare enum KeyCode { * KEYCODE_KBDINPUTASSIST_ACCEPT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_KBDINPUTASSIST_ACCEPT = 2730, @@ -2677,8 +2677,8 @@ export declare enum KeyCode { * KEYCODE_KBDINPUTASSIST_CANCEL * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_KBDINPUTASSIST_CANCEL = 2731, @@ -2686,8 +2686,8 @@ export declare enum KeyCode { * KEYCODE_FRONT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_FRONT = 2800, @@ -2695,8 +2695,8 @@ export declare enum KeyCode { * KEYCODE_SETUP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SETUP = 2801, @@ -2704,8 +2704,8 @@ export declare enum KeyCode { * KEYCODE_WAKEUP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_WAKEUP = 2802, @@ -2713,8 +2713,8 @@ export declare enum KeyCode { * KEYCODE_SENDFILE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SENDFILE = 2803, @@ -2722,8 +2722,8 @@ export declare enum KeyCode { * KEYCODE_DELETEFILE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_DELETEFILE = 2804, @@ -2731,8 +2731,8 @@ export declare enum KeyCode { * KEYCODE_XFER * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_XFER = 2805, @@ -2740,8 +2740,8 @@ export declare enum KeyCode { * KEYCODE_PROG1 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PROG1 = 2806, @@ -2749,8 +2749,8 @@ export declare enum KeyCode { * KEYCODE_PROG2 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PROG2 = 2807, @@ -2758,8 +2758,8 @@ export declare enum KeyCode { * KEYCODE_MSDOS * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MSDOS = 2808, @@ -2767,8 +2767,8 @@ export declare enum KeyCode { * KEYCODE_SCREENLOCK * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SCREENLOCK = 2809, @@ -2776,8 +2776,8 @@ export declare enum KeyCode { * KEYCODE_DIRECTION_ROTATE_DISPLAY * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_DIRECTION_ROTATE_DISPLAY = 2810, @@ -2785,8 +2785,8 @@ export declare enum KeyCode { * KEYCODE_CYCLEWINDOWS * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CYCLEWINDOWS = 2811, @@ -2794,8 +2794,8 @@ export declare enum KeyCode { * KEYCODE_COMPUTER * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_COMPUTER = 2812, @@ -2803,8 +2803,8 @@ export declare enum KeyCode { * KEYCODE_EJECTCLOSECD * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_EJECTCLOSECD = 2813, @@ -2812,8 +2812,8 @@ export declare enum KeyCode { * KEYCODE_ISO * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_ISO = 2814, @@ -2821,8 +2821,8 @@ export declare enum KeyCode { * KEYCODE_MOVE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_MOVE = 2815, @@ -2830,8 +2830,8 @@ export declare enum KeyCode { * KEYCODE_F13 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F13 = 2816, @@ -2839,8 +2839,8 @@ export declare enum KeyCode { * KEYCODE_F14 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F14 = 2817, @@ -2848,8 +2848,8 @@ export declare enum KeyCode { * KEYCODE_F15 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F15 = 2818, @@ -2857,8 +2857,8 @@ export declare enum KeyCode { * KEYCODE_F16 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F16 = 2819, @@ -2866,8 +2866,8 @@ export declare enum KeyCode { * KEYCODE_F17 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F17 = 2820, @@ -2875,8 +2875,8 @@ export declare enum KeyCode { * KEYCODE_F18 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F18 = 2821, @@ -2884,8 +2884,8 @@ export declare enum KeyCode { * KEYCODE_F19 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F19 = 2822, @@ -2893,8 +2893,8 @@ export declare enum KeyCode { * KEYCODE_F20 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F20 = 2823, @@ -2902,8 +2902,8 @@ export declare enum KeyCode { * KEYCODE_F21 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F21 = 2824, @@ -2911,8 +2911,8 @@ export declare enum KeyCode { * KEYCODE_F22 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F22 = 2825, @@ -2920,8 +2920,8 @@ export declare enum KeyCode { * KEYCODE_F23 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F23 = 2826, @@ -2929,8 +2929,8 @@ export declare enum KeyCode { * KEYCODE_F24 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_F24 = 2827, @@ -2938,8 +2938,8 @@ export declare enum KeyCode { * KEYCODE_PROG3 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PROG3 = 2828, @@ -2947,8 +2947,8 @@ export declare enum KeyCode { * KEYCODE_PROG4 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_PROG4 = 2829, @@ -2956,8 +2956,8 @@ export declare enum KeyCode { * KEYCODE_DASHBOARD * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_DASHBOARD = 2830, @@ -2965,8 +2965,8 @@ export declare enum KeyCode { * KEYCODE_SUSPEND * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SUSPEND = 2831, @@ -2974,8 +2974,8 @@ export declare enum KeyCode { * KEYCODE_HP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_HP = 2832, @@ -2983,8 +2983,8 @@ export declare enum KeyCode { * KEYCODE_SOUND * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SOUND = 2833, @@ -2992,8 +2992,8 @@ export declare enum KeyCode { * KEYCODE_QUESTION * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_QUESTION = 2834, @@ -3001,8 +3001,8 @@ export declare enum KeyCode { * KEYCODE_CONNECT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CONNECT = 2836, @@ -3010,8 +3010,8 @@ export declare enum KeyCode { * KEYCODE_SPORT * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SPORT = 2837, @@ -3019,8 +3019,8 @@ export declare enum KeyCode { * KEYCODE_SHOP * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SHOP = 2838, @@ -3028,8 +3028,8 @@ export declare enum KeyCode { * KEYCODE_ALTERASE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_ALTERASE = 2839, @@ -3037,8 +3037,8 @@ export declare enum KeyCode { * KEYCODE_SWITCHVIDEOMODE * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_SWITCHVIDEOMODE = 2841, @@ -3046,8 +3046,8 @@ export declare enum KeyCode { * KEYCODE_BATTERY * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BATTERY = 2842, @@ -3055,8 +3055,8 @@ export declare enum KeyCode { * KEYCODE_BLUETOOTH * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BLUETOOTH = 2843, @@ -3064,8 +3064,8 @@ export declare enum KeyCode { * KEYCODE_WLAN * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_WLAN = 2844, @@ -3073,8 +3073,8 @@ export declare enum KeyCode { * KEYCODE_UWB * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_UWB = 2845, @@ -3082,8 +3082,8 @@ export declare enum KeyCode { * KEYCODE_WWAN_WIMAX * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_WWAN_WIMAX = 2846, @@ -3091,8 +3091,8 @@ export declare enum KeyCode { * KEYCODE_RFKILL * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_RFKILL = 2847, @@ -3100,8 +3100,8 @@ export declare enum KeyCode { * KEYCODE_CHANNEL * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_CHANNEL = 3001, @@ -3109,8 +3109,8 @@ export declare enum KeyCode { * KEYCODE_BTN_0 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BTN_0 = 3100, @@ -3118,8 +3118,8 @@ export declare enum KeyCode { * KEYCODE_BTN_1 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BTN_1 = 3101, @@ -3127,8 +3127,8 @@ export declare enum KeyCode { * KEYCODE_BTN_2 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BTN_2 = 3102, @@ -3136,8 +3136,8 @@ export declare enum KeyCode { * KEYCODE_BTN_3 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BTN_3 = 3103, @@ -3145,8 +3145,8 @@ export declare enum KeyCode { * KEYCODE_BTN_4 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BTN_4 = 3104, @@ -3154,8 +3154,8 @@ export declare enum KeyCode { * KEYCODE_BTN_5 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BTN_5 = 3105, @@ -3163,8 +3163,8 @@ export declare enum KeyCode { * KEYCODE_BTN_6 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BTN_6 = 3106, @@ -3172,8 +3172,8 @@ export declare enum KeyCode { * KEYCODE_BTN_7 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BTN_7 = 3107, @@ -3181,8 +3181,8 @@ export declare enum KeyCode { * KEYCODE_BTN_8 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BTN_8 = 3108, @@ -3190,8 +3190,8 @@ export declare enum KeyCode { * KEYCODE_BTN_9 * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ KEYCODE_BTN_9 = 3109, @@ -3199,8 +3199,8 @@ export declare enum KeyCode { * KEYCODE_DAGGER_CLICK * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ KEYCODE_DAGGER_CLICK = 3211, @@ -3208,8 +3208,8 @@ export declare enum KeyCode { * KEYCODE_DAGGER_DOUBLE_CLICK * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ KEYCODE_DAGGER_DOUBLE_CLICK = 3212, @@ -3217,8 +3217,8 @@ export declare enum KeyCode { * KEYCODE_DAGGER_LONG_PRESS * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ KEYCODE_DAGGER_LONG_PRESS = 3213, @@ -3226,7 +3226,7 @@ export declare enum KeyCode { * KEYCODE_DIV * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since 20 + * @since 20 dynamic */ KEYCODE_DIV = 3220 } diff --git a/api/@ohos.multimodalInput.keyEvent.d.ts b/api/@ohos.multimodalInput.keyEvent.d.ts index d6d19a4400..9a3022f954 100644 --- a/api/@ohos.multimodalInput.keyEvent.d.ts +++ b/api/@ohos.multimodalInput.keyEvent.d.ts @@ -34,8 +34,8 @@ import type { KeyCode } from './@ohos.multimodalInput.keyCode'; * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export declare enum Action { /** @@ -49,8 +49,8 @@ export declare enum Action { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CANCEL = 0, @@ -65,8 +65,8 @@ export declare enum Action { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DOWN = 1, @@ -81,8 +81,8 @@ export declare enum Action { * * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UP = 2 } @@ -100,8 +100,8 @@ export declare enum Action { * @typedef Key * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export declare interface Key { /** @@ -115,8 +115,8 @@ export declare interface Key { * @type { KeyCode } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ code: KeyCode; @@ -131,8 +131,8 @@ export declare interface Key { * @type { long } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ pressedTime: long; @@ -147,8 +147,8 @@ export declare interface Key { * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ deviceId: int; } @@ -167,8 +167,8 @@ export declare interface Key { * @extends InputEvent * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export declare interface KeyEvent extends InputEvent { /** @@ -182,8 +182,8 @@ export declare interface KeyEvent extends InputEvent { * @type { Action } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ action: Action; @@ -198,8 +198,8 @@ export declare interface KeyEvent extends InputEvent { * @type { Key } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ key: Key; @@ -214,8 +214,8 @@ export declare interface KeyEvent extends InputEvent { * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ unicodeChar: int; @@ -230,8 +230,8 @@ export declare interface KeyEvent extends InputEvent { * @type { Key[] } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ keys: Key[]; @@ -246,8 +246,8 @@ export declare interface KeyEvent extends InputEvent { * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ ctrlKey: boolean; @@ -262,8 +262,8 @@ export declare interface KeyEvent extends InputEvent { * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ altKey: boolean; @@ -278,8 +278,8 @@ export declare interface KeyEvent extends InputEvent { * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ shiftKey: boolean; @@ -294,8 +294,8 @@ export declare interface KeyEvent extends InputEvent { * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ logoKey: boolean; @@ -310,8 +310,8 @@ export declare interface KeyEvent extends InputEvent { * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ fnKey: boolean; @@ -326,8 +326,8 @@ export declare interface KeyEvent extends InputEvent { * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ capsLock: boolean; @@ -342,8 +342,8 @@ export declare interface KeyEvent extends InputEvent { * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ numLock: boolean; @@ -358,8 +358,8 @@ export declare interface KeyEvent extends InputEvent { * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ scrollLock: boolean; } \ No newline at end of file diff --git a/api/@ohos.multimodalInput.mouseEvent.d.ts b/api/@ohos.multimodalInput.mouseEvent.d.ts index 2ba7b937d5..dec81da1f7 100644 --- a/api/@ohos.multimodalInput.mouseEvent.d.ts +++ b/api/@ohos.multimodalInput.mouseEvent.d.ts @@ -26,16 +26,16 @@ import type { KeyCode } from './@ohos.multimodalInput.keyCode'; * * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export declare enum Action { /** * Cancel * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ CANCEL = 0, @@ -43,8 +43,8 @@ export declare enum Action { * Moving of the mouse pointer * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MOVE = 1, @@ -52,8 +52,8 @@ export declare enum Action { * Pressing down of the mouse * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ BUTTON_DOWN = 2, @@ -61,8 +61,8 @@ export declare enum Action { * Lifting of the mouse button * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ BUTTON_UP = 3, @@ -70,8 +70,8 @@ export declare enum Action { * Beginning of the axis event associated with the mouse * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ AXIS_BEGIN = 4, @@ -79,8 +79,8 @@ export declare enum Action { * Updating of the axis event associated with the mouse * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ AXIS_UPDATE = 5, @@ -88,8 +88,8 @@ export declare enum Action { * Ending of the axis event associated with the mouse * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ AXIS_END = 6, @@ -97,8 +97,8 @@ export declare enum Action { * Indicates a pointer action representing that a finger is pressed on touchpad. * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ACTION_DOWN = 7, @@ -106,8 +106,8 @@ export declare enum Action { * Indicates a pointer action representing that a finger leaves touchpad. * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ACTION_UP = 8, } @@ -117,16 +117,16 @@ export declare enum Action { * * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export declare enum Button { /** * Left button on the mouse * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ LEFT = 0, @@ -134,8 +134,8 @@ export declare enum Button { * Middle button on the mouse * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MIDDLE = 1, @@ -143,8 +143,8 @@ export declare enum Button { * Right button on the mouse * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ RIGHT = 2, @@ -152,8 +152,8 @@ export declare enum Button { * Side button on the mouse * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SIDE = 3, @@ -161,8 +161,8 @@ export declare enum Button { * Extended button on the mouse * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ EXTRA = 4, @@ -170,8 +170,8 @@ export declare enum Button { * Forward button on the mouse * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ FORWARD = 5, @@ -179,8 +179,8 @@ export declare enum Button { * Back button on the mouse * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ BACK = 6, @@ -188,8 +188,8 @@ export declare enum Button { * Task key on the mouse * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TASK = 7 } @@ -199,16 +199,16 @@ export declare enum Button { * * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export declare enum Axis { /** * Vertical scroll axis * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SCROLL_VERTICAL = 0, @@ -216,8 +216,8 @@ export declare enum Axis { * Horizontal scroll axis * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SCROLL_HORIZONTAL = 1, @@ -225,8 +225,8 @@ export declare enum Axis { * Pinch axis * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ PINCH = 2 } @@ -236,16 +236,16 @@ export declare enum Axis { * * @interface AxisValue * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export declare interface AxisValue { /** * Axis type * @type { Axis } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ axis: Axis; @@ -253,8 +253,8 @@ export declare interface AxisValue { * Axis value * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ value: int; } @@ -264,16 +264,16 @@ export declare interface AxisValue { * * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export declare enum ToolType { /** * Unknown type * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNKNOWN = 0, @@ -281,8 +281,8 @@ export declare enum ToolType { * Mouse * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MOUSE = 1, @@ -290,8 +290,8 @@ export declare enum ToolType { * Joystick * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ JOYSTICK = 2, @@ -299,8 +299,8 @@ export declare enum ToolType { * Touch pad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ TOUCHPAD = 3, } @@ -311,16 +311,16 @@ export declare enum ToolType { * @extends InputEvent * @interface MouseEvent * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export declare interface MouseEvent extends InputEvent { /** * Mouse event action * @type { Action } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ action: Action; @@ -328,8 +328,8 @@ export declare interface MouseEvent extends InputEvent { * X coordinate of the mouse pointer on the screen * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ screenX: int; @@ -337,8 +337,8 @@ export declare interface MouseEvent extends InputEvent { * Y coordinate of the mouse pointer on the screen * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ screenY: int; @@ -346,8 +346,8 @@ export declare interface MouseEvent extends InputEvent { * X coordinate of the mouse pointer in the window * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ windowX: int; @@ -355,8 +355,8 @@ export declare interface MouseEvent extends InputEvent { * Y coordinate of the mouse pointer in the window * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ windowY: int; @@ -365,8 +365,8 @@ export declare interface MouseEvent extends InputEvent { * the edge of the screen, the value may be less than the difference of the X coordinate reported twice. * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ rawDeltaX: int; @@ -374,8 +374,8 @@ export declare interface MouseEvent extends InputEvent { * Y axis offset relative to the previous reported mouse pointer position * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ rawDeltaY: int; @@ -383,8 +383,8 @@ export declare interface MouseEvent extends InputEvent { * Button that is currently pressed or released * @type { Button } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ button: Button; @@ -392,8 +392,8 @@ export declare interface MouseEvent extends InputEvent { * Button that is being pressed * @type { Button[] } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ pressedButtons: Button[]; @@ -401,8 +401,8 @@ export declare interface MouseEvent extends InputEvent { * All axis data contained in the event * @type { AxisValue[] } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ axes: AxisValue[]; @@ -410,8 +410,8 @@ export declare interface MouseEvent extends InputEvent { * List of pressed keys * @type { KeyCode[] } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ pressedKeys: KeyCode[]; @@ -419,8 +419,8 @@ export declare interface MouseEvent extends InputEvent { * Whether ctrlKey is being pressed * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ ctrlKey: boolean; @@ -428,8 +428,8 @@ export declare interface MouseEvent extends InputEvent { * Whether altKey is being pressed * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ altKey: boolean; @@ -437,8 +437,8 @@ export declare interface MouseEvent extends InputEvent { * Whether shiftKey is being pressed * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ shiftKey: boolean; @@ -446,8 +446,8 @@ export declare interface MouseEvent extends InputEvent { * Whether logoKey is being pressed * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ logoKey: boolean; @@ -455,8 +455,8 @@ export declare interface MouseEvent extends InputEvent { * Whether fnKey is being pressed * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ fnKey: boolean; @@ -464,8 +464,8 @@ export declare interface MouseEvent extends InputEvent { * Whether capsLock is active * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ capsLock: boolean; @@ -473,8 +473,8 @@ export declare interface MouseEvent extends InputEvent { * Whether numLock is active * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ numLock: boolean; @@ -482,8 +482,8 @@ export declare interface MouseEvent extends InputEvent { * Whether scrollLock is active * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ scrollLock: boolean; @@ -492,8 +492,8 @@ export declare interface MouseEvent extends InputEvent { * * @type { ToolType } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ toolType: ToolType; } \ No newline at end of file diff --git a/api/@ohos.multimodalInput.pointer.d.ts b/api/@ohos.multimodalInput.pointer.d.ts index 113fa39176..f0e308728d 100644 --- a/api/@ohos.multimodalInput.pointer.d.ts +++ b/api/@ohos.multimodalInput.pointer.d.ts @@ -18,11 +18,11 @@ * @kit InputKit */ -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type { AsyncCallback } from './@ohos.base'; import type image from './@ohos.multimedia.image'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { AsyncCallback } from './@ohos.base'; import image from './@ohos.multimedia.image'; /*** endif */ @@ -40,8 +40,8 @@ import image from './@ohos.multimedia.image'; * @namespace pointer * @syscap SystemCapability.MultimodalInput.Input.Pointer * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace pointer { /** @@ -57,17 +57,16 @@ declare namespace pointer { * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Pointer * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 - + * @since 12 dynamic + * @since 20 static */ enum PointerStyle { /** * Default * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ DEFAULT, @@ -75,8 +74,8 @@ declare namespace pointer { * East arrow * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ EAST, @@ -84,8 +83,8 @@ declare namespace pointer { * West arrow * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ WEST, @@ -93,8 +92,8 @@ declare namespace pointer { * South arrow * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SOUTH, @@ -102,8 +101,8 @@ declare namespace pointer { * North arrow * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ NORTH, @@ -111,8 +110,8 @@ declare namespace pointer { * East-west arrow * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ WEST_EAST, @@ -120,8 +119,8 @@ declare namespace pointer { * North-south arrow * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ NORTH_SOUTH, @@ -129,8 +128,8 @@ declare namespace pointer { * North-east arrow * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ NORTH_EAST, @@ -138,8 +137,8 @@ declare namespace pointer { * North-west arrow * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ NORTH_WEST, @@ -147,8 +146,8 @@ declare namespace pointer { * South-east arrow * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SOUTH_EAST, @@ -156,8 +155,8 @@ declare namespace pointer { * South-west arrow * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SOUTH_WEST, @@ -165,8 +164,8 @@ declare namespace pointer { * Northeast and southwest adjustment * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ NORTH_EAST_SOUTH_WEST, @@ -174,8 +173,8 @@ declare namespace pointer { * Northwest and southeast adjustment * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ NORTH_WEST_SOUTH_EAST, @@ -183,8 +182,8 @@ declare namespace pointer { * Cross (accurate selection) * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ CROSS, @@ -192,8 +191,8 @@ declare namespace pointer { * Copy * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ CURSOR_COPY, @@ -201,8 +200,8 @@ declare namespace pointer { * Forbid * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ CURSOR_FORBID, @@ -210,8 +209,8 @@ declare namespace pointer { * Sucker * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ COLOR_SUCKER, @@ -219,8 +218,8 @@ declare namespace pointer { * Grabbing hand * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ HAND_GRABBING, @@ -228,8 +227,8 @@ declare namespace pointer { * Opening hand * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ HAND_OPEN, @@ -237,8 +236,8 @@ declare namespace pointer { * Hand-shaped pointer * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ HAND_POINTING, @@ -246,8 +245,8 @@ declare namespace pointer { * Help * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ HELP, @@ -255,8 +254,8 @@ declare namespace pointer { * Move * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MOVE, @@ -264,8 +263,8 @@ declare namespace pointer { * Left and right resizing * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ RESIZE_LEFT_RIGHT, @@ -273,8 +272,8 @@ declare namespace pointer { * Up and down resizing * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ RESIZE_UP_DOWN, @@ -282,8 +281,8 @@ declare namespace pointer { * Screenshot crosshair * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SCREENSHOT_CHOOSE, @@ -291,8 +290,8 @@ declare namespace pointer { * Screenshot * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SCREENSHOT_CURSOR, @@ -300,8 +299,8 @@ declare namespace pointer { * Text selection * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TEXT_CURSOR, @@ -309,8 +308,8 @@ declare namespace pointer { * Zoom in * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ ZOOM_IN, @@ -318,8 +317,8 @@ declare namespace pointer { * Zoom out * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ ZOOM_OUT, @@ -327,8 +326,8 @@ declare namespace pointer { * Scrolling east * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MIDDLE_BTN_EAST, @@ -336,8 +335,8 @@ declare namespace pointer { * Scrolling west * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MIDDLE_BTN_WEST, @@ -345,8 +344,8 @@ declare namespace pointer { * Scrolling south * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MIDDLE_BTN_SOUTH, @@ -354,8 +353,8 @@ declare namespace pointer { * Scrolling north * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MIDDLE_BTN_NORTH, @@ -363,8 +362,8 @@ declare namespace pointer { * Scrolling north and south * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MIDDLE_BTN_NORTH_SOUTH, @@ -372,8 +371,8 @@ declare namespace pointer { * Scrolling northeast * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MIDDLE_BTN_NORTH_EAST, @@ -381,8 +380,8 @@ declare namespace pointer { * Scrolling northwest * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MIDDLE_BTN_NORTH_WEST, @@ -390,8 +389,8 @@ declare namespace pointer { * Scrolling southeast * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MIDDLE_BTN_SOUTH_EAST, @@ -399,8 +398,8 @@ declare namespace pointer { * Scrolling southwest * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MIDDLE_BTN_SOUTH_WEST, @@ -408,8 +407,8 @@ declare namespace pointer { * Moving as a cone in four directions * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MIDDLE_BTN_NORTH_SOUTH_WEST_EAST, @@ -417,8 +416,8 @@ declare namespace pointer { * Horizontal text selection * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ HORIZONTAL_TEXT_CURSOR, @@ -426,8 +425,8 @@ declare namespace pointer { * Precise selection * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CURSOR_CROSS, @@ -435,8 +434,8 @@ declare namespace pointer { * Cursor with circle style * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ CURSOR_CIRCLE, @@ -451,8 +450,8 @@ declare namespace pointer { * * @syscap SystemCapability.MultimodalInput.Input.Pointer * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LOADING, @@ -467,8 +466,8 @@ declare namespace pointer { * * @syscap SystemCapability.MultimodalInput.Input.Pointer * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RUNNING, @@ -476,8 +475,8 @@ declare namespace pointer { * Scrolling east and west * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ MIDDLE_BTN_EAST_WEST } @@ -487,24 +486,24 @@ declare namespace pointer { * * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum PrimaryButton { /** * Left mouse button * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ LEFT = 0, /** * Right mouse button * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ RIGHT = 1 } @@ -514,39 +513,39 @@ declare namespace pointer { * * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ enum RightClickType { /** * Tapping the right-button area of the touchpad. * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ TOUCHPAD_RIGHT_BUTTON = 1, /** * Tapping the left-button area of the touchpad. * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ TOUCHPAD_LEFT_BUTTON = 2, /** * Tapping or pressing the touchpad with two fingers. * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ TOUCHPAD_TWO_FINGER_TAP = 3, /** * Touchpad two fingers tap or right button. * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 20 + * @since 20 dynamic */ TOUCHPAD_TWO_FINGER_TAP_OR_RIGHT_BUTTON = 4, @@ -554,7 +553,7 @@ declare namespace pointer { * Touchpad two fingers tap or left button. * * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 20 + * @since 20 dynamic */ TOUCHPAD_TWO_FINGER_TAP_OR_LEFT_BUTTON = 5, } @@ -564,7 +563,7 @@ declare namespace pointer { * * @interface CustomCursor * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 15 + * @since 15 dynamic */ interface CustomCursor { /** @@ -572,7 +571,7 @@ declare namespace pointer { * * @type { image.PixelMap } * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 15 + * @since 15 dynamic */ pixelMap: image.PixelMap; /** @@ -581,7 +580,7 @@ declare namespace pointer { * * @type { number } * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 15 + * @since 15 dynamic */ focusX?: number; /** @@ -590,7 +589,7 @@ declare namespace pointer { * * @type { number } * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 15 + * @since 15 dynamic */ focusY?: number; } @@ -600,8 +599,8 @@ declare namespace pointer { * * @interface CursorConfig * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ interface CursorConfig { /** @@ -611,8 +610,8 @@ declare namespace pointer { * * @type { boolean } * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'15', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ followSystem : boolean; } @@ -638,7 +637,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function setPointerSpeed(speed: number, callback: AsyncCallback): void; @@ -663,7 +662,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function setPointerSpeed(speed: number): Promise; @@ -676,7 +675,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use - * @since 10 + * @since 10 dynamic */ function setPointerSpeedSync(speed: number): void; @@ -699,7 +698,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function getPointerSpeed(callback: AsyncCallback): void; @@ -718,7 +717,7 @@ declare namespace pointer { * @throws { BusinessError } 202 - Permission denied, non-system app called system api. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use - * @since 12 + * @since 12 dynamic */ function getPointerSpeed(): Promise; @@ -731,7 +730,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use - * @since 10 + * @since 10 dynamic */ function getPointerSpeedSync(): number; @@ -744,8 +743,8 @@ declare namespace pointer { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setPointerStyle(windowId: int, pointerStyle: PointerStyle, callback: AsyncCallback): void; @@ -758,8 +757,8 @@ declare namespace pointer { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setPointerStyle(windowId: int, pointerStyle: PointerStyle): Promise; @@ -771,8 +770,8 @@ declare namespace pointer { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setPointerStyleSync(windowId: int, pointerStyle: PointerStyle): void; @@ -784,7 +783,7 @@ declare namespace pointer { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 9 + * @since 9 dynamic */ function getPointerStyle(windowId: number, callback: AsyncCallback): void; @@ -797,7 +796,7 @@ declare namespace pointer { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 9 + * @since 9 dynamic */ function getPointerStyle(windowId: number): Promise; @@ -810,7 +809,7 @@ declare namespace pointer { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 10 + * @since 10 dynamic */ function getPointerStyleSync(windowId: number): PointerStyle; @@ -835,7 +834,7 @@ declare namespace pointer { * 2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported; * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 18 + * @since 18 dynamic */ function setPointerVisible(visible: boolean, callback: AsyncCallback): void; @@ -860,7 +859,7 @@ declare namespace pointer { * 2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported; * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 18 + * @since 18 dynamic */ function setPointerVisible(visible: boolean): Promise; @@ -872,7 +871,7 @@ declare namespace pointer { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 10 + * @since 10 dynamic */ function setPointerVisibleSync(visible: boolean): void; @@ -884,7 +883,7 @@ declare namespace pointer { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 9 + * @since 9 dynamic */ function isPointerVisible(callback: AsyncCallback): void; @@ -894,7 +893,7 @@ declare namespace pointer { * @returns { Promise } Promise used to return the visible status of the mouse pointer. * The value true indicates that the mouse pointer is visible, and the value false indicates the opposite. * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 9 + * @since 9 dynamic */ function isPointerVisible(): Promise; @@ -904,7 +903,7 @@ declare namespace pointer { * @returns { boolean } Visible status of the mouse pointer. * The value true indicates that the mouse pointer is visible, and the value false indicates the opposite. * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 10 + * @since 10 dynamic */ function isPointerVisibleSync(): boolean; @@ -919,7 +918,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setPointerColor(color: number, callback: AsyncCallback): void; @@ -933,7 +932,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setPointerColor(color: number): Promise; @@ -946,7 +945,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setPointerColorSync(color: number): void; @@ -959,7 +958,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getPointerColor(callback: AsyncCallback): void; @@ -970,7 +969,7 @@ declare namespace pointer { * @throws { BusinessError } 202 - SystemAPI permission error. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getPointerColor(): Promise; @@ -981,7 +980,7 @@ declare namespace pointer { * @throws { BusinessError } 202 - SystemAPI permission error. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getPointerColorSync(): number; @@ -996,7 +995,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setPointerSize(size: number, callback: AsyncCallback): void; @@ -1010,7 +1009,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setPointerSize(size: number): Promise; @@ -1023,7 +1022,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setPointerSizeSync(size: number): void; @@ -1036,7 +1035,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getPointerSize(callback: AsyncCallback): void; @@ -1047,7 +1046,7 @@ declare namespace pointer { * @throws { BusinessError } 202 - SystemAPI permission error. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getPointerSize(): Promise; @@ -1058,7 +1057,7 @@ declare namespace pointer { * @throws { BusinessError } 202 - SystemAPI permission error. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getPointerSizeSync(): number; @@ -1072,7 +1071,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setMousePrimaryButton(primary: PrimaryButton, callback: AsyncCallback): void; @@ -1086,7 +1085,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setMousePrimaryButton(primary: PrimaryButton): Promise; @@ -1099,7 +1098,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getMousePrimaryButton(callback: AsyncCallback): void; @@ -1112,7 +1111,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getMousePrimaryButton(): Promise; @@ -1127,7 +1126,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setHoverScrollState(state: boolean, callback: AsyncCallback): void; @@ -1142,7 +1141,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setHoverScrollState(state: boolean): Promise; @@ -1156,7 +1155,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getHoverScrollState(callback: AsyncCallback): void; @@ -1170,7 +1169,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getHoverScrollState(): Promise; @@ -1184,7 +1183,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setMouseScrollRows(rows: number, callback: AsyncCallback): void; @@ -1198,7 +1197,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setMouseScrollRows(rows: number): Promise; @@ -1211,7 +1210,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getMouseScrollRows(callback: AsyncCallback): void; @@ -1224,7 +1223,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getMouseScrollRows(): Promise; @@ -1239,7 +1238,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setTouchpadScrollSwitch(state: boolean, callback: AsyncCallback): void; @@ -1254,7 +1253,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setTouchpadScrollSwitch(state: boolean): Promise; @@ -1268,7 +1267,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getTouchpadScrollSwitch(callback: AsyncCallback): void; @@ -1282,7 +1281,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getTouchpadScrollSwitch(): Promise; @@ -1298,7 +1297,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setTouchpadScrollDirection(state: boolean, callback: AsyncCallback): void; @@ -1314,7 +1313,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setTouchpadScrollDirection(state: boolean): Promise; @@ -1329,7 +1328,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getTouchpadScrollDirection(callback: AsyncCallback): void; @@ -1344,7 +1343,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getTouchpadScrollDirection(): Promise; @@ -1359,7 +1358,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setTouchpadTapSwitch(state: boolean, callback: AsyncCallback): void; @@ -1374,7 +1373,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setTouchpadTapSwitch(state: boolean): Promise; @@ -1388,7 +1387,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getTouchpadTapSwitch(callback: AsyncCallback): void; @@ -1402,7 +1401,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getTouchpadTapSwitch(): Promise; @@ -1416,7 +1415,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setTouchpadPointerSpeed(speed: number, callback: AsyncCallback): void; @@ -1430,7 +1429,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setTouchpadPointerSpeed(speed: number): Promise; @@ -1443,7 +1442,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getTouchpadPointerSpeed(callback: AsyncCallback): void; @@ -1456,7 +1455,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getTouchpadPointerSpeed(): Promise; @@ -1471,7 +1470,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setTouchpadPinchSwitch(state: boolean, callback: AsyncCallback): void; @@ -1486,7 +1485,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setTouchpadPinchSwitch(state: boolean): Promise; @@ -1500,7 +1499,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getTouchpadPinchSwitch(callback: AsyncCallback): void; @@ -1514,7 +1513,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getTouchpadPinchSwitch(): Promise; @@ -1529,7 +1528,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setTouchpadSwipeSwitch(state: boolean, callback: AsyncCallback): void; @@ -1544,7 +1543,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setTouchpadSwipeSwitch(state: boolean): Promise; @@ -1558,7 +1557,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getTouchpadSwipeSwitch(callback: AsyncCallback): void; @@ -1572,7 +1571,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getTouchpadSwipeSwitch(): Promise; @@ -1592,7 +1591,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setTouchpadRightClickType(type: RightClickType, callback: AsyncCallback): void; @@ -1612,7 +1611,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function setTouchpadRightClickType(type: RightClickType): Promise; @@ -1625,7 +1624,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getTouchpadRightClickType(callback: AsyncCallback): void; @@ -1638,7 +1637,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 10 + * @since 10 dynamic */ function getTouchpadRightClickType(): Promise; @@ -1653,7 +1652,7 @@ declare namespace pointer { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 11 + * @since 11 dynamic */ function setCustomCursor(windowId: number, pixelMap: image.PixelMap, focusX?: number, focusY?: number): Promise; @@ -1667,7 +1666,7 @@ declare namespace pointer { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 11 + * @since 11 dynamic */ function setCustomCursorSync(windowId: number, pixelMap: image.PixelMap, focusX?: number, focusY?: number): void; @@ -1687,7 +1686,7 @@ declare namespace pointer { *
4. Abnormal focusY parameter passed in. * @throws { BusinessError } 26500001 - Invalid windowId. Possible causes: The window id does not belong to the current process. * @syscap SystemCapability.MultimodalInput.Input.Pointer - * @since 15 + * @since 15 dynamic */ function setCustomCursor(windowId: number, cursor: CustomCursor, config: CursorConfig): Promise; @@ -1702,7 +1701,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 14 + * @since 14 dynamic */ function setTouchpadDoubleTapAndDragState(isOpen: boolean, callback: AsyncCallback): void; @@ -1717,7 +1716,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 14 + * @since 14 dynamic */ function setTouchpadDoubleTapAndDragState(isOpen: boolean): Promise; @@ -1731,7 +1730,7 @@ declare namespace pointer { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 14 + * @since 14 dynamic */ function getTouchpadDoubleTapAndDragState(callback: AsyncCallback): void; @@ -1743,7 +1742,7 @@ declare namespace pointer { * @throws { BusinessError } 202 - SystemAPI permission error. * @syscap SystemCapability.MultimodalInput.Input.Pointer * @systemapi hide for inner use. - * @since 14 + * @since 14 dynamic */ function getTouchpadDoubleTapAndDragState(): Promise; } diff --git a/api/@ohos.multimodalInput.shortKey.d.ts b/api/@ohos.multimodalInput.shortKey.d.ts index e906e19254..e261313011 100644 --- a/api/@ohos.multimodalInput.shortKey.d.ts +++ b/api/@ohos.multimodalInput.shortKey.d.ts @@ -26,7 +26,7 @@ import type { AsyncCallback } from './@ohos.base'; * @namespace shortKey * @syscap SystemCapability.MultimodalInput.Input.ShortKey * @systemapi hide for inner use - * @since 10 + * @since 10 dynamic */ declare namespace shortKey { @@ -44,7 +44,7 @@ declare namespace shortKey { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.ShortKey * @systemapi hide for inner use - * @since 10 + * @since 10 dynamic */ function setKeyDownDuration(businessKey: string, delay: number, callback: AsyncCallback): void; @@ -61,7 +61,7 @@ declare namespace shortKey { *
2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.MultimodalInput.Input.ShortKey * @systemapi hide for inner use - * @since 10 + * @since 10 dynamic */ function setKeyDownDuration(businessKey: string, delay: number): Promise; @@ -74,8 +74,8 @@ export default shortKey; * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export declare enum FingerprintAction { /** @@ -83,8 +83,8 @@ export declare enum FingerprintAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DOWN = 0, @@ -93,8 +93,8 @@ export declare enum FingerprintAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UP = 1, @@ -103,8 +103,8 @@ export declare enum FingerprintAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SLIDE = 2, @@ -113,8 +113,8 @@ export declare enum FingerprintAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RETOUCH = 3, @@ -123,8 +123,8 @@ export declare enum FingerprintAction { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CLICK = 4, } @@ -135,8 +135,8 @@ export declare enum FingerprintAction { * @interface FingerprintEvent * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export declare interface FingerprintEvent { /** @@ -145,8 +145,8 @@ export declare interface FingerprintEvent { * @type { FingerprintAction } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ action: FingerprintAction; @@ -163,8 +163,8 @@ export declare interface FingerprintEvent { * @type { double } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ distanceX: double; @@ -181,8 +181,8 @@ export declare interface FingerprintEvent { * @type { double } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ distanceY: double; } \ No newline at end of file diff --git a/api/@ohos.multimodalInput.touchEvent.d.ts b/api/@ohos.multimodalInput.touchEvent.d.ts index 3f2e9e8bf8..ea895ce441 100644 --- a/api/@ohos.multimodalInput.touchEvent.d.ts +++ b/api/@ohos.multimodalInput.touchEvent.d.ts @@ -25,16 +25,16 @@ import type { InputEvent } from './@ohos.multimodalInput.inputEvent'; * * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export declare enum Action { /** * Touch cancelled * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ CANCEL = 0, @@ -42,8 +42,8 @@ export declare enum Action { * Touch pressed * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ DOWN = 1, @@ -51,8 +51,8 @@ export declare enum Action { * Touch moved * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MOVE = 2, @@ -60,8 +60,8 @@ export declare enum Action { * Touch lifted * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ UP = 3 } @@ -71,16 +71,16 @@ export declare enum Action { * * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export declare enum ToolType { /** * Finger * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ FINGER = 0, @@ -88,8 +88,8 @@ export declare enum ToolType { * Stylus * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ PEN = 1, @@ -97,8 +97,8 @@ export declare enum ToolType { * Rubber * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ RUBBER = 2, @@ -106,8 +106,8 @@ export declare enum ToolType { * Brush * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ BRUSH = 3, @@ -115,8 +115,8 @@ export declare enum ToolType { * Pencil * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ PENCIL = 4, @@ -124,8 +124,8 @@ export declare enum ToolType { * Air brush * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ AIRBRUSH = 5, @@ -133,8 +133,8 @@ export declare enum ToolType { * Mouse * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MOUSE = 6, @@ -142,8 +142,8 @@ export declare enum ToolType { * lens * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ LENS = 7 } @@ -153,16 +153,16 @@ export declare enum ToolType { * * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export declare enum SourceType { /** * Touchscreen * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TOUCH_SCREEN = 0, @@ -170,8 +170,8 @@ export declare enum SourceType { * Stylus * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ PEN = 1, @@ -179,8 +179,8 @@ export declare enum SourceType { * Touchpad * * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TOUCH_PAD = 2 } @@ -191,8 +191,8 @@ export declare enum SourceType { * @enum { number } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ export declare enum FixedMode { /** @@ -200,8 +200,8 @@ export declare enum FixedMode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ NONE = 0, @@ -210,8 +210,8 @@ export declare enum FixedMode { * * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ AUTO = 1 } @@ -221,16 +221,16 @@ export declare enum FixedMode { * * @interface Touch * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export declare interface Touch { /** * Pointer identifier * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ id: int; @@ -238,8 +238,8 @@ export declare interface Touch { * Time stamp when touch is pressed * @type { long } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ pressedTime: long; @@ -247,8 +247,8 @@ export declare interface Touch { * X coordinate of the touch position on the screen * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ screenX: int; @@ -256,8 +256,8 @@ export declare interface Touch { * Y coordinate of the touch position on the screen * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ screenY: int; @@ -265,8 +265,8 @@ export declare interface Touch { * X coordinate of the touch position in the window * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ windowX: int; @@ -274,8 +274,8 @@ export declare interface Touch { * Y coordinate of the touch position in the window * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ windowY: int; @@ -283,8 +283,8 @@ export declare interface Touch { * Pressure value. The value range is [0.0, 1.0]. The value 0.0 indicates that the pressure is not supported. * @type { double } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ pressure: double; @@ -292,8 +292,8 @@ export declare interface Touch { * Width of the contact area when touch is pressed * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ width: int; @@ -301,8 +301,8 @@ export declare interface Touch { * Height of the contact area when touch is pressed * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ height: int; @@ -310,8 +310,8 @@ export declare interface Touch { * Angle relative to the YZ plane. The value range is [-90, 90]. A positive value indicates a rightward tilt. * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ tiltX: int; @@ -319,8 +319,8 @@ export declare interface Touch { * Angle relative to the XZ plane. The value range is [-90, 90]. A positive value indicates a downward tilt. * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ tiltY: int; @@ -328,8 +328,8 @@ export declare interface Touch { * Center point X of the tool area * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ toolX: int; @@ -337,8 +337,8 @@ export declare interface Touch { * Center point Y of the tool area * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ toolY: int; @@ -346,8 +346,8 @@ export declare interface Touch { * Width of the tool area * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ toolWidth: int; @@ -355,8 +355,8 @@ export declare interface Touch { * Height of the tool area * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ toolHeight: int; @@ -364,8 +364,8 @@ export declare interface Touch { * X coordinate of the input device * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ rawX: int; @@ -373,8 +373,8 @@ export declare interface Touch { * Y coordinate of the input device * @type { int } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ rawY: int; @@ -382,8 +382,8 @@ export declare interface Touch { * Tool type * @type { ToolType } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ toolType: ToolType; @@ -392,8 +392,8 @@ export declare interface Touch { * @type { ?int } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ fixedDisplayX?: int; @@ -402,8 +402,8 @@ export declare interface Touch { * @type { ?int } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ fixedDisplayY?: int; } @@ -414,16 +414,16 @@ export declare interface Touch { * @extends InputEvent * @interface TouchEvent * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export declare interface TouchEvent extends InputEvent { /** * Touch action * @type { Action } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ action: Action; @@ -431,8 +431,8 @@ export declare interface TouchEvent extends InputEvent { * Current touch point * @type { Touch } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ touch: Touch; @@ -440,8 +440,8 @@ export declare interface TouchEvent extends InputEvent { * All touch points * @type { Touch[] } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ touches: Touch[]; @@ -449,8 +449,8 @@ export declare interface TouchEvent extends InputEvent { * Device type of the touch source * @type { SourceType } * @syscap SystemCapability.MultimodalInput.Input.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ sourceType: SourceType; @@ -460,8 +460,8 @@ export declare interface TouchEvent extends InputEvent { * @type { FixedMode } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ fixedMode?: FixedMode; @@ -470,7 +470,7 @@ export declare interface TouchEvent extends InputEvent { * @type { ?boolean } * @syscap SystemCapability.MultimodalInput.Input.Core * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ isInject?: boolean; } \ No newline at end of file diff --git a/api/@ohos.net.connection.d.ts b/api/@ohos.net.connection.d.ts index c0b7577628..c2b59d5f8f 100644 --- a/api/@ohos.net.connection.d.ts +++ b/api/@ohos.net.connection.d.ts @@ -20,7 +20,7 @@ import type { AsyncCallback, Callback } from './@ohos.base'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type http from './@ohos.net.http'; import type socket from './@ohos.net.socket'; /*** endif */ @@ -44,8 +44,8 @@ import type socket from './@ohos.net.socket'; * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace connection { /** @@ -65,7 +65,7 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ type HttpRequest = http.HttpRequest; @@ -80,7 +80,7 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 10 + * @since 10 dynamic */ type TCPSocket = socket.TCPSocket; @@ -95,7 +95,7 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 10 + * @since 10 dynamic */ type UDPSocket = socket.UDPSocket; @@ -127,8 +127,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function createNetConnection(netSpecifier?: NetSpecifier, timeout?: int): NetConnection; @@ -155,8 +155,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getDefaultNet(callback: AsyncCallback): void; @@ -182,8 +182,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getDefaultNet(): Promise; @@ -209,8 +209,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getDefaultNetSync(): NetHandle; @@ -224,8 +224,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getAllNets(callback: AsyncCallback>): void; @@ -238,8 +238,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getAllNets(): Promise>; @@ -252,8 +252,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getAllNetsSync(): Array; @@ -269,8 +269,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getConnectionProperties(netHandle: NetHandle, callback: AsyncCallback): void; @@ -286,8 +286,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getConnectionProperties(netHandle: NetHandle): Promise; @@ -303,8 +303,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getConnectionPropertiesSync(netHandle: NetHandle): ConnectionProperties; @@ -335,8 +335,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getNetCapabilities(netHandle: NetHandle, callback: AsyncCallback): void; @@ -367,8 +367,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getNetCapabilities(netHandle: NetHandle): Promise; @@ -399,8 +399,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getNetCapabilitiesSync(netHandle: NetHandle): NetCapabilities; @@ -416,7 +416,7 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since 20 + * @since 20 dynamic */ function setNetExtAttribute(netHandle: NetHandle, netExtAttribute: string): Promise; @@ -431,7 +431,7 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since 20 + * @since 20 dynamic */ function setNetExtAttributeSync(netHandle: NetHandle, netExtAttribute: string): void; @@ -446,7 +446,7 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since 20 + * @since 20 dynamic */ function getNetExtAttribute(netHandle: NetHandle): Promise; @@ -461,7 +461,7 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since 20 + * @since 20 dynamic */ function getNetExtAttributeSync(netHandle: NetHandle): string; @@ -475,8 +475,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isDefaultNetMetered(callback: AsyncCallback): void; @@ -488,8 +488,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isDefaultNetMetered(): Promise; @@ -501,8 +501,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function isDefaultNetMeteredSync(): boolean; @@ -529,8 +529,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function hasDefaultNet(callback: AsyncCallback): void; @@ -554,8 +554,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function hasDefaultNet(): Promise; @@ -567,8 +567,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function hasDefaultNetSync(): boolean; @@ -584,8 +584,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. Only used for system app. - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function enableAirplaneMode(callback: AsyncCallback): void; @@ -600,8 +600,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. Only used for system app. - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function enableAirplaneMode(): Promise; @@ -617,8 +617,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. Only used for system app. - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function disableAirplaneMode(callback: AsyncCallback): void; @@ -633,8 +633,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. Only used for system app. - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function disableAirplaneMode(): Promise; @@ -649,8 +649,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function reportNetConnected(netHandle: NetHandle, callback: AsyncCallback): void; @@ -665,8 +665,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function reportNetConnected(netHandle: NetHandle): Promise; @@ -681,8 +681,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function reportNetDisconnected(netHandle: NetHandle, callback: AsyncCallback): void; @@ -697,8 +697,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function reportNetDisconnected(netHandle: NetHandle): Promise; @@ -713,8 +713,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getAddressesByName(host: string, callback: AsyncCallback>): void; @@ -729,8 +729,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ function getAddressesByName(host: string): Promise>; @@ -742,8 +742,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAppNet(callback: AsyncCallback): void; @@ -753,8 +753,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAppNet(): Promise; @@ -764,8 +764,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getAppNetSync(): NetHandle; @@ -782,8 +782,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setAppNet(netHandle: NetHandle, callback: AsyncCallback): void; @@ -800,8 +800,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setAppNet(netHandle: NetHandle): Promise; @@ -817,8 +817,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getDefaultHttpProxy(callback: AsyncCallback): void; @@ -834,8 +834,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getDefaultHttpProxy(): Promise; @@ -848,8 +848,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getGlobalHttpProxy(callback: AsyncCallback): void; @@ -861,8 +861,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getGlobalHttpProxy(): Promise; @@ -872,8 +872,8 @@ declare namespace connection { * @throws { BusinessError } 401 - Parameter error. * @throws { BusinessError } 2100001 - Invalid http proxy. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function setAppHttpProxy(httpProxy: HttpProxy): void; @@ -890,8 +890,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setGlobalHttpProxy(httpProxy: HttpProxy, callback: AsyncCallback): void; @@ -908,8 +908,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function setGlobalHttpProxy(httpProxy: HttpProxy): Promise; @@ -923,8 +923,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function setPacUrl(pacUrl: string): void; @@ -934,8 +934,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function getPacUrl(): string; @@ -966,8 +966,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function addCustomDnsRule(host: string, ip: Array, callback: AsyncCallback): void; @@ -998,8 +998,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function addCustomDnsRule(host: string, ip: Array): Promise; @@ -1028,8 +1028,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function removeCustomDnsRule(host: string, callback: AsyncCallback): void; @@ -1058,8 +1058,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function removeCustomDnsRule(host: string): Promise; @@ -1073,8 +1073,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function clearCustomDnsRules(callback: AsyncCallback): void; @@ -1087,8 +1087,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function clearCustomDnsRules(): Promise; @@ -1104,8 +1104,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. Only used for system app. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function factoryReset(): Promise; @@ -1128,8 +1128,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface NetConnection { /** @@ -1154,8 +1154,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'netAvailable', callback: Callback): void; @@ -1171,8 +1171,8 @@ declare namespace connection { * @param { 'netBlockStatusChange' } type - Indicates Event name. * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'netBlockStatusChange', callback: Callback): void; @@ -1198,8 +1198,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'netCapabilitiesChange', callback: Callback): void; @@ -1215,8 +1215,8 @@ declare namespace connection { * @param { 'netConnectionPropertiesChange' } type - Indicates Event name. * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'netConnectionPropertiesChange', callback: Callback): void; @@ -1242,8 +1242,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'netLost', callback: Callback): void; @@ -1269,8 +1269,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ on(type: 'netUnavailable', callback: Callback): void; @@ -1314,8 +1314,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ register(callback: AsyncCallback): void; @@ -1365,8 +1365,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ unregister(callback: AsyncCallback): void; } @@ -1382,8 +1382,8 @@ declare namespace connection { * @interface NetSpecifier * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface NetSpecifier { /** @@ -1397,8 +1397,8 @@ declare namespace connection { * @type {NetCapabilities} * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ netCapabilities: NetCapabilities; @@ -1413,8 +1413,8 @@ declare namespace connection { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ bearerPrivateIdentifier?: string; } @@ -1432,8 +1432,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface NetCapabilityInfo { /** @@ -1449,8 +1449,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ netHandle: NetHandle; @@ -1467,8 +1467,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ netCap: NetCapabilities; } @@ -1492,8 +1492,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1': '11', '1.2': '20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface NetHandle { /** @@ -1515,8 +1515,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ netId: int; @@ -1531,7 +1531,7 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since 9 + * @since 9 dynamic */ bindSocket(socketParam: TCPSocket | UDPSocket, callback: AsyncCallback): void; @@ -1546,7 +1546,7 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since 9 + * @since 9 dynamic */ bindSocket(socketParam: TCPSocket | UDPSocket): Promise; @@ -1575,8 +1575,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ getAddressesByName(host: string, callback: AsyncCallback>): void; @@ -1605,8 +1605,8 @@ declare namespace connection { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ getAddressesByName(host: string): Promise>; @@ -1621,8 +1621,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ getAddressByName(host: string, callback: AsyncCallback): void; @@ -1637,8 +1637,8 @@ declare namespace connection { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ getAddressByName(host: string): Promise; } @@ -1662,16 +1662,16 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface NetCapabilities { /** * Uplink (device-to-network) bandwidth. * @type {?int} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ linkUpBandwidthKbps?: int; @@ -1679,8 +1679,8 @@ declare namespace connection { * Downstream (network-to-device) bandwidth. * @type {?int} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ linkDownBandwidthKbps?: int; @@ -1695,8 +1695,8 @@ declare namespace connection { * @type {?Array} * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ networkCap?: Array; @@ -1719,8 +1719,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ bearerTypes: Array; } @@ -1729,24 +1729,24 @@ declare namespace connection { * Get information about network connections. * @interface NetConnectionPropertyInfo * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface NetConnectionPropertyInfo { /** * Defines the handle of the data network. * @type { NetHandle } * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ netHandle: NetHandle; /** * Defines the network connection properties. * @type { ConnectionProperties } * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ connectionProperties: ConnectionProperties; } @@ -1755,24 +1755,24 @@ declare namespace connection { * Get network status information. * @interface NetBlockStatusInfo * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface NetBlockStatusInfo { /** * Defines the handle of the data network. * @type { NetHandle } * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ netHandle: NetHandle; /** * Check whether the current state is blocked. * @type { boolean } * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ blocked: boolean; } @@ -1788,8 +1788,8 @@ declare namespace connection { * @enum {int} * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum NetCap { /** @@ -1801,8 +1801,8 @@ declare namespace connection { * Indicates that the network can access the carrier's MMSC to send and receive multimedia messages. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NET_CAPABILITY_MMS = 0, @@ -1815,8 +1815,8 @@ declare namespace connection { * Indicates that the network traffic is not metered. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NET_CAPABILITY_NOT_METERED = 11, @@ -1829,8 +1829,8 @@ declare namespace connection { * Indicates that the network can access the Internet. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NET_CAPABILITY_INTERNET = 12, @@ -1843,8 +1843,8 @@ declare namespace connection { * Indicates that the network does not use a VPN. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NET_CAPABILITY_NOT_VPN = 15, @@ -1857,16 +1857,16 @@ declare namespace connection { * Indicates that the network is available. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NET_CAPABILITY_VALIDATED = 16, /** * Indicates that the network is portal. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NET_CAPABILITY_PORTAL = 17, @@ -1874,8 +1874,8 @@ declare namespace connection { * Indicates that the network is checking connectivity. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NET_CAPABILITY_CHECKING_CONNECTIVITY = 31 } @@ -1899,8 +1899,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum NetBearType { /** @@ -1919,8 +1919,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BEARER_CELLULAR = 0, @@ -1940,8 +1940,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BEARER_WIFI = 1, @@ -1950,8 +1950,8 @@ declare namespace connection { * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BEARER_BLUETOOTH = 2, @@ -1964,16 +1964,16 @@ declare namespace connection { * Indicates that the network is an Ethernet network. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BEARER_ETHERNET = 3, /** * Indicates that the network is based on a VPN network. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ BEARER_VPN = 4, } @@ -1982,32 +1982,32 @@ declare namespace connection { * Defines the network connection properties. * @interface ConnectionProperties * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ export interface ConnectionProperties { /** * Network card name. * @type {string} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ interfaceName: string; /** * Domain. The default value is "". * @type {string} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ domains: string; /** * Link information. * @type {Array} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ linkAddresses: Array; @@ -2015,8 +2015,8 @@ declare namespace connection { * Network address, refer to [NetAddress]. * @type {Array} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ dnses: Array; @@ -2024,8 +2024,8 @@ declare namespace connection { * Routing information. * @type {Array} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ routes: Array; @@ -2033,8 +2033,8 @@ declare namespace connection { * Maximum transmission unit. * @type {int} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ mtu: int; } @@ -2043,15 +2043,15 @@ declare namespace connection { * Defines network route information. * @interface RouteInfo * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ export interface RouteInfo { /** * Network card name. * @type {string} * @syscap SystemCapability.Communication.NetManager.Core - * @since 8 + * @since 8 dynamic */ interface: string; @@ -2059,8 +2059,7 @@ declare namespace connection { * Network card name. * @type {string} * @syscap SystemCapability.Communication.NetManager.Core - * @since 20 - * @arkts 1.2 + * @since 20 static */ iface: string; @@ -2068,8 +2067,8 @@ declare namespace connection { * Destination Address * @type {LinkAddress} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ destination: LinkAddress; @@ -2077,8 +2076,8 @@ declare namespace connection { * Gateway address. * @type {NetAddress} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ gateway: NetAddress; @@ -2086,8 +2085,8 @@ declare namespace connection { * Whether a gateway is present. * @type {boolean} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ hasGateway: boolean; @@ -2095,8 +2094,8 @@ declare namespace connection { * Whether the route is the default route. * @type {boolean} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ isDefaultRoute: boolean; } @@ -2105,24 +2104,24 @@ declare namespace connection { * Defines network link information. * @interface LinkAddress * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ export interface LinkAddress { /** * Link address. * @type {NetAddress} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ address: NetAddress; /** * The length of the link address prefix. * @type {int} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'8','1.2':'20'} - * @arkts 1.1&1.2 + * @since 8 dynamic + * @since 20 static */ prefixLength: int; } @@ -2138,8 +2137,8 @@ declare namespace connection { * @interface NetAddress * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface NetAddress { /** @@ -2153,8 +2152,8 @@ declare namespace connection { * @type {string} * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ address: string; @@ -2169,8 +2168,8 @@ declare namespace connection { * @type {?int} * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ family?: int; @@ -2185,8 +2184,8 @@ declare namespace connection { * @type {?int} * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ port?: int; } @@ -2202,8 +2201,8 @@ declare namespace connection { * @interface HttpProxy * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface HttpProxy { /** @@ -2217,8 +2216,8 @@ declare namespace connection { * @type {string} * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ host: string; @@ -2233,8 +2232,8 @@ declare namespace connection { * @type {int} * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ port: int; @@ -2242,8 +2241,8 @@ declare namespace connection { * Http proxy username. * @type {?string} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ username?: string; @@ -2251,8 +2250,8 @@ declare namespace connection { * Http proxy password. * @type {?string} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ password?: string; @@ -2267,8 +2266,8 @@ declare namespace connection { * @type {Array} * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ exclusionList: Array; } diff --git a/api/@ohos.net.ethernet.d.ts b/api/@ohos.net.ethernet.d.ts index 38b2257ba4..7ef58173d3 100644 --- a/api/@ohos.net.ethernet.d.ts +++ b/api/@ohos.net.ethernet.d.ts @@ -25,13 +25,13 @@ import type connection from './@ohos.net.connection'; * Provides interfaces to manage ethernet. * @namespace ethernet * @syscap SystemCapability.Communication.NetManager.Ethernet - * @since 9 + * @since 9 dynamic */ declare namespace ethernet { /** * @typedef { connection.HttpProxy } * @syscap SystemCapability.Communication.NetManager.Ethernet - * @since 10 + * @since 10 dynamic */ type HttpProxy = connection.HttpProxy; @@ -49,7 +49,7 @@ declare namespace ethernet { * @throws { BusinessError } 2201005 - Device information does not exist. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function getIfaceConfig(iface: string, callback: AsyncCallback): void; @@ -67,7 +67,7 @@ declare namespace ethernet { * @throws { BusinessError } 2201005 - Device information does not exist. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function getIfaceConfig(iface: string): Promise; @@ -89,7 +89,7 @@ declare namespace ethernet { * @throws { BusinessError } 2201007 - Ethernet failed to write user configuration information. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function setIfaceConfig(iface: string, ic: InterfaceConfiguration, callback: AsyncCallback): void; @@ -111,7 +111,7 @@ declare namespace ethernet { * @throws { BusinessError } 2201007 - Ethernet failed to write user configuration information. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise; @@ -129,7 +129,7 @@ declare namespace ethernet { * @throws { BusinessError } 2201005 - Device information does not exist. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function isIfaceActive(iface: string, callback: AsyncCallback): void; @@ -147,7 +147,7 @@ declare namespace ethernet { * @throws { BusinessError } 2201005 - Device information does not exist. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function isIfaceActive(iface: string): Promise; @@ -161,7 +161,7 @@ declare namespace ethernet { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function getAllActiveIfaces(callback: AsyncCallback>): void; @@ -175,7 +175,7 @@ declare namespace ethernet { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ function getAllActiveIfaces(): Promise>; @@ -203,7 +203,7 @@ declare namespace ethernet { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function on(type: 'interfaceStateChange', callback: Callback): void; @@ -231,7 +231,7 @@ declare namespace ethernet { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function off(type: 'interfaceStateChange', callback?: Callback): void; @@ -243,7 +243,7 @@ declare namespace ethernet { * @throws { BusinessError } 2200002 - Operation failed. Cannot connect to service. * @throws { BusinessError } 2201005 - Device information does not exist. * @syscap SystemCapability.Communication.NetManager.Ethernet - * @since 14 + * @since 14 dynamic */ function getMacAddress(): Promise>; @@ -256,7 +256,7 @@ declare namespace ethernet { * @throws { BusinessError } 2201005 - Device information does not exist. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ function getEthernetDeviceInfos(): Promise>; @@ -265,7 +265,7 @@ declare namespace ethernet { * @interface InterfaceConfiguration * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ export interface InterfaceConfiguration { /** @@ -273,7 +273,7 @@ declare namespace ethernet { * See {@link IPSetMode} * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ mode: IPSetMode; /** @@ -283,7 +283,7 @@ declare namespace ethernet { * @type {string} * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ ipAddr: string; @@ -294,7 +294,7 @@ declare namespace ethernet { * @type {string} * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ route: string; @@ -305,7 +305,7 @@ declare namespace ethernet { * @type {string} * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ gateway: string; @@ -316,7 +316,7 @@ declare namespace ethernet { * @type {string} * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ netMask: string; @@ -327,7 +327,7 @@ declare namespace ethernet { * @type {string} * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ dnsServers: string; @@ -336,7 +336,7 @@ declare namespace ethernet { * @type {?HttpProxy} * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ httpProxy?: HttpProxy; } @@ -346,7 +346,7 @@ declare namespace ethernet { * @interface InterfaceStateInfo * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ export interface InterfaceStateInfo { /** @@ -354,7 +354,7 @@ declare namespace ethernet { * @type { string } * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ iface: string; /** @@ -362,7 +362,7 @@ declare namespace ethernet { * @type { boolean } * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ active: boolean; } @@ -372,14 +372,14 @@ declare namespace ethernet { * @enum {number} * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ export enum IPSetMode { /** * WAN Static configuration. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ STATIC = 0, @@ -387,7 +387,7 @@ declare namespace ethernet { * WAN Dynamic configuration. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 9 + * @since 9 dynamic */ DHCP = 1, @@ -395,7 +395,7 @@ declare namespace ethernet { * LAN Static configuration. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ LAN_STATIC = 2, @@ -403,7 +403,7 @@ declare namespace ethernet { * LAN Dynamic configuration. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ LAN_DHCP = 3 } @@ -412,14 +412,14 @@ declare namespace ethernet { * Defines the mac address info of the Ethernet. * @interface MacAddressInfo * @syscap SystemCapability.Communication.NetManager.Ethernet - * @since 14 + * @since 14 dynamic */ export interface MacAddressInfo { /** * Ethernet interface name. * @type { string } * @syscap SystemCapability.Communication.NetManager.Ethernet - * @since 14 + * @since 14 dynamic */ iface: string; @@ -427,7 +427,7 @@ declare namespace ethernet { * Ethernet specific mac address. * @type { string } * @syscap SystemCapability.Communication.NetManager.Ethernet - * @since 14 + * @since 14 dynamic */ macAddress: string; } @@ -437,7 +437,7 @@ declare namespace ethernet { * @interface EthernetDeviceInfos * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ export interface EthernetDeviceInfos { /** @@ -445,7 +445,7 @@ declare namespace ethernet { * @type { string } * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ ifaceName: string; @@ -454,7 +454,7 @@ declare namespace ethernet { * @type { string } * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ deviceName: string; @@ -463,7 +463,7 @@ declare namespace ethernet { * @type { DeviceConnectionType } * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ connectionMode: DeviceConnectionType; @@ -472,7 +472,7 @@ declare namespace ethernet { * @type { string } * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ supplierName: string; @@ -481,7 +481,7 @@ declare namespace ethernet { * @type { string } * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ supplierId: string; @@ -490,7 +490,7 @@ declare namespace ethernet { * @type { string } * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ productName: string; @@ -499,7 +499,7 @@ declare namespace ethernet { * @type { string } * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ maximumRate: string; } @@ -509,14 +509,14 @@ declare namespace ethernet { * @enum {number} * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ export enum DeviceConnectionType { /** * Ethernet in built-in mode. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ BUILT_IN = 0, @@ -524,7 +524,7 @@ declare namespace ethernet { * Ethernet in external mode. For example, an ethernet connection via USB. * @syscap SystemCapability.Communication.NetManager.Ethernet * @systemapi Hide this for inner system use. - * @since 20 + * @since 20 dynamic */ EXTERNAL = 1 } diff --git a/api/@ohos.net.http.d.ts b/api/@ohos.net.http.d.ts index 7656c2864e..9dc7d88cee 100644 --- a/api/@ohos.net.http.d.ts +++ b/api/@ohos.net.http.d.ts @@ -20,7 +20,7 @@ import type { AsyncCallback, Callback } from './@ohos.base'; import type connection from './@ohos.net.connection'; -/*** if arkts 1.2 */ +/*** if arkts static */ import type { RecordData } from './@ohos.base'; /*** endif */ @@ -43,8 +43,8 @@ import type { RecordData } from './@ohos.base'; * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace http { /** @@ -64,8 +64,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type HttpProxy = connection.HttpProxy; @@ -88,8 +88,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function createHttp(): HttpRequest; @@ -97,31 +97,31 @@ declare namespace http { * Enum for Address Family * @enum {string} * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ export enum AddressFamily { /** * Default, can use addresses of all IP versions that your system allows. * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ DEFAULT = 'CURL_IPRESOLVE_WHATEVER', /** * ONLYV4 Uses only IPv4 addresses. * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ ONLY_V4 = 'CURL_IPRESOLVE_V4', /** * ONLYV6 Uses only IPv6 addresses. * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ ONLY_V6 = 'CURL_IPRESOLVE_V6' } @@ -145,8 +145,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface HttpRequestOptions { /** @@ -168,8 +168,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ method?: RequestMethod; @@ -195,7 +195,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ extraData?: string | Object | ArrayBuffer; @@ -204,8 +204,7 @@ declare namespace http { * extraData can be a string or an Object (API 6) or an ArrayBuffer(API 8). * @type { ?(string | RecordData | ArrayBuffer) } * @syscap SystemCapability.Communication.NetStack - * @since 20 - * @arkts 1.2 + * @since 20 static */ extraData?: string | RecordData | ArrayBuffer; @@ -228,8 +227,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ expectDataType?: HttpDataType; @@ -252,8 +251,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ usingCache?: boolean; @@ -276,8 +275,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ priority?: int; @@ -300,7 +299,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ header?: Object; @@ -308,8 +307,7 @@ declare namespace http { * HTTP request header. default is 'content-type': 'application/json' * @type {?Record} * @syscap SystemCapability.Communication.NetStack - * @since 20 - * @arkts 1.2 + * @since 20 static */ header?: Record; @@ -332,8 +330,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readTimeout?: int; @@ -356,8 +354,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ connectTimeout?: int; @@ -380,8 +378,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ usingProtocol?: HttpProtocol; @@ -407,8 +405,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ usingProxy?: boolean | HttpProxy; @@ -431,8 +429,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ caPath?: string; @@ -451,8 +449,8 @@ declare namespace http { * @type {?long} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ resumeFrom?: long; @@ -471,8 +469,8 @@ declare namespace http { * @type {?long} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ resumeTo?: long; @@ -487,8 +485,8 @@ declare namespace http { * @type {?ClientCert} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ clientCert?: ClientCert; @@ -507,8 +505,8 @@ declare namespace http { * @type {?string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ dnsOverHttps?: string; @@ -527,8 +525,8 @@ declare namespace http { * @type {?Array} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ dnsServers?: Array; @@ -545,8 +543,8 @@ declare namespace http { * @type {?int} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ maxLimit?: int; @@ -565,8 +563,8 @@ declare namespace http { * @type {?Array} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ multiFormDataList?: Array; @@ -575,8 +573,8 @@ declare namespace http { * {@link CertificatePinning.publicKeyHash}, request will fail. * @type {?(CertificatePinning | CertificatePinning[])} * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ certificatePinning?: CertificatePinning | CertificatePinning[]; @@ -585,8 +583,8 @@ declare namespace http { * @type {?RemoteValidation} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ remoteValidation?: RemoteValidation; @@ -595,8 +593,8 @@ declare namespace http { * @type {?TlsOptions} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ tlsOptions?: TlsOptions; @@ -605,8 +603,8 @@ declare namespace http { * @type {?ServerAuthentication} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ serverAuthentication?: ServerAuthentication; @@ -614,8 +612,8 @@ declare namespace http { * Address family option. * @type {?AddressFamily} * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ addressFamily?: AddressFamily; } @@ -625,8 +623,8 @@ declare namespace http { * @typedef ServerAuthentication * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export interface ServerAuthentication { /** @@ -634,8 +632,8 @@ declare namespace http { * @type {Credential} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ credential: Credential; /** @@ -643,8 +641,8 @@ declare namespace http { * @type {?AuthenticationType} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ authenticationType?: AuthenticationType; } @@ -656,8 +654,8 @@ declare namespace http { * @typedef {'system' | TlsConfig} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export type TlsOptions = 'system' | TlsConfig; @@ -666,8 +664,8 @@ declare namespace http { * @typedef {'system' | 'skip'} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export type RemoteValidation = 'system' | 'skip'; @@ -676,8 +674,8 @@ declare namespace http { * @typedef {'basic' | 'ntlm' | 'digest'} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export type AuthenticationType = 'basic' | 'ntlm' | 'digest'; @@ -686,8 +684,8 @@ declare namespace http { * @typedef Credential * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export interface Credential { /** @@ -695,8 +693,8 @@ declare namespace http { * @type {string} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ username: string; /** @@ -704,8 +702,8 @@ declare namespace http { * @type {string} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ password: string; } @@ -715,8 +713,8 @@ declare namespace http { * @typedef TlsConfig * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export interface TlsConfig { /** @@ -724,8 +722,8 @@ declare namespace http { * @type {TlsVersion} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ tlsVersionMin: TlsVersion; /** @@ -733,8 +731,8 @@ declare namespace http { * @type {TlsVersion} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ tlsVersionMax: TlsVersion; /** @@ -742,8 +740,8 @@ declare namespace http { * @type {?CipherSuite[]} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ cipherSuites?: CipherSuite[]; } @@ -754,8 +752,8 @@ declare namespace http { * @typedef {'TLS_AES_128_GCM_SHA256' | 'TLS_AES_256_GCM_SHA384' | 'TLS_CHACHA20_POLY1305_SHA256'} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export type TlsV13SpecificCipherSuite = 'TLS_AES_128_GCM_SHA256' | 'TLS_AES_256_GCM_SHA384' | 'TLS_CHACHA20_POLY1305_SHA256'; @@ -764,8 +762,8 @@ declare namespace http { * @typedef {'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256' | 'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256' | 'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384' | 'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384' | 'TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256' | 'TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256' | 'TLS_RSA_WITH_AES_128_GCM_SHA256' | 'TLS_RSA_WITH_AES_256_GCM_SHA384'} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export type TlsV12SpecificCipherSuite = 'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256' | 'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256' | 'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384' | 'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384' | 'TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256' | 'TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256' | 'TLS_RSA_WITH_AES_128_GCM_SHA256' | 'TLS_RSA_WITH_AES_256_GCM_SHA384'; @@ -774,8 +772,8 @@ declare namespace http { * @typedef {'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA' | 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA' | 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA' | 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA' | 'TLS_RSA_WITH_AES_128_CBC_SHA' | 'TLS_RSA_WITH_AES_256_CBC_SHA' | 'TLS_RSA_WITH_3DES_EDE_CBC_SHA'} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export type TlsV10SpecificCipherSuite = 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA' | 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA' | 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA' | 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA' | 'TLS_RSA_WITH_AES_128_CBC_SHA' | 'TLS_RSA_WITH_AES_256_CBC_SHA' | 'TLS_RSA_WITH_3DES_EDE_CBC_SHA'; @@ -784,8 +782,8 @@ declare namespace http { * @typedef {TlsV13CipherSuite} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export type CipherSuite = TlsV13CipherSuite; @@ -794,8 +792,8 @@ declare namespace http { * @typedef {TlsV12CipherSuite | TlsV13SpecificCipherSuite} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export type TlsV13CipherSuite = TlsV12CipherSuite | TlsV13SpecificCipherSuite; @@ -804,8 +802,8 @@ declare namespace http { * @typedef {TlsV11CipherSuite | TlsV12SpecificCipherSuite} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export type TlsV12CipherSuite = TlsV11CipherSuite | TlsV12SpecificCipherSuite; @@ -814,8 +812,8 @@ declare namespace http { * @typedef {TlsV10CipherSuite} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export type TlsV11CipherSuite = TlsV10CipherSuite; @@ -824,8 +822,8 @@ declare namespace http { * @typedef {TlsV10SpecificCipherSuite} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export type TlsV10CipherSuite = TlsV10SpecificCipherSuite; @@ -834,16 +832,16 @@ declare namespace http { * @enum {int} * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export enum TlsVersion { /** * Tls version 1.0 * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ TLS_V_1_0 = 4, @@ -851,8 +849,8 @@ declare namespace http { * Tls version 1.1 * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ TLS_V_1_1 = 5, @@ -860,8 +858,8 @@ declare namespace http { * Tls version 1.2 * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ TLS_V_1_2 = 6, @@ -869,8 +867,8 @@ declare namespace http { * Tls version 1.3 * @syscap SystemCapability.Communication.NetStack * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ TLS_V_1_3 = 7 } @@ -886,8 +884,8 @@ declare namespace http { * @interface MultiFormData * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface MultiFormData { /** @@ -901,8 +899,8 @@ declare namespace http { * @type {string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ name: string; @@ -917,8 +915,8 @@ declare namespace http { * @type {string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ contentType: string; @@ -933,8 +931,8 @@ declare namespace http { * @type {?string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ remoteFileName?: string; @@ -949,7 +947,7 @@ declare namespace http { * @type {?(string | Object | ArrayBuffer)} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ data?: string | Object | ArrayBuffer; @@ -957,8 +955,7 @@ declare namespace http { * This parameter sets a mime part's body content from memory data. * @type {?(string | RecordData | ArrayBuffer)} * @syscap SystemCapability.Communication.NetStack - * @since 20 - * @arkts 1.2 + * @since 20 static */ data?: string | RecordData | ArrayBuffer; @@ -979,8 +976,8 @@ declare namespace http { * @type {?string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ filePath?: string; } @@ -996,8 +993,8 @@ declare namespace http { * @enum {string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum CertType { /** @@ -1009,8 +1006,8 @@ declare namespace http { * PEM format certificate * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PEM = 'PEM', @@ -1023,8 +1020,8 @@ declare namespace http { * DER format certificate * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ DER = 'DER', @@ -1037,8 +1034,8 @@ declare namespace http { * P12 format certificate * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ P12 = 'P12' } @@ -1056,8 +1053,8 @@ declare namespace http { * @interface ClientCert * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface ClientCert { /** @@ -1071,8 +1068,8 @@ declare namespace http { * @type {string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ certPath: string; @@ -1087,8 +1084,8 @@ declare namespace http { * @type {?CertType} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ certType?: CertType; @@ -1103,8 +1100,8 @@ declare namespace http { * @type {string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ keyPath: string; @@ -1119,8 +1116,8 @@ declare namespace http { * @type {?string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ keyPassword?: string; } @@ -1129,24 +1126,24 @@ declare namespace http { * Certificate pinning option. * @interface CertificatePinning * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface CertificatePinning { /** * Public key hash. * @type {string} * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ publicKeyHash: string; /** * Certificate public key hash algorithm. * @type {'SHA-256'} * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ hashAlgorithm: 'SHA-256'; } @@ -1173,8 +1170,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface HttpRequest { /** @@ -1380,8 +1377,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ request(url: string, callback: AsyncCallback): void; @@ -1593,8 +1590,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ request(url: string, options: HttpRequestOptions, callback: AsyncCallback): void; @@ -1806,8 +1803,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ request(url: string, options?: HttpRequestOptions): Promise; @@ -1976,8 +1973,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ requestInStream(url: string, callback: AsyncCallback): void; @@ -2146,8 +2143,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ requestInStream(url: string, options: HttpRequestOptions, callback: AsyncCallback): void; @@ -2316,8 +2313,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ requestInStream(url: string, options?: HttpRequestOptions): Promise; @@ -2337,8 +2334,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ destroy(): void; @@ -2347,7 +2344,7 @@ declare namespace http { * @param { "headerReceive" } type - Indicates Event name. * @param { AsyncCallback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack - * @since 6 + * @since 6 dynamiconly * @deprecated since 8 * @useinstead on_headersReceive */ @@ -2358,7 +2355,7 @@ declare namespace http { * @param { "headerReceive" } type - Indicates Event name. * @param { AsyncCallback } [callback] - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack - * @since 6 + * @since 6 dynamiconly * @deprecated since 8 * @useinstead off_headersReceive */ @@ -2386,7 +2383,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ on(type: "headersReceive", callback: Callback): void; @@ -2412,7 +2409,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ off(type: "headersReceive", callback?: Callback): void; @@ -2438,7 +2435,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ once(type: "headersReceive", callback: Callback): void; @@ -2464,7 +2461,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ on(type: "dataReceive", callback: Callback): void; @@ -2490,7 +2487,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ off(type: "dataReceive", callback?: Callback): void; @@ -2516,7 +2513,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ on(type: "dataEnd", callback: Callback): void; @@ -2542,7 +2539,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ off(type: "dataEnd", callback?: Callback): void; @@ -2575,7 +2572,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ on(type: 'dataReceiveProgress', callback: Callback): void; @@ -2608,7 +2605,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ off(type: 'dataReceiveProgress', callback?: Callback): void; @@ -2634,7 +2631,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ on(type: 'dataSendProgress', callback: Callback): void @@ -2660,7 +2657,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ off(type: 'dataSendProgress', callback?: Callback): void } @@ -2684,8 +2681,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum RequestMethod { /** @@ -2704,8 +2701,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ OPTIONS = "OPTIONS", @@ -2725,8 +2722,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ GET = "GET", @@ -2746,8 +2743,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ HEAD = "HEAD", @@ -2767,8 +2764,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ POST = "POST", @@ -2788,8 +2785,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PUT = "PUT", @@ -2809,8 +2806,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DELETE = "DELETE", @@ -2830,8 +2827,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ TRACE = "TRACE", @@ -2851,8 +2848,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CONNECT = "CONNECT" } @@ -2876,8 +2873,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum ResponseCode { /** @@ -2896,8 +2893,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ OK = 200, @@ -2917,8 +2914,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CREATED, @@ -2938,8 +2935,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ACCEPTED, @@ -2959,8 +2956,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NOT_AUTHORITATIVE, @@ -2980,8 +2977,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NO_CONTENT, @@ -3001,8 +2998,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ RESET, @@ -3022,8 +3019,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PARTIAL, @@ -3043,8 +3040,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MULT_CHOICE = 300, @@ -3067,8 +3064,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MOVED_PERM, @@ -3088,8 +3085,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ MOVED_TEMP, @@ -3109,8 +3106,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ SEE_OTHER, @@ -3130,8 +3127,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NOT_MODIFIED, @@ -3151,8 +3148,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ USE_PROXY, @@ -3172,8 +3169,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BAD_REQUEST = 400, @@ -3193,8 +3190,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNAUTHORIZED, @@ -3214,8 +3211,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PAYMENT_REQUIRED, @@ -3235,8 +3232,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ FORBIDDEN, @@ -3256,8 +3253,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NOT_FOUND, @@ -3277,8 +3274,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BAD_METHOD, @@ -3298,8 +3295,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NOT_ACCEPTABLE, @@ -3319,8 +3316,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PROXY_AUTH, @@ -3340,8 +3337,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CLIENT_TIMEOUT, @@ -3364,8 +3361,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CONFLICT, @@ -3385,8 +3382,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ GONE, @@ -3406,8 +3403,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ LENGTH_REQUIRED, @@ -3427,8 +3424,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PRECON_FAILED, @@ -3448,8 +3445,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ENTITY_TOO_LARGE, @@ -3469,8 +3466,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ REQ_TOO_LONG, @@ -3490,8 +3487,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNSUPPORTED_TYPE, @@ -3500,8 +3497,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ RANGE_NOT_SATISFIABLE, @@ -3521,8 +3518,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ INTERNAL_ERROR = 500, @@ -3542,8 +3539,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ NOT_IMPLEMENTED, @@ -3563,8 +3560,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ BAD_GATEWAY, @@ -3584,8 +3581,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ UNAVAILABLE, @@ -3605,8 +3602,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ GATEWAY_TIMEOUT, @@ -3626,8 +3623,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ VERSION } @@ -3651,8 +3648,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum HttpProtocol { @@ -3672,8 +3669,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ HTTP1_1, @@ -3693,8 +3690,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ HTTP2, @@ -3711,8 +3708,8 @@ declare namespace http { * Fallback to http2 or http1.1 if needed. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ HTTP3 } @@ -3736,8 +3733,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum HttpDataType { /** @@ -3756,8 +3753,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ STRING, @@ -3777,8 +3774,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ OBJECT = 1, @@ -3798,8 +3795,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ ARRAY_BUFFER = 2 } @@ -3823,8 +3820,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface HttpResponse { /** @@ -3849,7 +3846,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ result: string | Object | ArrayBuffer; @@ -3858,8 +3855,7 @@ declare namespace http { * If {@link HttpRequestOptions#expectDataType} is set, the system preferentially returns this parameter. * @type {string | RecordData | ArrayBuffer} * @syscap SystemCapability.Communication.NetStack - * @since 20 - * @arkts 1.2 + * @since 20 static */ result: string | RecordData | ArrayBuffer; @@ -3888,8 +3884,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ resultType: HttpDataType; @@ -3912,8 +3908,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ responseCode: ResponseCode | int; @@ -3936,7 +3932,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ header: Object; @@ -3944,8 +3940,7 @@ declare namespace http { * All headers in the response from the server. * @type {Record} * @syscap SystemCapability.Communication.NetStack - * @since 20 - * @arkts 1.2 + * @since 20 static */ header: Record; @@ -3968,8 +3963,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ cookies: string; @@ -3984,8 +3979,8 @@ declare namespace http { * @type {PerformanceTiming} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ performanceTiming: PerformanceTiming; } @@ -4001,8 +3996,8 @@ declare namespace http { * @interface PerformanceTiming * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface PerformanceTiming { /** @@ -4016,8 +4011,8 @@ declare namespace http { * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ dnsTiming: double; @@ -4032,8 +4027,8 @@ declare namespace http { * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ tcpTiming: double; @@ -4048,8 +4043,8 @@ declare namespace http { * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ tlsTiming: double; @@ -4064,8 +4059,8 @@ declare namespace http { * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ firstSendTiming: double; @@ -4080,8 +4075,8 @@ declare namespace http { * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ firstReceiveTiming: double; @@ -4096,8 +4091,8 @@ declare namespace http { * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ totalFinishTiming: double; @@ -4112,8 +4107,8 @@ declare namespace http { * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ redirectTiming: double; @@ -4128,8 +4123,8 @@ declare namespace http { * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ responseHeaderTiming: double; @@ -4144,8 +4139,8 @@ declare namespace http { * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ responseBodyTiming: double; @@ -4160,8 +4155,8 @@ declare namespace http { * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ totalTiming: double; } @@ -4185,8 +4180,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ export interface DataReceiveProgressInfo { /** @@ -4208,8 +4203,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ receiveSize: int; /** @@ -4231,8 +4226,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ totalSize: int; } @@ -4256,7 +4251,7 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ export interface DataSendProgressInfo { /** @@ -4278,8 +4273,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ sendSize: int; /** @@ -4301,8 +4296,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ totalSize: int; } @@ -4329,8 +4324,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function createHttpResponseCache(cacheSize?: int): HttpResponseCache; @@ -4353,8 +4348,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface HttpResponseCache { /** @@ -4376,8 +4371,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ flush(callback: AsyncCallback): void; @@ -4400,8 +4395,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ flush(): Promise; @@ -4424,8 +4419,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ delete(callback: AsyncCallback): void; @@ -4448,8 +4443,8 @@ declare namespace http { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ delete(): Promise; } diff --git a/api/@ohos.net.mdns.d.ts b/api/@ohos.net.mdns.d.ts index b2655acd8b..72e7cff963 100644 --- a/api/@ohos.net.mdns.d.ts +++ b/api/@ohos.net.mdns.d.ts @@ -33,7 +33,7 @@ import Context from './application/Context'; * @namespace mdns * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ declare namespace mdns { /** @@ -46,7 +46,7 @@ declare namespace mdns { * @typedef { connection.NetAddress } * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since 12 + * @since 12 dynamic */ type NetAddress = connection.NetAddress; @@ -77,7 +77,7 @@ declare namespace mdns { * @throws { BusinessError } 2204010 - Failed to send the message. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ function addLocalService(context: Context, serviceInfo: LocalServiceInfo, callback: AsyncCallback): void; @@ -109,7 +109,7 @@ declare namespace mdns { * @throws { BusinessError } 2204010 - Failed to send the message. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ function addLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise; @@ -140,7 +140,7 @@ declare namespace mdns { * @throws { BusinessError } 2204010 - Failed to send the message. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ function removeLocalService(context: Context, serviceInfo: LocalServiceInfo, callback: AsyncCallback): void; @@ -172,7 +172,7 @@ declare namespace mdns { * @throws { BusinessError } 2204010 - Failed to send the message. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ function removeLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise; @@ -193,7 +193,7 @@ declare namespace mdns { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ function createDiscoveryService(context: Context, serviceType: string): DiscoveryService; @@ -224,7 +224,7 @@ declare namespace mdns { * @throws { BusinessError } 2204010 - Failed to send the message. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ function resolveLocalService(context: Context, serviceInfo: LocalServiceInfo, callback: AsyncCallback): void; @@ -256,7 +256,7 @@ declare namespace mdns { * @throws { BusinessError } 2204010 - Failed to send the message. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ function resolveLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise; @@ -271,7 +271,7 @@ declare namespace mdns { * @interface DiscoveryService * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ export interface DiscoveryService { /** @@ -287,7 +287,7 @@ declare namespace mdns { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ on(type: 'discoveryStart', callback: Callback): void; @@ -304,7 +304,7 @@ declare namespace mdns { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ off(type: 'discoveryStart', callback?: Callback): void; @@ -321,7 +321,7 @@ declare namespace mdns { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ on(type: 'discoveryStop', callback: Callback): void; @@ -338,7 +338,7 @@ declare namespace mdns { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ off(type: 'discoveryStop', callback?: Callback): void; @@ -355,7 +355,7 @@ declare namespace mdns { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ on(type: 'serviceFound', callback: Callback): void; @@ -372,7 +372,7 @@ declare namespace mdns { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ off(type: 'serviceFound', callback?: Callback): void; @@ -389,7 +389,7 @@ declare namespace mdns { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ on(type: 'serviceLost', callback: Callback): void; @@ -406,7 +406,7 @@ declare namespace mdns { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ off(type: 'serviceLost', callback?: Callback): void; @@ -419,7 +419,7 @@ declare namespace mdns { * Starts searching for mDNS services on the LAN. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ startSearchingMDNS(): void; @@ -432,7 +432,7 @@ declare namespace mdns { * Stops searching for mDNS services on the LAN. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ stopSearchingMDNS(): void; } @@ -448,7 +448,7 @@ declare namespace mdns { * @interface LocalServiceInfo * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ export interface LocalServiceInfo { /** @@ -462,7 +462,7 @@ declare namespace mdns { * @type {string} * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ serviceType: string; /** @@ -476,7 +476,7 @@ declare namespace mdns { * @type {string} * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ serviceName: string; /** @@ -490,7 +490,7 @@ declare namespace mdns { * @type {?number} * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ port?: number; /** @@ -504,7 +504,7 @@ declare namespace mdns { * @type {?NetAddress} * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ host?: NetAddress; /** @@ -518,7 +518,7 @@ declare namespace mdns { * @type {?Array} * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ serviceAttribute?: Array; } @@ -534,7 +534,7 @@ declare namespace mdns { * @interface ServiceAttribute * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ export interface ServiceAttribute { /** @@ -548,7 +548,7 @@ declare namespace mdns { * @type {string} * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ key: string; @@ -563,7 +563,7 @@ declare namespace mdns { * @type {Array} * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ value: Array; } @@ -573,7 +573,7 @@ declare namespace mdns { * @interface DiscoveryEventInfo * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ export interface DiscoveryEventInfo { /** @@ -581,7 +581,7 @@ declare namespace mdns { * @type {LocalServiceInfo} * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ serviceInfo: LocalServiceInfo; @@ -590,7 +590,7 @@ declare namespace mdns { * @type {?MdnsError} * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ errorCode?: MdnsError; } @@ -606,7 +606,7 @@ declare namespace mdns { * @enum {number} * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ export enum MdnsError { /** @@ -618,7 +618,7 @@ declare namespace mdns { * Indicates that the operation failed due to internal error. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ INTERNAL_ERROR = 0, @@ -631,7 +631,7 @@ declare namespace mdns { * Indicates that the operation failed because it is already active. * @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ ALREADY_ACTIVE = 1, @@ -646,13 +646,13 @@ declare namespace mdns { * requests from the applications have reached.

* @syscap SystemCapability.Communication.NetManager.MDNS * @atomicservice - * @since 11 + * @since 11 dynamic */ MAX_LIMIT = 2 } } /** - * @since 10 + * @since 10 dynamic */ export default mdns; diff --git a/api/@ohos.net.netFirewall.d.ts b/api/@ohos.net.netFirewall.d.ts index f316ad07fc..d688e7d0dd 100755 --- a/api/@ohos.net.netFirewall.d.ts +++ b/api/@ohos.net.netFirewall.d.ts @@ -23,7 +23,7 @@ * * @namespace netFirewall * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 14 + * @since 14 dynamic */ declare namespace netFirewall { /** @@ -42,7 +42,7 @@ declare namespace netFirewall { * @throws { BusinessError } 2100003 - System internal error. * @throws { BusinessError } 29400000 - The specified user does not exist. * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ function setNetFirewallPolicy(userId: number, policy: NetFirewallPolicy): Promise; @@ -59,7 +59,7 @@ declare namespace netFirewall { * @throws { BusinessError } 2100003 - System internal error. * @throws { BusinessError } 29400000 - The specified user does not exist. * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ function getNetFirewallPolicy(userId: number): Promise; @@ -82,7 +82,7 @@ declare namespace netFirewall { * @throws { BusinessError } 29400005 - The number of domain rules exceeds the maximum. * @throws { BusinessError } 29400007 - The dns rule is duplication. * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ function addNetFirewallRule(rule: NetFirewallRule): Promise; @@ -105,7 +105,7 @@ declare namespace netFirewall { * @throws { BusinessError } 29400006 - The specified rule does not exist. * @throws { BusinessError } 29400007 - The dns rule is duplication. * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ function updateNetFirewallRule(rule: NetFirewallRule): Promise; @@ -124,7 +124,7 @@ declare namespace netFirewall { * @throws { BusinessError } 29400000 - The specified user does not exist. * @throws { BusinessError } 29400006 - The specified rule does not exist. * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ function removeNetFirewallRule(userId: number, ruleId: number): Promise; @@ -142,7 +142,7 @@ declare namespace netFirewall { * @throws { BusinessError } 2100003 - System internal error. * @throws { BusinessError } 29400000 - The specified user does not exist. * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ function getNetFirewallRules(userId: number, requestParam: RequestParam): Promise; @@ -161,7 +161,7 @@ declare namespace netFirewall { * @throws { BusinessError } 29400000 - The specified user does not exist. * @throws { BusinessError } 29400006 - The specified rule does not exist. * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ function getNetFirewallRule(userId: number, ruleId: number): Promise; @@ -181,7 +181,7 @@ declare namespace netFirewall { * @throws { BusinessError } 29400000 - The specified user does not exist. * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ function getInterceptedRecords(userId: number, requestParam: RequestParam): Promise; @@ -190,21 +190,21 @@ declare namespace netFirewall { * * @enum {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ enum NetFirewallRuleDirection { /** * Inbound. * * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ RULE_IN = 1, /** * Outbound. * * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ RULE_OUT = 2 } @@ -214,21 +214,21 @@ declare namespace netFirewall { * * @enum {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ enum FirewallRuleAction { /** * Allow access. * * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ RULE_ALLOW = 0, /** * Deny access. * * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ RULE_DENY = 1 } @@ -238,28 +238,28 @@ declare namespace netFirewall { * * @enum {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ enum NetFirewallRuleType { /** * IP type rules. * * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ RULE_IP = 1, /** * Domain type rules. * * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ RULE_DOMAIN = 2, /** * DNS type rules. * * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ RULE_DNS = 3 } @@ -269,21 +269,21 @@ declare namespace netFirewall { * * @enum {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ enum NetFirewallOrderField { /** * Sort rule names, it can be referenced only by the getNetFirewallRules interface. * * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ ORDER_BY_RULE_NAME = 1, /** * Sort the recorded time, it can be referenced only by the getNetFirewallRules interface. * * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ ORDER_BY_RECORD_TIME = 100, } @@ -293,21 +293,21 @@ declare namespace netFirewall { * * @enum {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ enum NetFirewallOrderType { /** * Ascending order. * * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ ORDER_ASC = 1, /** * Descending order. * * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ ORDER_DESC = 100, } @@ -317,7 +317,7 @@ declare namespace netFirewall { * * @interface NetFirewallPolicy * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ interface NetFirewallPolicy { /** @@ -325,7 +325,7 @@ declare namespace netFirewall { * * @type {boolean} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ isOpen: boolean; @@ -334,7 +334,7 @@ declare namespace netFirewall { * * @type {FirewallRuleAction} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ inAction: FirewallRuleAction; @@ -343,7 +343,7 @@ declare namespace netFirewall { * * @type {FirewallRuleAction} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ outAction: FirewallRuleAction; } @@ -353,7 +353,7 @@ declare namespace netFirewall { * * @interface NetFirewallIpParams * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ interface NetFirewallIpParams { /** @@ -361,7 +361,7 @@ declare namespace netFirewall { * * @type {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ type: number; /** @@ -369,7 +369,7 @@ declare namespace netFirewall { * * @type {?number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ family?: number; /** @@ -377,7 +377,7 @@ declare namespace netFirewall { * * @type {?string} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ address?: string; /** @@ -385,7 +385,7 @@ declare namespace netFirewall { * * @type {?number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ mask?: number; /** @@ -393,7 +393,7 @@ declare namespace netFirewall { * * @type {?string} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ startIp?: string; /** @@ -401,7 +401,7 @@ declare namespace netFirewall { * * @type {?string} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ endIp?: string; } @@ -411,7 +411,7 @@ declare namespace netFirewall { * * @interface NetFirewallPortParams * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ interface NetFirewallPortParams { /** @@ -419,7 +419,7 @@ declare namespace netFirewall { * * @type {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ startPort: number; /** @@ -427,7 +427,7 @@ declare namespace netFirewall { * * @type {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ endPort: number; } @@ -437,7 +437,7 @@ declare namespace netFirewall { * * @interface NetFirewallDomainParams * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ interface NetFirewallDomainParams { /** @@ -445,7 +445,7 @@ declare namespace netFirewall { * * @type {boolean} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ isWildcard: boolean; /** @@ -454,7 +454,7 @@ declare namespace netFirewall { * * @type {string} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ domain: string; } @@ -464,7 +464,7 @@ declare namespace netFirewall { * * @interface NetFirewallDnsParams * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ interface NetFirewallDnsParams { /** @@ -472,7 +472,7 @@ declare namespace netFirewall { * * @type {string} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ primaryDns: string; /** @@ -480,7 +480,7 @@ declare namespace netFirewall { * * @type {?string} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ standbyDns?: string; } @@ -490,7 +490,7 @@ declare namespace netFirewall { * * @interface NetFirewallRule * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ interface NetFirewallRule { /** @@ -498,7 +498,7 @@ declare namespace netFirewall { * * @type {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ userId: number; /** @@ -506,7 +506,7 @@ declare namespace netFirewall { * * @type {string} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ name: string; /** @@ -514,7 +514,7 @@ declare namespace netFirewall { * * @type {NetFirewallRuleDirection} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ direction: NetFirewallRuleDirection; /** @@ -522,7 +522,7 @@ declare namespace netFirewall { * * @type {FirewallRuleAction} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ action: FirewallRuleAction; /** @@ -530,7 +530,7 @@ declare namespace netFirewall { * * @type {NetFirewallRuleType} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ type: NetFirewallRuleType; /** @@ -538,7 +538,7 @@ declare namespace netFirewall { * * @type {boolean} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ isEnabled: boolean; /** @@ -546,7 +546,7 @@ declare namespace netFirewall { * * @type {?number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ id?: number; /** @@ -554,7 +554,7 @@ declare namespace netFirewall { * * @type {?string} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ description?: string; /** @@ -562,7 +562,7 @@ declare namespace netFirewall { * * @type {?number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ appUid?: number; /** @@ -570,7 +570,7 @@ declare namespace netFirewall { * * @type {?Array} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ localIps?: Array; /** @@ -578,7 +578,7 @@ declare namespace netFirewall { * * @type {?Array} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ remoteIps?: Array; /** @@ -586,7 +586,7 @@ declare namespace netFirewall { * * @type {?number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ protocol?: number; /** @@ -594,7 +594,7 @@ declare namespace netFirewall { * * @type {?Array} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ localPorts?: Array; /** @@ -602,7 +602,7 @@ declare namespace netFirewall { * * @type {?Array} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ remotePorts?: Array; /** @@ -610,7 +610,7 @@ declare namespace netFirewall { * * @type {?Array} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ domains?: Array; /** @@ -618,7 +618,7 @@ declare namespace netFirewall { * * @type {?NetFirewallDnsParams} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ dns?: NetFirewallDnsParams; } @@ -629,7 +629,7 @@ declare namespace netFirewall { * @interface InterceptedRecord * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ interface InterceptedRecord { /** @@ -638,7 +638,7 @@ declare namespace netFirewall { * @type {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ time: number; /** @@ -647,7 +647,7 @@ declare namespace netFirewall { * @type {?string} * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ localIp?: string; /** @@ -656,7 +656,7 @@ declare namespace netFirewall { * @type {?string} * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ remoteIp?: string; /** @@ -665,7 +665,7 @@ declare namespace netFirewall { * @type {?number} * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ localPort?: number; /** @@ -674,7 +674,7 @@ declare namespace netFirewall { * @type {?number} * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ remotePort?: number; /** @@ -683,7 +683,7 @@ declare namespace netFirewall { * @type {?number} * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ protocol?: number; /** @@ -692,7 +692,7 @@ declare namespace netFirewall { * @type {?number} * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ appUid?: number; /** @@ -701,7 +701,7 @@ declare namespace netFirewall { * @type {?string} * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ domain?: string; } @@ -711,7 +711,7 @@ declare namespace netFirewall { * * @interface RequestParam * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ interface RequestParam { /** @@ -719,7 +719,7 @@ declare namespace netFirewall { * * @type {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ page: number; /** @@ -727,7 +727,7 @@ declare namespace netFirewall { * * @type {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ pageSize: number; /** @@ -735,7 +735,7 @@ declare namespace netFirewall { * * @type {NetFirewallOrderField} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ orderField: NetFirewallOrderField; /** @@ -743,7 +743,7 @@ declare namespace netFirewall { * * @type {NetFirewallOrderType} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ orderType: NetFirewallOrderType; } @@ -753,7 +753,7 @@ declare namespace netFirewall { * * @interface FirewallRulePage * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ interface FirewallRulePage { /** @@ -761,7 +761,7 @@ declare namespace netFirewall { * * @type {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ page: number; /** @@ -769,7 +769,7 @@ declare namespace netFirewall { * * @type {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ pageSize: number; /** @@ -777,7 +777,7 @@ declare namespace netFirewall { * * @type {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ totalPage: number; /** @@ -785,7 +785,7 @@ declare namespace netFirewall { * * @type {Array } * @syscap SystemCapability.Communication.NetManager.NetFirewall - * @since 15 + * @since 15 dynamic */ data: Array; } @@ -796,7 +796,7 @@ declare namespace netFirewall { * @interface InterceptedRecordPage * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ interface InterceptedRecordPage { /** @@ -805,7 +805,7 @@ declare namespace netFirewall { * @type {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ page: number; /** @@ -814,7 +814,7 @@ declare namespace netFirewall { * @type {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ pageSize: number; /** @@ -823,7 +823,7 @@ declare namespace netFirewall { * @type {number} * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ totalPage: number; /** @@ -832,7 +832,7 @@ declare namespace netFirewall { * @type {Array} * @syscap SystemCapability.Communication.NetManager.NetFirewall * @systemapi Hide this for inner system use. - * @since 14 + * @since 14 dynamic */ data: Array; } diff --git a/api/@ohos.net.networkSecurity.d.ts b/api/@ohos.net.networkSecurity.d.ts index cd8a03b2c7..2effd9e78a 100644 --- a/api/@ohos.net.networkSecurity.d.ts +++ b/api/@ohos.net.networkSecurity.d.ts @@ -24,31 +24,31 @@ import type { AsyncCallback } from './@ohos.base'; * Provides networkSecurity related APIs. * @namespace networkSecurity * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace networkSecurity { /** * Defines the certificate type. * @enum {int} * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export enum CertType { /** * PEM type certificate. * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CERT_TYPE_PEM = 0, /** * DER type certificate. * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ CERT_TYPE_DER = 1 } @@ -57,16 +57,16 @@ declare namespace networkSecurity { * Define the certificate content. * @interface CertBlob * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface CertBlob { /** * Certificate type. * @type { CertType } * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type: CertType; @@ -74,8 +74,8 @@ declare namespace networkSecurity { * Certificate data. * @type {string | ArrayBuffer} * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ data: string | ArrayBuffer; } @@ -130,8 +130,8 @@ declare namespace networkSecurity { * @throws { BusinessError } 2305027 - Certificate is untrusted. * @throws { BusinessError } 2305069 - Invalid certificate verification context. * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export function certVerification(cert: CertBlob, caCert?: CertBlob): Promise; @@ -183,8 +183,8 @@ declare namespace networkSecurity { * @throws { BusinessError } 2305027 - Certificate is untrusted. * @throws { BusinessError } 2305069 - Invalid certificate verification context. * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export function certVerificationSync(cert: CertBlob, caCert?: CertBlob): int; @@ -195,8 +195,8 @@ declare namespace networkSecurity { * @returns { boolean } Returns true if the Cleartext traffic is permitted, else returns false. * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export function isCleartextPermitted(): boolean; @@ -208,8 +208,8 @@ declare namespace networkSecurity { * @returns { boolean } Returns true if the Cleartext traffic is permitted, else returns false. * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export function isCleartextPermittedByHostName(hostName: string): boolean; } diff --git a/api/@ohos.net.policy.d.ts b/api/@ohos.net.policy.d.ts index 2dc613a506..f1549479fb 100644 --- a/api/@ohos.net.policy.d.ts +++ b/api/@ohos.net.policy.d.ts @@ -25,14 +25,14 @@ import type connection from './@ohos.net.connection'; * Provides interfaces to manage network policy rules. * @namespace policy * @syscap SystemCapability.Communication.NetManager.Core - * @since 10 + * @since 10 dynamic */ declare namespace policy { /** * Get network bear type. * @typedef { connection.NetBearType } * @syscap SystemCapability.Communication.NetManager.Core - * @since 10 + * @since 10 dynamic */ type NetBearType = connection.NetBearType; @@ -49,7 +49,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function setBackgroundAllowed(isAllowed: boolean, callback: AsyncCallback): void; @@ -66,7 +66,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function setBackgroundAllowed(isAllowed: boolean): Promise; @@ -82,7 +82,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function isBackgroundAllowed(callback: AsyncCallback): void; @@ -98,7 +98,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function isBackgroundAllowed(): Promise; @@ -115,7 +115,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function getBackgroundPolicyByUid(uid: number, callback: AsyncCallback): void; @@ -132,7 +132,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function getBackgroundPolicyByUid(uid: number): Promise; @@ -150,7 +150,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function setPolicyByUid(uid: number, policy: NetUidPolicy, callback: AsyncCallback): void; @@ -168,7 +168,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function setPolicyByUid(uid: number, policy: NetUidPolicy): Promise; @@ -185,7 +185,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function getPolicyByUid(uid: number, callback: AsyncCallback): void; @@ -202,7 +202,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function getPolicyByUid(uid: number): Promise; @@ -219,7 +219,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function getUidsByPolicy(policy: NetUidPolicy, callback: AsyncCallback>): void; @@ -236,7 +236,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function getUidsByPolicy(policy: NetUidPolicy): Promise>; @@ -254,7 +254,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function isUidNetAllowed(uid: number, isMetered: boolean, callback: AsyncCallback): void; @@ -272,7 +272,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function isUidNetAllowed(uid: number, isMetered: boolean): Promise; @@ -290,7 +290,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function isUidNetAllowed(uid: number, iface: string, callback: AsyncCallback): void; @@ -308,7 +308,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function isUidNetAllowed(uid: number, iface: string): Promise; @@ -325,7 +325,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function setNetQuotaPolicies(quotaPolicies: Array, callback: AsyncCallback): void; @@ -342,7 +342,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function setNetQuotaPolicies(quotaPolicies: Array): Promise; @@ -358,7 +358,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function getNetQuotaPolicies(callback: AsyncCallback>): void; @@ -373,7 +373,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function getNetQuotaPolicies(): Promise>; @@ -392,7 +392,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function updateRemindPolicy(netType: NetBearType, simId: string, remindType: RemindType, callback: AsyncCallback): void; @@ -411,7 +411,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function updateRemindPolicy(netType: NetBearType, simId: string, remindType: RemindType): Promise; @@ -429,7 +429,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function setDeviceIdleTrustlist(uids: Array, isAllowed: boolean, callback: AsyncCallback): void; @@ -447,7 +447,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function setDeviceIdleTrustlist(uids: Array, isAllowed: boolean): Promise; @@ -463,7 +463,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function getDeviceIdleTrustlist(callback: AsyncCallback>): void; @@ -478,7 +478,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function getDeviceIdleTrustlist(): Promise>; @@ -496,7 +496,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function setPowerSaveTrustlist(uids: Array, isAllowed: boolean, callback: AsyncCallback): void; @@ -514,7 +514,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function setPowerSaveTrustlist(uids: Array, isAllowed: boolean): Promise; @@ -530,7 +530,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function getPowerSaveTrustlist(callback: AsyncCallback>): void; @@ -545,7 +545,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function getPowerSaveTrustlist(): Promise>; @@ -562,7 +562,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function resetPolicies(simId: string, callback: AsyncCallback): void; @@ -579,7 +579,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function resetPolicies(simId: string): Promise; @@ -599,7 +599,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ function setNetworkAccessPolicy(uid: number, policy: NetworkAccessPolicy, isReconfirmed?: boolean): Promise; @@ -617,7 +617,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ function getNetworkAccessPolicy(uid: number): Promise; @@ -631,7 +631,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ function getNetworkAccessPolicy(): Promise; @@ -663,7 +663,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function on(type: 'netUidPolicyChange', callback: Callback): void; @@ -695,7 +695,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function off(type: 'netUidPolicyChange', callback?: Callback): void; @@ -727,7 +727,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function on(type: 'netUidRuleChange', callback: Callback): void; @@ -759,7 +759,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function off(type: 'netUidRuleChange', callback?: Callback): void; @@ -776,7 +776,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function on(type: 'netMeteredIfacesChange', callback: Callback>): void; @@ -793,7 +793,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function off(type: 'netMeteredIfacesChange', callback?: Callback>): void; @@ -810,7 +810,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function on(type: 'netQuotaPolicyChange', callback: Callback>): void; @@ -827,7 +827,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function off(type: 'netQuotaPolicyChange', callback?: Callback>): void; @@ -844,7 +844,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function on(type: 'netBackgroundPolicyChange', callback: Callback): void; @@ -861,7 +861,7 @@ declare namespace policy { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function off(type: 'netBackgroundPolicyChange', callback?: Callback): void; @@ -870,14 +870,14 @@ declare namespace policy { * @enum {number} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ export enum NetBackgroundPolicy { /** * Default value. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ NET_BACKGROUND_POLICY_NONE = 0, @@ -885,7 +885,7 @@ declare namespace policy { * Apps can use metered networks on background. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ NET_BACKGROUND_POLICY_ENABLE = 1, @@ -893,7 +893,7 @@ declare namespace policy { * Apps can't use metered networks on background. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ NET_BACKGROUND_POLICY_DISABLE = 2, @@ -901,7 +901,7 @@ declare namespace policy { * Only apps in trustlist can use metered networks on background. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ NET_BACKGROUND_POLICY_TRUSTLIST = 3, } @@ -911,7 +911,7 @@ declare namespace policy { * @interface NetQuotaPolicy * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ export interface NetQuotaPolicy { /** @@ -919,7 +919,7 @@ declare namespace policy { * @type {NetworkMatchRule} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ networkMatchRule: NetworkMatchRule; @@ -928,7 +928,7 @@ declare namespace policy { * @type {QuotaPolicy} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ quotaPolicy: QuotaPolicy; } @@ -938,7 +938,7 @@ declare namespace policy { * @interface QuotaPolicy * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ export interface QuotaPolicy { /** @@ -946,7 +946,7 @@ declare namespace policy { * @type {string} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ periodDuration: string; @@ -955,7 +955,7 @@ declare namespace policy { * @type {number} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ warningBytes: number; @@ -964,7 +964,7 @@ declare namespace policy { * @type {number} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ limitBytes: number; @@ -973,7 +973,7 @@ declare namespace policy { * @type {boolean} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ metered: boolean; @@ -982,7 +982,7 @@ declare namespace policy { * @type {LimitAction} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ limitAction: LimitAction; @@ -991,7 +991,7 @@ declare namespace policy { * @type {?number} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ lastWarningRemind?: number; @@ -1000,7 +1000,7 @@ declare namespace policy { * @type {?number} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ lastLimitRemind?: number; } @@ -1010,7 +1010,7 @@ declare namespace policy { * @interface NetworkMatchRule * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ export interface NetworkMatchRule { /** @@ -1018,7 +1018,7 @@ declare namespace policy { * @type {NetBearType} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ netType: NetBearType; @@ -1027,7 +1027,7 @@ declare namespace policy { * @type {string} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ identity: string; @@ -1036,7 +1036,7 @@ declare namespace policy { * @type {string} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ simId: string; } @@ -1046,7 +1046,7 @@ declare namespace policy { * @interface NetUidRuleInfo * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ export interface NetUidRuleInfo { /** @@ -1054,7 +1054,7 @@ declare namespace policy { * @type { number } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ uid: number; /** @@ -1062,7 +1062,7 @@ declare namespace policy { * @type { NetUidRule } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ rule: NetUidRule; } @@ -1072,7 +1072,7 @@ declare namespace policy { * @interface NetUidPolicyInfo * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ export interface NetUidPolicyInfo { /** @@ -1080,7 +1080,7 @@ declare namespace policy { * @type { number } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ uid: number; /** @@ -1088,7 +1088,7 @@ declare namespace policy { * @type { NetUidPolicy } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ policy: NetUidPolicy; } @@ -1098,14 +1098,14 @@ declare namespace policy { * @enum {number} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ export enum LimitAction { /** * Default action, do nothing. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ LIMIT_ACTION_NONE = -1, @@ -1113,7 +1113,7 @@ declare namespace policy { * When the quota policy reaches the limit, the system prohibits users from accessing the network. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ LIMIT_ACTION_ACCESS_DISABLED = 0, @@ -1121,7 +1121,7 @@ declare namespace policy { * When the quota policy reaches the upper limit, the system notifies the user. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ LIMIT_ACTION_ALERT_ONLY = 1, } @@ -1131,14 +1131,14 @@ declare namespace policy { * @enum {number} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ export enum NetUidRule { /** * Default uid rule. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ NET_RULE_NONE = 0, @@ -1146,7 +1146,7 @@ declare namespace policy { * Allow traffic on metered networks while app is foreground. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ NET_RULE_ALLOW_METERED_FOREGROUND = 1 << 0, @@ -1154,7 +1154,7 @@ declare namespace policy { * Allow traffic on metered network. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ NET_RULE_ALLOW_METERED = 1 << 1, @@ -1162,7 +1162,7 @@ declare namespace policy { * Reject traffic on metered network. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ NET_RULE_REJECT_METERED = 1 << 2, @@ -1170,7 +1170,7 @@ declare namespace policy { * Allow traffic on all network (metered or non-metered). * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ NET_RULE_ALLOW_ALL = 1 << 5, @@ -1178,7 +1178,7 @@ declare namespace policy { * Reject traffic on all network. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ NET_RULE_REJECT_ALL = 1 << 6, } @@ -1188,14 +1188,14 @@ declare namespace policy { * @enum {number} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ export enum RemindType { /** * Warning alerts when the limit is reached. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ REMIND_TYPE_WARNING = 1, @@ -1203,7 +1203,7 @@ declare namespace policy { * Limit alerts when the limit is reached. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ REMIND_TYPE_LIMIT = 2, } @@ -1213,14 +1213,14 @@ declare namespace policy { * @enum {number} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ export enum NetUidPolicy { /** * Default net policy. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ NET_POLICY_NONE = 0, @@ -1228,7 +1228,7 @@ declare namespace policy { * Allow on metered networks when app in background. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ NET_POLICY_ALLOW_METERED_BACKGROUND = 1 << 0, @@ -1236,7 +1236,7 @@ declare namespace policy { * Reject on metered networks when app in background. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ NET_POLICY_REJECT_METERED_BACKGROUND = 1 << 1, } @@ -1246,7 +1246,7 @@ declare namespace policy { * @interface NetworkAccessPolicy * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ export interface NetworkAccessPolicy { /** @@ -1254,7 +1254,7 @@ declare namespace policy { * @type { ?boolean } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ allowWiFi?: boolean; /** @@ -1262,7 +1262,7 @@ declare namespace policy { * @type { ?boolean } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ allowCellular?: boolean; /** @@ -1270,7 +1270,7 @@ declare namespace policy { * @type { ?boolean } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 18 + * @since 18 dynamic */ alwaysAllowWiFi?: boolean; /** @@ -1278,7 +1278,7 @@ declare namespace policy { * @type { ?boolean } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 18 + * @since 18 dynamic */ alwaysAllowCellular?: boolean; } @@ -1288,14 +1288,14 @@ declare namespace policy { * @interface UidNetworkAccessPolicy * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ export interface UidNetworkAccessPolicy { /** * @type key:value pair. Key indicates the specified UID of an application. For value, see @NetworkAccessPolicy. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ [uid: string]: NetworkAccessPolicy; } diff --git a/api/@ohos.net.sharing.d.ts b/api/@ohos.net.sharing.d.ts index 01c43106da..338fbcacfc 100644 --- a/api/@ohos.net.sharing.d.ts +++ b/api/@ohos.net.sharing.d.ts @@ -25,16 +25,16 @@ import type connection from './@ohos.net.connection'; * Provides network sharing related interfaces. * @namespace sharing * @syscap SystemCapability.Communication.NetManager.NetSharing - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace sharing { /** * Get the handle of the data network. * @typedef { connection.NetHandle } * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ type NetHandle = connection.NetHandle; @@ -50,8 +50,8 @@ declare namespace sharing { * @throws { BusinessError } 2202011 - Cannot get network sharing configuration. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isSharingSupported(callback: AsyncCallback): void; @@ -66,8 +66,8 @@ declare namespace sharing { * @throws { BusinessError } 2202011 - Cannot get network sharing configuration. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isSharingSupported(): Promise; @@ -83,8 +83,8 @@ declare namespace sharing { * @throws { BusinessError } 2202011 - Cannot get network sharing configuration. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isSharing(callback: AsyncCallback): void; @@ -99,8 +99,8 @@ declare namespace sharing { * @throws { BusinessError } 2202011 - Cannot get network sharing configuration. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isSharing(): Promise; @@ -122,8 +122,8 @@ declare namespace sharing { * @throws { BusinessError } 2202011 - Cannot get network sharing configuration. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function startSharing(type: SharingIfaceType, callback: AsyncCallback): void; @@ -145,8 +145,8 @@ declare namespace sharing { * @throws { BusinessError } 2202011 - Cannot get network sharing configuration. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function startSharing(type: SharingIfaceType): Promise; @@ -167,8 +167,8 @@ declare namespace sharing { * @throws { BusinessError } 2202011 - Cannot get network sharing configuration. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function stopSharing(type: SharingIfaceType, callback: AsyncCallback): void; @@ -189,8 +189,8 @@ declare namespace sharing { * @throws { BusinessError } 2202011 - Cannot get network sharing configuration. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function stopSharing(type: SharingIfaceType): Promise; @@ -205,8 +205,8 @@ declare namespace sharing { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getStatsRxBytes(callback: AsyncCallback): void; @@ -220,8 +220,8 @@ declare namespace sharing { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getStatsRxBytes(): Promise; @@ -236,8 +236,8 @@ declare namespace sharing { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getStatsTxBytes(callback: AsyncCallback): void; @@ -251,8 +251,8 @@ declare namespace sharing { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getStatsTxBytes(): Promise; @@ -267,8 +267,8 @@ declare namespace sharing { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getStatsTotalBytes(callback: AsyncCallback): void; @@ -282,8 +282,8 @@ declare namespace sharing { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getStatsTotalBytes(): Promise; @@ -300,8 +300,8 @@ declare namespace sharing { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback>): void; @@ -318,8 +318,8 @@ declare namespace sharing { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSharingIfaces(state: SharingIfaceState): Promise>; @@ -336,8 +336,8 @@ declare namespace sharing { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSharingState(type: SharingIfaceType, callback: AsyncCallback): void; @@ -354,8 +354,8 @@ declare namespace sharing { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSharingState(type: SharingIfaceType): Promise; @@ -372,8 +372,8 @@ declare namespace sharing { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback>): void; @@ -390,8 +390,8 @@ declare namespace sharing { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSharableRegexes(type: SharingIfaceType): Promise>; @@ -405,8 +405,8 @@ declare namespace sharing { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function on(type: 'sharingStateChange', callback: Callback): void; @@ -420,8 +420,8 @@ declare namespace sharing { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off(type: 'sharingStateChange', callback?: Callback): void; @@ -447,8 +447,8 @@ declare namespace sharing { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function on(type: 'interfaceSharingStateChange', callback: Callback): void; @@ -474,8 +474,8 @@ declare namespace sharing { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function off(type: 'interfaceSharingStateChange', callback?: Callback): void; @@ -489,8 +489,8 @@ declare namespace sharing { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function on(type: 'sharingUpstreamChange', callback: Callback): void; @@ -504,8 +504,8 @@ declare namespace sharing { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off(type: 'sharingUpstreamChange', callback?: Callback): void; @@ -514,16 +514,16 @@ declare namespace sharing { * @enum {int} * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum SharingIfaceState { /** * Indicates the names of the NICs that are serving as network sharing. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SHARING_NIC_SERVING = 1, @@ -531,8 +531,8 @@ declare namespace sharing { * Indicates the names of the NICs that can serve as network sharing. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SHARING_NIC_CAN_SERVER = 2, @@ -540,8 +540,8 @@ declare namespace sharing { * Indicates the names of the NICs that serving error. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SHARING_NIC_ERROR = 3 } @@ -551,8 +551,8 @@ declare namespace sharing { * @interface InterfaceSharingStateInfo * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface InterfaceSharingStateInfo { /** @@ -560,8 +560,8 @@ declare namespace sharing { * @type { SharingIfaceType } * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type: SharingIfaceType; /** @@ -569,8 +569,8 @@ declare namespace sharing { * @type { string } * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ iface: string; /** @@ -578,8 +578,8 @@ declare namespace sharing { * @type { SharingIfaceState } * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ state: SharingIfaceState; } @@ -589,16 +589,16 @@ declare namespace sharing { * @enum {int} * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum SharingIfaceType { /** * Network sharing type for Wi-Fi. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SHARING_WIFI = 0, @@ -606,8 +606,8 @@ declare namespace sharing { * Network sharing type for USB. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SHARING_USB = 1, @@ -615,8 +615,8 @@ declare namespace sharing { * Network sharing type for BLUETOOTH. * @syscap SystemCapability.Communication.NetManager.NetSharing * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ SHARING_BLUETOOTH = 2 } diff --git a/api/@ohos.net.socket.d.ts b/api/@ohos.net.socket.d.ts index df3a30f810..4aaccfa450 100644 --- a/api/@ohos.net.socket.d.ts +++ b/api/@ohos.net.socket.d.ts @@ -33,7 +33,7 @@ import type cert from './@ohos.security.cert'; * @namespace socket * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ declare namespace socket { export import NetAddress = connection.NetAddress; @@ -47,7 +47,7 @@ declare namespace socket { * @typedef { cert.EncodingBlob } * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export type X509CertRawData = cert.EncodingBlob; @@ -62,7 +62,7 @@ declare namespace socket { * @returns { UDPSocket } the UDPSocket of the constructUDPSocketInstance. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ function constructUDPSocketInstance(): UDPSocket; @@ -77,7 +77,7 @@ declare namespace socket { * @returns { MulticastSocket } the MulticastSocket of the constructMulticastSocketInstance. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ function constructMulticastSocketInstance(): MulticastSocket; @@ -92,7 +92,7 @@ declare namespace socket { * @returns { TCPSocket } the TCPSocket of the constructTCPSocketInstance. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ function constructTCPSocketInstance(): TCPSocket; @@ -107,7 +107,7 @@ declare namespace socket { * @returns { TLSSocket } the TLSSocket of the constructTLSSocketInstance. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ function constructTLSSocketInstance(): TLSSocket; @@ -120,7 +120,7 @@ declare namespace socket { * @throws { BusinessError } 2303601 - Invalid socket FD. * @throws { BusinessError } 2303602 - Socket is not connected. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ function constructTLSSocketInstance(tcpSocket: TCPSocket): TLSSocket; @@ -128,7 +128,7 @@ declare namespace socket { * Creates a TCPSocketServer object. * @returns { TCPSocketServer } the TCPSocketServer of the constructTCPSocketServerInstance. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ function constructTCPSocketServerInstance(): TCPSocketServer; @@ -136,7 +136,7 @@ declare namespace socket { * Creates a TLSSocketServer object. * @returns { TLSSocketServer } the TLSSocketServer of the constructTLSSocketServerInstance. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ function constructTLSSocketServerInstance(): TLSSocketServer; @@ -151,7 +151,7 @@ declare namespace socket { * @returns { LocalSocket } the LocalSocket of the constructLocalSocketInstance. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ function constructLocalSocketInstance(): LocalSocket; @@ -166,7 +166,7 @@ declare namespace socket { * @returns { LocalSocketServer } the LocalSocketServer of the constructLocalSocketServerInstance. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ function constructLocalSocketServerInstance(): LocalSocketServer; @@ -181,7 +181,7 @@ declare namespace socket { * @interface UDPSendOptions * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export interface UDPSendOptions { /** @@ -195,7 +195,7 @@ declare namespace socket { * @type {string | ArrayBuffer} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ data: string | ArrayBuffer; @@ -210,7 +210,7 @@ declare namespace socket { * @type {NetAddress} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ address: NetAddress; @@ -219,7 +219,7 @@ declare namespace socket { * @type {?ProxyOptions} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ proxy?: ProxyOptions; } @@ -229,14 +229,14 @@ declare namespace socket { * @enum {number} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ export enum ProxyTypes { /** * No proxy. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ NONE = 0, @@ -244,7 +244,7 @@ declare namespace socket { * Use Socks5 proxy. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ SOCKS5 = 1 } @@ -254,7 +254,7 @@ declare namespace socket { * @interface ProxyOptions * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ export interface ProxyOptions { /** @@ -262,7 +262,7 @@ declare namespace socket { * @type {ProxyTypes} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ type: ProxyTypes; @@ -271,7 +271,7 @@ declare namespace socket { * @type {NetAddress} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ address: NetAddress; @@ -280,7 +280,7 @@ declare namespace socket { * @type {?string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ username?: string; @@ -289,7 +289,7 @@ declare namespace socket { * @type {?string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ password?: string; } @@ -303,7 +303,7 @@ declare namespace socket { * @interface ExtraOptionsBase * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export interface ExtraOptionsBase { /** @@ -317,7 +317,7 @@ declare namespace socket { * @type {?number} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ receiveBufferSize?: number; @@ -332,7 +332,7 @@ declare namespace socket { * @type {?number} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ sendBufferSize?: number; @@ -347,7 +347,7 @@ declare namespace socket { * @type {?boolean} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ reuseAddress?: boolean; @@ -362,7 +362,7 @@ declare namespace socket { * @type {?number} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ socketTimeout?: number; } @@ -379,7 +379,7 @@ declare namespace socket { * @interface UDPExtraOptions * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export interface UDPExtraOptions extends ExtraOptionsBase { /** @@ -393,7 +393,7 @@ declare namespace socket { * @type {?boolean} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ broadcast?: boolean; } @@ -409,7 +409,7 @@ declare namespace socket { * @interface SocketStateBase * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export interface SocketStateBase { /** @@ -423,7 +423,7 @@ declare namespace socket { * @type {boolean} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ isBound: boolean; @@ -438,7 +438,7 @@ declare namespace socket { * @type {boolean} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ isClose: boolean; @@ -453,7 +453,7 @@ declare namespace socket { * @type {boolean} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ isConnected: boolean; } @@ -469,7 +469,7 @@ declare namespace socket { * @interface SocketRemoteInfo * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export interface SocketRemoteInfo { /** @@ -483,7 +483,7 @@ declare namespace socket { * @type {string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ address: string; @@ -498,7 +498,7 @@ declare namespace socket { * @type {'IPv4' | 'IPv6'} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ family: 'IPv4' | 'IPv6'; @@ -513,7 +513,7 @@ declare namespace socket { * @type {number} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ port: number; @@ -528,7 +528,7 @@ declare namespace socket { * @type {number} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ size: number; } @@ -544,7 +544,7 @@ declare namespace socket { * @interface LocalSocketMessageInfo * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ export interface LocalSocketMessageInfo { /** @@ -558,7 +558,7 @@ declare namespace socket { * @type {ArrayBuffer} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ message: ArrayBuffer; @@ -573,7 +573,7 @@ declare namespace socket { * @type {string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ address: string; @@ -588,7 +588,7 @@ declare namespace socket { * @type {number} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ size: number; } @@ -604,7 +604,7 @@ declare namespace socket { * @interface LocalAddress * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ export interface LocalAddress { /** @@ -618,7 +618,7 @@ declare namespace socket { * @type {string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ address: string; } @@ -634,7 +634,7 @@ declare namespace socket { * @interface LocalConnectOptions * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ export interface LocalConnectOptions { /** @@ -648,7 +648,7 @@ declare namespace socket { * @type {LocalAddress} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ address: LocalAddress; @@ -663,7 +663,7 @@ declare namespace socket { * @type {?number} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ timeout?: number; } @@ -679,7 +679,7 @@ declare namespace socket { * @interface LocalSendOptions * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ export interface LocalSendOptions { /** @@ -693,7 +693,7 @@ declare namespace socket { * @type {string | ArrayBuffer} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ data: string | ArrayBuffer; @@ -708,7 +708,7 @@ declare namespace socket { * @type {?string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ encoding?: string; } @@ -724,7 +724,7 @@ declare namespace socket { * @interface UDPSocket * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export interface UDPSocket { /** @@ -746,7 +746,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ bind(address: NetAddress, callback: AsyncCallback): void; @@ -769,7 +769,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ bind(address: NetAddress): Promise; @@ -780,7 +780,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ getLocalAddress(): Promise; @@ -822,7 +822,7 @@ declare namespace socket { * @throws { BusinessError } 2301213 - Socks5 deserialization error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ send(options: UDPSendOptions, callback: AsyncCallback): void; @@ -864,7 +864,7 @@ declare namespace socket { * @throws { BusinessError } 2301213 - Socks5 deserialization error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ send(options: UDPSendOptions): Promise; @@ -883,7 +883,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ close(callback: AsyncCallback): void; @@ -902,7 +902,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ close(): Promise; @@ -921,7 +921,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getState(callback: AsyncCallback): void; @@ -940,7 +940,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getState(): Promise; @@ -963,7 +963,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ setExtraOptions(options: UDPExtraOptions, callback: AsyncCallback): void; @@ -986,7 +986,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ setExtraOptions(options: UDPExtraOptions): Promise; @@ -1011,7 +1011,7 @@ declare namespace socket { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 11 + * @since 11 dynamic */ on(type: 'message', callback: Callback): void; @@ -1036,7 +1036,7 @@ declare namespace socket { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 11 + * @since 11 dynamic */ off(type: 'message', callback?: Callback): void; @@ -1053,7 +1053,7 @@ declare namespace socket { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ on(type: 'listening' | 'close', callback: Callback): void; @@ -1070,7 +1070,7 @@ declare namespace socket { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ off(type: 'listening' | 'close', callback?: Callback): void; @@ -1087,7 +1087,7 @@ declare namespace socket { * @param { ErrorCallback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ on(type: 'error', callback: ErrorCallback): void; @@ -1104,7 +1104,7 @@ declare namespace socket { * @param { ErrorCallback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ off(type: 'error', callback?: ErrorCallback): void; } @@ -1121,7 +1121,7 @@ declare namespace socket { * @interface MulticastSocket * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ export interface MulticastSocket extends UDPSocket { /** @@ -1149,7 +1149,7 @@ declare namespace socket { * @throws { BusinessError } 2301098 - Address in use. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ addMembership(multicastAddress: NetAddress, callback: AsyncCallback): void; @@ -1176,7 +1176,7 @@ declare namespace socket { * @throws { BusinessError } 2301098 - Address in use. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ addMembership(multicastAddress: NetAddress): Promise; @@ -1203,7 +1203,7 @@ declare namespace socket { * @throws { BusinessError } 2301098 - Address in use. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ dropMembership(multicastAddress: NetAddress, callback: AsyncCallback): void; @@ -1230,7 +1230,7 @@ declare namespace socket { * @throws { BusinessError } 2301098 - Address in use. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ dropMembership(multicastAddress: NetAddress): Promise; @@ -1253,7 +1253,7 @@ declare namespace socket { * @throws { BusinessError } 2301088 - Not a socket. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ setMulticastTTL(ttl: number, callback: AsyncCallback): void; @@ -1276,7 +1276,7 @@ declare namespace socket { * @throws { BusinessError } 2301088 - Not a socket. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ setMulticastTTL(ttl: number): Promise; @@ -1295,7 +1295,7 @@ declare namespace socket { * @throws { BusinessError } 2301088 - Not a socket. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ getMulticastTTL(callback: AsyncCallback): void; @@ -1314,7 +1314,7 @@ declare namespace socket { * @throws { BusinessError } 2301088 - Not a socket. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ getMulticastTTL(): Promise; @@ -1335,7 +1335,7 @@ declare namespace socket { * @throws { BusinessError } 2301088 - Not a socket. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ setLoopbackMode(flag: boolean, callback: AsyncCallback): void; @@ -1356,7 +1356,7 @@ declare namespace socket { * @throws { BusinessError } 2301088 - Not a socket. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ setLoopbackMode(flag: boolean): Promise; @@ -1375,7 +1375,7 @@ declare namespace socket { * @throws { BusinessError } 2301088 - Not a socket. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ getLoopbackMode(callback: AsyncCallback): void; @@ -1394,7 +1394,7 @@ declare namespace socket { * @throws { BusinessError } 2301088 - Not a socket. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ getLoopbackMode(): Promise; } @@ -1410,7 +1410,7 @@ declare namespace socket { * @interface LocalSocket * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ export interface LocalSocket { /** @@ -1434,7 +1434,7 @@ declare namespace socket { * @throws { BusinessError } 2301098 - Address already in use. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ bind(address: LocalAddress): Promise; @@ -1461,7 +1461,7 @@ declare namespace socket { * @throws { BusinessError } 2301099 - Cannot assign requested address. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ connect(options: LocalConnectOptions): Promise; @@ -1482,7 +1482,7 @@ declare namespace socket { * @throws { BusinessError } 2301011 - Operation would block. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ send(options: LocalSendOptions): Promise; @@ -1499,7 +1499,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ close(): Promise; @@ -1514,7 +1514,7 @@ declare namespace socket { * @returns { Promise } The promise returned by the function. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ getState(): Promise; @@ -1529,7 +1529,7 @@ declare namespace socket { * @returns { Promise } The promise returns the file descriptor of the LocalSocket connection. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ getSocketFd(): Promise; @@ -1550,7 +1550,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ setExtraOptions(options: ExtraOptionsBase): Promise; @@ -1567,7 +1567,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ getExtraOptions(): Promise; @@ -1578,7 +1578,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ getLocalAddress(): Promise; @@ -1597,7 +1597,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ on(type: 'message', callback: Callback): void; @@ -1616,7 +1616,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ off(type: 'message', callback?: Callback): void; @@ -1635,7 +1635,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ on(type: 'connect', callback: Callback): void; @@ -1654,7 +1654,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ off(type: 'connect', callback?: Callback): void; @@ -1673,7 +1673,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ on(type: 'close', callback: Callback): void; @@ -1692,7 +1692,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ off(type: 'close', callback?: Callback): void; @@ -1711,7 +1711,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ on(type: 'error', callback: ErrorCallback): void; @@ -1730,7 +1730,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ off(type: 'error', callback?: ErrorCallback): void; } @@ -1746,7 +1746,7 @@ declare namespace socket { * @interface LocalSocketConnection * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ export interface LocalSocketConnection { /** @@ -1760,7 +1760,7 @@ declare namespace socket { * @type {number} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ clientId: number; @@ -1781,7 +1781,7 @@ declare namespace socket { * @throws { BusinessError } 2301011 - Operation would block. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ send(options: LocalSendOptions): Promise; @@ -1798,7 +1798,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ close(): Promise; @@ -1809,7 +1809,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ getLocalAddress(): Promise; @@ -1828,7 +1828,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ on(type: 'message', callback: Callback): void; @@ -1847,7 +1847,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ off(type: 'message', callback?: Callback): void; @@ -1866,7 +1866,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ on(type: 'close', callback: Callback): void; @@ -1885,7 +1885,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ off(type: 'close', callback?: Callback): void; @@ -1904,7 +1904,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ on(type: 'error', callback: ErrorCallback): void; @@ -1923,7 +1923,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ off(type: 'error', callback?: ErrorCallback): void; } @@ -1939,7 +1939,7 @@ declare namespace socket { * @interface LocalSocketServer * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ export interface LocalSocketServer { /** @@ -1969,7 +1969,7 @@ declare namespace socket { * @throws { BusinessError } 2301098 - Address already in use. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ listen(address: LocalAddress): Promise; @@ -1984,7 +1984,7 @@ declare namespace socket { * @returns { Promise } The promise returned by the function. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ getState(): Promise; @@ -2005,7 +2005,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ setExtraOptions(options: ExtraOptionsBase): Promise; @@ -2022,7 +2022,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ getExtraOptions(): Promise; @@ -2033,7 +2033,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ getLocalAddress(): Promise; @@ -2052,7 +2052,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ on(type: 'connect', callback: Callback): void; @@ -2071,7 +2071,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ off(type: 'connect', callback?: Callback): void; @@ -2090,7 +2090,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ on(type: 'error', callback: ErrorCallback): void; @@ -2109,7 +2109,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ off(type: 'error', callback?: ErrorCallback): void; } @@ -2125,7 +2125,7 @@ declare namespace socket { * @interface TCPConnectOptions * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export interface TCPConnectOptions { /** @@ -2139,7 +2139,7 @@ declare namespace socket { * @type { NetAddress } * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ address: NetAddress; @@ -2154,7 +2154,7 @@ declare namespace socket { * @type { ?number } * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ timeout?: number; @@ -2163,7 +2163,7 @@ declare namespace socket { * @type {?ProxyOptions} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ proxy?: ProxyOptions; } @@ -2179,7 +2179,7 @@ declare namespace socket { * @interface TCPSendOptions * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export interface TCPSendOptions { /** @@ -2193,7 +2193,7 @@ declare namespace socket { * @type { string | ArrayBuffer } * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ data: string | ArrayBuffer; @@ -2208,7 +2208,7 @@ declare namespace socket { * @type { ?string } * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ encoding?: string; } @@ -2225,7 +2225,7 @@ declare namespace socket { * @interface TCPExtraOptions * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export interface TCPExtraOptions extends ExtraOptionsBase { /** @@ -2239,7 +2239,7 @@ declare namespace socket { * @type { ?boolean } * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ keepAlive?: boolean; @@ -2254,7 +2254,7 @@ declare namespace socket { * @type { ?boolean } * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ OOBInline?: boolean; @@ -2269,7 +2269,7 @@ declare namespace socket { * @type { ?boolean } * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ TCPNoDelay?: boolean; @@ -2285,7 +2285,7 @@ declare namespace socket { * @type { ?object } * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ socketLinger?: { on: boolean, linger: number }; } @@ -2301,7 +2301,7 @@ declare namespace socket { * @interface TCPSocket * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export interface TCPSocket { /** @@ -2323,7 +2323,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ bind(address: NetAddress, callback: AsyncCallback): void; @@ -2346,7 +2346,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ bind(address: NetAddress): Promise; @@ -2388,7 +2388,7 @@ declare namespace socket { * @throws { BusinessError } 2301213 - Socks5 deserialization error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ connect(options: TCPConnectOptions, callback: AsyncCallback): void; @@ -2430,7 +2430,7 @@ declare namespace socket { * @throws { BusinessError } 2301213 - Socks5 deserialization error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ connect(options: TCPConnectOptions): Promise; @@ -2453,7 +2453,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ send(options: TCPSendOptions, callback: AsyncCallback): void; @@ -2476,7 +2476,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ send(options: TCPSendOptions): Promise; @@ -2495,7 +2495,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ close(callback: AsyncCallback): void; @@ -2514,7 +2514,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ close(): Promise; @@ -2533,7 +2533,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getRemoteAddress(callback: AsyncCallback): void; @@ -2552,7 +2552,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getRemoteAddress(): Promise; @@ -2571,7 +2571,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getState(callback: AsyncCallback): void; @@ -2590,7 +2590,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getState(): Promise; @@ -2598,7 +2598,7 @@ declare namespace socket { * Obtains the file descriptor of the TCPSocket connection. * @param { AsyncCallback } callback - The callback returns the file descriptor of the TCPSocket connection. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getSocketFd(callback: AsyncCallback): void; @@ -2606,7 +2606,7 @@ declare namespace socket { * Obtains the file descriptor of the TCPSocket connection. * @returns { Promise } The promise returns the file descriptor of the TCPSocket connection. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getSocketFd(): Promise; @@ -2629,7 +2629,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback): void; @@ -2652,7 +2652,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ setExtraOptions(options: TCPExtraOptions): Promise; @@ -2663,7 +2663,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ getLocalAddress(): Promise; @@ -2688,7 +2688,7 @@ declare namespace socket { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 11 + * @since 11 dynamic */ on(type: 'message', callback: Callback): void; @@ -2713,7 +2713,7 @@ declare namespace socket { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 11 + * @since 11 dynamic */ off(type: 'message', callback?: Callback): void; @@ -2731,7 +2731,7 @@ declare namespace socket { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ on(type: 'connect' | 'close', callback: Callback): void; @@ -2748,7 +2748,7 @@ declare namespace socket { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ off(type: 'connect' | 'close', callback?: Callback): void; @@ -2765,7 +2765,7 @@ declare namespace socket { * @param { ErrorCallback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ on(type: 'error', callback: ErrorCallback): void; @@ -2782,7 +2782,7 @@ declare namespace socket { * @param { ErrorCallback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ off(type: 'error', callback?: ErrorCallback): void; } @@ -2798,7 +2798,7 @@ declare namespace socket { * @interface TLSSocket * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export interface TLSSocket { /** @@ -2824,7 +2824,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ bind(address: NetAddress, callback: AsyncCallback): void; @@ -2851,7 +2851,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ bind(address: NetAddress): Promise; @@ -2870,7 +2870,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getRemoteAddress(callback: AsyncCallback): void; @@ -2889,7 +2889,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getRemoteAddress(): Promise; @@ -2908,7 +2908,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getState(callback: AsyncCallback): void; @@ -2927,7 +2927,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getState(): Promise; @@ -2950,7 +2950,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback): void; @@ -2973,7 +2973,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ setExtraOptions(options: TCPExtraOptions): Promise; @@ -2984,7 +2984,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ getLocalAddress(): Promise; @@ -3012,7 +3012,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 11 + * @since 11 dynamic */ on(type: 'message', callback: Callback): void; @@ -3040,7 +3040,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 11 + * @since 11 dynamic */ off(type: 'message', callback?: Callback): void; @@ -3059,7 +3059,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ on(type: 'connect' | 'close', callback: Callback): void; @@ -3078,7 +3078,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ off(type: 'connect' | 'close', callback?: Callback): void; @@ -3097,7 +3097,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ on(type: 'error', callback: ErrorCallback): void; @@ -3116,7 +3116,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ off(type: 'error', callback?: ErrorCallback): void; @@ -3137,7 +3137,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getCertificate(callback: AsyncCallback): void; @@ -3158,7 +3158,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getCertificate(): Promise; @@ -3181,7 +3181,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getRemoteCertificate(callback: AsyncCallback): void; @@ -3204,7 +3204,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getRemoteCertificate(): Promise; @@ -3229,7 +3229,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getProtocol(callback: AsyncCallback): void; @@ -3254,7 +3254,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getProtocol(): Promise; @@ -3279,7 +3279,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getCipherSuite(callback: AsyncCallback>): void; @@ -3304,7 +3304,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getCipherSuite(): Promise>; @@ -3325,7 +3325,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getSignatureAlgorithms(callback: AsyncCallback>): void; @@ -3346,7 +3346,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ getSignatureAlgorithms(): Promise>; @@ -3354,7 +3354,7 @@ declare namespace socket { * Obtains the file descriptor of the TLSSocket connection. * @returns { Promise } The promise returns the file descriptor of the TLSSocket connection. * @syscap SystemCapability.Communication.NetStack - * @since 16 + * @since 16 dynamic */ getSocketFd(): Promise; @@ -3435,7 +3435,7 @@ declare namespace socket { * @throws { BusinessError } 2301213 - Socks5 deserialization error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ connect(options: TLSConnectOptions, callback: AsyncCallback): void; @@ -3516,7 +3516,7 @@ declare namespace socket { * @throws { BusinessError } 2301213 - Socks5 deserialization error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ connect(options: TLSConnectOptions): Promise; @@ -3559,7 +3559,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ send(data: string | ArrayBuffer, callback: AsyncCallback): void; @@ -3602,7 +3602,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ send(data: string | ArrayBuffer): Promise; @@ -3627,7 +3627,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ close(callback: AsyncCallback): void; @@ -3652,7 +3652,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ close(): Promise; } @@ -3668,7 +3668,7 @@ declare namespace socket { * @interface TLSSecureOptions * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export interface TLSSecureOptions { /** @@ -3689,7 +3689,7 @@ declare namespace socket { * @type {?(string | Array)} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ ca?: string | Array; @@ -3704,7 +3704,7 @@ declare namespace socket { * @type {?string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ cert?: string; @@ -3719,7 +3719,7 @@ declare namespace socket { * @type {?string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ key?: string; @@ -3734,7 +3734,7 @@ declare namespace socket { * @type {?string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ password?: string; @@ -3749,7 +3749,7 @@ declare namespace socket { * @type {?(Protocol | Array)} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ protocols?: Protocol | Array; @@ -3764,7 +3764,7 @@ declare namespace socket { * @type {?boolean} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ useRemoteCipherPrefer?: boolean; @@ -3781,7 +3781,7 @@ declare namespace socket { * @type {?string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ signatureAlgorithms?: string; @@ -3796,7 +3796,7 @@ declare namespace socket { * @type {?string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ cipherSuite?: string; @@ -3804,7 +3804,7 @@ declare namespace socket { * Used to set up bidirectional authentication. The default value is false. * @type {?boolean} * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ isBidirectionalAuthentication?: boolean; } @@ -3820,7 +3820,7 @@ declare namespace socket { * @interface TLSConnectOptions * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export interface TLSConnectOptions { /** @@ -3834,7 +3834,7 @@ declare namespace socket { * @type {NetAddress} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ address: NetAddress; @@ -3849,7 +3849,7 @@ declare namespace socket { * @type {TLSSecureOptions} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ secureOptions: TLSSecureOptions; @@ -3864,7 +3864,7 @@ declare namespace socket { * @type {?Array} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ ALPNProtocols?: Array; @@ -3872,7 +3872,7 @@ declare namespace socket { * Skip identity verification for remote servers. The default value is false. * @type {?boolean} * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ skipRemoteValidation?: boolean; @@ -3881,7 +3881,7 @@ declare namespace socket { * @type {?ProxyOptions} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 18 + * @since 18 dynamic */ proxy?: ProxyOptions; } @@ -3897,7 +3897,7 @@ declare namespace socket { * @enum {string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ export enum Protocol { /** @@ -3909,7 +3909,7 @@ declare namespace socket { * Use TLSv1.2 protocol for communication. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ TLSv12 = "TLSv1.2", @@ -3922,7 +3922,7 @@ declare namespace socket { * Use TLSv1.3 protocol for communication. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 10 + * @since 10 dynamic */ TLSv13 = "TLSv1.3" } @@ -3931,14 +3931,14 @@ declare namespace socket { * Defines the connection of the TCPSocket client and server. * @interface TCPSocketConnection * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ export interface TCPSocketConnection { /** * The id of a client connects to the TCPSocketServer. * @type {number} * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ clientId: number; @@ -3951,7 +3951,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ send(options: TCPSendOptions, callback: AsyncCallback): void; @@ -3964,7 +3964,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ send(options: TCPSendOptions): Promise; @@ -3976,7 +3976,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ close(callback: AsyncCallback): void; @@ -3987,7 +3987,7 @@ declare namespace socket { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ close(): Promise; @@ -4000,7 +4000,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getRemoteAddress(callback: AsyncCallback): void; @@ -4012,7 +4012,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getRemoteAddress(): Promise; @@ -4023,7 +4023,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ getLocalAddress(): Promise; @@ -4050,7 +4050,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ on(type: 'message', callback: Callback): void; @@ -4077,7 +4077,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ off(type: 'message', callback?: Callback): void; @@ -4087,7 +4087,7 @@ declare namespace socket { * @param { Callback } callback - The callback of on. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ on(type: 'close', callback: Callback): void; @@ -4097,7 +4097,7 @@ declare namespace socket { * @param { Callback } callback - The callback of off. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ off(type: 'close', callback?: Callback): void; @@ -4107,7 +4107,7 @@ declare namespace socket { * @param { ErrorCallback } callback - The callback of on. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ on(type: 'error', callback: ErrorCallback): void; @@ -4117,7 +4117,7 @@ declare namespace socket { * @param { ErrorCallback } callback - The callback of off. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ off(type: 'error', callback?: ErrorCallback): void; } @@ -4126,7 +4126,7 @@ declare namespace socket { * Defines a TCPSocket server connection. * @interface TCPSocketServer * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ export interface TCPSocketServer { /** @@ -4144,7 +4144,7 @@ declare namespace socket { * @throws { BusinessError } 2303198 - Address already in use. * @throws { BusinessError } 2303199 - Cannot assign requested address. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ listen(address: NetAddress, callback: AsyncCallback): void; @@ -4163,7 +4163,7 @@ declare namespace socket { * @throws { BusinessError } 2303198 - Address already in use. * @throws { BusinessError } 2303199 - Cannot assign requested address. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ listen(address: NetAddress): Promise; @@ -4176,7 +4176,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getState(callback: AsyncCallback): void; @@ -4188,7 +4188,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getState(): Promise; @@ -4202,7 +4202,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback): void; @@ -4216,7 +4216,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ setExtraOptions(options: TCPExtraOptions): Promise; @@ -4227,7 +4227,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ getLocalAddress(): Promise; @@ -4237,7 +4237,7 @@ declare namespace socket { * @param { Callback } callback - The callback of on. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ on(type: 'connect', callback: Callback): void; @@ -4247,7 +4247,7 @@ declare namespace socket { * @param { Callback } callback - The callback of off. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ off(type: 'connect', callback?: Callback): void; @@ -4257,7 +4257,7 @@ declare namespace socket { * @param { ErrorCallback } callback - The callback of on. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ on(type: 'error', callback: ErrorCallback): void; @@ -4267,7 +4267,7 @@ declare namespace socket { * @param { ErrorCallback } callback - The callback of off. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ off(type: 'error', callback?: ErrorCallback): void; } @@ -4276,14 +4276,14 @@ declare namespace socket { * Defines the connection of the TLSSocket client and server. * @interface TLSSocketConnection * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ export interface TLSSocketConnection { /** * The id of a client connects to the TLSSocketServer. * @type {number} * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ clientId: number; @@ -4311,7 +4311,7 @@ declare namespace socket { * @throws { BusinessError } 2303506 - Failed to close the TLS connection. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ send(data: string | ArrayBuffer, callback: AsyncCallback): void; @@ -4339,7 +4339,7 @@ declare namespace socket { * @throws { BusinessError } 2303506 - Failed to close the TLS connection. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ send(data: string | ArrayBuffer): Promise; @@ -4352,7 +4352,7 @@ declare namespace socket { * @throws { BusinessError } 2303506 - Failed to close the TLS connection. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ close(callback: AsyncCallback): void; @@ -4364,7 +4364,7 @@ declare namespace socket { * @throws { BusinessError } 2303506 - Failed to close the TLS connection. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ close(): Promise; @@ -4375,7 +4375,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getRemoteAddress(callback: AsyncCallback): void; @@ -4385,7 +4385,7 @@ declare namespace socket { * @throws { BusinessError } 2300002 - System internal error. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getRemoteAddress(): Promise; @@ -4398,7 +4398,7 @@ declare namespace socket { * @throws { BusinessError } 2303501 - SSL is null. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getRemoteCertificate(callback: AsyncCallback): void; @@ -4410,7 +4410,7 @@ declare namespace socket { * @throws { BusinessError } 2303501 - SSL is null. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getRemoteCertificate(): Promise; @@ -4424,7 +4424,7 @@ declare namespace socket { * @throws { BusinessError } 2303505 - An error occurred in the TLS system call. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getCipherSuite(callback: AsyncCallback>): void; @@ -4437,7 +4437,7 @@ declare namespace socket { * @throws { BusinessError } 2303505 - An error occurred in the TLS system call. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getCipherSuite(): Promise>; @@ -4449,7 +4449,7 @@ declare namespace socket { * @throws { BusinessError } 2303501 - SSL is null. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getSignatureAlgorithms(callback: AsyncCallback>): void; @@ -4460,7 +4460,7 @@ declare namespace socket { * @throws { BusinessError } 2303501 - SSL is null. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getSignatureAlgorithms(): Promise>; @@ -4471,7 +4471,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ getLocalAddress(): Promise; @@ -4498,7 +4498,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ on(type: 'message', callback: Callback): void; @@ -4525,7 +4525,7 @@ declare namespace socket { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ off(type: 'message', callback?: Callback): void; @@ -4535,7 +4535,7 @@ declare namespace socket { * @param { Callback } callback - The callback of on. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ on(type: 'close', callback: Callback): void; @@ -4545,7 +4545,7 @@ declare namespace socket { * @param { Callback } callback - The callback of off. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ off(type: 'close', callback?: Callback): void; @@ -4555,7 +4555,7 @@ declare namespace socket { * @param { ErrorCallback } callback - The callback of on. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ on(type: 'error', callback: ErrorCallback): void; @@ -4565,7 +4565,7 @@ declare namespace socket { * @param { ErrorCallback } callback - The callback of off. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ off(type: 'error', callback?: ErrorCallback): void; } @@ -4575,7 +4575,7 @@ declare namespace socket { * @interface SocketMessageInfo * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 11 + * @since 11 dynamic */ export interface SocketMessageInfo { /** @@ -4583,7 +4583,7 @@ declare namespace socket { * @type { ArrayBuffer } * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 11 + * @since 11 dynamic */ message: ArrayBuffer; /** @@ -4591,7 +4591,7 @@ declare namespace socket { * @type { SocketRemoteInfo } * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 11 + * @since 11 dynamic */ remoteInfo: SocketRemoteInfo; } @@ -4600,7 +4600,7 @@ declare namespace socket { * Defines a TLSSocketServer server connection. * @interface TLSSocketServer * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ export interface TLSSocketServer { /** @@ -4623,7 +4623,7 @@ declare namespace socket { * @throws { BusinessError } 2303505 - An error occurred in the TLS system call. * @throws { BusinessError } 2303506 - Failed to close the TLS connection. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ listen(options: TLSConnectOptions, callback: AsyncCallback): void; @@ -4647,7 +4647,7 @@ declare namespace socket { * @throws { BusinessError } 2303505 - An error occurred in the TLS system call. * @throws { BusinessError } 2303506 - Failed to close the TLS connection. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ listen(options: TLSConnectOptions): Promise; @@ -4658,7 +4658,7 @@ declare namespace socket { * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getState(callback: AsyncCallback): void; @@ -4668,7 +4668,7 @@ declare namespace socket { * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getState(): Promise; @@ -4680,7 +4680,7 @@ declare namespace socket { * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback): void; @@ -4692,7 +4692,7 @@ declare namespace socket { * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ setExtraOptions(options: TCPExtraOptions): Promise; @@ -4704,7 +4704,7 @@ declare namespace socket { * @throws { BusinessError } 2303504 - An error occurred when verifying the X.509 certificate. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getCertificate(callback: AsyncCallback): void; @@ -4715,7 +4715,7 @@ declare namespace socket { * @throws { BusinessError } 2303504 - An error occurred when verifying the X.509 certificate. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getCertificate(): Promise; @@ -4729,7 +4729,7 @@ declare namespace socket { * @throws { BusinessError } 2303505 - An error occurred in the TLS system call. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getProtocol(callback: AsyncCallback): void; @@ -4742,7 +4742,7 @@ declare namespace socket { * @throws { BusinessError } 2303505 - An error occurred in the TLS system call. * @throws { BusinessError } 2300002 - System internal error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ getProtocol(): Promise; @@ -4753,7 +4753,7 @@ declare namespace socket { * @throws { BusinessError } 2301009 - Bad file descriptor. * @throws { BusinessError } 2303188 - Socket operation on non-socket. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ getLocalAddress(): Promise; @@ -4763,7 +4763,7 @@ declare namespace socket { * @param { Callback } callback - The callback of on. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ on(type: 'connect', callback: Callback): void; @@ -4773,7 +4773,7 @@ declare namespace socket { * @param { Callback } callback - The callback of off. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ off(type: 'connect', callback?: Callback): void; @@ -4783,7 +4783,7 @@ declare namespace socket { * @param { ErrorCallback } callback - The callback of on. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ on(type: 'error', callback: ErrorCallback): void; @@ -4793,7 +4793,7 @@ declare namespace socket { * @param { ErrorCallback } callback - The callback of off. * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetStack - * @since 10 + * @since 10 dynamic */ off(type: 'error', callback?: ErrorCallback): void; } diff --git a/api/@ohos.net.statistics.d.ts b/api/@ohos.net.statistics.d.ts index 84fed33d04..fac0dee04b 100644 --- a/api/@ohos.net.statistics.d.ts +++ b/api/@ohos.net.statistics.d.ts @@ -32,15 +32,15 @@ import type connection from './@ohos.net.connection'; * @namespace statistics * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ declare namespace statistics { /** * @typedef {connection.NetBearType} * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type NetBearType = connection.NetBearType; @@ -55,8 +55,8 @@ declare namespace statistics { * @throws { BusinessError } 2103011 - Failed to create a system map. * @throws { BusinessError } 2103012 - Failed to obtain the NIC name. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getIfaceRxBytes(nic: string, callback: AsyncCallback): void; @@ -71,8 +71,8 @@ declare namespace statistics { * @throws { BusinessError } 2103011 - Failed to create a system map. * @throws { BusinessError } 2103012 - Failed to obtain the NIC name. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getIfaceRxBytes(nic: string): Promise; @@ -87,8 +87,8 @@ declare namespace statistics { * @throws { BusinessError } 2103011 - Failed to create a system map. * @throws { BusinessError } 2103012 - Failed to obtain the NIC name. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getIfaceTxBytes(nic: string, callback: AsyncCallback): void; @@ -103,8 +103,8 @@ declare namespace statistics { * @throws { BusinessError } 2103011 - Failed to create a system map. * @throws { BusinessError } 2103012 - Failed to obtain the NIC name. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getIfaceTxBytes(nic: string): Promise; @@ -117,8 +117,8 @@ declare namespace statistics { * @throws { BusinessError } 2103011 - Failed to create a system map. * @throws { BusinessError } 2103012 - Failed to obtain the NIC name. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getCellularRxBytes(callback: AsyncCallback): void; @@ -131,8 +131,8 @@ declare namespace statistics { * @throws { BusinessError } 2103011 - Failed to create a system map. * @throws { BusinessError } 2103012 - Failed to obtain the NIC name. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getCellularRxBytes(): Promise; @@ -145,8 +145,8 @@ declare namespace statistics { * @throws { BusinessError } 2103011 - Failed to create a system map. * @throws { BusinessError } 2103012 - Failed to obtain the NIC name. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getCellularTxBytes(callback: AsyncCallback): void; @@ -159,8 +159,8 @@ declare namespace statistics { * @throws { BusinessError } 2103011 - Failed to create a system map. * @throws { BusinessError } 2103012 - Failed to obtain the NIC name. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getCellularTxBytes(): Promise; @@ -183,8 +183,8 @@ declare namespace statistics { * @throws { BusinessError } 2103011 - Failed to create a system map. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function getAllRxBytes(callback: AsyncCallback): void; @@ -207,8 +207,8 @@ declare namespace statistics { * @throws { BusinessError } 2103011 - Failed to create a system map. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function getAllRxBytes(): Promise; @@ -231,8 +231,8 @@ declare namespace statistics { * @throws { BusinessError } 2103011 - Failed to create a system map. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function getAllTxBytes(callback: AsyncCallback): void; @@ -255,8 +255,8 @@ declare namespace statistics { * @throws { BusinessError } 2103011 - Failed to create a system map. * @syscap SystemCapability.Communication.NetManager.Core * @atomicservice - * @since arkts {'1.1':'15','1.2':'20'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 20 static */ function getAllTxBytes(): Promise; @@ -270,8 +270,8 @@ declare namespace statistics { * @throws { BusinessError } 2103005 - Failed to read the system map. * @throws { BusinessError } 2103011 - Failed to create a system map. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getUidRxBytes(uid: int, callback: AsyncCallback): void; @@ -285,8 +285,8 @@ declare namespace statistics { * @throws { BusinessError } 2103005 - Failed to read the system map. * @throws { BusinessError } 2103011 - Failed to create a system map. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getUidRxBytes(uid: int): Promise; @@ -300,8 +300,8 @@ declare namespace statistics { * @throws { BusinessError } 2103005 - Failed to read the system map. * @throws { BusinessError } 2103011 - Failed to create a system map. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getUidTxBytes(uid: int, callback: AsyncCallback): void; @@ -315,8 +315,8 @@ declare namespace statistics { * @throws { BusinessError } 2103005 - Failed to read the system map. * @throws { BusinessError } 2103011 - Failed to create a system map. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getUidTxBytes(uid: int): Promise; @@ -346,7 +346,7 @@ declare namespace statistics { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function on(type: 'netStatsChange', callback: Callback): void; @@ -376,7 +376,7 @@ declare namespace statistics { * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 11 + * @since 11 dynamic */ function off(type: 'netStatsChange', callback?: Callback): void; @@ -394,8 +394,8 @@ declare namespace statistics { * @throws { BusinessError } 2103017 - Failed to read the database. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getTrafficStatsByIface(ifaceInfo: IfaceInfo, callback: AsyncCallback): void; @@ -413,8 +413,8 @@ declare namespace statistics { * @throws { BusinessError } 2103017 - Failed to read the database. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getTrafficStatsByIface(ifaceInfo: IfaceInfo): Promise; @@ -432,8 +432,8 @@ declare namespace statistics { * @throws { BusinessError } 2103017 - Failed to read the database. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getTrafficStatsByUid(uidInfo: UidInfo, callback: AsyncCallback): void; @@ -451,8 +451,8 @@ declare namespace statistics { * @throws { BusinessError } 2103017 - Failed to read the database. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function getTrafficStatsByUid(uidInfo: UidInfo): Promise; @@ -465,8 +465,8 @@ declare namespace statistics { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getSockfdRxBytes(sockfd: int, callback: AsyncCallback): void; @@ -479,8 +479,8 @@ declare namespace statistics { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getSockfdRxBytes(sockfd: int): Promise; @@ -493,8 +493,8 @@ declare namespace statistics { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getSockfdTxBytes(sockfd: int, callback: AsyncCallback): void; @@ -507,8 +507,8 @@ declare namespace statistics { * @throws { BusinessError } 2100002 - Failed to connect to the service. * @throws { BusinessError } 2100003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getSockfdTxBytes(sockfd: int): Promise; @@ -517,8 +517,8 @@ declare namespace statistics { * @interface IfaceInfo * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface IfaceInfo { /** @@ -526,8 +526,8 @@ declare namespace statistics { * @type {string} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ iface: string; @@ -536,8 +536,8 @@ declare namespace statistics { * @type {int} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ startTime: int; @@ -546,8 +546,8 @@ declare namespace statistics { * @type {int} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ endTime: int; } @@ -557,8 +557,8 @@ declare namespace statistics { * @interface UidInfo * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface UidInfo { /** @@ -566,8 +566,8 @@ declare namespace statistics { * @type {IfaceInfo} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ ifaceInfo: IfaceInfo; @@ -576,8 +576,8 @@ declare namespace statistics { * @type {int} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ uid: int; } @@ -587,8 +587,8 @@ declare namespace statistics { * @interface NetStatsInfo * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface NetStatsInfo { /** @@ -596,8 +596,8 @@ declare namespace statistics { * @type {long} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ rxBytes: long; @@ -606,8 +606,8 @@ declare namespace statistics { * @type {long} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ txBytes: long; @@ -616,8 +616,8 @@ declare namespace statistics { * @type {long} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ rxPackets: long; @@ -626,8 +626,8 @@ declare namespace statistics { * @type {long} * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ txPackets: long; } @@ -637,8 +637,8 @@ declare namespace statistics { * @interface NetStatsChangeInfo * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface NetStatsChangeInfo { /** @@ -646,8 +646,8 @@ declare namespace statistics { * @type { string } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ iface: string; /** @@ -655,8 +655,8 @@ declare namespace statistics { * @type { ?int } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ uid?: int; } @@ -665,7 +665,7 @@ declare namespace statistics { * An {@link NetStatsInfo} array with start time and end time. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ export type NetStatsInfoSequence = { /** @@ -673,8 +673,8 @@ declare namespace statistics { * @type { int } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ startTime: int; /** @@ -682,8 +682,8 @@ declare namespace statistics { * @type { int } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ endTime: int; /** @@ -691,8 +691,8 @@ declare namespace statistics { * @type { NetStatsInfo } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ info: NetStatsInfo; }[]; @@ -701,7 +701,7 @@ declare namespace statistics { * {@link NetStatsInfo} for every UID. Key is UID. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ export type UidNetStatsInfo = { [uid: int]: NetStatsInfo; @@ -712,8 +712,8 @@ declare namespace statistics { * @interface NetworkInfo * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface NetworkInfo { /** @@ -721,8 +721,8 @@ declare namespace statistics { * @type { NetBearType } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type: NetBearType; /** @@ -730,8 +730,8 @@ declare namespace statistics { * @type { int } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ startTime: int; /** @@ -739,8 +739,8 @@ declare namespace statistics { * @type { int } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ endTime: int; /** @@ -748,8 +748,8 @@ declare namespace statistics { * @type { ?int } * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ simId?: int; } @@ -768,7 +768,7 @@ declare namespace statistics { * @throws { BusinessError } 2103017 - Failed to read the database. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ function getTrafficStatsByNetwork(networkInfo: NetworkInfo): Promise; /** @@ -786,7 +786,7 @@ declare namespace statistics { * @throws { BusinessError } 2103017 - Failed to read the database. * @syscap SystemCapability.Communication.NetManager.Core * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ function getTrafficStatsByUidNetwork(uid: int, networkInfo: NetworkInfo): Promise; } diff --git a/api/@ohos.net.vpn.d.ts b/api/@ohos.net.vpn.d.ts index 13af99c3c8..8c8f753cdd 100644 --- a/api/@ohos.net.vpn.d.ts +++ b/api/@ohos.net.vpn.d.ts @@ -26,14 +26,14 @@ import type _AbilityContext from './application/UIAbilityContext'; * Provides VPN related interfaces. * @namespace vpn * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 10 + * @since 10 dynamic */ declare namespace vpn { /** * Get network link information. * @typedef { connection.LinkAddress } * @syscap SystemCapability.Communication.NetManager.Core - * @since 10 + * @since 10 dynamic */ export type LinkAddress = connection.LinkAddress; @@ -41,7 +41,7 @@ declare namespace vpn { * Get network route information. * @typedef { connection.RouteInfo } * @syscap SystemCapability.Communication.NetManager.Core - * @since 10 + * @since 10 dynamic */ export type RouteInfo = connection.RouteInfo; @@ -49,7 +49,7 @@ declare namespace vpn { * The context of an ability. It allows access to ability-specific resources. * @typedef _AbilityContext * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 10 + * @since 10 dynamic */ export type AbilityContext = _AbilityContext; @@ -61,7 +61,7 @@ declare namespace vpn { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ function createVpnConnection(context: AbilityContext): VpnConnection; @@ -78,7 +78,7 @@ declare namespace vpn { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ function on(type: 'connect', callback: Callback): void; @@ -95,7 +95,7 @@ declare namespace vpn { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ function off(type: 'connect', callback?: Callback): void; @@ -112,7 +112,7 @@ declare namespace vpn { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ function addSysVpnConfig(config: SysVpnConfig): Promise; @@ -129,7 +129,7 @@ declare namespace vpn { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ function deleteSysVpnConfig(vpnId: string): Promise; @@ -143,7 +143,7 @@ declare namespace vpn { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ function getSysVpnConfigList(): Promise>; @@ -160,7 +160,7 @@ declare namespace vpn { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ function getSysVpnConfig(vpnId: string): Promise; @@ -174,7 +174,7 @@ declare namespace vpn { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ function getConnectedSysVpnConfig(): Promise; @@ -183,7 +183,7 @@ declare namespace vpn { * @interface VpnConnection * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ export interface VpnConnection { /** @@ -201,7 +201,7 @@ declare namespace vpn { * @throws { BusinessError } 2203002 - VPN already exists. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ setUp(config: VpnConfig, callback: AsyncCallback): void; @@ -220,7 +220,7 @@ declare namespace vpn { * @throws { BusinessError } 2203002 - VPN already exists. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ setUp(config: VpnConfig): Promise; @@ -239,7 +239,7 @@ declare namespace vpn { * @throws { BusinessError } 2203004 - Invalid socket file descriptor. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ protect(socketFd: number, callback: AsyncCallback): void; @@ -258,7 +258,7 @@ declare namespace vpn { * @throws { BusinessError } 2203004 - Invalid socket file descriptor. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ protect(socketFd: number): Promise; @@ -273,7 +273,7 @@ declare namespace vpn { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ destroy(callback: AsyncCallback): void; @@ -288,7 +288,7 @@ declare namespace vpn { * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ destroy(): Promise; } @@ -298,7 +298,7 @@ declare namespace vpn { * @typedef VpnConfig * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ export interface VpnConfig { /** @@ -306,7 +306,7 @@ declare namespace vpn { * @type {Array} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ addresses: Array; @@ -315,7 +315,7 @@ declare namespace vpn { * @type {?Array} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ routes?: Array; @@ -324,7 +324,7 @@ declare namespace vpn { * @type {?Array} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ dnsAddresses?: Array; @@ -333,7 +333,7 @@ declare namespace vpn { * @type {?Array} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ searchDomains?: Array; @@ -342,7 +342,7 @@ declare namespace vpn { * @type {?number} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ mtu?: number; @@ -351,7 +351,7 @@ declare namespace vpn { * @type {?boolean} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ isIPv4Accepted?: boolean; @@ -360,7 +360,7 @@ declare namespace vpn { * @type {?boolean} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ isIPv6Accepted?: boolean; @@ -369,7 +369,7 @@ declare namespace vpn { * @type {?boolean} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ isLegacy?: boolean; @@ -378,7 +378,7 @@ declare namespace vpn { * @type {?boolean} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ isBlocking?: boolean; @@ -387,7 +387,7 @@ declare namespace vpn { * @type {?Array} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ trustedApplications?: Array; @@ -396,7 +396,7 @@ declare namespace vpn { * @type {?Array} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 10 + * @since 10 dynamic */ blockedApplications?: Array; } @@ -407,7 +407,7 @@ declare namespace vpn { * @extends VpnConfig * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ export interface SysVpnConfig extends VpnConfig { /** @@ -415,7 +415,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ vpnId?: string; @@ -424,7 +424,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ vpnName?: string; @@ -434,7 +434,7 @@ declare namespace vpn { * See {@link SysVpnType} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ vpnType?: SysVpnType; @@ -443,7 +443,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ userName?: string; @@ -452,7 +452,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ password?: string; @@ -461,7 +461,7 @@ declare namespace vpn { * @type {?boolean} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ saveLogin?: boolean; @@ -470,7 +470,7 @@ declare namespace vpn { * @type {?number} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ userId?: number; @@ -479,7 +479,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ forwardingRoutes?: string; } @@ -490,7 +490,7 @@ declare namespace vpn { * @extends SysVpnConfig * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ export interface OpenVpnConfig extends SysVpnConfig { /** @@ -498,7 +498,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ovpnPort?: string; @@ -507,7 +507,7 @@ declare namespace vpn { * @type {?number} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ovpnProtocol?: number; @@ -516,7 +516,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ovpnConfig?: string; @@ -525,7 +525,7 @@ declare namespace vpn { * @type {?number} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ovpnAuthType?: number; @@ -534,7 +534,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ askpass?: string; @@ -543,7 +543,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ovpnConfigFilePath?: string; @@ -552,7 +552,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ovpnCaCertFilePath?: string; @@ -561,7 +561,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ovpnUserCertFilePath?: string; @@ -570,7 +570,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ovpnPrivateKeyFilePath?: string; } @@ -581,7 +581,7 @@ declare namespace vpn { * @extends SysVpnConfig * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ export interface IpsecVpnConfig extends SysVpnConfig { /** @@ -589,7 +589,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPreSharedKey?: string; @@ -598,7 +598,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecIdentifier?: string; @@ -607,7 +607,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ swanctlConfig?: string; @@ -616,7 +616,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ strongSwanConfig?: string; @@ -625,7 +625,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecCaCertConfig?: string; @@ -634,7 +634,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPrivateUserCertConfig?: string; @@ -643,7 +643,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPublicUserCertConfig?: string; @@ -652,7 +652,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPrivateServerCertConfig?: string; @@ -661,7 +661,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPublicServerCertConfig?: string; @@ -670,7 +670,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecCaCertFilePath?: string; @@ -679,7 +679,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPrivateUserCertFilePath?: string; @@ -688,7 +688,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPublicUserCertFilePath?: string; @@ -697,7 +697,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPrivateServerCertFilePath?: string; @@ -706,7 +706,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPublicServerCertFilePath?: string; } @@ -717,7 +717,7 @@ declare namespace vpn { * @extends SysVpnConfig * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ export interface L2tpVpnConfig extends SysVpnConfig { /** @@ -725,7 +725,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPreSharedKey?: string; @@ -734,7 +734,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecIdentifier?: string; @@ -743,7 +743,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ strongSwanConfig?: string; @@ -752,7 +752,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecCaCertConfig?: string; @@ -761,7 +761,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPrivateUserCertConfig?: string; @@ -770,7 +770,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPublicUserCertConfig?: string; @@ -779,7 +779,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPrivateServerCertConfig?: string; @@ -788,7 +788,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPublicServerCertConfig?: string; @@ -797,7 +797,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecCaCertFilePath?: string; @@ -806,7 +806,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPrivateUserCertFilePath?: string; @@ -815,7 +815,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPublicUserCertFilePath?: string; @@ -824,7 +824,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPrivateServerCertFilePath?: string; @@ -833,7 +833,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecPublicServerCertFilePath?: string; @@ -842,7 +842,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecConfig?: string; @@ -851,7 +851,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ ipsecSecrets?: string; @@ -860,7 +860,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ optionsL2tpdClient?: string; @@ -869,7 +869,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ xl2tpdConfig?: string; @@ -878,7 +878,7 @@ declare namespace vpn { * @type {?string} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ l2tpSharedKey?: string; } @@ -888,14 +888,14 @@ declare namespace vpn { * @enum {number} * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ export enum SysVpnType { /** * The type for the IKEv2/IPsec MSCHAPv2 VPN network. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ IKEV2_IPSEC_MSCHAPV2 = 1, @@ -903,7 +903,7 @@ declare namespace vpn { * The type for the IKEv2/IPsec PSK VPN network. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ IKEV2_IPSEC_PSK = 2, @@ -911,7 +911,7 @@ declare namespace vpn { * The type for the IKEv2/IPsec RSA VPN network. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ IKEV2_IPSEC_RSA = 3, @@ -919,7 +919,7 @@ declare namespace vpn { * The type for the L2TP/IPsec PSK VPN network. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ L2TP_IPSEC_PSK = 4, @@ -927,7 +927,7 @@ declare namespace vpn { * The type for the L2TP/IPsec RSA VPN network. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ L2TP_IPSEC_RSA = 5, @@ -935,7 +935,7 @@ declare namespace vpn { * The type for the IPsec XAUTH PSK VPN network. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ IPSEC_XAUTH_PSK = 6, @@ -943,7 +943,7 @@ declare namespace vpn { * The type for the IPsec XAUTH RSA VPN network. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ IPSEC_XAUTH_RSA = 7, @@ -951,7 +951,7 @@ declare namespace vpn { * The type for the IPsec HYBRID RSA VPN network. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ IPSEC_HYBRID_RSA = 8, @@ -959,7 +959,7 @@ declare namespace vpn { * The type for the OpenVpn network. * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. - * @since 12 + * @since 12 dynamic */ OPENVPN = 9 } diff --git a/api/@ohos.net.vpnExtension.d.ts b/api/@ohos.net.vpnExtension.d.ts index 6b13b033f7..0e4224ceb6 100644 --- a/api/@ohos.net.vpnExtension.d.ts +++ b/api/@ohos.net.vpnExtension.d.ts @@ -26,14 +26,14 @@ import type Want from './@ohos.app.ability.Want'; * Provides VPN related interfaces. * @namespace vpnExtension * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ declare namespace vpnExtension { /** * Get network link information. * @typedef { connection.LinkAddress } * @syscap SystemCapability.Communication.NetManager.Core - * @since 11 + * @since 11 dynamic */ export type LinkAddress = connection.LinkAddress; @@ -41,7 +41,7 @@ declare namespace vpnExtension { * Get network route information. * @typedef { connection.RouteInfo } * @syscap SystemCapability.Communication.NetManager.Core - * @since 11 + * @since 11 dynamic */ export type RouteInfo = connection.RouteInfo; @@ -50,7 +50,7 @@ declare namespace vpnExtension { * serviceExtension-specific resources. * @typedef _VpnExtensionContext * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since 11 + * @since 11 dynamic */ export type VpnExtensionContext = _VpnExtensionContext; @@ -69,7 +69,7 @@ declare namespace vpnExtension { * @throws { BusinessError } 16200001 - The caller has been released. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 11 + * @since 11 dynamic */ function startVpnExtensionAbility(want: Want): Promise; @@ -87,7 +87,7 @@ declare namespace vpnExtension { * @throws { BusinessError } 16200001 - The caller has been released. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly - * @since 11 + * @since 11 dynamic */ function stopVpnExtensionAbility(want: Want): Promise; @@ -104,7 +104,7 @@ declare namespace vpnExtension { * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. * @stagemodelonly - * @since 11 + * @since 11 dynamic */ function setAlwaysOnVpnEnabled(enable: boolean, bundleName: string): Promise; @@ -120,7 +120,7 @@ declare namespace vpnExtension { * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. * @stagemodelonly - * @since 11 + * @since 11 dynamic */ function isAlwaysOnVpnEnabled(bundleName: string): Promise; @@ -136,7 +136,7 @@ declare namespace vpnExtension { * @syscap SystemCapability.Communication.NetManager.Vpn * @systemapi Hide this for inner system use. * @stagemodelonly - * @since 11 + * @since 11 dynamic */ function updateVpnAuthorizedState(bundleName: string): boolean; /** @@ -147,7 +147,7 @@ declare namespace vpnExtension { * @throws { BusinessError } 401 - Parameter error. * @syscap SystemCapability.Communication.NetManager.Vpn * @stagemodelonly - * @since 11 + * @since 11 dynamic */ function createVpnConnection(context: VpnExtensionContext): VpnConnection; @@ -156,7 +156,7 @@ declare namespace vpnExtension { * * @interface VpnConnection * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ export interface VpnConnection { @@ -172,7 +172,7 @@ declare namespace vpnExtension { * @throws { BusinessError } 2203001 - VPN creation denied, please check the user type. * @throws { BusinessError } 2203002 - VPN exist already, please execute destroy first. * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ create(config: VpnConfig): Promise; @@ -188,7 +188,7 @@ declare namespace vpnExtension { * @throws { BusinessError } 2200003 - System internal error. * @throws { BusinessError } 2203004 - Invalid socket file descriptor. * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ protect(socketFd: number): Promise; @@ -200,7 +200,7 @@ declare namespace vpnExtension { * @throws { BusinessError } 2200002 - Operation failed. Cannot connect to service. * @throws { BusinessError } 2200003 - System internal error. * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ destroy(): Promise; } @@ -210,7 +210,7 @@ declare namespace vpnExtension { * * @interface VpnConfig * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ export interface VpnConfig { /** @@ -218,7 +218,7 @@ declare namespace vpnExtension { * * @type {Array} * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ addresses: Array; @@ -227,7 +227,7 @@ declare namespace vpnExtension { * * @type {?Array} * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ routes?: Array; @@ -236,7 +236,7 @@ declare namespace vpnExtension { * * @type {?Array} * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ dnsAddresses?: Array; @@ -245,7 +245,7 @@ declare namespace vpnExtension { * * @type {?Array} * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ searchDomains?: Array; @@ -254,7 +254,7 @@ declare namespace vpnExtension { * * @type {?number} * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ mtu?: number; @@ -263,7 +263,7 @@ declare namespace vpnExtension { * * @type {?boolean} * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ isIPv4Accepted?: boolean; @@ -272,7 +272,7 @@ declare namespace vpnExtension { * * @type {?boolean} * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ isIPv6Accepted?: boolean; @@ -281,7 +281,7 @@ declare namespace vpnExtension { * * @type {?boolean} * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ isInternal?: boolean; @@ -290,7 +290,7 @@ declare namespace vpnExtension { * * @type {?boolean} * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ isBlocking?: boolean; @@ -299,7 +299,7 @@ declare namespace vpnExtension { * * @type {?Array} * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ trustedApplications?: Array; @@ -308,7 +308,7 @@ declare namespace vpnExtension { * * @type {?Array} * @syscap SystemCapability.Communication.NetManager.Vpn - * @since 11 + * @since 11 dynamic */ blockedApplications?: Array; } diff --git a/api/@ohos.net.webSocket.d.ts b/api/@ohos.net.webSocket.d.ts index 102539b2f3..2d84e71f4a 100644 --- a/api/@ohos.net.webSocket.d.ts +++ b/api/@ohos.net.webSocket.d.ts @@ -40,15 +40,15 @@ import type connection from './@ohos.net.connection'; * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace webSocket { /** * @typedef { connection.HttpProxy } * @syscap SystemCapability.Communication.NetManager.Core - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ type HttpProxy = connection.HttpProxy; @@ -71,8 +71,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function createWebSocket(): WebSocket; @@ -95,8 +95,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface WebSocketRequestOptions { /** @@ -118,7 +118,7 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ header?: Object; @@ -126,8 +126,7 @@ declare namespace webSocket { * HTTP request header. * @type {?Record} * @syscap SystemCapability.Communication.NetStack - * @since 20 - * @arkts 1.2 + * @since 20 static */ header?: Record; @@ -142,8 +141,8 @@ declare namespace webSocket { * @type {?string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ caPath?: string; @@ -158,8 +157,8 @@ declare namespace webSocket { * @type {?ClientCert} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ clientCert?: ClientCert; @@ -167,8 +166,8 @@ declare namespace webSocket { * HTTP proxy configuration. Use 'system' if this filed is not set. * @type {?ProxyConfiguration} * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ proxy?: ProxyConfiguration; @@ -176,8 +175,8 @@ declare namespace webSocket { * Self defined protocol. * @type {?string} * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ protocol?: string; } @@ -189,8 +188,8 @@ declare namespace webSocket { * object of @type {connection.HttpProxy} means providing custom proxy settings * @typedef { 'system' | 'no-proxy' | HttpProxy } * @syscap SystemCapability.Communication.NetStack - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type ProxyConfiguration = 'system' | 'no-proxy' | HttpProxy; @@ -209,8 +208,8 @@ declare namespace webSocket { * @interface ClientCert * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface ClientCert { /** @@ -224,8 +223,8 @@ declare namespace webSocket { * @type {string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ certPath: string; @@ -240,8 +239,8 @@ declare namespace webSocket { * @type {string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ keyPath: string; @@ -256,8 +255,8 @@ declare namespace webSocket { * @type {?string} * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ keyPassword?: string; } @@ -281,8 +280,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface WebSocketCloseOptions { /** @@ -304,8 +303,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ code?: int; /** @@ -327,8 +326,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ reason?: string; } @@ -346,8 +345,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface CloseResult { /** @@ -363,8 +362,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ code: int; /** @@ -380,8 +379,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ reason: string; } @@ -390,7 +389,7 @@ declare namespace webSocket { * HTTP response headers. * @typedef { object } * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ export type ResponseHeaders = { [k: string]: string | string[] | undefined; @@ -418,8 +417,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface WebSocket { /** @@ -472,8 +471,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ connect(url: string, callback: AsyncCallback): void; @@ -531,8 +530,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback): void; @@ -590,8 +589,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ connect(url: string, options?: WebSocketRequestOptions): Promise; @@ -626,8 +625,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ send(data: string | ArrayBuffer, callback: AsyncCallback): void; @@ -662,8 +661,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ send(data: string | ArrayBuffer): Promise; @@ -695,8 +694,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ close(callback: AsyncCallback): void; @@ -731,8 +730,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ close(options: WebSocketCloseOptions, callback: AsyncCallback): void; @@ -767,8 +766,8 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ close(options?: WebSocketCloseOptions): Promise; @@ -794,7 +793,7 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ on(type: 'open', callback: AsyncCallback): void; @@ -820,7 +819,7 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ off(type: 'open', callback?: AsyncCallback): void; @@ -849,7 +848,7 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ on(type: 'message', callback: AsyncCallback): void; @@ -878,7 +877,7 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ off(type: 'message', callback?: AsyncCallback): void; @@ -907,7 +906,7 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ on(type: 'close', callback: AsyncCallback): void; @@ -936,7 +935,7 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ off(type: 'close', callback?: AsyncCallback): void; @@ -962,7 +961,7 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ on(type: 'error', callback: ErrorCallback): void; @@ -988,7 +987,7 @@ declare namespace webSocket { * @syscap SystemCapability.Communication.NetStack * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ off(type: 'error', callback?: ErrorCallback): void; @@ -1005,7 +1004,7 @@ declare namespace webSocket { * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ on(type: 'dataEnd', callback: Callback): void; @@ -1022,7 +1021,7 @@ declare namespace webSocket { * @param { Callback } [ callback ] - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack * @crossplatform - * @since 12 + * @since 12 dynamic */ off(type: 'dataEnd', callback?: Callback): void; @@ -1031,7 +1030,7 @@ declare namespace webSocket { * @param { 'headerReceive'} type - Indicates Event name. * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ on(type: 'headerReceive', callback: Callback): void; @@ -1040,7 +1039,7 @@ declare namespace webSocket { * @param { 'headerReceive' } type - Indicates Event name. * @param { Callback } [callback] - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack - * @since 12 + * @since 12 dynamic */ off(type: 'headerReceive', callback?: Callback): void; } @@ -1049,7 +1048,7 @@ declare namespace webSocket { * Creates a web socket Server. * @returns { WebSocketServer } the WebSocketServer Object. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ function createWebSocketServer(): WebSocketServer; @@ -1057,7 +1056,7 @@ declare namespace webSocket { * Defines parameters for a WebSocket Server. * @interface WebSocketServerConfig * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ export interface WebSocketServerConfig { /** @@ -1065,7 +1064,7 @@ declare namespace webSocket { * The server listens on this specific address. It's 0.0.0.0 by default. * @type {?string} * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ serverIP?: string; @@ -1073,7 +1072,7 @@ declare namespace webSocket { * Port number that the server listens on. * @type {number} * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ serverPort: number; @@ -1081,7 +1080,7 @@ declare namespace webSocket { * Server cert. * @type {?ServerCert} * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ serverCert?: ServerCert; @@ -1089,7 +1088,7 @@ declare namespace webSocket { * Maximum number of concurrent clients. When it's reached, the server will reject new connections. * @type { number } * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ maxConcurrentClientsNumber: number; @@ -1097,7 +1096,7 @@ declare namespace webSocket { * Self defined protocol. * @type {?string} * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ protocol?: string; @@ -1105,7 +1104,7 @@ declare namespace webSocket { * Maximum number of one client's connections. When it's reached, the server will reject new connections. * @type {number} * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ maxConnectionsForOneClient: number; } @@ -1115,14 +1114,14 @@ declare namespace webSocket { * File paths of server certificate (certPath) and certificate private key (keyPath). Only support PEM format. * @interface ServerCert * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ export interface ServerCert { /** * File path for the server cert. * @type {string} * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ certPath: string; @@ -1130,7 +1129,7 @@ declare namespace webSocket { * The path of the server certificate private key file. * @type {string} * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ keyPath: string; } @@ -1139,14 +1138,14 @@ declare namespace webSocket { * Info about the connection from each specific client. * @interface WebSocketConnection * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ export interface WebSocketConnection { /** * IP address of the client. * @type {string} * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ clientIP: string; @@ -1154,7 +1153,7 @@ declare namespace webSocket { * Port of the client. * @type {number} * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ clientPort: number; } @@ -1163,14 +1162,14 @@ declare namespace webSocket { * Info about the message received from a specific client. * @interface WebSocketMessage * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ export interface WebSocketMessage { /** * Contend of the message. * @type {string | ArrayBuffer} * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ data: string | ArrayBuffer; @@ -1178,7 +1177,7 @@ declare namespace webSocket { * The connection where the message comes from. * @type {WebSocketConnection} * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ clientConnection: WebSocketConnection; } @@ -1189,7 +1188,7 @@ declare namespace webSocket { * @param { WebSocketConnection } clientConnection - the connection which is closed. * @param { CloseResult } closeReason - the error code and reason why the connection is closed. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ export type ClientConnectionCloseCallback = (clientConnection: WebSocketConnection, closeReason: CloseResult) => void; @@ -1198,7 +1197,7 @@ declare namespace webSocket { * you need to call webSocketServer.createWebSocketServer to create a WebSocket Server.

* @interface WebSocketServer * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ export interface WebSocketServer { /** @@ -1212,7 +1211,7 @@ declare namespace webSocket { * @throws { BusinessError } 2302005 - Can't listen on the given Port. * @throws { BusinessError } 2302999 - Websocket other unknown error. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ start(config: WebSocketServerConfig): Promise; @@ -1222,7 +1221,7 @@ declare namespace webSocket { * @returns { WebSocketConnection[] } an array consists connections from all clients. * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ listAllConnections(): WebSocketConnection[]; @@ -1235,7 +1234,7 @@ declare namespace webSocket { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 2302006 - websocket connection does not exist. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ close(connection: WebSocketConnection, options?: webSocket.WebSocketCloseOptions): Promise; @@ -1248,7 +1247,7 @@ declare namespace webSocket { * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 2302006 - websocket connection does not exist. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ send(data: string | ArrayBuffer, connection: WebSocketConnection): Promise; @@ -1258,7 +1257,7 @@ declare namespace webSocket { * @returns { Promise } The Indicating whether the server stops sucessfully. * @throws { BusinessError } 201 - Permission denied. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ stop(): Promise; @@ -1267,7 +1266,7 @@ declare namespace webSocket { * @param { 'error' } type - event indicating that the WebSocket Server has encountered an error. * @param { ErrorCallback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ on(type: 'error', callback: ErrorCallback): void; @@ -1276,7 +1275,7 @@ declare namespace webSocket { * @param { 'connect' } type - event indicating that a client requested to connect the server. * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ on(type: 'connect', callback: Callback): void; @@ -1285,7 +1284,7 @@ declare namespace webSocket { * @param { 'messageReceive' } type - event indicating that the server received a message. * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ on(type: 'messageReceive', callback: Callback): void; @@ -1294,7 +1293,7 @@ declare namespace webSocket { * @param { 'close' } type - event indicating that a connection from a given client has been closed. * @param { ClientConnectionCloseCallback } callback - the callback function when a client connection is closed. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ on(type: 'close', callback: ClientConnectionCloseCallback): void; @@ -1303,7 +1302,7 @@ declare namespace webSocket { * @param { 'error' } type - event indicating that the WebSocket Server has encountered an error. * @param { ErrorCallback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ off(type: 'error', callback?: ErrorCallback): void; @@ -1312,7 +1311,7 @@ declare namespace webSocket { * @param { 'connect' } type - event indicating that a client requested to connect the server. * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ off(type: 'connect', callback?: Callback): void; @@ -1321,7 +1320,7 @@ declare namespace webSocket { * @param { 'close' } type - event indicating that a connection from a given client has been closed. * @param { ClientConnectionCloseCallback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ off(type: 'close', callback?: ClientConnectionCloseCallback): void; @@ -1330,7 +1329,7 @@ declare namespace webSocket { * @param { 'messageReceive' } type - event indicating that the server received a message. * @param { Callback } callback - the callback used to return the result. * @syscap SystemCapability.Communication.NetStack - * @since 19 + * @since 19 dynamic */ off(type: 'messageReceive', callback?: Callback): void; } diff --git a/api/@ohos.nfc.cardEmulation.d.ts b/api/@ohos.nfc.cardEmulation.d.ts index ca3e2d5264..277ea147c5 100644 --- a/api/@ohos.nfc.cardEmulation.d.ts +++ b/api/@ohos.nfc.cardEmulation.d.ts @@ -35,8 +35,8 @@ import type { AbilityInfo } from './bundleManager/AbilityInfo'; * @namespace cardEmulation * @syscap SystemCapability.Communication.NFC.CardEmulation * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace cardEmulation { /** @@ -44,7 +44,7 @@ declare namespace cardEmulation { * * @enum { number } * @syscap SystemCapability.Communication.NFC.CardEmulation - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.nfc.cardEmulation/cardEmulation#hasHceCapability */ @@ -53,7 +53,7 @@ declare namespace cardEmulation { * This constant is used to check whether HCE card emulation is supported. * * @syscap SystemCapability.Communication.NFC.CardEmulation - * @since 6 + * @since 6 dynamic * @deprecated since 9 */ HCE = 0, @@ -62,7 +62,7 @@ declare namespace cardEmulation { * This constant is used to check whether SIM card emulation is supported. * * @syscap SystemCapability.Communication.NFC.CardEmulation - * @since 6 + * @since 6 dynamic * @deprecated since 9 */ UICC = 1, @@ -71,7 +71,7 @@ declare namespace cardEmulation { * This constant is used to check whether eSE card emulation is supported. * * @syscap SystemCapability.Communication.NFC.CardEmulation - * @since 6 + * @since 6 dynamic * @deprecated since 9 */ ESE = 2 @@ -90,8 +90,8 @@ declare namespace cardEmulation { * @enum { string } * @syscap SystemCapability.Communication.NFC.CardEmulation * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum CardType { /** @@ -105,8 +105,8 @@ declare namespace cardEmulation { * * @syscap SystemCapability.Communication.NFC.CardEmulation * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PAYMENT = 'payment', @@ -121,8 +121,8 @@ declare namespace cardEmulation { * * @syscap SystemCapability.Communication.NFC.CardEmulation * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OTHER = 'other' } @@ -134,7 +134,7 @@ declare namespace cardEmulation { * @param { number } feature Indicates the card emulation type, {@code HCE}, {@code UICC}, or {@code ESE}. * @returns { boolean } Returns true if the specified type of card emulation is supported; returns false otherwise. * @syscap SystemCapability.Communication.NFC.CardEmulation - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.nfc.cardEmulation/cardEmulation#hasHceCapability */ @@ -159,8 +159,8 @@ declare namespace cardEmulation { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.NFC.CardEmulation * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function hasHceCapability(): boolean; @@ -195,8 +195,8 @@ declare namespace cardEmulation { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.NFC.CardEmulation * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function isDefaultService(elementName: ElementName, type: CardType): boolean; @@ -210,8 +210,8 @@ declare namespace cardEmulation { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.NFC.CardEmulation * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getPaymentServices(): AbilityInfo[]; @@ -230,8 +230,8 @@ declare namespace cardEmulation { * * @syscap SystemCapability.Communication.NFC.CardEmulation * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export class HceService { /** @@ -241,7 +241,7 @@ declare namespace cardEmulation { * @param { string[] } aidList - The aid list to be registered by this service * @returns { boolean } Returns true if HCE is enabled or has been enabled; returns false otherwise. * @syscap SystemCapability.Communication.NFC.CardEmulation - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.nfc.cardEmulation/cardEmulation.HceService#start */ @@ -278,8 +278,8 @@ declare namespace cardEmulation { * @throws { BusinessError } 3100301 - Card emulation running state is abnormal in service. * @syscap SystemCapability.Communication.NFC.CardEmulation * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ start(elementName: ElementName, aidList: string[]): void; @@ -289,7 +289,7 @@ declare namespace cardEmulation { * @permission ohos.permission.NFC_CARD_EMULATION * @returns { boolean } Returns true if HCE is disabled or has been disabled; returns false otherwise. * @syscap SystemCapability.Communication.NFC.CardEmulation - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.nfc.cardEmulation/cardEmulation.HceService#stop */ @@ -324,8 +324,8 @@ declare namespace cardEmulation { * @throws { BusinessError } 3100301 - Card emulation running state is abnormal in service. * @syscap SystemCapability.Communication.NFC.CardEmulation * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ stop(elementName: ElementName): void; @@ -349,8 +349,8 @@ declare namespace cardEmulation { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.NFC.CardEmulation * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ on(type: 'hceCmd', callback: AsyncCallback): void; @@ -364,8 +364,8 @@ declare namespace cardEmulation { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.NFC.CardEmulation * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ off(type: 'hceCmd', callback?: AsyncCallback): void; @@ -376,7 +376,7 @@ declare namespace cardEmulation { * @permission ohos.permission.NFC_CARD_EMULATION * @param { number[] } responseApdu Indicates the response, which is a byte array. * @syscap SystemCapability.Communication.NFC.CardEmulation - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.nfc.cardEmulation/cardEmulation.HceService#transmit */ @@ -413,8 +413,8 @@ declare namespace cardEmulation { * @throws { BusinessError } 3100301 - Card emulation running state is abnormal in service. * @syscap SystemCapability.Communication.NFC.CardEmulation * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ transmit(response: int[]): Promise; @@ -449,8 +449,8 @@ declare namespace cardEmulation { * @throws { BusinessError } 3100301 - Card emulation running state is abnormal in service. * @syscap SystemCapability.Communication.NFC.CardEmulation * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ transmit(response: int[], callback: AsyncCallback): void; } diff --git a/api/@ohos.nfc.controller.d.ts b/api/@ohos.nfc.controller.d.ts index d8695c5e68..8c7e9d7900 100644 --- a/api/@ohos.nfc.controller.d.ts +++ b/api/@ohos.nfc.controller.d.ts @@ -33,8 +33,8 @@ import { Callback } from './@ohos.base'; * @namespace nfcController * @syscap SystemCapability.Communication.NFC.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace nfcController { /** @@ -50,8 +50,8 @@ declare namespace nfcController { * @enum { int } * @syscap SystemCapability.Communication.NFC.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum NfcState { /** @@ -65,8 +65,8 @@ declare namespace nfcController { * * @syscap SystemCapability.Communication.NFC.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_OFF = 1, @@ -81,8 +81,8 @@ declare namespace nfcController { * * @syscap SystemCapability.Communication.NFC.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_TURNING_ON = 2, @@ -97,8 +97,8 @@ declare namespace nfcController { * * @syscap SystemCapability.Communication.NFC.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_ON = 3, @@ -113,8 +113,8 @@ declare namespace nfcController { * * @syscap SystemCapability.Communication.NFC.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ STATE_TURNING_OFF = 4 } @@ -124,7 +124,7 @@ declare namespace nfcController { * * @returns { boolean } Returns {@code true} if the device supports NFC; returns {@code false} otherwise. * @syscap SystemCapability.Communication.NFC.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead global#canIUse("SystemCapability.Communication.NFC.Core") */ @@ -145,8 +145,8 @@ declare namespace nfcController { * @param { Callback } callback Callback used to listen to the nfc state changed event. * @syscap SystemCapability.Communication.NFC.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function on(type: 'nfcStateChange', callback: Callback): void; @@ -165,8 +165,8 @@ declare namespace nfcController { * @param { Callback } callback Callback used to listen to the nfc state changed event. * @syscap SystemCapability.Communication.NFC.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function off(type: 'nfcStateChange', callback?: Callback): void; @@ -176,7 +176,7 @@ declare namespace nfcController { * @permission ohos.permission.MANAGE_SECURE_SETTINGS * @returns { boolean } Returns {@code true} if NFC is enabled or has been enabled; returns {@code false} otherwise. * @syscap SystemCapability.Communication.NFC.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.nfc.controller/nfcController#enableNfc */ @@ -191,8 +191,8 @@ declare namespace nfcController { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 3100101 - The NFC state is abnormal in the service. * @syscap SystemCapability.Communication.NFC.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function enableNfc(): void; @@ -202,7 +202,7 @@ declare namespace nfcController { * @permission ohos.permission.MANAGE_SECURE_SETTINGS * @returns { boolean } Returns {@code true} if NFC is disabled or has been disabled; returns {@code false} otherwise. * @syscap SystemCapability.Communication.NFC.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.nfc.controller/nfcController#disableNfc */ @@ -217,8 +217,8 @@ declare namespace nfcController { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 3100101 - The NFC state is abnormal in the service. * @syscap SystemCapability.Communication.NFC.Core - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function disableNfc(): void; @@ -235,8 +235,8 @@ declare namespace nfcController { * @returns { boolean } Returns {@code true} if NFC is enabled; returns {@code false} otherwise. * @syscap SystemCapability.Communication.NFC.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function isNfcOpen(): boolean; @@ -261,8 +261,8 @@ declare namespace nfcController { * @returns { NfcState } Returns the NFC status. * @syscap SystemCapability.Communication.NFC.Core * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getNfcState(): NfcState; } diff --git a/api/@ohos.nfc.tag.d.ts b/api/@ohos.nfc.tag.d.ts index 3399b2b1d5..da2d23f6ce 100644 --- a/api/@ohos.nfc.tag.d.ts +++ b/api/@ohos.nfc.tag.d.ts @@ -29,7 +29,7 @@ import { } from './tag/nfctech'; import { NdefMessage as _NdefMessage } from './tag/nfctech'; import { TagSession as _TagSession } from './tag/tagSession'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type { PacMap } from './ability/dataAbilityHelper'; /*** endif */ import type rpc from './@ohos.rpc'; @@ -50,8 +50,8 @@ import type { ElementName } from './bundleManager/ElementName'; * @namespace tag * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace tag { /** @@ -67,8 +67,8 @@ declare namespace tag { * @constant * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const NFC_A = 1; @@ -85,8 +85,8 @@ declare namespace tag { * @constant * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const NFC_B = 2; @@ -103,8 +103,8 @@ declare namespace tag { * @constant * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const ISO_DEP = 3; @@ -121,8 +121,8 @@ declare namespace tag { * @constant * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const NFC_F = 4; @@ -139,8 +139,8 @@ declare namespace tag { * @constant * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const NFC_V = 5; @@ -157,8 +157,8 @@ declare namespace tag { * @constant * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const NDEF = 6; @@ -175,8 +175,8 @@ declare namespace tag { * @constant * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const NDEF_FORMATABLE = 7; @@ -193,8 +193,8 @@ declare namespace tag { * @constant * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const MIFARE_CLASSIC = 8; @@ -211,8 +211,8 @@ declare namespace tag { * @constant * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const MIFARE_ULTRALIGHT = 9; @@ -222,8 +222,8 @@ declare namespace tag { * @constant * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ const NFC_BARCODE = 10; @@ -240,8 +240,8 @@ declare namespace tag { * @enum { int } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum TnfType { /** @@ -255,8 +255,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TNF_EMPTY = 0x0, @@ -271,8 +271,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TNF_WELL_KNOWN = 0x1, @@ -287,8 +287,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TNF_MEDIA = 0x2, @@ -303,8 +303,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TNF_ABSOLUTE_URI = 0x3, @@ -319,8 +319,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TNF_EXT_APP = 0x4, @@ -335,8 +335,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TNF_UNKNOWN = 0x5, @@ -351,8 +351,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TNF_UNCHANGED = 0x6 } @@ -370,8 +370,8 @@ declare namespace tag { * @enum { int } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum NfcForumType { /** @@ -385,8 +385,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NFC_FORUM_TYPE_1 = 1, @@ -401,8 +401,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NFC_FORUM_TYPE_2 = 2, @@ -417,8 +417,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NFC_FORUM_TYPE_3 = 3, @@ -433,8 +433,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NFC_FORUM_TYPE_4 = 4, @@ -449,8 +449,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MIFARE_CLASSIC = 101 } @@ -468,8 +468,8 @@ declare namespace tag { * @constant * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const RTD_TEXT: int[]; @@ -486,8 +486,8 @@ declare namespace tag { * @constant * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ const RTD_URI: int[]; @@ -504,8 +504,8 @@ declare namespace tag { * @enum { int } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum MifareClassicType { /** @@ -519,8 +519,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TYPE_UNKNOWN = 0, @@ -535,8 +535,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TYPE_CLASSIC = 1, @@ -551,8 +551,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TYPE_PLUS = 2, @@ -567,8 +567,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TYPE_PRO = 3 } @@ -586,8 +586,8 @@ declare namespace tag { * @enum { int } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum MifareClassicSize { /** @@ -601,8 +601,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MC_SIZE_MINI = 320, @@ -617,8 +617,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MC_SIZE_1K = 1024, @@ -633,8 +633,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MC_SIZE_2K = 2048, @@ -649,8 +649,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ MC_SIZE_4K = 4096 } @@ -668,8 +668,8 @@ declare namespace tag { * @enum { int } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum MifareUltralightType { /** @@ -683,8 +683,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TYPE_UNKNOWN = 0, @@ -699,8 +699,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TYPE_ULTRALIGHT = 1, @@ -715,8 +715,8 @@ declare namespace tag { * * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ TYPE_ULTRALIGHT_C = 2 } @@ -729,7 +729,7 @@ declare namespace tag { * @param { TagInfo } tagInfo Indicates the tag information. * @returns { NfcATag } The {@link NfcATag} object. * @syscap SystemCapability.Communication.NFC.Tag - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.nfc.tag/tag#getNfcA */ @@ -766,8 +766,8 @@ declare namespace tag { * @throws { BusinessError } 3100201 - The tag running state is abnormal in the service. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getNfcA(tagInfo: TagInfo): NfcATag; @@ -779,7 +779,7 @@ declare namespace tag { * @param { TagInfo } tagInfo Indicates the tag information. * @returns { NfcBTag } The {@link NfcBTag} object. * @syscap SystemCapability.Communication.NFC.Tag - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.nfc.tag/tag#getNfcB */ @@ -816,8 +816,8 @@ declare namespace tag { * @throws { BusinessError } 3100201 - The tag running state is abnormal in the service. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getNfcB(tagInfo: TagInfo): NfcBTag; @@ -829,7 +829,7 @@ declare namespace tag { * @param { TagInfo } tagInfo Indicates the tag information. * @returns { NfcFTag } The {@link NfcFTag} object. * @syscap SystemCapability.Communication.NFC.Tag - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.nfc.tag/tag#getNfcF */ @@ -866,8 +866,8 @@ declare namespace tag { * @throws { BusinessError } 3100201 - The tag running state is abnormal in the service. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getNfcF(tagInfo: TagInfo): NfcFTag; @@ -879,7 +879,7 @@ declare namespace tag { * @param { TagInfo } tagInfo Indicates the tag information. * @returns { NfcVTag } The {@link NfcVTag} object. * @syscap SystemCapability.Communication.NFC.Tag - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.nfc.tag/tag#getNfcV */ @@ -916,8 +916,8 @@ declare namespace tag { * @throws { BusinessError } 3100201 - The tag running state is abnormal in the service. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getNfcV(tagInfo: TagInfo): NfcVTag; @@ -952,8 +952,8 @@ declare namespace tag { * @throws { BusinessError } 3100201 - The tag running state is abnormal in the service. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getIsoDep(tagInfo: TagInfo): IsoDepTag; @@ -988,8 +988,8 @@ declare namespace tag { * @throws { BusinessError } 3100201 - The tag running state is abnormal in the service. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getNdef(tagInfo: TagInfo): NdefTag; @@ -1024,8 +1024,8 @@ declare namespace tag { * @throws { BusinessError } 3100201 - The tag running state is abnormal in the service. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getMifareClassic(tagInfo: TagInfo): MifareClassicTag; @@ -1060,8 +1060,8 @@ declare namespace tag { * @throws { BusinessError } 3100201 - The tag running state is abnormal in the service. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getMifareUltralight(tagInfo: TagInfo): MifareUltralightTag; @@ -1096,8 +1096,8 @@ declare namespace tag { * @throws { BusinessError } 3100201 - The tag running state is abnormal in the service. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getNdefFormatable(tagInfo: TagInfo): NdefFormatableTag; @@ -1116,8 +1116,8 @@ declare namespace tag { * @throws { BusinessError } 3100201 - The tag running state is abnormal in the service. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getBarcodeTag(tagInfo: TagInfo): BarcodeTag; @@ -1146,8 +1146,8 @@ declare namespace tag { * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getTagInfo(want: Want): TagInfo; @@ -1184,8 +1184,8 @@ declare namespace tag { * @throws { BusinessError } 3100202 - The element state is invalid. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function registerForegroundDispatch( elementName: ElementName, @@ -1221,8 +1221,8 @@ declare namespace tag { * @throws { BusinessError } 3100201 - The tag running state is abnormal in the service. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function unregisterForegroundDispatch(elementName: ElementName): void; @@ -1262,8 +1262,8 @@ declare namespace tag { * @throws { BusinessError } 3100202 - The element state is invalid. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function on(type: 'readerMode', elementName: ElementName, discTech: int[], callback: AsyncCallback): void; @@ -1301,8 +1301,8 @@ declare namespace tag { * @throws { BusinessError } 3100203 - The off() API can be called only when the on() has been called. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function off(type: 'readerMode', elementName: ElementName, callback?: AsyncCallback): void; @@ -1323,8 +1323,8 @@ declare namespace tag { * @typedef TagInfo * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface TagInfo { /** @@ -1341,8 +1341,8 @@ declare namespace tag { * @type { int[] } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ uid: int[]; @@ -1360,8 +1360,8 @@ declare namespace tag { * @type { int[] } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ technology: int[]; @@ -1372,7 +1372,7 @@ declare namespace tag { * @type { PacMap[] } * @syscap SystemCapability.Communication.NFC.Tag * @systemapi hide for inner use. - * @since 9 + * @since 9 dynamic */ extrasData: PacMap[]; @@ -1383,8 +1383,8 @@ declare namespace tag { * @type { int } * @syscap SystemCapability.Communication.NFC.Tag * @systemapi hide for inner use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ tagRfDiscId: int; @@ -1395,8 +1395,8 @@ declare namespace tag { * @type { rpc.RemoteObject } * @syscap SystemCapability.Communication.NFC.Tag * @systemapi hide for inner use. - * @since arkts {'1.1':'9','1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ remoteTagService: rpc.RemoteObject; @@ -1405,7 +1405,7 @@ declare namespace tag { * * @permission ohos.permission.NFC_TAG * @syscap SystemCapability.Communication.NFC.Tag - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.nfc.tag/tag.TagInfo#technology */ @@ -1425,8 +1425,8 @@ declare namespace tag { * @typedef NdefRecord * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface NdefRecord { /** @@ -1441,8 +1441,8 @@ declare namespace tag { * @type { int } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ tnf: int; @@ -1459,8 +1459,8 @@ declare namespace tag { * @type { int[] } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ rtdType: int[]; @@ -1476,8 +1476,8 @@ declare namespace tag { * @type { int[] } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ id: int[]; @@ -1493,8 +1493,8 @@ declare namespace tag { * @type { int[] } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ payload: int[]; } @@ -1512,8 +1512,8 @@ declare namespace tag { * @namespace ndef * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ namespace ndef { /** @@ -1539,8 +1539,8 @@ declare namespace tag { *
3. Parameter verification failed. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function makeUriRecord(uri: string): NdefRecord; @@ -1569,8 +1569,8 @@ declare namespace tag { *
3. Parameter verification failed. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function makeTextRecord(text: string, locale: string): NdefRecord; @@ -1585,8 +1585,8 @@ declare namespace tag { *
3. Parameter verification failed. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function makeApplicationRecord(bundleName: string): NdefRecord; @@ -1615,8 +1615,8 @@ declare namespace tag { *
3. Parameter verification failed. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function makeMimeRecord(mimeType: string, mimeData: int[]): NdefRecord; @@ -1647,8 +1647,8 @@ declare namespace tag { *
3. Parameter verification failed. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function makeExternalRecord(domainName: string, type: string, externalData: int[]): NdefRecord; /** @@ -1674,8 +1674,8 @@ declare namespace tag { *
3. Parameter verification failed. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createNdefMessage(data: int[]): NdefMessage; @@ -1702,8 +1702,8 @@ declare namespace tag { *
3. Parameter verification failed. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function createNdefMessage(ndefRecords: NdefRecord[]): NdefMessage; @@ -1727,8 +1727,8 @@ declare namespace tag { *
3. Parameter verification failed. * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function messageToBytes(ndefMessage: NdefMessage): int[]; } @@ -1745,8 +1745,8 @@ declare namespace tag { * @typedef { _NfcATag } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type NfcATag = _NfcATag; @@ -1762,8 +1762,8 @@ declare namespace tag { * @typedef { _NfcBTag } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type NfcBTag = _NfcBTag; @@ -1779,8 +1779,8 @@ declare namespace tag { * @typedef { _NfcFTag } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type NfcFTag = _NfcFTag; @@ -1796,8 +1796,8 @@ declare namespace tag { * @typedef { _NfcVTag } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type NfcVTag = _NfcVTag; @@ -1813,8 +1813,8 @@ declare namespace tag { * @typedef { _IsoDepTag } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type IsoDepTag = _IsoDepTag; @@ -1830,8 +1830,8 @@ declare namespace tag { * @typedef { _NdefTag } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type NdefTag = _NdefTag; @@ -1847,8 +1847,8 @@ declare namespace tag { * @typedef { _MifareClassicTag } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type MifareClassicTag = _MifareClassicTag; @@ -1864,8 +1864,8 @@ declare namespace tag { * @typedef { _MifareUltralightTag } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type MifareUltralightTag = _MifareUltralightTag; @@ -1881,8 +1881,8 @@ declare namespace tag { * @typedef { _NdefFormatableTag } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type NdefFormatableTag = _NdefFormatableTag; @@ -1892,8 +1892,8 @@ declare namespace tag { * @typedef { _BarcodeTag } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export type BarcodeTag = _BarcodeTag; @@ -1909,8 +1909,8 @@ declare namespace tag { * @typedef { _NdefMessage } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type NdefMessage = _NdefMessage; @@ -1926,8 +1926,8 @@ declare namespace tag { * @typedef { _TagSession } * @syscap SystemCapability.Communication.NFC.Tag * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type TagSession = _TagSession; } diff --git a/api/@ohos.notificationManager.d.ts b/api/@ohos.notificationManager.d.ts index 8494233ed3..c3ad5f5919 100644 --- a/api/@ohos.notificationManager.d.ts +++ b/api/@ohos.notificationManager.d.ts @@ -40,7 +40,7 @@ import { NotificationSorting as _NotificationSorting } from './notification/noti import { NotificationTemplate as _NotificationTemplate } from './notification/notificationTemplate'; import { NotificationUserInput as _NotificationUserInput } from './notification/notificationUserInput'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import { AsyncCallback } from './@ohos.base'; import type { NotificationLiveViewContent as _NotificationLiveViewContent } from './notification/notificationContent'; import type { LiveViewStatus as _LiveViewStatus } from './notification/notificationContent'; @@ -49,7 +49,7 @@ import type { NotificationFilter as _NotificationFilter } from './notification/n import type { NotificationCheckRequest as _NotificationCheckRequest } from './notification/notificationRequest'; import type UIAbilityContext from './application/UIAbilityContext'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { AsyncCallback } from '@ohos.base'; import { NotificationLiveViewContent as _NotificationLiveViewContent } from './notification/notificationContent'; import { NotificationIconButton as _NotificationIconButton } from './notification/notificationContent'; @@ -76,8 +76,8 @@ import type UIAbilityContext from './application/UIAbilityContext'; * @syscap SystemCapability.Notification.Notification * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare namespace notificationManager { /** @@ -147,8 +147,8 @@ declare namespace notificationManager { * @throws { BusinessError } 2300007 - Network unreachable. * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function publish(request: NotificationRequest, callback: AsyncCallback): void; @@ -216,8 +216,8 @@ declare namespace notificationManager { * @throws { BusinessError } 2300007 - Network unreachable. * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function publish(request: NotificationRequest): Promise; @@ -299,8 +299,8 @@ declare namespace notificationManager { * @throws { BusinessError } 2300007 - Network unreachable. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function publish(request: NotificationRequest, userId: int, callback: AsyncCallback): void; @@ -382,8 +382,8 @@ declare namespace notificationManager { * @throws { BusinessError } 2300007 - Network unreachable. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function publish(request: NotificationRequest, userId: int): Promise; @@ -414,8 +414,8 @@ declare namespace notificationManager { * @throws { BusinessError } 2300007 - Network unreachable. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function publishAsBundle( request: NotificationRequest, @@ -451,8 +451,8 @@ declare namespace notificationManager { * @throws { BusinessError } 2300007 - Network unreachable. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function publishAsBundle(request: NotificationRequest, representativeBundle: string, userId: int): Promise; @@ -482,8 +482,8 @@ declare namespace notificationManager { * @throws { BusinessError } 2300007 - Network unreachable. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function publishAsBundle(representativeBundle: BundleOption, request: NotificationRequest): Promise; @@ -516,8 +516,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600007 - The notification does not exist. * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function cancel(id: int, callback: AsyncCallback): void; @@ -535,8 +535,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @throws { BusinessError } 1600007 - The notification does not exist. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function cancel(id: int, label: string, callback: AsyncCallback): void; @@ -553,8 +553,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @throws { BusinessError } 1600007 - The notification does not exist. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function cancel(id: int, label?: string): Promise; @@ -575,8 +575,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600017 - There is no corresponding agent relationship configuration. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function cancel(representativeBundle: BundleOption, id: int): Promise; @@ -600,8 +600,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function cancelAsBundle( id: int, @@ -630,8 +630,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function cancelAsBundle(id: int, representativeBundle: string, userId: int): Promise; @@ -655,8 +655,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function cancelAsBundle(representativeBundle: BundleOption, id: int): Promise; @@ -685,8 +685,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function cancelAll(callback: AsyncCallback): void; @@ -709,8 +709,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function cancelAll(): Promise; @@ -730,8 +730,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function addSlot(slot: NotificationSlot, callback: AsyncCallback): void; @@ -751,8 +751,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function addSlot(slot: NotificationSlot): Promise; @@ -769,8 +769,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function addSlot(type: SlotType, callback: AsyncCallback): void; @@ -786,8 +786,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function addSlot(type: SlotType): Promise; @@ -807,8 +807,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function addSlots(slots: Array, callback: AsyncCallback): void; @@ -828,8 +828,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function addSlots(slots: Array): Promise; @@ -845,8 +845,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSlot(slotType: SlotType, callback: AsyncCallback): void; @@ -861,8 +861,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSlot(slotType: SlotType): Promise; @@ -877,8 +877,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSlots(callback: AsyncCallback>): void; @@ -890,8 +890,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSlots(): Promise>; @@ -907,8 +907,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getAllNotificationEnabledBundles(): Promise>; @@ -924,8 +924,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function removeSlot(slotType: SlotType, callback: AsyncCallback): void; @@ -940,8 +940,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function removeSlot(slotType: SlotType): Promise; @@ -956,8 +956,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function removeAllSlots(callback: AsyncCallback): void; @@ -969,8 +969,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function removeAllSlots(): Promise; @@ -991,8 +991,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setNotificationEnable(bundle: BundleOption, enable: boolean, callback: AsyncCallback): void; @@ -1013,8 +1013,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setNotificationEnable(bundle: BundleOption, enable: boolean): Promise; @@ -1034,8 +1034,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isNotificationEnabled(bundle: BundleOption, callback: AsyncCallback): void; @@ -1055,8 +1055,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isNotificationEnabled(bundle: BundleOption): Promise; @@ -1106,8 +1106,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function isNotificationEnabled(callback: AsyncCallback): void; @@ -1150,8 +1150,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function isNotificationEnabled(): Promise; @@ -1164,8 +1164,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function isNotificationEnabledSync(): boolean; @@ -1185,8 +1185,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600008 - The user does not exist. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isNotificationEnabled(userId: int, callback: AsyncCallback): void; @@ -1206,8 +1206,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600008 - The user does not exist. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isNotificationEnabled(userId: int): Promise; @@ -1248,8 +1248,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function displayBadge(bundle: BundleOption, enable: boolean, callback: AsyncCallback): void; @@ -1290,8 +1290,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function displayBadge(bundle: BundleOption, enable: boolean): Promise; @@ -1330,8 +1330,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function isBadgeDisplayed(bundle: BundleOption, callback: AsyncCallback): void; @@ -1370,8 +1370,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function isBadgeDisplayed(bundle: BundleOption): Promise; @@ -1412,8 +1412,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setSlotByBundle(bundle: BundleOption, slot: NotificationSlot, callback: AsyncCallback): void; @@ -1454,8 +1454,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setSlotByBundle(bundle: BundleOption, slot: NotificationSlot): Promise; @@ -1494,8 +1494,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getSlotsByBundle(bundle: BundleOption, callback: AsyncCallback>): void; @@ -1538,8 +1538,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getSlotByBundle(bundle: BundleOption, slotType: SlotType): Promise; @@ -1578,8 +1578,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getSlotsByBundle(bundle: BundleOption): Promise>; @@ -1618,8 +1618,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getSlotNumByBundle(bundle: BundleOption, callback: AsyncCallback): void; @@ -1658,8 +1658,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getSlotNumByBundle(bundle: BundleOption): Promise; @@ -1678,8 +1678,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAllActiveNotifications(callback: AsyncCallback>): void; @@ -1696,8 +1696,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getAllActiveNotifications(): Promise>; @@ -1712,8 +1712,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getActiveNotificationCount(callback: AsyncCallback): void; @@ -1725,8 +1725,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getActiveNotificationCount(): Promise; @@ -1742,8 +1742,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getActiveNotifications(callback: AsyncCallback>): void; @@ -1755,8 +1755,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getActiveNotifications(): Promise>; @@ -1773,8 +1773,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getActiveNotificationByFilter(filter: NotificationFilter, callback: AsyncCallback): void; @@ -1791,8 +1791,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getActiveNotificationByFilter(filter: NotificationFilter): Promise; @@ -1808,8 +1808,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function cancelGroup(groupName: string, callback: AsyncCallback): void; @@ -1824,8 +1824,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function cancelGroup(groupName: string): Promise; @@ -1846,8 +1846,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function removeGroupByBundle(bundle: BundleOption, groupName: string, callback: AsyncCallback): void; @@ -1868,8 +1868,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function removeGroupByBundle(bundle: BundleOption, groupName: string): Promise; @@ -1908,8 +1908,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setDoNotDisturbDate(date: DoNotDisturbDate, callback: AsyncCallback): void; @@ -1948,8 +1948,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setDoNotDisturbDate(date: DoNotDisturbDate): Promise; @@ -1992,8 +1992,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setDoNotDisturbDate(date: DoNotDisturbDate, userId: int, callback: AsyncCallback): void; @@ -2036,8 +2036,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setDoNotDisturbDate(date: DoNotDisturbDate, userId: int): Promise; @@ -2074,8 +2074,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getDoNotDisturbDate(callback: AsyncCallback): void; @@ -2108,8 +2108,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getDoNotDisturbDate(): Promise; @@ -2150,8 +2150,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getDoNotDisturbDate(userId: int, callback: AsyncCallback): void; @@ -2192,8 +2192,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getDoNotDisturbDate(userId: int): Promise; @@ -2213,8 +2213,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isSupportDoNotDisturbMode(callback: AsyncCallback): void; @@ -2231,8 +2231,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isSupportDoNotDisturbMode(): Promise; @@ -2249,8 +2249,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isSupportTemplate(templateName: string, callback: AsyncCallback): void; @@ -2266,8 +2266,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isSupportTemplate(templateName: string): Promise; @@ -2313,7 +2313,7 @@ declare namespace notificationManager { * @throws { BusinessError } 1600013 - A notification dialog box is already displayed. * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since 12 + * @since 12 dynamiconly * @deprecated since 12 * @useinstead requestEnableNotification */ @@ -2370,8 +2370,8 @@ declare namespace notificationManager { * @syscap SystemCapability.Notification.Notification * @StageModelOnly * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function requestEnableNotification(context: UIAbilityContext, callback: AsyncCallback): void; @@ -2408,7 +2408,7 @@ declare namespace notificationManager { * @throws { BusinessError } 1600013 - A notification dialog box is already displayed. * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since 12 + * @since 12 dynamiconly * @deprecated since 12 * @useinstead requestEnableNotification */ @@ -2462,8 +2462,8 @@ declare namespace notificationManager { * @syscap SystemCapability.Notification.Notification * @StageModelOnly * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function requestEnableNotification(context: UIAbilityContext): Promise; @@ -2502,8 +2502,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600010 - Distributed operation failed. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setDistributedEnable(enable: boolean, callback: AsyncCallback): void; @@ -2542,8 +2542,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600010 - Distributed operation failed. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setDistributedEnable(enable: boolean): Promise; @@ -2559,8 +2559,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @throws { BusinessError } 1600010 - Distributed operation failed. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isDistributedEnabled(callback: AsyncCallback): void; @@ -2574,8 +2574,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @throws { BusinessError } 1600010 - Distributed operation failed. * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isDistributedEnabled(): Promise; @@ -2618,8 +2618,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setDistributedEnableByBundle(bundle: BundleOption, enable: boolean, callback: AsyncCallback): void; @@ -2662,8 +2662,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setDistributedEnableByBundle(bundle: BundleOption, enable: boolean): Promise; @@ -2710,8 +2710,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setDistributedEnabledByBundle(bundle: BundleOption, deviceType: string, enable: boolean): Promise; @@ -2754,8 +2754,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function isDistributedEnabledByBundle(bundle: BundleOption, callback: AsyncCallback): void; @@ -2796,8 +2796,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function isDistributedEnabledByBundle(bundle: BundleOption): Promise; @@ -2842,8 +2842,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function isDistributedEnabledByBundle(bundle: BundleOption, deviceType: string): Promise; @@ -2888,8 +2888,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setSmartReminderEnabled(deviceType: string, enable: boolean): Promise; @@ -2932,8 +2932,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function isSmartReminderEnabled(deviceType: string): Promise; @@ -2968,8 +2968,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getDeviceRemindType(callback: AsyncCallback): void; @@ -3000,8 +3000,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getDeviceRemindType(): Promise; @@ -3066,8 +3066,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setNotificationEnableSlot( bundle: BundleOption, @@ -3121,8 +3121,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setNotificationEnableSlot( bundle: BundleOption, @@ -3197,8 +3197,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setNotificationEnableSlot(bundle: BundleOption, type: SlotType, enable: boolean, isForceControl?: boolean): Promise; @@ -3239,8 +3239,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function isNotificationSlotEnabled(bundle: BundleOption, type: SlotType, callback: AsyncCallback): void; @@ -3281,8 +3281,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function isNotificationSlotEnabled(bundle: BundleOption, type: SlotType): Promise; @@ -3323,8 +3323,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600008 - The user does not exist. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setSyncNotificationEnabledWithoutApp(userId: int, enable: boolean, callback: AsyncCallback): void; @@ -3365,8 +3365,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600008 - The user does not exist. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setSyncNotificationEnabledWithoutApp(userId: int, enable: boolean): Promise; @@ -3386,8 +3386,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600008 - The user does not exist. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSyncNotificationEnabledWithoutApp(userId: int, callback: AsyncCallback): void; @@ -3407,8 +3407,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600008 - The user does not exist. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getSyncNotificationEnabledWithoutApp(userId: int): Promise; @@ -3461,8 +3461,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setBadgeNumber(badgeNumber: int, callback: AsyncCallback): void; @@ -3512,8 +3512,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setBadgeNumber(badgeNumber: int): Promise; @@ -3554,8 +3554,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setBadgeNumberByBundle(bundle: BundleOption, badgeNumber: int): Promise; @@ -3585,8 +3585,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600001 - Internal error. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function on(type: 'checkNotification', callback: (checkInfo: NotificationCheckInfo) => NotificationCheckResult): void; @@ -3624,8 +3624,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function on(type: 'checkNotification', checkRequest: NotificationCheckRequest, callback: (checkInfo: NotificationCheckInfo) => Promise): void; @@ -3656,8 +3656,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600001 - Internal error. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function off( type: 'checkNotification', @@ -3705,8 +3705,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function triggerSystemLiveView(bundle: BundleOption, notificationId: int, buttonOptions: ButtonOptions): Promise; @@ -3741,8 +3741,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function subscribeSystemLiveView(subscriber: SystemLiveViewSubscriber): Promise; @@ -3783,8 +3783,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setSlotFlagsByBundle(bundle: BundleOption, slotFlags: long): Promise; @@ -3823,8 +3823,8 @@ declare namespace notificationManager { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getSlotFlagsByBundle(bundle: BundleOption): Promise; @@ -3836,8 +3836,7 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function getNotificationSetting(): Promise; @@ -3876,8 +3875,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function addDoNotDisturbProfile(templates: Array): Promise; @@ -3916,8 +3915,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function removeDoNotDisturbProfile(templates: Array): Promise; @@ -3956,8 +3955,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setAdditionalConfig(key: string, value: string): Promise; @@ -3986,8 +3985,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600018 - the notification settings window is already displayed. * @syscap SystemCapability.Notification.NotificationSettings * @stagemodelonly - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function openNotificationSettings(context: UIAbilityContext): Promise; @@ -4026,8 +4025,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600019 - The do-not-disturb profile does not exist. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getDoNotDisturbProfile(id: long): Promise; @@ -4044,8 +4043,8 @@ declare namespace notificationManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setTargetDeviceStatus(deviceType: string, status: long): Promise; @@ -4064,8 +4063,8 @@ declare namespace notificationManager { * @throws { BusinessError } 1600002 - Marshalling or unmarshalling error. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function disableNotificationFeature(disabled:boolean, bundleList: Array): Promise; @@ -4083,8 +4082,8 @@ declare namespace notificationManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setDistributedEnabledBySlot(slot: SlotType, deviceType: string, enabled: boolean): Promise; @@ -4101,8 +4100,8 @@ declare namespace notificationManager { *
2. Incorrect parameter types. 3. Parameter verification failed. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function isDistributedEnabledBySlot(slot: SlotType, deviceType: string): Promise; @@ -4112,8 +4111,8 @@ declare namespace notificationManager { * @typedef ButtonOptions * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface ButtonOptions { /** @@ -4123,8 +4122,8 @@ declare namespace notificationManager { * @type { string } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ buttonName: string; } @@ -4135,8 +4134,8 @@ declare namespace notificationManager { * @typedef SystemLiveViewSubscriber * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export interface SystemLiveViewSubscriber { /** @@ -4145,8 +4144,8 @@ declare namespace notificationManager { * @type { ?function } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onResponse?: (notificationId: int, buttonOptions: ButtonOptions) => void; } @@ -4157,8 +4156,8 @@ declare namespace notificationManager { * @typedef NotificationCheckInfo * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface NotificationCheckInfo { /** @@ -4168,8 +4167,8 @@ declare namespace notificationManager { * @type { string } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ bundleName: string; @@ -4180,8 +4179,8 @@ declare namespace notificationManager { * @type { int } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ notificationId: int; @@ -4192,8 +4191,8 @@ declare namespace notificationManager { * @type { ?string } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ label?: string; @@ -4204,8 +4203,8 @@ declare namespace notificationManager { * @type { ContentType } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ contentType: ContentType; @@ -4216,8 +4215,8 @@ declare namespace notificationManager { * @type { int } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ creatorUserId: int; @@ -4228,8 +4227,8 @@ declare namespace notificationManager { * @type { SlotType } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ slotType: SlotType; @@ -4240,8 +4239,8 @@ declare namespace notificationManager { * @type { ?Record } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ extraInfos?: Record; } @@ -4252,8 +4251,8 @@ declare namespace notificationManager { * @typedef NotificationCheckResult * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ export interface NotificationCheckResult { /** @@ -4263,8 +4262,8 @@ declare namespace notificationManager { * @type { int } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ code: int; @@ -4275,8 +4274,8 @@ declare namespace notificationManager { * @type { string } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ message: string; } @@ -4286,8 +4285,7 @@ declare namespace notificationManager { * * @typedef NotificationSetting * @syscap SystemCapability.Notification.Notification - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ export interface NotificationSetting { /** @@ -4295,8 +4293,7 @@ declare namespace notificationManager { * * @type { boolean } * @syscap SystemCapability.Notification.Notification - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ vibrationEnabled: boolean; @@ -4305,8 +4302,7 @@ declare namespace notificationManager { * * @type { boolean } * @syscap SystemCapability.Notification.Notification - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ soundEnabled: boolean; } @@ -4324,8 +4320,8 @@ declare namespace notificationManager { * @enum { int } * @syscap SystemCapability.Notification.Notification * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum SlotType { /** @@ -4339,8 +4335,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ UNKNOWN_TYPE = 0, @@ -4355,8 +4351,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SOCIAL_COMMUNICATION = 1, @@ -4371,8 +4367,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SERVICE_INFORMATION = 2, @@ -4387,8 +4383,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CONTENT_INFORMATION = 3, @@ -4407,8 +4403,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ LIVE_VIEW = 4, @@ -4425,8 +4421,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ CUSTOMER_SERVICE = 5, @@ -4435,8 +4431,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ EMERGENCY_INFORMATION = 10, @@ -4451,8 +4447,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ OTHER_TYPES = 0xFFFF } @@ -4471,8 +4467,8 @@ declare namespace notificationManager { * @syscap SystemCapability.Notification.Notification * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum ContentType { /** @@ -4487,8 +4483,8 @@ declare namespace notificationManager { * @syscap SystemCapability.Notification.Notification * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFICATION_CONTENT_BASIC_TEXT, @@ -4504,8 +4500,8 @@ declare namespace notificationManager { * @syscap SystemCapability.Notification.Notification * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFICATION_CONTENT_LONG_TEXT, @@ -4520,8 +4516,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFICATION_CONTENT_PICTURE, @@ -4536,8 +4532,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFICATION_CONTENT_CONVERSATION, @@ -4553,8 +4549,8 @@ declare namespace notificationManager { * @syscap SystemCapability.Notification.Notification * @crossplatform * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFICATION_CONTENT_MULTILINE, @@ -4571,8 +4567,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFICATION_CONTENT_SYSTEM_LIVE_VIEW, @@ -4587,8 +4583,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFICATION_CONTENT_LIVE_VIEW, } @@ -4598,16 +4594,16 @@ declare namespace notificationManager { * * @enum { int } * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum SlotLevel { /** * Notification is disabled. * * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ LEVEL_NONE = 0, @@ -4615,8 +4611,8 @@ declare namespace notificationManager { * Notification is enabled, but the notification icon is not displayed in the status bar, with no banner and alert tone. * * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ LEVEL_MIN = 1, @@ -4624,8 +4620,8 @@ declare namespace notificationManager { * Notification is enabled, and the notification icon is displayed in the status bar, with no banner and alert tone. * * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ LEVEL_LOW = 2, @@ -4633,8 +4629,8 @@ declare namespace notificationManager { * Notification is enabled, and the notification icon is displayed in the status bar, with an alert tone but no banner. * * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ LEVEL_DEFAULT = 3, @@ -4642,8 +4638,8 @@ declare namespace notificationManager { * Notification is enabled, and the notification icon is displayed in the status bar, with an alert tone and banner. * * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ LEVEL_HIGH = 4 } @@ -4654,8 +4650,8 @@ declare namespace notificationManager { * @enum { int } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum DoNotDisturbType { /** @@ -4663,8 +4659,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TYPE_NONE = 0, @@ -4673,8 +4669,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TYPE_ONCE = 1, @@ -4683,8 +4679,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TYPE_DAILY = 2, @@ -4693,8 +4689,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TYPE_CLEARLY = 3 } @@ -4705,8 +4701,8 @@ declare namespace notificationManager { * @typedef DoNotDisturbDate * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface DoNotDisturbDate { /** @@ -4715,8 +4711,8 @@ declare namespace notificationManager { * @type { DoNotDisturbType } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ type: DoNotDisturbType; @@ -4726,8 +4722,8 @@ declare namespace notificationManager { * @type { Date } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ begin: Date; @@ -4737,8 +4733,8 @@ declare namespace notificationManager { * @type { Date } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ end: Date; } @@ -4749,8 +4745,8 @@ declare namespace notificationManager { * @typedef DoNotDisturbProfile * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export interface DoNotDisturbProfile { /** @@ -4759,8 +4755,8 @@ declare namespace notificationManager { * @type { long } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ id: long; @@ -4770,8 +4766,8 @@ declare namespace notificationManager { * @type { string } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ name: string; @@ -4781,8 +4777,8 @@ declare namespace notificationManager { * @type { ?Array } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ trustlist?: Array; } @@ -4793,8 +4789,8 @@ declare namespace notificationManager { * @enum { int } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum DeviceRemindType { /** @@ -4802,8 +4798,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ IDLE_DONOT_REMIND = 0, @@ -4812,8 +4808,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ IDLE_REMIND = 1, @@ -4822,8 +4818,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ ACTIVE_DONOT_REMIND = 2, @@ -4832,8 +4828,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ ACTIVE_REMIND = 3 } @@ -4844,8 +4840,8 @@ declare namespace notificationManager { * @enum { int } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum SourceType { /** @@ -4853,8 +4849,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TYPE_NORMAL = 0, @@ -4863,8 +4859,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TYPE_CONTINUOUS = 1, @@ -4873,8 +4869,8 @@ declare namespace notificationManager { * * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ TYPE_TIMER = 2 } @@ -4885,16 +4881,16 @@ declare namespace notificationManager { * @enum { int } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export enum NotificationControlFlagStatus { /** * Manipulating of the enumeration by bitwise-or operation represents the closing of ringtone. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFICATION_STATUS_CLOSE_SOUND = 1 << 0, @@ -4902,8 +4898,8 @@ declare namespace notificationManager { * Manipulating of the enumeration by bitwise-or operation represents the closing of lock screen. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFICATION_STATUS_CLOSE_LOCKSCREEN = 1 << 1, @@ -4911,8 +4907,8 @@ declare namespace notificationManager { * Manipulating of the enumeration by bitwise-or operation represents the closing of banner. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFICATION_STATUS_CLOSE_BANNER = 1 << 2, @@ -4920,8 +4916,8 @@ declare namespace notificationManager { * Manipulating of the enumeration by bitwise-or operation represents the closing of light screen. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFICATION_STATUS_CLOSE_LIGHT_SCREEN = 1 << 3, @@ -4929,8 +4925,8 @@ declare namespace notificationManager { * Manipulating of the enumeration by bitwise-or operation represents the closing of vibration. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFICATION_STATUS_CLOSE_VIBRATION = 1 << 4, @@ -4938,8 +4934,8 @@ declare namespace notificationManager { * Manipulating of the enumeration by bitwise-or operation represents the closing of status bar icon. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NOTIFICATION_STATUS_CLOSE_STATUSBAR_ICON = 1 << 5 } @@ -4949,8 +4945,8 @@ declare namespace notificationManager { * * @typedef { _BundleOption } BundleOption * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type BundleOption = _BundleOption; @@ -4959,8 +4955,8 @@ declare namespace notificationManager { * * @typedef { _NotificationActionButton } NotificationActionButton * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type NotificationActionButton = _NotificationActionButton; @@ -4976,8 +4972,8 @@ declare namespace notificationManager { * @typedef { _NotificationBasicContent } NotificationBasicContent * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type NotificationBasicContent = _NotificationBasicContent; @@ -4993,8 +4989,8 @@ declare namespace notificationManager { * @typedef { _NotificationContent } NotificationContent * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type NotificationContent = _NotificationContent; @@ -5010,8 +5006,8 @@ declare namespace notificationManager { * @typedef { _NotificationLongTextContent } NotificationLongTextContent * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type NotificationLongTextContent = _NotificationLongTextContent; @@ -5021,8 +5017,8 @@ declare namespace notificationManager { * @typedef { _NotificationLiveViewContent } NotificationLiveViewContent * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type NotificationLiveViewContent = _NotificationLiveViewContent; @@ -5038,8 +5034,8 @@ declare namespace notificationManager { * @typedef { _NotificationMultiLineContent } NotificationMultiLineContent * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type NotificationMultiLineContent = _NotificationMultiLineContent; @@ -5048,8 +5044,8 @@ declare namespace notificationManager { * * @typedef { _NotificationPictureContent } NotificationPictureContent * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type NotificationPictureContent = _NotificationPictureContent; @@ -5058,8 +5054,8 @@ declare namespace notificationManager { * * @typedef { _NotificationSystemLiveViewContent } NotificationSystemLiveViewContent * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type NotificationSystemLiveViewContent = _NotificationSystemLiveViewContent; @@ -5069,8 +5065,8 @@ declare namespace notificationManager { * @typedef { _NotificationFlags } NotificationFlags * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type NotificationFlags = _NotificationFlags; @@ -5080,8 +5076,8 @@ declare namespace notificationManager { * @typedef { _NotificationFlagStatus } NotificationFlagStatus * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type NotificationFlagStatus = _NotificationFlagStatus; @@ -5097,8 +5093,8 @@ declare namespace notificationManager { * @typedef { _NotificationRequest } NotificationRequest * @syscap SystemCapability.Notification.Notification * @crossplatform - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type NotificationRequest = _NotificationRequest; @@ -5108,8 +5104,8 @@ declare namespace notificationManager { * @typedef { _UnifiedGroupInfo } UnifiedGroupInfo * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ export type UnifiedGroupInfo = _UnifiedGroupInfo; @@ -5119,8 +5115,8 @@ declare namespace notificationManager { * @typedef { _NotificationFilter } NotificationFilter * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type NotificationFilter = _NotificationFilter; @@ -5130,8 +5126,8 @@ declare namespace notificationManager { * @typedef { _NotificationCheckRequest } NotificationCheckRequest * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type NotificationCheckRequest = _NotificationCheckRequest; @@ -5140,8 +5136,8 @@ declare namespace notificationManager { * * @typedef { _DistributedOptions } DistributedOptions * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type DistributedOptions = _DistributedOptions; @@ -5150,8 +5146,8 @@ declare namespace notificationManager { * * @typedef { _NotificationSlot } NotificationSlot * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type NotificationSlot = _NotificationSlot; @@ -5161,8 +5157,8 @@ declare namespace notificationManager { * @typedef { _LiveViewStatus } LiveViewStatus * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type LiveViewStatus = _LiveViewStatus; @@ -5172,8 +5168,8 @@ declare namespace notificationManager { * @typedef { _LiveViewTypes } LiveViewTypes * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export type LiveViewTypes = _LiveViewTypes; @@ -5183,8 +5179,8 @@ declare namespace notificationManager { * @typedef { _NotificationSorting } NotificationSorting * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type NotificationSorting = _NotificationSorting; @@ -5193,8 +5189,8 @@ declare namespace notificationManager { * * @typedef { _NotificationTemplate } NotificationTemplate * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type NotificationTemplate = _NotificationTemplate; @@ -5203,8 +5199,8 @@ declare namespace notificationManager { * * @typedef { _NotificationUserInput } NotificationUserInput * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type NotificationUserInput = _NotificationUserInput; @@ -5213,8 +5209,8 @@ declare namespace notificationManager { * * @typedef { _NotificationCapsule } NotificationCapsule * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type NotificationCapsule = _NotificationCapsule; @@ -5223,8 +5219,8 @@ declare namespace notificationManager { * * @typedef { _NotificationButton } NotificationButton * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type NotificationButton = _NotificationButton; @@ -5233,8 +5229,8 @@ declare namespace notificationManager { * * @typedef { _NotificationTime } NotificationTime * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type NotificationTime = _NotificationTime; @@ -5243,8 +5239,8 @@ declare namespace notificationManager { * * @typedef { _NotificationProgress } NotificationProgress * @syscap SystemCapability.Notification.Notification - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type NotificationProgress = _NotificationProgress; @@ -5253,8 +5249,7 @@ declare namespace notificationManager { * * @typedef { _NotificationIconButton } NotificationIconButton * @syscap SystemCapability.Notification.Notification - * @since 20 - * @arkts 1.2 + * @since 20 static */ export type NotificationIconButton = _NotificationIconButton; } diff --git a/api/@ohos.notificationSubscribe.d.ts b/api/@ohos.notificationSubscribe.d.ts index bc3713020a..074c9a484b 100644 --- a/api/@ohos.notificationSubscribe.d.ts +++ b/api/@ohos.notificationSubscribe.d.ts @@ -24,10 +24,10 @@ import { NotificationSubscribeInfo as _NotificationSubscribeInfo } from './notif import { NotificationSubscriber as _NotificationSubscriber } from './notification/notificationSubscriber'; import { SubscribeCallbackData as _SubscribeCallbackData } from './notification/notificationSubscriber'; import { EnabledNotificationCallbackData as _EnabledNotificationCallbackData } from './notification/notificationSubscriber'; -/*** if arkts 1.1 */ +/*** if arkts dynamic */ import type { BadgeNumberCallbackData as _BadgeNumberCallbackData } from './notification/notificationSubscriber'; /*** endif */ -/*** if arkts 1.2 */ +/*** if arkts static */ import { BadgeNumberCallbackData as _BadgeNumberCallbackData } from './notification/notificationSubscriber'; /*** endif */ @@ -35,8 +35,8 @@ import { BadgeNumberCallbackData as _BadgeNumberCallbackData } from './notificat * @namespace notificationSubscribe * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace notificationSubscribe { /** @@ -45,8 +45,8 @@ declare namespace notificationSubscribe { * @typedef NotificationKey * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export interface NotificationKey { /** @@ -55,8 +55,8 @@ declare namespace notificationSubscribe { * @type { int } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ id: int; @@ -66,8 +66,8 @@ declare namespace notificationSubscribe { * @type { ?string } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ label?: string; } @@ -78,8 +78,8 @@ declare namespace notificationSubscribe { * @enum { int } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum RemoveReason { /** @@ -87,8 +87,8 @@ declare namespace notificationSubscribe { * * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ CLICK_REASON_REMOVE = 1, @@ -97,8 +97,8 @@ declare namespace notificationSubscribe { * * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ CANCEL_REASON_REMOVE = 2 } @@ -119,8 +119,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function subscribe(subscriber: NotificationSubscriber, callback: AsyncCallback): void; @@ -138,8 +138,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function subscribeSelf(subscriber: NotificationSubscriber): Promise; @@ -160,8 +160,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function subscribe( subscriber: NotificationSubscriber, @@ -186,8 +186,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 1600012 - No memory space. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function subscribe(subscriber: NotificationSubscriber, info?: NotificationSubscribeInfo): Promise; @@ -206,8 +206,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function unsubscribe(subscriber: NotificationSubscriber, callback: AsyncCallback): void; @@ -226,8 +226,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function unsubscribe(subscriber: NotificationSubscriber): Promise; @@ -250,8 +250,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function remove( bundle: BundleOption, @@ -279,8 +279,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function remove(bundle: BundleOption, notificationKey: NotificationKey, reason: RemoveReason): Promise; @@ -301,8 +301,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 1600007 - The notification does not exist. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function remove(hashCode: string, reason: RemoveReason, callback: AsyncCallback): void; @@ -323,8 +323,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function remove(hashCodes: Array, reason: RemoveReason, callback: AsyncCallback): void; @@ -345,8 +345,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 1600007 - The notification does not exist. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function remove(hashCode: string, reason: RemoveReason): Promise; @@ -366,8 +366,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function remove(hashCodes: Array, reason: RemoveReason): Promise; @@ -387,8 +387,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function removeAll(bundle: BundleOption, callback: AsyncCallback): void; @@ -406,8 +406,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 1600003 - Failed to connect to the service. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function removeAll(callback: AsyncCallback): void; @@ -427,8 +427,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 1600008 - The user does not exist. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function removeAll(userId: int, callback: AsyncCallback): void; @@ -448,8 +448,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 1600008 - The user does not exist. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function removeAll(userId: int): Promise; @@ -469,8 +469,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 17700001 - The specified bundle name was not found. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function removeAll(bundle?: BundleOption): Promise; @@ -489,8 +489,8 @@ declare namespace notificationSubscribe { * @throws { BusinessError } 1600021 - Distributed operation timed out. * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function distributeOperation(hashcode: string, operationInfo?: OperationInfo): Promise; @@ -500,8 +500,8 @@ declare namespace notificationSubscribe { * @typedef OperationInfo * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ export interface OperationInfo { /** @@ -510,8 +510,8 @@ declare namespace notificationSubscribe { * @type { ?string } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ actionName?: string; @@ -521,8 +521,8 @@ declare namespace notificationSubscribe { * @type { ?string } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ userInput?: string; @@ -532,8 +532,7 @@ declare namespace notificationSubscribe { * @type { ?number } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ operationType?: number; @@ -543,8 +542,7 @@ declare namespace notificationSubscribe { * @type { ?number } * @syscap SystemCapability.Notification.Notification * @systemapi - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ buttonIndex?: number; } @@ -555,8 +553,8 @@ declare namespace notificationSubscribe { * @typedef { _BundleOption } BundleOption * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type BundleOption = _BundleOption; @@ -566,8 +564,8 @@ declare namespace notificationSubscribe { * @typedef { _NotificationSubscribeInfo } NotificationSubscribeInfo * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type NotificationSubscribeInfo = _NotificationSubscribeInfo; @@ -578,8 +576,8 @@ declare namespace notificationSubscribe { * @typedef { _NotificationSubscriber } NotificationSubscriber * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type NotificationSubscriber = _NotificationSubscriber; @@ -590,8 +588,8 @@ declare namespace notificationSubscribe { * @typedef { _SubscribeCallbackData } SubscribeCallbackData * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type SubscribeCallbackData = _SubscribeCallbackData; @@ -601,8 +599,8 @@ declare namespace notificationSubscribe { * @typedef { _EnabledNotificationCallbackData } EnabledNotificationCallbackData * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export type EnabledNotificationCallbackData = _EnabledNotificationCallbackData; @@ -612,8 +610,8 @@ declare namespace notificationSubscribe { * @typedef { _BadgeNumberCallbackData } BadgeNumberCallbackData * @syscap SystemCapability.Notification.Notification * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ export type BadgeNumberCallbackData = _BadgeNumberCallbackData; } diff --git a/api/@ohos.pasteboard.d.ts b/api/@ohos.pasteboard.d.ts index 8fc1873570..19d0319337 100644 --- a/api/@ohos.pasteboard.d.ts +++ b/api/@ohos.pasteboard.d.ts @@ -34,8 +34,8 @@ import unifiedDataChannel from './@ohos.data.unifiedDataChannel'; * @namespace pasteboard * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare namespace pasteboard { /** @@ -49,8 +49,8 @@ declare namespace pasteboard { * @constant * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'22'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 22 static */ const MAX_RECORD_NUM = 512; /** @@ -64,8 +64,8 @@ declare namespace pasteboard { * @constant * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ const MIMETYPE_TEXT_HTML = 'text/html'; /** @@ -79,8 +79,8 @@ declare namespace pasteboard { * @constant * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'22'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 22 static */ const MIMETYPE_TEXT_WANT = 'text/want'; /** @@ -94,8 +94,8 @@ declare namespace pasteboard { * @constant * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ const MIMETYPE_TEXT_PLAIN = 'text/plain'; /** @@ -109,8 +109,8 @@ declare namespace pasteboard { * @constant * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ const MIMETYPE_TEXT_URI = 'text/uri'; /** @@ -124,8 +124,8 @@ declare namespace pasteboard { * @constant * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'22'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 22 static */ const MIMETYPE_PIXELMAP = 'pixelMap'; @@ -140,8 +140,8 @@ declare namespace pasteboard { * @typedef { string | image.PixelMap | Want | ArrayBuffer } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ type ValueType = string | image.PixelMap | Want | ArrayBuffer; @@ -150,7 +150,7 @@ declare namespace pasteboard { * @param { string } htmlText - To save the Html text content. * @returns { PasteData } Containing the contents of the clipboard content object. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#createData */ @@ -161,7 +161,7 @@ declare namespace pasteboard { * @param { Want } want - To save the want of content. * @returns { PasteData } Containing the contents of the clipboard content object. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#createData */ @@ -172,7 +172,7 @@ declare namespace pasteboard { * @param { string } text - To save the text of content. * @returns { PasteData } Containing the contents of the clipboard content object. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#createData */ @@ -183,7 +183,7 @@ declare namespace pasteboard { * @param { string } uri - To save the uri of content. * @returns { PasteData } Containing the contents of the clipboard content object. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#createData */ @@ -210,8 +210,8 @@ declare namespace pasteboard { * 3. Parameter verification failed. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function createData(mimeType: string, value: ValueType): PasteData; @@ -223,8 +223,8 @@ declare namespace pasteboard { * 2. Incorrect parameters types; * 3. Parameter verification failed. * @syscap SystemCapability.MiscServices.Pasteboard - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function createData(data: Record): PasteData; @@ -233,7 +233,7 @@ declare namespace pasteboard { * @param { string } htmlText - To save the Html text content. * @returns { PasteDataRecord } The content of a new record * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#createRecord */ @@ -244,7 +244,7 @@ declare namespace pasteboard { * @param { Want } want - To save the want of content. * @returns { PasteDataRecord } The content of a new record * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#createRecord */ @@ -255,7 +255,7 @@ declare namespace pasteboard { * @param { string } text - To save the text of content. * @returns { PasteDataRecord } The content of a new record * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#createRecord */ @@ -266,7 +266,7 @@ declare namespace pasteboard { * @param { string } uri - To save the uri of content. * @returns { PasteDataRecord } The content of a new record * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#createRecord */ @@ -293,8 +293,8 @@ declare namespace pasteboard { * 3. Parameter verification failed. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'22'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 22 static */ function createRecord(mimeType: string, value: ValueType): PasteDataRecord; @@ -309,8 +309,8 @@ declare namespace pasteboard { * @returns { SystemPasteboard } The system clipboard object * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function getSystemPasteboard(): SystemPasteboard; @@ -325,8 +325,8 @@ declare namespace pasteboard { * @enum { number } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum ShareOption { /** @@ -338,8 +338,8 @@ declare namespace pasteboard { * INAPP indicates that only intra-application pasting is allowed. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ INAPP, /** @@ -351,8 +351,8 @@ declare namespace pasteboard { * LOCALDEVICE indicates that paste is allowed in any application. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ LOCALDEVICE, /** @@ -364,7 +364,7 @@ declare namespace pasteboard { * CROSSDEVICE indicates that paste is allowed in any application across devices. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since 11 + * @since 11 dynamic * @deprecated since 12 */ CROSSDEVICE @@ -374,28 +374,28 @@ declare namespace pasteboard { * Enumerates the patterns allowed in the system pasteboard. * @enum { number } * @syscap SystemCapability.MiscServices.Pasteboard - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ enum Pattern { /** * URL pattern. * @syscap SystemCapability.MiscServices.Pasteboard - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ URL = 0, /** * Number pattern. * @syscap SystemCapability.MiscServices.Pasteboard - * @since arkts {'1.1':'13','1.2':'20'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 20 static */ NUMBER = 1, /** * Email address pattern. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 13 + * @since 13 dynamic */ EMAIL_ADDRESS = 2, } @@ -413,8 +413,8 @@ declare namespace pasteboard { * @interface PasteDataProperty * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface PasteDataProperty { /** @@ -428,7 +428,7 @@ declare namespace pasteboard { * @type { object } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since 11 + * @since 11 dynamic */ additions: { [key: string]: object @@ -437,8 +437,7 @@ declare namespace pasteboard { * additional property data. key-value pairs. * @type { Record } * @syscap SystemCapability.MiscServices.Pasteboard - * @since 22 - * @arkts 1.2 + * @since 22 static */ additions: Record; /** @@ -454,8 +453,8 @@ declare namespace pasteboard { * @readonly * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'22'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 22 static */ readonly mimeTypes: Array; /** @@ -469,8 +468,8 @@ declare namespace pasteboard { * @type { string } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ tag: string; /** @@ -486,8 +485,8 @@ declare namespace pasteboard { * @readonly * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ readonly timestamp: long; /** @@ -501,8 +500,8 @@ declare namespace pasteboard { * @type { boolean } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'22'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 22 static */ localOnly: boolean; /** @@ -518,8 +517,8 @@ declare namespace pasteboard { * @type { ShareOption } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ shareOption: ShareOption; } @@ -535,8 +534,8 @@ declare namespace pasteboard { * @interface PasteDataRecord * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface PasteDataRecord { /** @@ -550,8 +549,8 @@ declare namespace pasteboard { * @type { string } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'22'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 22 static */ htmlText: string; /** @@ -566,8 +565,8 @@ declare namespace pasteboard { * @type { Want } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'22'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 22 static */ want: Want; /** @@ -581,8 +580,8 @@ declare namespace pasteboard { * @type { string } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ mimeType: string; /** @@ -596,8 +595,8 @@ declare namespace pasteboard { * @type { string } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ plainText: string; /** @@ -611,8 +610,8 @@ declare namespace pasteboard { * @type { string } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ uri: string; /** @@ -626,8 +625,8 @@ declare namespace pasteboard { * @type { image.PixelMap } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ pixelMap: image.PixelMap; /** @@ -641,7 +640,7 @@ declare namespace pasteboard { * @type { object } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since 11 + * @since 11 dynamic */ data: { [mimeType: string]: ArrayBuffer @@ -664,8 +663,7 @@ declare namespace pasteboard { * @type { Record } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since 20 - * @arkts 1.2 + * @since 20 static */ data: Record; @@ -674,7 +672,7 @@ declare namespace pasteboard { * @param { AsyncCallback } callback - the callback of convertToText. * @throws { BusinessError } 401 - Possible causes: Incorrect parameters types. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#convertToTextV9 */ @@ -684,7 +682,7 @@ declare namespace pasteboard { * Converts data in PasteData to text format. * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#convertToTextV9 */ @@ -701,8 +699,8 @@ declare namespace pasteboard { * @returns { string } the string returned by the function. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ toPlainText(): string; @@ -714,8 +712,8 @@ declare namespace pasteboard { * 2. Incorrect parameters types; * 3. Parameter verification failed. * @syscap SystemCapability.MiscServices.Pasteboard - * @since arkts {'1.1':'14','1.2':'22'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 22 static */ addEntry(type: string, value: ValueType): void; @@ -727,8 +725,8 @@ declare namespace pasteboard { * 2. Incorrect parameters types; * 3. Parameter verification failed. * @syscap SystemCapability.MiscServices.Pasteboard - * @since arkts {'1.1':'14','1.2':'22'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 22 static */ getValidTypes(types: Array): Array; @@ -740,8 +738,8 @@ declare namespace pasteboard { * 2. Incorrect parameters types; * 3. Parameter verification failed. * @syscap SystemCapability.MiscServices.Pasteboard - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getData(type: string): Promise; } @@ -757,15 +755,15 @@ declare namespace pasteboard { * @interface PasteData * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface PasteData { /** * Adds a Record for HTML text to a PasteData object, and updates the MIME type to PasteData#MIMETYPE_TEXT_HTML in DataProperty. * @param { string } htmlText - To save the Html text content. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#addRecord */ @@ -775,7 +773,7 @@ declare namespace pasteboard { * Adds an want Record to a PasteData object, and updates the MIME type to PasteData#MIMETYPE_TEXT_WANT in DataProperty. * @param { Want } want - To save the want content. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#addRecord */ @@ -792,8 +790,8 @@ declare namespace pasteboard { * @param { PasteDataRecord } record - The content of a new record. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ addRecord(record: PasteDataRecord): void; @@ -801,7 +799,7 @@ declare namespace pasteboard { * Adds a Record for plain text to a PasteData object, and updates the MIME type to PasteData#MIMETYPE_TEXT_PLAIN in DataProperty. * @param { string } text - To save the text of content. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#addRecord */ @@ -811,7 +809,7 @@ declare namespace pasteboard { * Adds a URI Record to a PasteData object, and updates the MIME type to PasteData#MIMETYPE_TEXT_URI in DataProperty. * @param { string } uri - To save the uri of content. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#addRecord */ @@ -847,8 +845,8 @@ declare namespace pasteboard { * 3. Parameter verification failed. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ addRecord(mimeType: string, value: ValueType): void; @@ -863,8 +861,8 @@ declare namespace pasteboard { * @returns { Array } type of array * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getMimeTypes(): Array; @@ -879,8 +877,8 @@ declare namespace pasteboard { * @returns { string } type of htmltext * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getPrimaryHtml(): string; @@ -895,8 +893,8 @@ declare namespace pasteboard { * @returns { Want } type of want * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getPrimaryWant(): Want; @@ -911,8 +909,8 @@ declare namespace pasteboard { * @returns { string } type of mimetype * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getPrimaryMimeType(): string; @@ -927,8 +925,8 @@ declare namespace pasteboard { * @returns { string } type of text * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getPrimaryText(): string; @@ -943,8 +941,8 @@ declare namespace pasteboard { * @returns { string } type of uri * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getPrimaryUri(): string; @@ -959,8 +957,8 @@ declare namespace pasteboard { * @returns { image.PixelMap } pixelMap * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'22'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 22 static */ getPrimaryPixelMap(): image.PixelMap; @@ -975,8 +973,8 @@ declare namespace pasteboard { * @returns { PasteDataProperty } PasteDataProperty type of PasteDataProperty * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getProperty(): PasteDataProperty; @@ -995,8 +993,8 @@ declare namespace pasteboard { * 2. Incorrect parameters types. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setProperty(property: PasteDataProperty): void; @@ -1007,7 +1005,7 @@ declare namespace pasteboard { * @throws { BusinessError } 401 - Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameters types. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#getRecord */ @@ -1032,8 +1030,8 @@ declare namespace pasteboard { * @throws { BusinessError } 12900001 - The index is out of the record. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getRecord(index: int): PasteDataRecord; @@ -1048,8 +1046,8 @@ declare namespace pasteboard { * @returns { int } The number of the clipboard contents * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getRecordCount(): int; @@ -1064,8 +1062,8 @@ declare namespace pasteboard { * @returns { string } type of tag * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getTag(): string; @@ -1076,7 +1074,7 @@ declare namespace pasteboard { * @throws { BusinessError } 401 - Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameters types. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#hasType */ @@ -1099,8 +1097,8 @@ declare namespace pasteboard { * 2. Incorrect parameters types. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'22'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 22 static */ hasType(mimeType: string): boolean; @@ -1111,7 +1109,7 @@ declare namespace pasteboard { * @throws { BusinessError } 401 - Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameters types. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#removeRecord */ @@ -1134,8 +1132,8 @@ declare namespace pasteboard { * @throws { BusinessError } 12900001 - The index is out of the record. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'22'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 22 static */ removeRecord(index: int): void; @@ -1145,7 +1143,7 @@ declare namespace pasteboard { * @param { PasteDataRecord } record - the content of the replaced record. * @returns { boolean } The query returns True on success, or False on failure. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#replaceRecord */ @@ -1170,24 +1168,24 @@ declare namespace pasteboard { * @throws { BusinessError } 12900001 - The index is out of the record. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'22'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 22 static */ replaceRecord(index: int, record: PasteDataRecord): void; /** * Utilized to notify pasteboard service while reading PasteData, in this case, the service will help to preserve the context and resources * @syscap SystemCapability.MiscServices.Pasteboard - * @since arkts {'1.1':'12','1.2':'22'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 22 static */ pasteStart(): void; /** * Invoked to notify pasteboard service the utilization of PasteData has completed and occupied resources can be released for further usage * @syscap SystemCapability.MiscServices.Pasteboard - * @since arkts {'1.1':'12','1.2':'22'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 22 static */ pasteComplete(): void; } @@ -1197,16 +1195,16 @@ declare namespace pasteboard { * @enum { number } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ enum FileConflictOptions { /** * OVERWRITE overwrite when destUri has file with same name. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ OVERWRITE, @@ -1214,8 +1212,8 @@ declare namespace pasteboard { * SKIP skip when destUri has file with same name. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ SKIP } @@ -1225,16 +1223,16 @@ declare namespace pasteboard { * @enum { number } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ enum ProgressIndicator { /** * NONE getting data without system default progress indicator. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ NONE, @@ -1242,8 +1240,8 @@ declare namespace pasteboard { * DEFALUT getting data with system default progress indicator. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ DEFAULT } @@ -1253,8 +1251,8 @@ declare namespace pasteboard { * @interface ProgressInfo * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ interface ProgressInfo { /** @@ -1262,8 +1260,8 @@ declare namespace pasteboard { * @type { int } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ progress: int; } @@ -1273,8 +1271,8 @@ declare namespace pasteboard { * @typedef { function } ProgressListener * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ type ProgressListener = (progress: ProgressInfo) => void; @@ -1283,16 +1281,16 @@ declare namespace pasteboard { * @class ProgressSignal * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ export class ProgressSignal { /** * Cancel the paste in progress. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ cancel(): void; } @@ -1302,8 +1300,8 @@ declare namespace pasteboard { * @interface GetDataParams * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ interface GetDataParams { /** @@ -1312,8 +1310,8 @@ declare namespace pasteboard { * @default - * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ destUri?: string; @@ -1323,8 +1321,8 @@ declare namespace pasteboard { * @default FileConflictOptions.OVERWRITE * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ fileConflictOptions?: FileConflictOptions; @@ -1333,8 +1331,8 @@ declare namespace pasteboard { * @type { ProgressIndicator } * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ progressIndicator: ProgressIndicator; @@ -1344,8 +1342,8 @@ declare namespace pasteboard { * @default - * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ progressListener?: ProgressListener; @@ -1355,8 +1353,8 @@ declare namespace pasteboard { * @default - * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ progressSignal?: ProgressSignal; } @@ -1372,8 +1370,8 @@ declare namespace pasteboard { * @interface SystemPasteboard * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface SystemPasteboard { /** @@ -1383,8 +1381,8 @@ declare namespace pasteboard { * @throws { BusinessError } 401 - Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameters types. * @syscap SystemCapability.MiscServices.Pasteboard - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ on(type: 'update', callback: () => void): void; @@ -1396,8 +1394,8 @@ declare namespace pasteboard { * @throws { BusinessError } 401 - Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameters types. * @syscap SystemCapability.MiscServices.Pasteboard - * @since arkts {'1.1':'7','1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ off(type: 'update', callback?: () => void): void; @@ -1407,8 +1405,8 @@ declare namespace pasteboard { * @throws { BusinessError } 12900005 - Excessive processing time for internal data. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'22'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 22 static */ isRemoteData(): boolean; @@ -1418,8 +1416,8 @@ declare namespace pasteboard { * @throws { BusinessError } 12900005 - Excessive processing time for internal data. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ getDataSource(): string; @@ -1432,8 +1430,8 @@ declare namespace pasteboard { * @throws { BusinessError } 12900005 - Excessive processing time for internal data. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ hasDataType(mimeType: string): boolean; @@ -1443,7 +1441,7 @@ declare namespace pasteboard { * @throws { BusinessError } 401 - Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameters types. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#clearData */ @@ -1453,7 +1451,7 @@ declare namespace pasteboard { * Clears the pasteboard. * @returns { Promise } the promise returned by the clearData. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#clearData */ @@ -1474,8 +1472,8 @@ declare namespace pasteboard { * 2. Incorrect parameters types. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ clearData(callback: AsyncCallback): void; @@ -1490,8 +1488,8 @@ declare namespace pasteboard { * @returns { Promise } the promise returned by the clearData. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ clearData(): Promise; @@ -1500,8 +1498,8 @@ declare namespace pasteboard { * @throws { BusinessError } 12900005 - Excessive processing time for internal data. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ clearDataSync(): void; @@ -1511,7 +1509,7 @@ declare namespace pasteboard { * @throws { BusinessError } 401 - Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameters types. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#getData */ @@ -1521,7 +1519,7 @@ declare namespace pasteboard { * Gets pastedata from the system pasteboard. * @returns { Promise } the promise returned by the getData. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#getData */ @@ -1557,8 +1555,8 @@ declare namespace pasteboard { * @throws { BusinessError } 27787277 - Another copy or paste operation is in progress. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getData(callback: AsyncCallback): void; @@ -1586,8 +1584,8 @@ declare namespace pasteboard { * @throws { BusinessError } 27787277 - Another copy or paste operation is in progress. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getData(): Promise; @@ -1608,8 +1606,8 @@ declare namespace pasteboard { * @throws { BusinessError } 12900005 - Excessive processing time for internal data. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ getDataSync(): PasteData; @@ -1619,7 +1617,7 @@ declare namespace pasteboard { * @throws { BusinessError } 401 - Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameters types. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#hasData */ @@ -1629,7 +1627,7 @@ declare namespace pasteboard { * Checks whether there is content in the pasteboard. * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#hasData */ @@ -1650,8 +1648,8 @@ declare namespace pasteboard { * 2. Incorrect parameters types. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ hasData(callback: AsyncCallback): void; @@ -1666,8 +1664,8 @@ declare namespace pasteboard { * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ hasData(): Promise; @@ -1677,8 +1675,8 @@ declare namespace pasteboard { * @throws { BusinessError } 12900005 - Excessive processing time for internal data. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ hasDataSync(): boolean; @@ -1689,7 +1687,7 @@ declare namespace pasteboard { * @throws { BusinessError } 401 - Possible causes: 1. Mandatory parameters are left unspecified; * 2. Incorrect parameters types. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#setData */ @@ -1700,7 +1698,7 @@ declare namespace pasteboard { * @param { PasteData } data - Containing the contents of the clipboard content object. * @returns { Promise } the promise returned by the function. * @syscap SystemCapability.MiscServices.Pasteboard - * @since 6 + * @since 6 dynamiconly * @deprecated since 9 * @useinstead ohos.pasteboard.pasteboard#setData */ @@ -1727,8 +1725,8 @@ declare namespace pasteboard { * @throws { BusinessError } 27787278 - Replication is prohibited. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setData(data: PasteData, callback: AsyncCallback): void; @@ -1753,8 +1751,8 @@ declare namespace pasteboard { * @throws { BusinessError } 27787278 - Replication is prohibited. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ setData(data: PasteData): Promise; @@ -1766,8 +1764,8 @@ declare namespace pasteboard { * @throws { BusinessError } 12900005 - Excessive processing time for internal data. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'11','1.2':'22'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 22 static */ setDataSync(data: PasteData): void; @@ -1780,8 +1778,8 @@ declare namespace pasteboard { * @throws { BusinessError } 27787277 - Another copy or paste operation is in progress. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'12','1.2':'22'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 22 static */ getUnifiedData(): Promise; @@ -1794,8 +1792,8 @@ declare namespace pasteboard { * @throws { BusinessError } 12900005 - Excessive processing time for internal data. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'12','1.2':'22'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 22 static */ getUnifiedDataSync(): unifiedDataChannel.UnifiedData; @@ -1809,8 +1807,8 @@ declare namespace pasteboard { * @throws { BusinessError } 27787278 - Replication is prohibited. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'12','1.2':'22'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 22 static */ setUnifiedData(data: unifiedDataChannel.UnifiedData): Promise; @@ -1822,8 +1820,8 @@ declare namespace pasteboard { * @throws { BusinessError } 12900005 - Excessive processing time for internal data. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'12','1.2':'22'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 22 static */ setUnifiedDataSync(data: unifiedDataChannel.UnifiedData): void; @@ -1852,8 +1850,8 @@ declare namespace pasteboard { * 3. Parameter verification failed. * @throws { BusinessError } 12900006 - Settings already exist. * @syscap SystemCapability.MiscServices.Pasteboard - * @since arkts {'1.1':'14','1.2':'22'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 22 static */ setAppShareOptions(shareOptions: ShareOption): void; @@ -1872,8 +1870,8 @@ declare namespace pasteboard { * @throws { BusinessError } 201 - Permission verification failed. The application does not have the * permission required to call the API. * @syscap SystemCapability.MiscServices.Pasteboard - * @since arkts {'1.1':'14','1.2':'22'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 22 static */ removeAppShareOptions(): void; @@ -1886,8 +1884,8 @@ declare namespace pasteboard { * 2. Incorrect parameter types; * 3. Parameter verification failed. * @syscap SystemCapability.MiscServices.Pasteboard - * @since arkts {'1.1':'13','1.2':'22'} - * @arkts 1.1&1.2 + * @since 13 dynamic + * @since 22 static */ detectPatterns(patterns: Array): Promise>; @@ -1897,8 +1895,8 @@ declare namespace pasteboard { * @returns { Promise> } Promise used to return the MIME types. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ getMimeTypes(): Promise>; @@ -1908,8 +1906,8 @@ declare namespace pasteboard { * @returns { long } The number of Pasteboard data changes. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'18','1.2':'22'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 22 static */ getChangeCount(): long; @@ -1929,8 +1927,8 @@ declare namespace pasteboard { * @throws { BusinessError } 12900010 - System error occurred during paste execution. * @syscap SystemCapability.MiscServices.Pasteboard * @atomicservice - * @since arkts {'1.1':'15','1.2':'22'} - * @arkts 1.1&1.2 + * @since 15 dynamic + * @since 22 static */ getDataWithProgress(params: GetDataParams): Promise; } diff --git a/api/@ohos.pluginComponent.d.ts b/api/@ohos.pluginComponent.d.ts index aacb631200..a53d140d6c 100644 --- a/api/@ohos.pluginComponent.d.ts +++ b/api/@ohos.pluginComponent.d.ts @@ -34,7 +34,7 @@ import Want from './@ohos.app.ability.Want'; * @interface PluginComponentTemplate * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ interface PluginComponentTemplate { /** @@ -50,7 +50,7 @@ interface PluginComponentTemplate { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ source: string; @@ -67,7 +67,7 @@ interface PluginComponentTemplate { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ ability: string; } @@ -85,7 +85,7 @@ interface PluginComponentTemplate { * @namespace pluginComponentManager * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ declare namespace pluginComponentManager { /** @@ -101,7 +101,7 @@ declare namespace pluginComponentManager { * @typedef { object } KVObject * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ type KVObject = { [key: string]: number | string | boolean | [] | KVObject }; @@ -118,7 +118,7 @@ declare namespace pluginComponentManager { * @interface PushParameters * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ interface PushParameters { /** @@ -134,7 +134,7 @@ declare namespace pluginComponentManager { * @type { Want } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ want: Want; @@ -151,7 +151,7 @@ declare namespace pluginComponentManager { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ name: string; @@ -168,7 +168,7 @@ declare namespace pluginComponentManager { * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ data: KVObject; @@ -185,7 +185,7 @@ declare namespace pluginComponentManager { * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ extraData: KVObject; @@ -202,7 +202,7 @@ declare namespace pluginComponentManager { * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ jsonPath?: string; } @@ -213,7 +213,7 @@ declare namespace pluginComponentManager { * @interface PushParameterForStage * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ interface PushParameterForStage { /** @@ -222,7 +222,7 @@ declare namespace pluginComponentManager { * @type { Want } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ owner: Want; @@ -232,7 +232,7 @@ declare namespace pluginComponentManager { * @type { Want } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ target: Want; @@ -242,7 +242,7 @@ declare namespace pluginComponentManager { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ name: string; @@ -252,7 +252,7 @@ declare namespace pluginComponentManager { * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ data: KVObject; @@ -262,7 +262,7 @@ declare namespace pluginComponentManager { * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ extraData: KVObject; @@ -272,7 +272,7 @@ declare namespace pluginComponentManager { * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ jsonPath?: string; } @@ -290,7 +290,7 @@ declare namespace pluginComponentManager { * @interface RequestParameters * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ interface RequestParameters { /** @@ -306,7 +306,7 @@ declare namespace pluginComponentManager { * @type { Want } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ want: Want; @@ -323,7 +323,7 @@ declare namespace pluginComponentManager { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ name: string; @@ -340,7 +340,7 @@ declare namespace pluginComponentManager { * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ data: KVObject; @@ -357,7 +357,7 @@ declare namespace pluginComponentManager { * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ jsonPath?: string; } @@ -368,7 +368,7 @@ declare namespace pluginComponentManager { * @interface RequestParameterForStage * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ interface RequestParameterForStage { /** @@ -377,7 +377,7 @@ declare namespace pluginComponentManager { * @type { Want } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ owner: Want; @@ -387,7 +387,7 @@ declare namespace pluginComponentManager { * @type { Want } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ target: Want; /** @@ -396,7 +396,7 @@ declare namespace pluginComponentManager { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ name: string; @@ -406,7 +406,7 @@ declare namespace pluginComponentManager { * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ data: KVObject; @@ -416,7 +416,7 @@ declare namespace pluginComponentManager { * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 9 + * @since 9 dynamic */ jsonPath?: string; } @@ -434,7 +434,7 @@ declare namespace pluginComponentManager { * @interface RequestCallbackParameters * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ interface RequestCallbackParameters { @@ -451,7 +451,7 @@ declare namespace pluginComponentManager { * @type { PluginComponentTemplate } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ componentTemplate: PluginComponentTemplate; @@ -468,7 +468,7 @@ declare namespace pluginComponentManager { * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ data: KVObject; @@ -485,7 +485,7 @@ declare namespace pluginComponentManager { * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ extraData: KVObject; } @@ -503,7 +503,7 @@ declare namespace pluginComponentManager { * @interface RequestEventResult * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ interface RequestEventResult { /** @@ -519,7 +519,7 @@ declare namespace pluginComponentManager { * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ template?: string; @@ -536,7 +536,7 @@ declare namespace pluginComponentManager { * @type { ?KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ data?: KVObject; @@ -553,7 +553,7 @@ declare namespace pluginComponentManager { * @type { ?KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ extraData?: KVObject; } @@ -571,7 +571,7 @@ declare namespace pluginComponentManager { * @typedef { function } OnPushEventCallback * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ type OnPushEventCallback = (source: Want, template: PluginComponentTemplate, data: KVObject, extraData: KVObject) => void; @@ -590,7 +590,7 @@ declare namespace pluginComponentManager { * @returns { RequestEventResult } Returns the request event result. * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ type OnRequestEventCallback = (source: Want, name: string, data: KVObject) => RequestEventResult; @@ -609,7 +609,7 @@ declare namespace pluginComponentManager { * @param { AsyncCallback } callback * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ function push(param: PushParameters, callback: AsyncCallback): void; @@ -628,7 +628,7 @@ declare namespace pluginComponentManager { * @param { AsyncCallback } callback * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ function request(param: RequestParameters, callback: AsyncCallback): void; @@ -640,7 +640,7 @@ declare namespace pluginComponentManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ function push(param: PushParameterForStage, callback: AsyncCallback): void; @@ -652,7 +652,7 @@ declare namespace pluginComponentManager { * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @StageModelOnly - * @since 9 + * @since 9 dynamic */ function request(param: RequestParameterForStage, callback: AsyncCallback): void; @@ -671,7 +671,7 @@ declare namespace pluginComponentManager { * @param { OnPushEventCallback | OnRequestEventCallback } callback * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 12 + * @since 12 dynamic */ function on(eventType: string, callback: OnPushEventCallback | OnRequestEventCallback): void; } diff --git a/api/@ohos.pluginComponent.static.d.ets b/api/@ohos.pluginComponent.static.d.ets index 865cbb7e26..f57092f81c 100644 --- a/api/@ohos.pluginComponent.static.d.ets +++ b/api/@ohos.pluginComponent.static.d.ets @@ -17,7 +17,6 @@ /** * @file * @kit ArkUI - * @arkts 1.2 */ import { AsyncCallback } from './@ohos.base'; @@ -28,7 +27,7 @@ import Want from './@ohos.app.ability.Want'; * * @interface PluginComponentTemplate * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface PluginComponentTemplate { /** @@ -36,7 +35,7 @@ export interface PluginComponentTemplate { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ source: string; @@ -45,7 +44,7 @@ export interface PluginComponentTemplate { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ ability: string; } @@ -55,7 +54,7 @@ export interface PluginComponentTemplate { * * @namespace pluginComponentManager * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ declare namespace pluginComponentManager { /** @@ -70,7 +69,7 @@ declare namespace pluginComponentManager { * * @typedef { Record | KVObject> } KVObject * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export type KVObject = Record | KVObject>; /** @@ -78,7 +77,7 @@ declare namespace pluginComponentManager { * * @interface PushParameters * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface PushParameters { /** @@ -86,7 +85,7 @@ declare namespace pluginComponentManager { * * @type { Want } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ want: Want; @@ -95,7 +94,7 @@ declare namespace pluginComponentManager { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ name: string; @@ -104,7 +103,7 @@ declare namespace pluginComponentManager { * * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ data: KVObject; @@ -113,7 +112,7 @@ declare namespace pluginComponentManager { * * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ extraData: KVObject; @@ -122,7 +121,7 @@ declare namespace pluginComponentManager { * * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ jsonPath?: string; } @@ -133,7 +132,7 @@ declare namespace pluginComponentManager { * @interface PushParameterForStage * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ export interface PushParameterForStage { /** @@ -142,7 +141,7 @@ declare namespace pluginComponentManager { * @type { Want } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ owner: Want; @@ -152,7 +151,7 @@ declare namespace pluginComponentManager { * @type { Want } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ target: Want; @@ -162,7 +161,7 @@ declare namespace pluginComponentManager { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ name: string; @@ -172,7 +171,7 @@ declare namespace pluginComponentManager { * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ data: KVObject; @@ -182,7 +181,7 @@ declare namespace pluginComponentManager { * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ extraData: KVObject; @@ -192,7 +191,7 @@ declare namespace pluginComponentManager { * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ jsonPath?: string; } @@ -202,7 +201,7 @@ declare namespace pluginComponentManager { * * @interface RequestParameters * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface RequestParameters { /** @@ -210,7 +209,7 @@ declare namespace pluginComponentManager { * * @type { Want } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ want: Want; @@ -219,7 +218,7 @@ declare namespace pluginComponentManager { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ name: string; @@ -228,7 +227,7 @@ declare namespace pluginComponentManager { * * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ data: KVObject; @@ -237,7 +236,7 @@ declare namespace pluginComponentManager { * * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ jsonPath?: string; } @@ -248,7 +247,7 @@ declare namespace pluginComponentManager { * @interface RequestParameterForStage * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ export interface RequestParameterForStage { /** @@ -257,7 +256,7 @@ declare namespace pluginComponentManager { * @type { Want } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ owner: Want; @@ -267,7 +266,7 @@ declare namespace pluginComponentManager { * @type { Want } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ target: Want; /** @@ -276,7 +275,7 @@ declare namespace pluginComponentManager { * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ name: string; @@ -286,7 +285,7 @@ declare namespace pluginComponentManager { * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ data: KVObject; @@ -296,7 +295,7 @@ declare namespace pluginComponentManager { * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ jsonPath?: string; } @@ -306,7 +305,7 @@ declare namespace pluginComponentManager { * * @interface RequestCallbackParameters * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface RequestCallbackParameters { @@ -315,7 +314,7 @@ declare namespace pluginComponentManager { * * @type { PluginComponentTemplate } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ componentTemplate: PluginComponentTemplate; @@ -324,7 +323,7 @@ declare namespace pluginComponentManager { * * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ data: KVObject; @@ -333,7 +332,7 @@ declare namespace pluginComponentManager { * * @type { KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ extraData: KVObject; } @@ -343,7 +342,7 @@ declare namespace pluginComponentManager { * * @interface RequestEventResult * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export interface RequestEventResult { /** @@ -351,7 +350,7 @@ declare namespace pluginComponentManager { * * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ template?: string; @@ -360,7 +359,7 @@ declare namespace pluginComponentManager { * * @type { ?KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ data?: KVObject; @@ -369,7 +368,7 @@ declare namespace pluginComponentManager { * * @type { ?KVObject } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ extraData?: KVObject; } @@ -383,7 +382,7 @@ declare namespace pluginComponentManager { * @param { KVObject } data - data info. * @param { KVObject } extraData - extra data info. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export type OnPushEventCallback = (source: Want, template: PluginComponentTemplate, data: KVObject, extraData: KVObject) => void; @@ -397,7 +396,7 @@ declare namespace pluginComponentManager { * @param { KVObject } data - data info. * @returns { RequestEventResult } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export type OnRequestEventCallback = (source: Want, name: string, data: KVObject) => RequestEventResult; @@ -407,7 +406,7 @@ declare namespace pluginComponentManager { * @param { PushParameters } param * @param { AsyncCallback } callback * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function push(param: PushParameters, callback: AsyncCallback): void; @@ -417,7 +416,7 @@ declare namespace pluginComponentManager { * @param { RequestParameters } param * @param { AsyncCallback } callback * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function request(param: RequestParameters, callback: AsyncCallback): void; @@ -428,7 +427,7 @@ declare namespace pluginComponentManager { * @param { AsyncCallback } callback - Plugin component push event callback. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ export function push(param: PushParameterForStage, callback: AsyncCallback): void; @@ -439,7 +438,7 @@ declare namespace pluginComponentManager { * @param { AsyncCallback } callback - Plugin component request event callback. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 20 + * @since 20 static */ export function request(param: RequestParameterForStage, callback: AsyncCallback): void; @@ -449,7 +448,7 @@ declare namespace pluginComponentManager { * @param { string } eventType * @param { OnPushEventCallback | OnRequestEventCallback } callback * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 + * @since 20 static */ export function on(eventType: string, callback: OnPushEventCallback | OnRequestEventCallback): void; } diff --git a/api/@ohos.power.d.ts b/api/@ohos.power.d.ts index 4968898ca1..90a6347f8f 100644 --- a/api/@ohos.power.d.ts +++ b/api/@ohos.power.d.ts @@ -25,8 +25,8 @@ import { AsyncCallback, BusinessError } from './@ohos.base'; * * @namespace power * @syscap SystemCapability.PowerManager.PowerManager.Core - * @since arkts {'1.1':'7', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ declare namespace power { /** @@ -42,8 +42,8 @@ declare namespace power { * @throws { BusinessError } 4900101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.PowerManager.Core * @systemapi - * @since arkts {'1.1':'7', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 7 dynamic + * @since 20 static */ function shutdown(reason: string): void; @@ -55,7 +55,7 @@ declare namespace power { * @param { string } reason Indicates the restart reason. For example, "updater" indicates entering the updater mode * after the restart. If the parameter is not specified, the system enters the normal mode after the restart. * @syscap SystemCapability.PowerManager.PowerManager.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead power#reboot */ @@ -75,8 +75,8 @@ declare namespace power { * @throws { BusinessError } 4900101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.PowerManager.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function reboot(reason: string): void; @@ -85,7 +85,7 @@ declare namespace power { * * @param { AsyncCallback } callback Returns true if the screen is on; returns false otherwise. * @syscap SystemCapability.PowerManager.PowerManager.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead power#isActive */ @@ -96,7 +96,7 @@ declare namespace power { * * @returns { Promise } Returns true if the screen is on; returns false otherwise. * @syscap SystemCapability.PowerManager.PowerManager.Core - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead power#isActive */ @@ -109,8 +109,8 @@ declare namespace power { * * @returns { boolean } Returns true if the device is active; returns false otherwise. * @syscap SystemCapability.PowerManager.PowerManager.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function isActive(): boolean; @@ -138,8 +138,8 @@ declare namespace power { * @throws { BusinessError } 4900101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.PowerManager.Core * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function wakeup(detail: string): void; @@ -175,8 +175,8 @@ declare namespace power { * @throws { BusinessError } 4900101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.PowerManager.Core * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function suspend(isImmediate?: boolean): void; @@ -185,8 +185,8 @@ declare namespace power { * * @returns { DevicePowerMode } The power mode {@link DevicePowerMode} of current device . * @syscap SystemCapability.PowerManager.PowerManager.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getPowerMode(): DevicePowerMode; @@ -202,8 +202,8 @@ declare namespace power { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Parameter verification failed. * @syscap SystemCapability.PowerManager.PowerManager.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setPowerMode(mode: DevicePowerMode, callback: AsyncCallback): void; @@ -219,8 +219,8 @@ declare namespace power { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Parameter verification failed. * @syscap SystemCapability.PowerManager.PowerManager.Core * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function setPowerMode(mode: DevicePowerMode): Promise; @@ -230,8 +230,8 @@ declare namespace power { * @returns { boolean } Returns true if the device is in idle mode; returns false otherwise. * @throws { BusinessError } 4900101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.PowerManager.Core - * @since arkts {'1.1':'10', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function isStandby(): boolean; @@ -257,8 +257,8 @@ declare namespace power { * @throws { BusinessError } 4900101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.PowerManager.Core * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function hibernate(clearMemory: boolean): void; @@ -284,8 +284,8 @@ declare namespace power { * @throws { BusinessError } 4900101 - Failed to connect to the service. * @syscap SystemCapability.PowerManager.PowerManager.Core * @systemapi - * @since arkts {'1.1':'19', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 19 dynamic + * @since 20 static */ function setScreenOffTime(timeout: long): void; @@ -294,23 +294,23 @@ declare namespace power { * * @enum { int } * @syscap SystemCapability.PowerManager.PowerManager.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ export enum DevicePowerMode { /** * Normal power mode * * @syscap SystemCapability.PowerManager.PowerManager.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MODE_NORMAL = 600, /** * Power save mode * @syscap SystemCapability.PowerManager.PowerManager.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static * */ MODE_POWER_SAVE, @@ -318,16 +318,16 @@ declare namespace power { * Performance power mode * * @syscap SystemCapability.PowerManager.PowerManager.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MODE_PERFORMANCE, /** * Extreme power save mode * * @syscap SystemCapability.PowerManager.PowerManager.Core - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ MODE_EXTREME_POWER_SAVE } diff --git a/api/@ohos.print.d.ts b/api/@ohos.print.d.ts index 191dbccc26..a01fae39dc 100644 --- a/api/@ohos.print.d.ts +++ b/api/@ohos.print.d.ts @@ -26,8 +26,8 @@ import type Context from './application/Context'; * * @namespace print * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ declare namespace print { @@ -35,8 +35,8 @@ declare namespace print { * PrintTask provide event callback. * @interface PrintTask * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface PrintTask { /** @@ -47,8 +47,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'block', callback: Callback): void; @@ -60,8 +60,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'succeed', callback: Callback): void; @@ -73,8 +73,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'fail', callback: Callback): void; @@ -86,8 +86,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ on(type: 'cancel', callback: Callback): void; @@ -99,8 +99,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'block', callback?: Callback): void; @@ -112,8 +112,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'succeed', callback?: Callback): void; @@ -125,8 +125,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'fail', callback?: Callback): void; @@ -138,8 +138,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ off(type: 'cancel', callback?: Callback): void; } @@ -148,8 +148,8 @@ declare namespace print { * Third-party application implement this interface to render files to be printed. * @interface PrintDocumentAdapter * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface PrintDocumentAdapter { @@ -164,8 +164,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onStartLayoutWrite(jobId: string, oldAttrs: PrintAttributes, newAttrs: PrintAttributes, fd: int, writeResultCallback: (jobId: string, writeResult: PrintFileCreationState) => void): void; @@ -178,8 +178,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ onJobStateChanged(jobId: string, state: PrintDocumentAdapterState): void; } @@ -192,8 +192,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function print(files: Array, callback: AsyncCallback): void; @@ -205,8 +205,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function print(files: Array): Promise; @@ -219,8 +219,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function print(files: Array, context: Context, callback: AsyncCallback): void; @@ -233,8 +233,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function print(files: Array, context: Context): Promise; @@ -249,8 +249,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function print(jobName: string, printAdapter: PrintDocumentAdapter, printAttributes: PrintAttributes, context: Context): Promise; @@ -259,16 +259,16 @@ declare namespace print { * defines print attributes. * @typedef PrintAttributes * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface PrintAttributes { /** * Copies of document list. * @type { ?int } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ copyNumber?: int; @@ -276,8 +276,8 @@ declare namespace print { * Range size to be printed. * @type { ?PrintPageRange } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ pageRange?: PrintPageRange; @@ -285,8 +285,8 @@ declare namespace print { * Page size. * @type { ?(PrintPageSize | PrintPageType) } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ pageSize?: PrintPageSize | PrintPageType; @@ -294,8 +294,8 @@ declare namespace print { * Print direction. * @type { ?PrintDirectionMode } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ directionMode?: PrintDirectionMode; @@ -303,8 +303,8 @@ declare namespace print { * Color mode. * @type { ?PrintColorMode } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ colorMode?: PrintColorMode; @@ -312,8 +312,8 @@ declare namespace print { * Duplex mode. * @type { ?PrintDuplexMode } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ duplexMode?: PrintDuplexMode; } @@ -322,16 +322,16 @@ declare namespace print { * defines print page range. * @typedef PrintPageRange * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface PrintPageRange { /** * Start page of sequence. * @type { ?int } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ startPage?: int; @@ -339,8 +339,8 @@ declare namespace print { * End page of sequence. * @type { ?int } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ endPage?: int; @@ -348,8 +348,8 @@ declare namespace print { * Discrete page of sequence. * @type { ?Array } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ pages?: Array; } @@ -359,8 +359,8 @@ declare namespace print { * @typedef PrintMargin * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface PrintMargin { /** @@ -368,8 +368,8 @@ declare namespace print { * @type { ?int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ top?: int; @@ -378,8 +378,8 @@ declare namespace print { * @type { ?int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ bottom?: int; @@ -388,8 +388,8 @@ declare namespace print { * @type { ?int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ left?: int; @@ -398,8 +398,8 @@ declare namespace print { * @type { ?int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ right?: int; } @@ -409,8 +409,8 @@ declare namespace print { * @typedef PrinterRange * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface PrinterRange { /** @@ -418,8 +418,8 @@ declare namespace print { * @type { ?int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ startPage?: int; @@ -428,8 +428,8 @@ declare namespace print { * @type { ?int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ endPage?: int; @@ -438,8 +438,8 @@ declare namespace print { * @type { ?Array } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ pages?: Array; } @@ -449,8 +449,8 @@ declare namespace print { * @typedef PreviewAttribute * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface PreviewAttribute { /** @@ -458,8 +458,8 @@ declare namespace print { * @type { PrinterRange } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ previewRange: PrinterRange; @@ -468,8 +468,8 @@ declare namespace print { * @type { ?int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ result?: int; } @@ -479,8 +479,8 @@ declare namespace print { * @typedef PrintResolution * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface PrintResolution { /** @@ -488,8 +488,8 @@ declare namespace print { * @type { string } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ id: string; @@ -498,8 +498,8 @@ declare namespace print { * @type { int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ horizontalDpi: int; @@ -508,8 +508,8 @@ declare namespace print { * @type { int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ verticalDpi: int; } @@ -518,16 +518,16 @@ declare namespace print { * defines print page size. * @typedef PrintPageSize * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ interface PrintPageSize { /** * Page size id. * @type { string } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ id: string; @@ -535,8 +535,8 @@ declare namespace print { * Page size name. * @type { string } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ name: string; @@ -544,8 +544,8 @@ declare namespace print { * Unit: millimeter width. * @type { int } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ width: int; @@ -553,8 +553,8 @@ declare namespace print { * Unit: millimeter height. * @type { int } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ height: int; } @@ -564,8 +564,8 @@ declare namespace print { * @typedef PrinterCapability * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface PrinterCapability { /** @@ -573,8 +573,8 @@ declare namespace print { * @type { int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ colorMode: int; @@ -583,8 +583,8 @@ declare namespace print { * @type { int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ duplexMode: int; @@ -593,8 +593,8 @@ declare namespace print { * @type { Array } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ pageSize: Array; @@ -603,8 +603,8 @@ declare namespace print { * @type { ?Array } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ resolution?: Array; @@ -613,8 +613,8 @@ declare namespace print { * @type { ?PrintMargin } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ minMargin?: PrintMargin; @@ -623,8 +623,8 @@ declare namespace print { * @type { ?Object } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ options?: Object; } @@ -634,8 +634,8 @@ declare namespace print { * @typedef PrinterInfo * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface PrinterInfo { /** @@ -643,8 +643,8 @@ declare namespace print { * @type { string } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ printerId: string; @@ -653,8 +653,8 @@ declare namespace print { * @type { string } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ printerName: string; @@ -663,8 +663,8 @@ declare namespace print { * @type { PrinterState } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ printerState: PrinterState; @@ -673,8 +673,8 @@ declare namespace print { * @type { ?int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ printerIcon?: int; @@ -683,8 +683,8 @@ declare namespace print { * @type { ?string } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ description?: string; @@ -693,8 +693,8 @@ declare namespace print { * @type { ?PrinterCapability } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ capability?: PrinterCapability; @@ -703,8 +703,8 @@ declare namespace print { * @type { ?Object } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ options?: Object; } @@ -714,8 +714,8 @@ declare namespace print { * @typedef PrintJob * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface PrintJob { /** @@ -723,8 +723,8 @@ declare namespace print { * @type { Array } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ fdList: Array; @@ -733,8 +733,8 @@ declare namespace print { * @type { string } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ jobId: string; @@ -743,8 +743,8 @@ declare namespace print { * @type { string } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ printerId: string; @@ -753,8 +753,8 @@ declare namespace print { * @type { PrintJobState } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ jobState: PrintJobState; @@ -763,8 +763,8 @@ declare namespace print { * @type { PrintJobSubState } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ jobSubstate: PrintJobSubState; @@ -773,8 +773,8 @@ declare namespace print { * @type { int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ copyNumber: int; @@ -783,8 +783,8 @@ declare namespace print { * @type { PrinterRange } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ pageRange: PrinterRange; @@ -793,8 +793,8 @@ declare namespace print { * @type { boolean } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ isSequential: boolean; @@ -803,8 +803,8 @@ declare namespace print { * @type { PrintPageSize } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ pageSize: PrintPageSize; @@ -813,8 +813,8 @@ declare namespace print { * @type { boolean } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ isLandscape: boolean; @@ -823,8 +823,8 @@ declare namespace print { * @type { int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ colorMode: int; @@ -833,8 +833,8 @@ declare namespace print { * @type { int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ duplexMode: int; @@ -843,8 +843,8 @@ declare namespace print { * @type { ?PrintMargin } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ margin?: PrintMargin; @@ -853,8 +853,8 @@ declare namespace print { * @type { ?PreviewAttribute } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ preview?: PreviewAttribute; @@ -863,8 +863,8 @@ declare namespace print { * @type { ?Object } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ options?: Object; } @@ -873,31 +873,31 @@ declare namespace print { * Enumeration of Print Direction Mode. * @enum { int } PrintDirectionMode * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum PrintDirectionMode { /** * Automatically select direction. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DIRECTION_MODE_AUTO = 0, /** * Print portrait. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DIRECTION_MODE_PORTRAIT = 1, /** * Print landscape. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DIRECTION_MODE_LANDSCAPE = 2, } @@ -906,23 +906,23 @@ declare namespace print { * Enumeration of Print Color Mode. * @enum { int } PrintColorMode * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum PrintColorMode { /** * Print monochrome. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COLOR_MODE_MONOCHROME = 0, /** * Color printing. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ COLOR_MODE_COLOR = 1, } @@ -931,31 +931,31 @@ declare namespace print { * Enumeration of Print Duplex Mode. * @enum { int } PrintDuplexMode * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum PrintDuplexMode { /** * Single side printing. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DUPLEX_MODE_NONE = 0, /** * Long-edge flip-up duplex printing. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DUPLEX_MODE_LONG_EDGE = 1, /** * Short-edge flip-up duplex printing. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ DUPLEX_MODE_SHORT_EDGE = 2, } @@ -964,103 +964,103 @@ declare namespace print { * Enumeration of Print Page Type. * @enum { int } PrintPageType * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum PrintPageType { /** * A3 page. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PAGE_ISO_A3 = 0, /** * A4 page. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PAGE_ISO_A4 = 1, /** * A5 page. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PAGE_ISO_A5 = 2, /** * B5 page. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PAGE_JIS_B5 = 3, /** * C5 page. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PAGE_ISO_C5 = 4, /** * DL Envelope. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PAGE_ISO_DL = 5, /** * Letter. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PAGE_LETTER = 6, /** * Legal. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PAGE_LEGAL = 7, /** * Photo 4x6. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PAGE_PHOTO_4X6 = 8, /** * Photo 5x7. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PAGE_PHOTO_5X7 = 9, /** * Envelope INT DL. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PAGE_INT_DL_ENVELOPE = 10, /** * Tabloid B. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PAGE_B_TABLOID = 11, } @@ -1069,47 +1069,47 @@ declare namespace print { * Enumeration of Print Document Adapter State. * @enum { int } PrintDocumentAdapterState * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum PrintDocumentAdapterState { /** * Preview failed. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PREVIEW_DESTROY = 0, /** * Print state is succeed. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PRINT_TASK_SUCCEED = 1, /** * Print state is fail. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PRINT_TASK_FAIL = 2, /** * Print state is cancel. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PRINT_TASK_CANCEL = 3, /** * Print state is block. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PRINT_TASK_BLOCK = 4, } @@ -1118,31 +1118,31 @@ declare namespace print { * Enumeration of Print File Creation State. * @enum { int } PrintFileCreationState * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ enum PrintFileCreationState { /** * Print file created success. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PRINT_FILE_CREATED = 0, /** * Print file created fail. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PRINT_FILE_CREATION_FAILED = 1, /** * Print file created success but unrendered. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ PRINT_FILE_CREATED_UNRENDERED = 2, } @@ -1151,55 +1151,55 @@ declare namespace print { * Enumeration of Printer State. * @enum { int } PrinterState * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum PrinterState { /** * New printers arrival. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINTER_ADDED = 0, /** * Printer lost. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINTER_REMOVED = 1, /** * Printer update. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINTER_CAPABILITY_UPDATED = 2, /** * Printer has been connected. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINTER_CONNECTED = 3, /** * Printer has been disconnected. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINTER_DISCONNECTED = 4, /** * Printer is working. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINTER_RUNNING = 5, } @@ -1208,47 +1208,47 @@ declare namespace print { * Enumeration of Print Job State. * @enum { int } PrintJobState * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum PrintJobState { /** * Initial state of print job. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_PREPARE = 0, /** * Deliver print job to the printer. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_QUEUED = 1, /** * Executing print job. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_RUNNING = 2, /** * Print job has been blocked. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCKED = 3, /** * Print job completed. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_COMPLETED = 4, } @@ -1257,271 +1257,267 @@ declare namespace print { * Enumeration of Print Job Sub State. * @enum { int } PrintJobSubState * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum PrintJobSubState { /** * Print job succeed. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_COMPLETED_SUCCESS = 0, /** * Print job fail. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_COMPLETED_FAILED = 1, /** * Print job has been cancelled. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_COMPLETED_CANCELLED = 2, /** * Print job has been corrupted. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_COMPLETED_FILE_CORRUPTED = 3, /** * Print is offline. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_OFFLINE = 4, /** * Print is occupied by other process. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_BUSY = 5, /** * Print job has been cancelled. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_CANCELLED = 6, /** * Print out of paper. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_OUT_OF_PAPER = 7, /** * Print out of ink. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_OUT_OF_INK = 8, /** * Print out of toner. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_OUT_OF_TONER = 9, /** * Print paper jam. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_JAMMED = 10, /** * Print cover open. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_DOOR_OPEN = 11, /** * Print service request. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_SERVICE_REQUEST = 12, /** * Print low on ink. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_LOW_ON_INK = 13, /** * Print low on toner. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_LOW_ON_TONER = 14, /** * Print really low on ink. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_REALLY_LOW_ON_INK = 15, /** * Print bad certification. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_BAD_CERTIFICATE = 16, /** * Print printer driver exception. * @syscap SystemCapability.Print.PrintFramework - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ PRINT_JOB_BLOCK_DRIVER_EXCEPTION = 17, /** * Print an error occurred when printing the account. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_ACCOUNT_ERROR = 18, /** * Print the printing permission is abnormal. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_PRINT_PERMISSION_ERROR = 19, /** * Print color printing permission exception. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_PRINT_COLOR_PERMISSION_ERROR = 20, /** * Print the device is not connected to the network. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_NETWORK_ERROR = 21, /** * Print unable to connect to the server. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_SERVER_CONNECTION_ERROR = 22, /** * Print large file exception. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_LARGE_FILE_ERROR = 23, /** * Print file parsing exception. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_FILE_PARSING_ERROR = 24, /** * Print the file conversion is too slow. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_SLOW_FILE_CONVERSION = 25, /** * Print uploading file. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_RUNNING_UPLOADING_FILES = 26, /** * Print converting files. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_RUNNING_CONVERTING_FILES = 27, /** * Print file uploading exception. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_FILE_UPLOADING_ERROR = 30, /** * Print driver file missing. * @syscap SystemCapability.Print.PrintFramework - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ PRINT_JOB_BLOCK_DRIVER_MISSING = 34, /** * Print job interrupt. * @syscap SystemCapability.Print.PrintFramework - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ PRINT_JOB_BLOCK_INTERRUPT = 35, /** * Print on an unavailable printer. * @syscap SystemCapability.Print.PrintFramework - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ PRINT_JOB_BLOCK_PRINTER_UNAVAILABLE = 98, /** * Print unknown issue. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINT_JOB_BLOCK_UNKNOWN = 99, } @@ -1530,95 +1526,95 @@ declare namespace print { * Enumeration of Print error Code. * @enum { int } PrintErrorCode * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum PrintErrorCode { /** * No error. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ E_PRINT_NONE = 0, /** * No permission. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ E_PRINT_NO_PERMISSION = 201, /** * Invalid parameter. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ E_PRINT_INVALID_PARAMETER = 401, /** * Generic failure of print. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ E_PRINT_GENERIC_FAILURE = 13100001, /** * RPC failure. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ E_PRINT_RPC_FAILURE = 13100002, /** * Failure of print service. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ E_PRINT_SERVER_FAILURE = 13100003, /** * Invalid print extension. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ E_PRINT_INVALID_EXTENSION = 13100004, /** * Invalid printer. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ E_PRINT_INVALID_PRINTER = 13100005, /** * Invalid print job. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ E_PRINT_INVALID_PRINT_JOB = 13100006, /** * File i/o error. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ E_PRINT_FILE_IO = 13100007, /** * Number of files exceeding the upper limit. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ E_PRINT_TOO_MANY_FILES = 13100010, } @@ -1627,31 +1623,31 @@ declare namespace print { * Enumeration of application event. * @enum { int } ApplicationEvent * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum ApplicationEvent { /** * Application created. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ APPLICATION_CREATED = 0, /** * Application closed for printing started. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ APPLICATION_CLOSED_FOR_STARTED = 1, /** * Application closed for printing canceled. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ APPLICATION_CLOSED_FOR_CANCELED = 2, } @@ -1661,8 +1657,8 @@ declare namespace print { * @typedef PrinterExtensionInfo * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ interface PrinterExtensionInfo { /** @@ -1670,8 +1666,8 @@ declare namespace print { * @type { string } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ extensionId: string; @@ -1680,8 +1676,8 @@ declare namespace print { * @type { string } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ vendorId: string; @@ -1690,8 +1686,8 @@ declare namespace print { * @type { string } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ vendorName: string; @@ -1700,8 +1696,8 @@ declare namespace print { * @type { int } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ vendorIcon: int; @@ -1710,8 +1706,8 @@ declare namespace print { * @type { string } * @syscap SystemCapability.Print.PrintFramework * @systemapi - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ version: string; } @@ -1724,8 +1720,8 @@ declare namespace print { * @throws { BusinessError } 202 - not system application * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function queryAllPrinterExtensionInfos(callback: AsyncCallback>): void; @@ -1737,8 +1733,8 @@ declare namespace print { * @throws { BusinessError } 202 - not system application * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function queryAllPrinterExtensionInfos(): Promise>; @@ -1764,8 +1760,7 @@ declare namespace print { * @param { AsyncCallback } callback - The callback function for indcating the result of API execution. * @throws { BusinessError } 201 - the application does not have permission to call this function. * @syscap SystemCapability.Print.PrintFramework - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function startDiscoverPrinter(extensionList: Array, callback: AsyncCallback): void; @@ -1791,8 +1786,7 @@ declare namespace print { * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 201 - the application does not have permission to call this function. * @syscap SystemCapability.Print.PrintFramework - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function startDiscoverPrinter(extensionList: Array): Promise; @@ -1812,8 +1806,7 @@ declare namespace print { * @param { AsyncCallback } callback - The callback function for indcating the result of API execution. * @throws { BusinessError } 201 - the application does not have permission to call this function. * @syscap SystemCapability.Print.PrintFramework - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function stopDiscoverPrinter(callback: AsyncCallback): void; @@ -1833,8 +1826,7 @@ declare namespace print { * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 201 - the application does not have permission to call this function. * @syscap SystemCapability.Print.PrintFramework - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function stopDiscoverPrinter(): Promise; @@ -1858,8 +1850,7 @@ declare namespace print { * @param { AsyncCallback } callback - The callback function for indcating the result of API execution. * @throws { BusinessError } 201 - the application does not have permission to call this function. * @syscap SystemCapability.Print.PrintFramework - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function connectPrinter(printerId: string, callback: AsyncCallback): void; @@ -1883,8 +1874,7 @@ declare namespace print { * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 201 - the application does not have permission to call this function. * @syscap SystemCapability.Print.PrintFramework - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function connectPrinter(printerId: string): Promise; @@ -1898,8 +1888,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function disconnectPrinter(printerId: string, callback: AsyncCallback): void; @@ -1913,8 +1903,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function disconnectPrinter(printerId: string): Promise; @@ -1928,8 +1918,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function queryPrinterCapability(printerId: string, callback: AsyncCallback): void; @@ -1943,8 +1933,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function queryPrinterCapability(printerId: string): Promise; @@ -1958,8 +1948,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function startPrintJob(jobInfo: PrintJob, callback: AsyncCallback): void; @@ -1973,8 +1963,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function startPrintJob(jobInfo: PrintJob): Promise; @@ -1988,8 +1978,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function cancelPrintJob(jobId: string, callback: AsyncCallback): void; @@ -2003,8 +1993,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function cancelPrintJob(jobId: string): Promise; @@ -2017,8 +2007,7 @@ declare namespace print { * @throws { BusinessError } 202 - not system application * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function restartPrintJob(jobId: string): Promise; @@ -2032,8 +2021,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function requestPrintPreview(jobInfo: PrintJob, callback: Callback): void; @@ -2047,8 +2036,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function requestPrintPreview(jobInfo: PrintJob): Promise; @@ -2062,8 +2051,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function on(type: 'printerStateChange', callback: (state: PrinterState, info: PrinterInfo) => void): void; @@ -2077,8 +2066,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function off(type: 'printerStateChange', callback?: Callback): void; @@ -2092,8 +2081,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function on(type: 'jobStateChange', callback: (state: PrintJobState, job: PrintJob) => void): void; @@ -2107,8 +2096,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function off(type: 'jobStateChange', callback?: Callback): void; @@ -2122,8 +2111,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function on(type: 'extInfoChange', callback: (extensionId: string, info: string) => void): void; @@ -2137,8 +2126,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function off(type: 'extInfoChange', callback?: Callback): void; @@ -2152,8 +2141,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function addPrinters(printers: Array, callback: AsyncCallback): void; @@ -2167,8 +2156,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function addPrinters(printers: Array): Promise; @@ -2182,8 +2171,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function removePrinters(printerIds: Array, callback: AsyncCallback): void; @@ -2197,8 +2186,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function removePrinters(printerIds: Array): Promise; @@ -2212,8 +2201,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function updatePrinters(printers: Array, callback: AsyncCallback): void; @@ -2227,8 +2216,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function updatePrinters(printers: Array): Promise; @@ -2243,8 +2232,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function updatePrinterState(printerId: string, state: PrinterState, callback: AsyncCallback): void; @@ -2259,8 +2248,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function updatePrinterState(printerId: string, state: PrinterState): Promise; @@ -2276,8 +2265,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function updatePrintJobState(jobId: string, state: PrintJobState, subState: PrintJobSubState, callback: AsyncCallback): void; @@ -2293,8 +2282,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function updatePrintJobState(jobId: string, state: PrintJobState, subState: PrintJobSubState): Promise; @@ -2308,8 +2297,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function updateExtensionInfo(info: string, callback: AsyncCallback): void; @@ -2323,8 +2312,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} - * @arkts 1.1&1.2 + * @since 10 dynamic + * @since 20 static */ function updateExtensionInfo(info: string): Promise; @@ -2336,10 +2325,10 @@ declare namespace print { * @throws { BusinessError } 202 - not system application * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} + * @since 10 dynamic + * @since 20 static * @deprecated since 11 * @useinstead print#queryPrintJobList - * @arkts 1.1&1.2 */ function queryAllPrintJobs(callback: AsyncCallback): void; @@ -2351,10 +2340,10 @@ declare namespace print { * @throws { BusinessError } 202 - not system application * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'10','1.2':'20'} + * @since 10 dynamic + * @since 20 static * @deprecated since 11 * @useinstead print#queryPrintJobList - * @arkts 1.1&1.2 */ function queryAllPrintJobs(): Promise; @@ -2366,8 +2355,7 @@ declare namespace print { * @throws { BusinessError } 202 - not system application * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since 20 - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ function queryAllActivePrintJobs(): Promise; @@ -2379,8 +2367,8 @@ declare namespace print { * @throws { BusinessError } 202 - not system application * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function queryPrintJobList(callback: AsyncCallback>): void; @@ -2392,8 +2380,8 @@ declare namespace print { * @throws { BusinessError } 202 - not system application * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function queryPrintJobList(): Promise>; @@ -2407,8 +2395,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function queryPrintJobById(jobId: string, callback: AsyncCallback): void; @@ -2422,8 +2410,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function queryPrintJobById(jobId: string): Promise; @@ -2439,8 +2427,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function startGettingPrintFile(jobId: string, printAttributes: PrintAttributes, fd: int, onFileStateChanged: Callback): void; @@ -2456,8 +2444,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function notifyPrintService(jobId: string, type: 'spooler_closed_for_cancelled' | 'spooler_closed_for_started', callback: AsyncCallback): void; @@ -2472,8 +2460,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ function notifyPrintService(jobId: string, type: 'spooler_closed_for_cancelled' | 'spooler_closed_for_started'): Promise; @@ -2483,8 +2471,8 @@ declare namespace print { * @returns { Promise> } the promise returned by the function. * @throws { BusinessError } 201 - the application does not have permission to call this function. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getAddedPrinters(): Promise>; @@ -2499,8 +2487,8 @@ declare namespace print { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getPrinterInfoById(printerId: string): Promise; @@ -2514,8 +2502,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function notifyPrintServiceEvent(event: ApplicationEvent): Promise; @@ -2527,8 +2515,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function addPrinterToDiscovery(printerInformation: PrinterInformation): Promise; @@ -2540,8 +2528,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function updatePrinterInDiscovery(printerInformation: PrinterInformation): Promise; @@ -2553,8 +2541,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function removePrinterFromDiscovery(printerId: string): Promise; @@ -2566,8 +2554,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ function getPrinterInformationById(printerId: string): Promise; @@ -2575,16 +2563,16 @@ declare namespace print { * defines printer information. * @typedef PrinterInformation * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface PrinterInformation { /** * Printer id. * @type { string } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ printerId: string; @@ -2592,8 +2580,8 @@ declare namespace print { * Printer name. * @type { string } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ printerName: string; @@ -2601,8 +2589,8 @@ declare namespace print { * Current printer status. * @type { PrinterStatus } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ printerStatus: PrinterStatus; @@ -2610,8 +2598,8 @@ declare namespace print { * Printer description. * @type { ?string } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ description?: string; @@ -2619,8 +2607,8 @@ declare namespace print { * Printer capabilities. * @type { ?PrinterCapabilities } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ capability?: PrinterCapabilities; @@ -2628,8 +2616,8 @@ declare namespace print { * Printer uri. * @type { ?string } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ uri?: string; @@ -2637,8 +2625,8 @@ declare namespace print { * Printer make. * @type { ?string } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ printerMake?: string; @@ -2646,8 +2634,8 @@ declare namespace print { * Printer preferences. * @type { ?PrinterPreferences } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ preferences?: PrinterPreferences; @@ -2655,8 +2643,8 @@ declare namespace print { * Printer alias. * @type { ?string } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ alias?: string; @@ -2664,8 +2652,8 @@ declare namespace print { * Detail information in json format. * @type { ?string } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ options?: string; } @@ -2674,16 +2662,16 @@ declare namespace print { * defines printer capabilities. * @typedef PrinterCapabilities * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ interface PrinterCapabilities { /** * The page size list supported by the printer. * @type { Array } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ supportedPageSizes: Array; @@ -2691,8 +2679,8 @@ declare namespace print { * Array of supported color mode. * @type { Array } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ supportedColorModes: Array; @@ -2700,8 +2688,8 @@ declare namespace print { * Array of supported duplex mode. * @type { Array } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ supportedDuplexModes: Array; @@ -2709,8 +2697,8 @@ declare namespace print { * Array of supported print media types. * @type { ?Array } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ supportedMediaTypes?: Array; @@ -2718,8 +2706,8 @@ declare namespace print { * Array of supported print quality. * @type { ?Array } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ supportedQualities?: Array; @@ -2727,8 +2715,8 @@ declare namespace print { * Array of supported print orientation. * @type { ?Array } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ supportedOrientations?: Array; @@ -2736,8 +2724,8 @@ declare namespace print { * Advanced capability in json format. * @type { ?string } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ options?: string; } @@ -2746,31 +2734,31 @@ declare namespace print { * Enumeration of Print Quality. * @enum { int } PrintQuality * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum PrintQuality { /** * Draft quality mode. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ QUALITY_DRAFT = 3, /** * Normal quality mode. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ QUALITY_NORMAL = 4, /** * High quality mode. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ QUALITY_HIGH = 5, } @@ -2779,47 +2767,47 @@ declare namespace print { * Enumeration of Print OrientationMode. * @enum { int } PrintOrientationMode * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum PrintOrientationMode { /** * Portrait mode. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ ORIENTATION_MODE_PORTRAIT = 0, /** * Landscape mode. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ ORIENTATION_MODE_LANDSCAPE= 1, /** * Reverse landscape mode. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ ORIENTATION_MODE_REVERSE_LANDSCAPE = 2, /** * Reverse portrait mode. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ ORIENTATION_MODE_REVERSE_PORTRAIT = 3, /** * Not specified. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ ORIENTATION_MODE_NONE = 4, } @@ -2828,31 +2816,31 @@ declare namespace print { * Enumeration of Printer Status. * @enum { int } PrinterStatus * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ enum PrinterStatus { /** * Printer idle. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINTER_IDLE = 0, /** * Printer busy. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINTER_BUSY = 1, /** * Printer not available. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'14','1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 dynamic + * @since 20 static */ PRINTER_UNAVAILABLE = 2, } @@ -2861,16 +2849,16 @@ declare namespace print { * defines printer preferences. * @typedef PrinterPreferences * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ interface PrinterPreferences { /** * Default duplex mode. * @type { ?PrintDuplexMode } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ defaultDuplexMode?: PrintDuplexMode; @@ -2878,8 +2866,8 @@ declare namespace print { * Default quality. * @type { ?PrintQuality } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ defaultPrintQuality?: PrintQuality; @@ -2887,8 +2875,8 @@ declare namespace print { * Default media type. * @type { ?string } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ defaultMediaType?: string; @@ -2896,8 +2884,8 @@ declare namespace print { * Default page size id. * @type { ?string } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ defaultPageSizeId?: string; @@ -2905,8 +2893,8 @@ declare namespace print { * Default orientation mode. * @type { ?PrintOrientationMode } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ defaultOrientation?: PrintOrientationMode; @@ -2914,8 +2902,8 @@ declare namespace print { * Default margins. * @type { ?boolean } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ borderless?: boolean; @@ -2923,8 +2911,8 @@ declare namespace print { * Detailed printer preferences in json format. * @type { ?string } * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ options?: string; } @@ -2933,55 +2921,55 @@ declare namespace print { * Enumeration of Printer Change Events. * @enum { int } PrinterEvent * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enum PrinterEvent { /** * Printer added. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ PRINTER_EVENT_ADDED = 0, /** * Printer deleted. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ PRINTER_EVENT_DELETED = 1, /** * Printer state changed. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ PRINTER_EVENT_STATE_CHANGED = 2, /** * Printer info changed. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ PRINTER_EVENT_INFO_CHANGED = 3, /** * Printer preference changed. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ PRINTER_EVENT_PREFERENCE_CHANGED = 4, /** * Last used printer changed. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ PRINTER_EVENT_LAST_USED_PRINTER_CHANGED = 5, } @@ -2990,23 +2978,23 @@ declare namespace print { * Enumeration of default printer type. * @enum { int } DefaultPrinterType * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ enum DefaultPrinterType { /** * Default printer set by user. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ DEFAULT_PRINTER_TYPE_SET_BY_USER = 0, /** * The last used printer is used as the default printer. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ DEFAULT_PRINTER_TYPE_LAST_USED_PRINTER = 1, } @@ -3021,8 +3009,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function updatePrinterInformation(printerInformation: PrinterInformation): Promise; @@ -3037,8 +3025,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setPrinterPreferences(printerId: string, printerPreferences: PrinterPreferences): Promise; @@ -3050,8 +3038,8 @@ declare namespace print { * @throws { BusinessError } 202 - not system application * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function discoverUsbPrinters(): Promise>; @@ -3066,8 +3054,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setDefaultPrinter(printerId: string, type: DefaultPrinterType): Promise; @@ -3082,8 +3070,8 @@ declare namespace print { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework * @systemapi Hide this for inner system use. - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function notifyPrintServiceEvent(event: ApplicationEvent, jobId: string): Promise; @@ -3096,8 +3084,8 @@ declare namespace print { * @param { PrinterEvent } event - the information of PrinterEvent * @param { PrinterInformation } printerInformation - the information of the latest printer * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ type PrinterChangeCallback = (event: PrinterEvent, printerInformation: PrinterInformation) => void; @@ -3109,8 +3097,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function on(type: 'printerChange', callback: PrinterChangeCallback): void; @@ -3122,8 +3110,8 @@ declare namespace print { * @throws { BusinessError } 201 - the application does not have permission to call this function. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @syscap SystemCapability.Print.PrintFramework - * @since arkts {'1.1':'18','1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function off(type: 'printerChange', callback?: PrinterChangeCallback): void; } diff --git a/api/@ohos.privacyManager.d.ts b/api/@ohos.privacyManager.d.ts index da3c676ade..8cc709a51a 100644 --- a/api/@ohos.privacyManager.d.ts +++ b/api/@ohos.privacyManager.d.ts @@ -24,8 +24,8 @@ import { Permissions } from './permissions'; /** * @namespace privacyManager * @syscap SystemCapability.Security.AccessToken - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ declare namespace privacyManager { /** @@ -70,8 +70,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100008 - Out of memory. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function addPermissionUsedRecord( tokenID: int, @@ -100,8 +100,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100008 - Out of memory. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function addPermissionUsedRecord( tokenID: int, @@ -127,8 +127,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100008 - Out of memory. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getPermissionUsedRecord(request: PermissionUsedRequest): Promise; @@ -148,8 +148,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100008 - Out of memory. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function getPermissionUsedRecord( request: PermissionUsedRequest, @@ -176,8 +176,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100008 - Out of memory. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function startUsingPermission(tokenID: int, permissionName: Permissions): Promise; @@ -203,8 +203,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100008 - Out of memory. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function startUsingPermission( tokenID: int, @@ -233,8 +233,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100008 - Out of memory. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function startUsingPermission(tokenID: int, permissionName: Permissions, callback: AsyncCallback): void; @@ -257,8 +257,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100008 - Out of memory. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function stopUsingPermission(tokenID: int, permissionName: Permissions): Promise; @@ -282,8 +282,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100008 - Out of memory. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function stopUsingPermission( tokenID: int, @@ -310,8 +310,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100008 - Out of memory. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function stopUsingPermission(tokenID: int, permissionName: Permissions, callback: AsyncCallback): void; @@ -332,8 +332,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100008 - Out of memory. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function on( type: 'activeStateChange', @@ -357,8 +357,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100008 - Out of memory. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ function off( type: 'activeStateChange', @@ -381,8 +381,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100003 - The input permissionName does not exist. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ function getPermissionUsedTypeInfos(tokenId?: int, permissionName?: Permissions): Promise>; @@ -399,8 +399,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100009 - Common inner error. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function setPermissionUsedRecordToggleStatus(status: boolean): Promise; @@ -414,8 +414,8 @@ declare namespace privacyManager { * @throws { BusinessError } 12100007 - The service is abnormal. * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ function getPermissionUsedRecordToggleStatus(): Promise; @@ -425,8 +425,8 @@ declare namespace privacyManager { * @enum { int } PermissionActiveStatus * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum PermissionActiveStatus { /** @@ -434,8 +434,8 @@ declare namespace privacyManager { * * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ PERM_INACTIVE = 0, @@ -444,8 +444,8 @@ declare namespace privacyManager { * * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ PERM_ACTIVE_IN_FOREGROUND = 1, @@ -454,8 +454,8 @@ declare namespace privacyManager { * * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ PERM_ACTIVE_IN_BACKGROUND = 2 } @@ -466,8 +466,8 @@ declare namespace privacyManager { * @interface ActiveChangeResponse * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface ActiveChangeResponse { /** @@ -476,8 +476,8 @@ declare namespace privacyManager { * @type { ?int } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ callingTokenId?: int; @@ -487,8 +487,8 @@ declare namespace privacyManager { * @type { int } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ tokenId: int; @@ -498,8 +498,8 @@ declare namespace privacyManager { * @type { Permissions } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ permissionName: Permissions; @@ -509,8 +509,8 @@ declare namespace privacyManager { * @type { string } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ deviceId: string; @@ -520,8 +520,8 @@ declare namespace privacyManager { * @type { PermissionActiveStatus } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ activeStatus: PermissionActiveStatus; @@ -531,8 +531,8 @@ declare namespace privacyManager { * @type { ?PermissionUsedType } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'18', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 18 dynamic + * @since 20 static */ usedType?: PermissionUsedType; } @@ -543,8 +543,8 @@ declare namespace privacyManager { * @enum { int } PermissionUsageFlag * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ enum PermissionUsageFlag { /** @@ -552,8 +552,8 @@ declare namespace privacyManager { * * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ FLAG_PERMISSION_USAGE_SUMMARY = 0, /** @@ -561,8 +561,8 @@ declare namespace privacyManager { * * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ FLAG_PERMISSION_USAGE_DETAIL = 1 } @@ -573,8 +573,8 @@ declare namespace privacyManager { * @interface PermissionUsedRequest * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface PermissionUsedRequest { /** @@ -583,8 +583,8 @@ declare namespace privacyManager { * @type { ?int } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ tokenId?: int; @@ -595,8 +595,8 @@ declare namespace privacyManager { * @default false * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ isRemote?: boolean; @@ -606,8 +606,8 @@ declare namespace privacyManager { * @type { ?string } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ deviceId?: string; @@ -617,8 +617,8 @@ declare namespace privacyManager { * @type { ?string } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ bundleName?: string; @@ -628,8 +628,8 @@ declare namespace privacyManager { * @type { ?Array } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ permissionNames?: Array; @@ -640,8 +640,8 @@ declare namespace privacyManager { * @default 0 * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ beginTime?: long; @@ -652,8 +652,8 @@ declare namespace privacyManager { * @default 0 * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ endTime?: long; @@ -663,8 +663,8 @@ declare namespace privacyManager { * @type { PermissionUsageFlag } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ flag: PermissionUsageFlag; } @@ -675,8 +675,8 @@ declare namespace privacyManager { * @interface PermissionUsedResponse * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface PermissionUsedResponse { /** @@ -685,8 +685,8 @@ declare namespace privacyManager { * @type { long } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ beginTime: long; @@ -696,8 +696,8 @@ declare namespace privacyManager { * @type { long } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ endTime: long; @@ -707,8 +707,8 @@ declare namespace privacyManager { * @type { Array } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ bundleRecords: Array; } @@ -719,8 +719,8 @@ declare namespace privacyManager { * @interface BundleUsedRecord * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface BundleUsedRecord { /** @@ -729,8 +729,8 @@ declare namespace privacyManager { * @type { int } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ tokenId: int; @@ -740,8 +740,8 @@ declare namespace privacyManager { * @type { boolean } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ isRemote: boolean; @@ -751,8 +751,8 @@ declare namespace privacyManager { * @type { string } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ deviceId: string; @@ -762,8 +762,8 @@ declare namespace privacyManager { * @type { string } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ bundleName: string; @@ -773,8 +773,8 @@ declare namespace privacyManager { * @type { Array } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ permissionRecords: Array; } @@ -785,8 +785,8 @@ declare namespace privacyManager { * @interface PermissionUsedRecord * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface PermissionUsedRecord { /** @@ -795,8 +795,8 @@ declare namespace privacyManager { * @type { Permissions } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ permissionName: Permissions; @@ -806,8 +806,8 @@ declare namespace privacyManager { * @type { int } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ accessCount: int; @@ -817,8 +817,8 @@ declare namespace privacyManager { * @type { int } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ rejectCount: int; @@ -828,8 +828,8 @@ declare namespace privacyManager { * @type { long } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ lastAccessTime: long; @@ -839,8 +839,8 @@ declare namespace privacyManager { * @type { long } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ lastRejectTime: long; @@ -850,8 +850,8 @@ declare namespace privacyManager { * @type { long } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ lastAccessDuration: long; @@ -861,8 +861,8 @@ declare namespace privacyManager { * @type { Array } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ accessRecords: Array; @@ -872,8 +872,8 @@ declare namespace privacyManager { * @type { Array } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ rejectRecords: Array; } @@ -884,8 +884,8 @@ declare namespace privacyManager { * @interface UsedRecordDetail * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ interface UsedRecordDetail { /** @@ -894,8 +894,8 @@ declare namespace privacyManager { * @type { int } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ status: int; @@ -905,8 +905,8 @@ declare namespace privacyManager { * @type { ?int } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ lockScreenStatus?: int; @@ -916,8 +916,8 @@ declare namespace privacyManager { * @type { long } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ timestamp: long; @@ -927,8 +927,8 @@ declare namespace privacyManager { * @type { ?int } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ count?: int; @@ -938,8 +938,8 @@ declare namespace privacyManager { * @type { long } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 dynamic + * @since 20 static */ accessDuration: long; @@ -949,8 +949,8 @@ declare namespace privacyManager { * @type { ?PermissionUsedType } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ usedType?: PermissionUsedType; } @@ -961,8 +961,8 @@ declare namespace privacyManager { * @enum { int } PermissionUsedType * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ enum PermissionUsedType { /** @@ -970,8 +970,8 @@ declare namespace privacyManager { * * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ NORMAL_TYPE = 0, @@ -980,8 +980,8 @@ declare namespace privacyManager { * * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ PICKER_TYPE = 1, @@ -990,8 +990,8 @@ declare namespace privacyManager { * * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ SECURITY_COMPONENT_TYPE = 2 } @@ -1002,8 +1002,8 @@ declare namespace privacyManager { * @interface PermissionUsedTypeInfo * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface PermissionUsedTypeInfo { /** @@ -1012,8 +1012,8 @@ declare namespace privacyManager { * @type { int } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ tokenId: int; @@ -1023,8 +1023,8 @@ declare namespace privacyManager { * @type { Permissions } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ permissionName: Permissions; @@ -1034,8 +1034,8 @@ declare namespace privacyManager { * @type { PermissionUsedType } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ usedType: PermissionUsedType; } @@ -1046,8 +1046,8 @@ declare namespace privacyManager { * @interface AddPermissionUsedRecordOptions * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ interface AddPermissionUsedRecordOptions { /** @@ -1056,8 +1056,8 @@ declare namespace privacyManager { * @type { ?PermissionUsedType } * @syscap SystemCapability.Security.AccessToken * @systemapi - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ usedType?: PermissionUsedType; } diff --git a/api/@ohos.process.d.ts b/api/@ohos.process.d.ts index 24eb260ada..d802fe4cf9 100644 --- a/api/@ohos.process.d.ts +++ b/api/@ohos.process.d.ts @@ -43,7 +43,7 @@ * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ declare namespace process { /** @@ -52,7 +52,7 @@ declare namespace process { * @typedef ChildProcess * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ export interface ChildProcess { @@ -63,7 +63,7 @@ declare namespace process { * @readonly * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ readonly pid: number; @@ -75,7 +75,7 @@ declare namespace process { * @readonly * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ readonly ppid: number; @@ -87,7 +87,7 @@ declare namespace process { * @readonly * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ readonly exitCode: number; @@ -99,7 +99,7 @@ declare namespace process { * @readonly * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ readonly killed: boolean; @@ -110,7 +110,7 @@ declare namespace process { * @returns { Promise } Return the target process exit code. * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ wait(): Promise; @@ -121,7 +121,7 @@ declare namespace process { * @returns { Promise } Return subprocess standard output. * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ getOutput(): Promise; @@ -132,7 +132,7 @@ declare namespace process { * @returns { Promise } Return subprocess standard error output. * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ getErrorOutput(): Promise; @@ -142,7 +142,7 @@ declare namespace process { * * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ close(): void; @@ -153,7 +153,7 @@ declare namespace process { * @param { number | string } signal - Number or string represents the signal sent. * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ kill(signal: number | string): void; @@ -183,7 +183,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly * @name ProcessManager */ export class ProcessManager { @@ -221,7 +221,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ isAppUid(v: number): boolean; @@ -259,7 +259,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ getUidForName(v: string): number; @@ -297,7 +297,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ getThreadPriority(v: number): number; @@ -335,7 +335,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ getSystemConfig(name: number): number; @@ -373,7 +373,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ getEnvironmentVar(name: string): string; @@ -408,7 +408,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ exit(code: number): void; @@ -449,7 +449,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ kill(signal: number, pid: number): boolean; } @@ -459,7 +459,7 @@ declare namespace process { * * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ const egid: number; @@ -469,7 +469,7 @@ declare namespace process { * * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ const euid: number; @@ -479,7 +479,7 @@ declare namespace process { * * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ const gid: number; @@ -503,7 +503,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ const uid: number; @@ -512,7 +512,7 @@ declare namespace process { * * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ const groups: number[]; @@ -536,7 +536,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ const pid: number; @@ -545,7 +545,7 @@ declare namespace process { * * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ const ppid: number; @@ -569,7 +569,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ const tid: number; @@ -586,7 +586,7 @@ declare namespace process { * @returns { boolean } Return boolean whether the process is isolated. * @syscap SystemCapability.Utils.Lang * @atomicservice - * @since 11 + * @since 11 dynamiconly */ function isIsolatedProcess(): boolean; @@ -596,7 +596,7 @@ declare namespace process { * @param { number } v - An id. * @returns { boolean } Return a boolean whether the specified uid belongs to a particular application. * @syscap SystemCapability.Utils.Lang - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.process.ProcessManager.isAppUid */ @@ -624,7 +624,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ function is64Bit(): boolean; @@ -634,7 +634,7 @@ declare namespace process { * @param { string } v - Process name. * @returns { number } Return the uid based on the specified user name. * @syscap SystemCapability.Utils.Lang - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.process.ProcessManager.getUidForName */ @@ -646,7 +646,7 @@ declare namespace process { * @param { number } v - The tid of the process. * @returns { number } Return the thread priority based on the specified tid. * @syscap SystemCapability.Utils.Lang - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.process.ProcessManager.getThreadPriority */ @@ -674,7 +674,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ function getStartRealtime(): number; @@ -700,7 +700,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ function getPastCpuTime(): number; @@ -710,7 +710,7 @@ declare namespace process { * @param { number } name - Parameters defined by the system configuration. * @returns { number } Return the system configuration at runtime. * @syscap SystemCapability.Utils.Lang - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.process.ProcessManager.getSystemConfig */ @@ -722,7 +722,7 @@ declare namespace process { * @param { string } name - Parameters defined by the system environment variables. * @returns { string } Return the system value for environment variables. * @syscap SystemCapability.Utils.Lang - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.process.ProcessManager.getEnvironmentVar */ @@ -757,7 +757,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamiconly */ type EventListener = (evt: Object) => void; @@ -767,7 +767,7 @@ declare namespace process { * @typedef ConditionType * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 10 + * @since 10 dynamiconly * @test */ interface ConditionType { @@ -778,7 +778,7 @@ declare namespace process { * @type { ?number } * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 10 + * @since 10 dynamiconly * @test */ timeout?: number; @@ -789,7 +789,7 @@ declare namespace process { * @type { ?(number | string) } * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 10 + * @since 10 dynamiconly * @test */ killSignal?: number | string; @@ -800,7 +800,7 @@ declare namespace process { * @type { ?number } * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 10 + * @since 10 dynamiconly * @test */ maxBuffer?: number; @@ -815,7 +815,7 @@ declare namespace process { * @returns { ChildProcess } Returns a child process object. * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ function runCmd( @@ -843,7 +843,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ function abort(): void; @@ -854,7 +854,7 @@ declare namespace process { * @param { EventListener } listener - Represents the registered event function * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ function on(type: string, listener: EventListener): void; @@ -866,7 +866,7 @@ declare namespace process { * @returns { boolean } Return removed result. * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ function off(type: string): boolean; @@ -876,7 +876,7 @@ declare namespace process { * * @param { number } code - Process exit code. * @syscap SystemCapability.Utils.Lang - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.process.ProcessManager.exit */ @@ -888,7 +888,7 @@ declare namespace process { * @returns { string } Return the current work directory. * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ function cwd(): string; @@ -899,7 +899,7 @@ declare namespace process { * @param { string } dir - The path you want to change. * @syscap SystemCapability.Utils.Lang * @systemapi Hide this for inner system use - * @since 7 + * @since 7 dynamiconly * @test */ function chdir(dir: string): void; @@ -926,7 +926,7 @@ declare namespace process { * @syscap SystemCapability.Utils.Lang * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamiconly */ function uptime(): number; @@ -937,7 +937,7 @@ declare namespace process { * @param { number } pid - Send signal to target pid. * @returns { boolean } Return the result of the signal. * @syscap SystemCapability.Utils.Lang - * @since 7 + * @since 7 dynamiconly * @deprecated since 9 * @useinstead ohos.process.ProcessManager.kill */ diff --git a/api/@ohos.prompt.d.ets b/api/@ohos.prompt.d.ets index 6aa7d47b9a..77cd3d50ff 100644 --- a/api/@ohos.prompt.d.ets +++ b/api/@ohos.prompt.d.ets @@ -24,7 +24,7 @@ import { AsyncCallback } from './@ohos.base'; /** * @namespace prompt * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 * @useinstead ohos.promptAction */ @@ -33,7 +33,7 @@ import { AsyncCallback } from './@ohos.base'; /** * @interface ShowToastOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ interface ShowToastOptions { @@ -43,7 +43,7 @@ import { AsyncCallback } from './@ohos.base'; * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ message: string; @@ -55,7 +55,7 @@ import { AsyncCallback } from './@ohos.base'; * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ duration?: number; @@ -65,7 +65,7 @@ import { AsyncCallback } from './@ohos.base'; * * @type { ?(string | number) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ bottom?: string | number; @@ -74,7 +74,7 @@ import { AsyncCallback } from './@ohos.base'; /** * @interface Button * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ interface Button { @@ -82,7 +82,7 @@ import { AsyncCallback } from './@ohos.base'; /** * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ text: string; @@ -90,7 +90,7 @@ import { AsyncCallback } from './@ohos.base'; /** * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ color: string; @@ -99,7 +99,7 @@ import { AsyncCallback } from './@ohos.base'; /** * @interface ShowDialogSuccessResponse * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ interface ShowDialogSuccessResponse { @@ -107,7 +107,7 @@ import { AsyncCallback } from './@ohos.base'; /** * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ index: number; @@ -116,7 +116,7 @@ import { AsyncCallback } from './@ohos.base'; /** * @interface ShowDialogOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ interface ShowDialogOptions { @@ -126,7 +126,7 @@ import { AsyncCallback } from './@ohos.base'; * * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ title?: string; @@ -136,7 +136,7 @@ import { AsyncCallback } from './@ohos.base'; * * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ message?: string; @@ -148,7 +148,7 @@ import { AsyncCallback } from './@ohos.base'; * * @type { ?[Button, Button | undefined, Button | undefined] } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ buttons?: [Button, Button | undefined, Button | undefined]; @@ -157,7 +157,7 @@ import { AsyncCallback } from './@ohos.base'; /** * @interface ActionMenuSuccessResponse * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ interface ActionMenuSuccessResponse { @@ -165,7 +165,7 @@ import { AsyncCallback } from './@ohos.base'; /** * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ index: number; @@ -174,7 +174,7 @@ import { AsyncCallback } from './@ohos.base'; /** * @interface ActionMenuOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ interface ActionMenuOptions { @@ -184,7 +184,7 @@ import { AsyncCallback } from './@ohos.base'; * * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ title?: string; @@ -196,7 +196,7 @@ import { AsyncCallback } from './@ohos.base'; * * @type { [Button, Button | undefined, Button | undefined, Button | undefined, Button | undefined, Button | undefined] } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ buttons: [Button, Button | undefined, Button | undefined, Button | undefined, Button | undefined, Button | undefined]; @@ -207,7 +207,7 @@ import { AsyncCallback } from './@ohos.base'; * * @param { ShowToastOptions } options - Options. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ function showToast(options: ShowToastOptions): void; @@ -218,7 +218,7 @@ import { AsyncCallback } from './@ohos.base'; * @param { ShowDialogOptions } options - Options. * @param { AsyncCallback } callback * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ function showDialog(options: ShowDialogOptions, callback: AsyncCallback): void; @@ -229,7 +229,7 @@ import { AsyncCallback } from './@ohos.base'; * @param { ShowDialogOptions } options - Options. * @returns { Promise } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ function showDialog(options: ShowDialogOptions): Promise; @@ -240,7 +240,7 @@ import { AsyncCallback } from './@ohos.base'; * @param { ActionMenuOptions } options - Options. * @param { AsyncCallback } callback * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ function showActionMenu(options: ActionMenuOptions, callback: AsyncCallback): void; @@ -251,7 +251,7 @@ import { AsyncCallback } from './@ohos.base'; * @param { ActionMenuOptions } options - Options. * @returns { Promise } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 22 static * @deprecated since 9 */ function showActionMenu(options: ActionMenuOptions): Promise; diff --git a/api/@ohos.prompt.d.ts b/api/@ohos.prompt.d.ts index e262bdbaf1..0e9590e581 100644 --- a/api/@ohos.prompt.d.ts +++ b/api/@ohos.prompt.d.ts @@ -24,7 +24,7 @@ import { AsyncCallback } from './@ohos.base'; /** * @namespace prompt * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.promptAction */ @@ -33,7 +33,7 @@ declare namespace prompt { /** * @interface ShowToastOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ interface ShowToastOptions { @@ -43,7 +43,7 @@ declare namespace prompt { * * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ message: string; @@ -55,7 +55,7 @@ declare namespace prompt { * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ duration?: number; @@ -65,7 +65,7 @@ declare namespace prompt { * * @type { ?(string | number) } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ bottom?: string | number; @@ -74,7 +74,7 @@ declare namespace prompt { /** * @interface Button * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ interface Button { @@ -82,7 +82,7 @@ declare namespace prompt { /** * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ text: string; @@ -90,7 +90,7 @@ declare namespace prompt { /** * @type { string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ color: string; @@ -99,7 +99,7 @@ declare namespace prompt { /** * @interface ShowDialogSuccessResponse * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ interface ShowDialogSuccessResponse { @@ -107,7 +107,7 @@ declare namespace prompt { /** * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ index: number; @@ -116,7 +116,7 @@ declare namespace prompt { /** * @interface ShowDialogOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ interface ShowDialogOptions { @@ -126,7 +126,7 @@ declare namespace prompt { * * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ title?: string; @@ -136,7 +136,7 @@ declare namespace prompt { * * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ message?: string; @@ -148,7 +148,7 @@ declare namespace prompt { * * @type { ?[Button, Button?, Button?] } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ buttons?: [Button, Button?, Button?]; @@ -157,7 +157,7 @@ declare namespace prompt { /** * @interface ActionMenuSuccessResponse * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ interface ActionMenuSuccessResponse { @@ -165,7 +165,7 @@ declare namespace prompt { /** * @type { number } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ index: number; @@ -174,7 +174,7 @@ declare namespace prompt { /** * @interface ActionMenuOptions * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ interface ActionMenuOptions { @@ -184,7 +184,7 @@ declare namespace prompt { * * @type { ?string } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ title?: string; @@ -196,7 +196,7 @@ declare namespace prompt { * * @type { [Button, Button?, Button?, Button?, Button?, Button?] } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ buttons: [Button, Button?, Button?, Button?, Button?, Button?]; @@ -207,7 +207,7 @@ declare namespace prompt { * * @param { ShowToastOptions } options - Options. * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ function showToast(options: ShowToastOptions): void; @@ -218,7 +218,7 @@ declare namespace prompt { * @param { ShowDialogOptions } options - Options. * @param { AsyncCallback } callback * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ function showDialog(options: ShowDialogOptions, callback: AsyncCallback): void; @@ -229,7 +229,7 @@ declare namespace prompt { * @param { ShowDialogOptions } options - Options. * @returns { Promise } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ function showDialog(options: ShowDialogOptions): Promise; @@ -240,7 +240,7 @@ declare namespace prompt { * @param { ActionMenuOptions } options - Options. * @param { AsyncCallback } callback * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ function showActionMenu(options: ActionMenuOptions, callback: AsyncCallback): void; @@ -251,7 +251,7 @@ declare namespace prompt { * @param { ActionMenuOptions } options - Options. * @returns { Promise } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 8 + * @since 8 dynamic * @deprecated since 9 */ function showActionMenu(options: ActionMenuOptions): Promise; diff --git a/api/@ohos.promptAction.d.ts b/api/@ohos.promptAction.d.ts index 479033fba0..506192e52f 100644 --- a/api/@ohos.promptAction.d.ts +++ b/api/@ohos.promptAction.d.ts @@ -24,7 +24,7 @@ import { AsyncCallback } from './@ohos.base'; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ export enum LevelMode { /** @@ -33,7 +33,7 @@ export enum LevelMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ OVERLAY = 0, /** @@ -42,7 +42,7 @@ export enum LevelMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ EMBEDDED = 1 } @@ -53,7 +53,7 @@ export enum LevelMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ export enum ImmersiveMode { /** @@ -62,7 +62,7 @@ export enum ImmersiveMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ DEFAULT = 0, /** @@ -71,7 +71,7 @@ export enum ImmersiveMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 15 + * @since 15 dynamic */ EXTEND = 1 } @@ -81,7 +81,7 @@ export enum ImmersiveMode { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ export class LevelOrder { /** @@ -93,7 +93,7 @@ export class LevelOrder { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ static clamp(order: number): LevelOrder; /** @@ -103,7 +103,7 @@ export class LevelOrder { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since 18 dynamic */ getOrder(): number; } @@ -123,7 +123,7 @@ export class LevelOrder { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ declare namespace promptAction { /** @@ -142,7 +142,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ShowToastOptions { /** @@ -167,7 +167,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ message: string | Resource; /** @@ -198,7 +198,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ duration?: number; /** @@ -223,7 +223,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ bottom?: string | number; /** @@ -242,7 +242,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ showMode?: ToastShowMode; /** @@ -252,7 +252,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ alignment?: Alignment; /** @@ -262,7 +262,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ offset?: Offset; /** @@ -272,7 +272,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundColor?: ResourceColor; /** @@ -282,7 +282,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ textColor?: ResourceColor; /** @@ -292,7 +292,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ backgroundBlurStyle?: BlurStyle; /** @@ -302,7 +302,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ shadow?: ShadowOptions | ShadowStyle; /** @@ -313,7 +313,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ enableHoverMode?: boolean; /** @@ -324,7 +324,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 14 + * @since 14 dynamic */ hoverModeArea?: HoverModeAreaType; } @@ -342,7 +342,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ export enum ToastShowMode { /** @@ -357,7 +357,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ DEFAULT = 0, /** @@ -372,7 +372,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ TOP_MOST = 1, /** @@ -380,7 +380,7 @@ declare namespace promptAction { * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi - * @since 12 + * @since 12 dynamic */ SYSTEM_TOP_MOST = 2 } @@ -400,7 +400,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface Button { /** @@ -425,7 +425,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ text: string | Resource; /** @@ -450,7 +450,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ color: string | Resource; /** @@ -460,7 +460,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 12 + * @since 12 dynamic */ primary?: boolean; } @@ -480,7 +480,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ShowDialogSuccessResponse { /** @@ -505,7 +505,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ index: number; } @@ -525,7 +525,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ interface ShowDialogOptions { /** @@ -550,7 +550,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ title?: string | Resource; /** @@ -575,7 +575,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ message?: string | Resource; /** @@ -607,7 +607,7 @@ declare namespace promptAction { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic */ buttons?: Array